Searched defs:tokenType (Results 1 - 25 of 34) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DCommonTreeAdaptor.cs69 public override IToken CreateToken( int tokenType, string text ) argument
71 return new CommonToken( tokenType, text );
H A DBaseTreeAdaptor.cs242 public virtual object Create( int tokenType, IToken fromToken ) argument
245 fromToken.Type = tokenType;
250 public virtual object Create( int tokenType, IToken fromToken, string text ) argument
253 return Create( tokenType, text );
256 fromToken.Type = tokenType;
273 public virtual object Create( int tokenType, string text ) argument
275 IToken fromToken = CreateToken( tokenType, text );
371 public abstract IToken CreateToken( int tokenType, string text ); argument
H A DITreeAdaptor.cs75 object Create(int tokenType, IToken fromToken); argument
78 * Same as create(tokenType,fromToken) except set the text too.
87 object Create(int tokenType, IToken fromToken, string text); argument
111 object Create(int tokenType, string text); argument
/external/nist-sip/java/gov/nist/core/
H A DToken.java39 protected int tokenType; field in class:Token
44 return this.tokenType;
47 return "tokenValue = " + tokenValue + "/tokenType = " + tokenType;
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DObjCTarget.java95 public String getTokenTextAndTypeAsTargetLabel(CodeGenerator generator, String text, int tokenType) { argument
96 String name = generator.grammar.getTokenDisplayName(tokenType);
99 return String.valueOf(tokenType);
/external/llvm/lib/MC/MCDisassembler/
H A DEDToken.h32 enum tokenType { enum in struct:llvm::EDToken
48 enum tokenType Type;
70 enum tokenType type,
93 enum tokenType type() const;
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
H A DgUnitBaseTest.java467 public Object examineExecResult(int tokenType, Object retVal) { argument
468 if ( tokenType==gUnitParser.OK ) { // expected Token: OK
476 else if ( tokenType==gUnitParser.FAIL ) { // expected Token: FAIL
/external/smali/smali/src/test/java/
H A DLexerTest.java209 private static String getTokenName(int tokenType) { argument
210 return smaliParser.tokenNames[tokenType];
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DCommonTreeAdaptor.cs83 public override IToken CreateToken(int tokenType, string text) { argument
84 return new CommonToken(tokenType, text);
H A DBaseTreeAdaptor.cs198 public virtual object Create(int tokenType, IToken fromToken) { argument
200 //((ClassicToken)fromToken).setType(tokenType);
201 fromToken.Type = tokenType;
206 public virtual object Create(int tokenType, IToken fromToken, string text) { argument
208 return Create(tokenType, text);
211 fromToken.Type = tokenType;
217 public virtual object Create(int tokenType, string text) { argument
218 IToken fromToken = CreateToken(tokenType, text);
283 public abstract IToken CreateToken(int tokenType, string text); argument
H A DITreeAdaptor.cs206 object Create(int tokenType, IToken fromToken); argument
209 * Same as create(tokenType,fromToken) except set the text too.
218 object Create(int tokenType, IToken fromToken, string text); argument
230 object Create(int tokenType, string text); argument
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DCommonTreeAdaptor.java67 public Token createToken(int tokenType, String text) { argument
68 return new CommonToken(tokenType, text);
H A DBaseTreeAdaptor.java182 public Object create(int tokenType, Token fromToken) { argument
184 //((ClassicToken)fromToken).setType(tokenType);
185 fromToken.setType(tokenType);
190 public Object create(int tokenType, Token fromToken, String text) { argument
191 if (fromToken == null) return create(tokenType, text);
193 fromToken.setType(tokenType);
199 public Object create(int tokenType, String text) { argument
200 Token fromToken = createToken(tokenType, text);
261 public abstract Token createToken(int tokenType, String text); argument
H A DTreeAdaptor.java169 public Object create(int tokenType, Token fromToken); argument
171 /** Same as create(tokenType,fromToken) except set the text too.
177 public Object create(int tokenType, Token fromToken, String text); argument
185 public Object create(int tokenType, String text); argument
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3basetreeadaptor.c58 static pANTLR3_BASE_TREE createTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken);
59 static pANTLR3_BASE_TREE dbgCreateTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken);
60 static pANTLR3_BASE_TREE createTypeTokenText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 text);
61 static pANTLR3_BASE_TREE dbgCreateTypeTokenText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 text);
62 static pANTLR3_BASE_TREE createTypeText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text);
63 static pANTLR3_BASE_TREE dbgCreateTypeText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text);
760 createTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken) argument
768 fromToken->setType(fromToken, tokenType);
775 dbgCreateTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken) argument
779 t = createTypeToken(adaptor, tokenType, fromToke
787 createTypeTokenText(pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 text) argument
806 dbgCreateTypeTokenText(pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN fromToken, pANTLR3_UINT8 text) argument
818 createTypeText(pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text) argument
831 dbgCreateTypeText(pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text) argument
[all...]
H A Dantlr3commontreeadaptor.c49 static pANTLR3_COMMON_TOKEN createToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text);
291 createToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 text) argument
301 newToken->setType(newToken, tokenType);
H A Dantlr3baserecognizer.c67 static void consumeUntil (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 tokenType);
1716 consumeUntil (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_UINT32 tokenType) argument
1755 while (ttype != ANTLR3_TOKEN_EOF && ttype != tokenType)
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
H A DDebugTreeAdaptor.cs146 public virtual object Create(int tokenType, IToken fromToken) { argument
147 object node = adaptor.Create(tokenType, fromToken);
152 public virtual object Create(int tokenType, IToken fromToken, string text) { argument
153 object node = adaptor.Create(tokenType, fromToken, text);
158 public virtual object Create(int tokenType, string text) { argument
159 object node = adaptor.Create(tokenType, text);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
H A DDebugTreeAdaptor.cs186 public virtual object Create( int tokenType, IToken fromToken ) argument
188 object node = adaptor.Create( tokenType, fromToken );
193 public virtual object Create( int tokenType, IToken fromToken, string text ) argument
195 object node = adaptor.Create( tokenType, fromToken, text );
200 public virtual object Create( int tokenType, string text ) argument
202 object node = adaptor.Create( tokenType, text );
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/
H A DITreeAdaptor`1.cs194 T Create(int tokenType, IToken fromToken); argument
197 * Same as create(tokenType,fromToken) except set the text too.
206 T Create(int tokenType, IToken fromToken, string text); argument
218 T Create(int tokenType, string text); argument
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
H A DDebugTreeAdaptor.java142 public Object create(int tokenType, Token fromToken) { argument
143 Object node = adaptor.create(tokenType, fromToken);
148 public Object create(int tokenType, Token fromToken, String text) { argument
149 Object node = adaptor.create(tokenType, fromToken, text);
154 public Object create(int tokenType, String text) { argument
155 Object node = adaptor.create(tokenType, text);
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
H A DBaseRecognizer.java675 public void consumeUntil(IntStream input, int tokenType) { argument
676 //System.out.println("consumeUntil "+tokenType);
678 while (ttype != Token.EOF && ttype != tokenType) {
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DBaseRecognizer.cs704 public virtual void ConsumeUntil(IIntStream input, int tokenType) { argument
705 //System.out.println("consumeUntil "+tokenType);
707 while (ttype != TokenTypes.EndOfFile && ttype != tokenType) {
/external/icu4c/i18n/
H A Dplurrule_impl.h99 typedef enum tokenType { enum
126 }tokenType; typedef in typeref:enum:tokenType
133 tokenType& type, UErrorCode &status);
134 void checkSyntax(tokenType prevType, tokenType curType, UErrorCode &status);
136 void getKeyType(const UnicodeString& token, tokenType& type, UErrorCode &status);
137 UBool inRange(UChar ch, tokenType& type);
/external/icu4c/test/intltest/
H A Dwbnf.cpp796 tokenType = t;
806 tokenType = ERROR;
814 TokenType tokenType; member in class:Scanner
828 tokenType = ERROR;
830 case '?' : tokenType = QUESTION; break;
831 case '*' : tokenType = STAR; break;
832 case '+' : tokenType = PLUS; break;
833 case '{' : tokenType = LBRACE; break;
834 case '}' : tokenType = RBRACE; break;
835 case '(' : tokenType
[all...]

Completed in 861 milliseconds

12