Home
last modified time | relevance | path

Searched refs:tokenTypes (Results 1 – 17 of 17) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DRandomPhrase.java69 protected static void randomPhrase(Grammar g, List<Integer> tokenTypes, String startRule) { in randomPhrase() argument
104 tokenTypes.add( getTokenType(t0.label) ); in randomPhrase()
196 List<Integer> tokenTypes = new ArrayList<Integer>(100); in main() local
197 randomPhrase(parser, tokenTypes, startRule); in main()
198 System.out.println("token types="+tokenTypes); in main()
199 for (int i = 0; i < tokenTypes.size(); i++) { in main()
200 Integer ttypeI = (Integer) tokenTypes.get(i); in main()
/external/owasp/sanitizer/src/main/org/owasp/html/
DCssTokens.java77 private final TokenType[] tokenTypes; field in CssTokens
80 return new TokenIterator(tokenTypes.length); in start()
152 return tokenTypes[tokenIndex]; in type()
176 TokenType[] tokenTypes) { in CssTokens() argument
180 this.tokenTypes = tokenTypes; in CssTokens()
299 private List<TokenType> tokenTypes = null; field in CssTokens.Lexer
397 if (tokenTypes == null) { return EMPTY; } in build()
405 tokenTypes.remove(--tokenBreaksLimit); in build()
415 TokenType[] tokenTypesArr = tokenTypes.toArray(ZERO_TYPES); in build()
428 tokenTypes = new ArrayList<TokenType>(); in lex()
[all …]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
Drecognizers.py800 def consumeUntil(self, input, tokenTypes): argument
808 if not isinstance(tokenTypes, (set, frozenset)):
809 tokenTypes = frozenset([tokenTypes])
812 while ttype != EOF and ttype not in tokenTypes:
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRCommonTokenStream.h67 - (NSArray *) tokensInRange:(NSRange)aRange withTypes:(NSArray *)tokenTypes;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRCommonTokenStream.h67 - (NSArray *) tokensInRange:(NSRange)aRange withTypes:(NSArray *)tokenTypes;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRCommonTokenStream.h79 - (NSArray *) tokensInRange:(NSRange)aRange withTypes:(NSArray *)tokenTypes;
DANTLRCommonTokenStream.m268 - (NSArray *) tokensInRange:(NSRange)aRange withTypes:(NSArray *)tokenTypes
270 ANTLRBitSet *bits = [[ANTLRBitSet alloc] initWithArrayOfBits:tokenTypes];
DANTLRTreeWizard.m698 public void reverseIndex(Set tokenTypes) {
699 tokenTypesToReverseIndex = tokenTypes;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRCommonTokenStream.h67 - (NSArray *) tokensInRange:(NSRange)aRange withTypes:(NSArray *)tokenTypes;
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DTreeWizard.cs691 public void reverseIndex( HashSet<int> tokenTypes ) in reverseIndex() argument
693 tokenTypesToReverseIndex = tokenTypes; in reverseIndex()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeWizard.cs614 public void reverseIndex( HashSet<int> tokenTypes ) in reverseIndex() argument
616 tokenTypesToReverseIndex = tokenTypes; in reverseIndex()
/external/owasp/sanitizer/distrib/lib/
Dowasp-java-html-sanitizer.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/ ...
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg247 <bitsets:{it | TOKENS_FOLLOWING_<it.name>_IN_<it.inName>_<it.tokenIndex> = Set[ <it.tokenTypes:{it …
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg292 …<bitsets:{it | FOLLOW_<it.name>_in_<it.inName><it.tokenIndex> = frozenset([<it.tokenTypes:{it | <i…
/external/antlr/antlr-3.4/runtime/C/
DREADME587 See getNodeIndex(), reverseIndex(Set tokenTypes),
/external/antlr/antlr-3.4/tool/
DCHANGES.txt2157 See getNodeIndex(), reverseIndex(Set tokenTypes),
/external/antlr/antlr-3.4/lib/
Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...