Home
last modified time | relevance | path

Searched refs:tokenID (Results 1 – 8 of 8) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DAssignTokenTypesBehavior.java163 String tokenID = t.getText(); in alias() local
167 if ( tokenID.equals(prevAliasLiteralID) ) { in alias()
174 if ( !(tokenRuleDefs.contains(tokenID) && tokenRuleDefs.contains(prevAliasLiteralID)) ) in alias()
181 tokenID+"="+literal, in alias()
190 tokens.put(tokenID, existingLiteralType); in alias()
192 String prevAliasTokenID = aliases.get(tokenID); in alias()
197 tokenID+"="+literal, in alias()
201 aliases.put(tokenID, literal); in alias()
202 aliasesReverseIndex.put(literal, tokenID); in alias()
274 String tokenID = (String) it.next(); in aliasTokenIDsAndLiterals() local
[all …]
DNameSpaceChecker.java150 String tokenID = tok.getText(); in lookForReferencesToUndefinedSymbols() local
151 if ( !grammar.composite.lexerRules.contains(tokenID) && in lookForReferencesToUndefinedSymbols()
152 grammar.getTokenType(tokenID)!=Label.EOF ) in lookForReferencesToUndefinedSymbols()
157 tokenID); in lookForReferencesToUndefinedSymbols()
DGrammar.java1626 public void defineLexerRuleForAliasedStringLiteral(String tokenID, in defineLexerRuleForAliasedStringLiteral() argument
1633 tokenID, in defineLexerRuleForAliasedStringLiteral()
1638 composite.lexerRules.add(tokenID); in defineLexerRuleForAliasedStringLiteral()
1644 String tokenID = computeTokenNameFromLiteral(tokenType,literal); in defineLexerRuleForStringLiteral() local
1645 defineToken(tokenID, tokenType); in defineLexerRuleForStringLiteral()
1649 tokenID, in defineLexerRuleForStringLiteral()
2218 String tokenID = (String) it.next(); in importTokenVocabulary() local
2219 int tokenType = importFromGr.getTokenType(tokenID); in importTokenVocabulary()
2223 defineToken(tokenID, tokenType); in importTokenVocabulary()
2340 String tokenID; in importTokenVocabulary() local
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java813 String tokenID = (String) tokenIDs.next(); in genTokenTypeConstants() local
814 int tokenType = grammar.getTokenType(tokenID); in genTokenTypeConstants()
819 code.addAggr("tokens.{name,type}", tokenID, Utils.integer(tokenType)); in genTokenTypeConstants()
870 String tokenID = (String) tokenIDs.next(); in genTokenVocabOutput() local
871 int tokenType = grammar.getTokenType(tokenID); in genTokenVocabOutput()
873 vocabFileST.addAggr("tokens.{name,type}", tokenID, Utils.integer(tokenType)); in genTokenVocabOutput()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DBaseTest.java837 String tokenID = (String) iterator.next(); in realElements() local
838 if ( elements.get(tokenID) >= Label.MIN_TOKEN_TYPE ) { in realElements()
839 n.add(tokenID+"="+elements.get(tokenID)); in realElements()
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java1214 Token accept (final int tokenID) in accept() argument
1218 if (m_token.getID () == tokenID) in accept()
1221 …rgumentException ("parse error: invalid token [" + m_token + "], expected type [" + tokenID + "]"); in accept()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DAssignTokenTypesWalker.g79 * g.defineToken(<tokenID>, ttype);
/external/mesa3d/include/GL/
Dglext.h9196 typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
9214 GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);