Home
last modified time | relevance | path

Searched refs:tokenIDToTypeMap (Results 1 – 4 of 4) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/tool/
DCompositeGrammar.java91 public Map<String, Integer> tokenIDToTypeMap = new LinkedHashMap<String, Integer>(); field in CompositeGrammar
139 tokenIDToTypeMap.put("<INVALID>", Utils.integer(Label.INVALID)); in initTokenSymbolTables()
140 tokenIDToTypeMap.put("<EOT>", Utils.integer(Label.EOT)); in initTokenSymbolTables()
141 tokenIDToTypeMap.put("<SEMPRED>", Utils.integer(Label.SEMPRED)); in initTokenSymbolTables()
142 tokenIDToTypeMap.put("<SET>", Utils.integer(Label.SET)); in initTokenSymbolTables()
143 tokenIDToTypeMap.put("<EPSILON>", Utils.integer(Label.EPSILON)); in initTokenSymbolTables()
144 tokenIDToTypeMap.put("EOF", Utils.integer(Label.EOF)); in initTokenSymbolTables()
145 tokenIDToTypeMap.put("<EOR>", Utils.integer(Label.EOR_TOKEN_TYPE)); in initTokenSymbolTables()
146 tokenIDToTypeMap.put("DOWN", Utils.integer(Label.DOWN)); in initTokenSymbolTables()
147 tokenIDToTypeMap.put("UP", Utils.integer(Label.UP)); in initTokenSymbolTables()
DGrammar.java1418 if ( composite.tokenIDToTypeMap.get(text)!=null ) { in defineToken()
1434 composite.tokenIDToTypeMap.put(text, Utils.integer(tokenType)); in defineToken()
2128 I = composite.tokenIDToTypeMap.get(tokenName); in getTokenType()
2137 return composite.tokenIDToTypeMap.keySet(); in getTokenIDs()
/external/antlr/tool/src/test/java/org/antlr/test/
DTestCompositeGrammars.java224 realElements(g.composite.tokenIDToTypeMap).toString()); in testDelegatesSeeSameTokenType2()
296 realElements(g.composite.tokenIDToTypeMap).toString()); in testSameStringTwoNames()
349 realElements(g.composite.tokenIDToTypeMap).toString()); in testSameNameTwoStrings()
439 realElements(g.composite.tokenIDToTypeMap).toString()); in testImportedTokenVocabWorksInRoot()
780 realElements(g.composite.tokenIDToTypeMap).toString()); in test3LevelImport()
843 realElements(g.composite.tokenIDToTypeMap).toString()); in testBigTreeOfImports()
889 realElements(g.composite.tokenIDToTypeMap).toString()); in testRulesVisibleThroughMultilevelImport()
943 realElements(g.composite.tokenIDToTypeMap).toString()); in testNestedComposite()
DTestSymbolDefinitions.java798 realElements(g.composite.tokenIDToTypeMap).toString()); in testTokenVocabStringUsedInLexer()
830 realElements(g.composite.tokenIDToTypeMap).toString()); in testTokenVocabStringUsedInCombined()