Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DCompositeGrammar.java84 public Map tokenIDToTypeMap = new LinkedHashMap(); field in CompositeGrammar
132 tokenIDToTypeMap.put("<INVALID>", Utils.integer(Label.INVALID)); in initTokenSymbolTables()
133 tokenIDToTypeMap.put("<EOT>", Utils.integer(Label.EOT)); in initTokenSymbolTables()
134 tokenIDToTypeMap.put("<SEMPRED>", Utils.integer(Label.SEMPRED)); in initTokenSymbolTables()
135 tokenIDToTypeMap.put("<SET>", Utils.integer(Label.SET)); in initTokenSymbolTables()
136 tokenIDToTypeMap.put("<EPSILON>", Utils.integer(Label.EPSILON)); in initTokenSymbolTables()
137 tokenIDToTypeMap.put("EOF", Utils.integer(Label.EOF)); in initTokenSymbolTables()
138 tokenIDToTypeMap.put("<EOR>", Utils.integer(Label.EOR_TOKEN_TYPE)); in initTokenSymbolTables()
139 tokenIDToTypeMap.put("DOWN", Utils.integer(Label.DOWN)); in initTokenSymbolTables()
140 tokenIDToTypeMap.put("UP", Utils.integer(Label.UP)); in initTokenSymbolTables()
DGrammar.java1377 if ( composite.tokenIDToTypeMap.get(text)!=null ) { in defineToken()
1393 composite.tokenIDToTypeMap.put(text, Utils.integer(tokenType)); in defineToken()
2083 I = (Integer)composite.tokenIDToTypeMap.get(tokenName); in getTokenType()
2092 return composite.tokenIDToTypeMap.keySet(); in getTokenIDs()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestCompositeGrammars.java222 realElements(g.composite.tokenIDToTypeMap).toString()); in testDelegatesSeeSameTokenType2()
294 realElements(g.composite.tokenIDToTypeMap).toString()); in testSameStringTwoNames()
347 realElements(g.composite.tokenIDToTypeMap).toString()); in testSameNameTwoStrings()
437 realElements(g.composite.tokenIDToTypeMap).toString()); in testImportedTokenVocabWorksInRoot()
778 realElements(g.composite.tokenIDToTypeMap).toString()); in test3LevelImport()
841 realElements(g.composite.tokenIDToTypeMap).toString()); in testBigTreeOfImports()
887 realElements(g.composite.tokenIDToTypeMap).toString()); in testRulesVisibleThroughMultilevelImport()
941 realElements(g.composite.tokenIDToTypeMap).toString()); in testNestedComposite()
DTestSymbolDefinitions.java796 realElements(g.composite.tokenIDToTypeMap).toString()); in testTokenVocabStringUsedInLexer()
828 realElements(g.composite.tokenIDToTypeMap).toString()); in testTokenVocabStringUsedInCombined()