Home
last modified time | relevance | path

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

/external/antlr/tool/src/main/java/org/antlr/tool/
DAssignTokenTypesBehavior.java162 String tokenID = t.getText(); in alias() local
166 if ( tokenID.equals(prevAliasLiteralID) ) { in alias()
173 if ( !(tokenRuleDefs.contains(tokenID) && tokenRuleDefs.contains(prevAliasLiteralID)) ) in alias()
180 tokenID+"="+literal, in alias()
189 tokens.put(tokenID, existingLiteralType); in alias()
191 String prevAliasTokenID = aliases.get(tokenID); in alias()
196 tokenID+"="+literal, in alias()
200 aliases.put(tokenID, literal); in alias()
201 aliasesReverseIndex.put(literal, tokenID); in alias()
271 String tokenID = entry.getKey(); in aliasTokenIDsAndLiterals() local
[all …]
DNameSpaceChecker.java143 String tokenID = tok.getText(); in lookForReferencesToUndefinedSymbols() local
144 if ( !grammar.composite.lexerRules.contains(tokenID) && in lookForReferencesToUndefinedSymbols()
145 grammar.getTokenType(tokenID)!=Label.EOF ) in lookForReferencesToUndefinedSymbols()
150 tokenID); in lookForReferencesToUndefinedSymbols()
DGrammar.java1667 public void defineLexerRuleForAliasedStringLiteral(String tokenID, in defineLexerRuleForAliasedStringLiteral() argument
1674 tokenID, in defineLexerRuleForAliasedStringLiteral()
1679 composite.lexerRules.add(tokenID); in defineLexerRuleForAliasedStringLiteral()
1685 String tokenID = computeTokenNameFromLiteral(tokenType,literal); in defineLexerRuleForStringLiteral() local
1686 defineToken(tokenID, tokenType); in defineLexerRuleForStringLiteral()
1690 tokenID, in defineLexerRuleForStringLiteral()
2262 for (String tokenID : importedTokenIDs) { in importTokenVocabulary()
2263 int tokenType = importFromGr.getTokenType(tokenID); in importTokenVocabulary()
2267 defineToken(tokenID, tokenType); in importTokenVocabulary()
2384 String tokenID; in importTokenVocabulary() local
[all …]
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java847 for (String tokenID : grammar.getTokenIDs()) { in genTokenTypeConstants()
848 int tokenType = grammar.getTokenType(tokenID); in genTokenTypeConstants()
853 code.addAggr("tokens.{name,type}", tokenID, Utils.integer(tokenType)); in genTokenTypeConstants()
902 for (String tokenID : grammar.getTokenIDs()) { in genTokenVocabOutput()
903 int tokenType = grammar.getTokenType(tokenID); in genTokenVocabOutput()
905 vocabFileST.addAggr("tokens.{name,type}", tokenID, Utils.integer(tokenType)); in genTokenVocabOutput()
/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/tool/src/test/java/org/antlr/test/
DBaseTest.java931 String tokenID = entry.getKey(); in realElements() local
933 n.add(tokenID+"="+entry.getValue()); in realElements()
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DAssignTokenTypesWalker.g79 * g.defineToken(<tokenID>, ttype);
/external/swiftshader/include/GL/
Dglcorearb.h4886 typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
4904 GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
Dglext.h9542 typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
9560 GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
/external/mesa3d/include/GL/
Dglcorearb.h4855 typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
4873 GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
Dglext.h9509 typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
9527 GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);