Home
last modified time | relevance | path

Searched refs:getTokenType (Results 1 – 25 of 43) sorted by relevance

12

/external/nist-sip/java/gov/nist/javax/sip/parser/
DParser.java82 if (token.getTokenType() == INVITE in method()
83 || token.getTokenType() == ACK in method()
84 || token.getTokenType() == OPTIONS in method()
85 || token.getTokenType() == BYE in method()
86 || token.getTokenType() == REGISTER in method()
87 || token.getTokenType() == CANCEL in method()
88 || token.getTokenType() == SUBSCRIBE in method()
89 || token.getTokenType() == NOTIFY in method()
90 || token.getTokenType() == PUBLISH in method()
91 || token.getTokenType() == MESSAGE in method()
[all …]
DURLParser.java344 if (t1.getTokenType() == TokenTypes.SIP || in uriReference()
345 t1.getTokenType() == TokenTypes.SIPS) { in uriReference()
346 if (t2.getTokenType() == ':') in uriReference()
350 } else if (t1.getTokenType() == TokenTypes.TEL) { in uriReference()
351 if (t2.getTokenType() == ':') { in uriReference()
510 switch (tok.getTokenType()) { in local_phone_number()
613 if ( nextToken.getTokenType() == TokenTypes.SIPS) in sipURL()
DUserAgentParser.java105 if (this.lexer.peekNextToken().getTokenType() == TokenTypes.SLASH) { in parse()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestInterpretedLexing.java83 final int Atype = g.getTokenType("A"); in testSimpleAltCharTest()
98 final int Atype = g.getTokenType("A"); in testSingleRuleRef()
109 final int INTtype = g.getTokenType("INT"); in testSimpleLoop()
122 final int Atype = g.getTokenType("A"); in testMultAltLoop()
149 final int Atype = g.getTokenType("A"); in testSimpleLoops()
DTestInterpretedParsing.java67 tokens.setTokenTypeChannel(g.getTokenType("WS"), 99); in testSimpleParse()
102 tokens.setTokenTypeChannel(g.getTokenType("WS"), 99); in testMismatchedTokenError()
137 tokens.setTokenTypeChannel(g.getTokenType("WS"), 99); in testMismatchedSetError()
172 tokens.setTokenTypeChannel(g.getTokenType("WS"), 99); in testNoViableAltError()
DTestTreeWizard.java132 wiz.visit(t, wiz.getTokenType("B"), new TreeWizard.Visitor() { in testNoRepeatsVisit()
146 wiz.visit(t, wiz.getTokenType("C"), in testNoRepeatsVisit2()
161 wiz.visit(t, wiz.getTokenType("B"), in testRepeatsVisit()
176 wiz.visit(t, wiz.getTokenType("A"), in testRepeatsVisit2()
191 wiz.visit(t, wiz.getTokenType("B"), in testRepeatsVisitWithContext()
208 wiz.visit(t, wiz.getTokenType("A"), in testRepeatsVisitWithNullParentAndContext()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DAssignTokenTypesBehavior.java82 grammar.getTokenType(t.getText())== Label.INVALID ) in trackString()
97 grammar.getTokenType(t.getText())==Label.INVALID ) in trackString()
108 if ( grammar.getTokenType(t.getText())==Label.INVALID && in trackToken()
134 int existing = grammar.getTokenType(t.getText()); in trackTokenRule()
186 int existingLiteralType = grammar.getTokenType(literal); in alias()
DNameSpaceChecker.java138 if ( rule==null && grammar.getTokenType(ruleName)!=Label.EOF ) { in lookForReferencesToUndefinedSymbols()
152 grammar.getTokenType(tokenID)!=Label.EOF ) in lookForReferencesToUndefinedSymbols()
188 if ( grammar.getTokenType(scope.getName())!=Label.INVALID ) { in checkForGlobalScopeTokenConflict()
230 else if ( grammar.getTokenType(label.getText())!=Label.INVALID ) { in checkForLabelConflict()
DGrammarSerializerFoo.java163 int ttype = g.getTokenType(t.getText()); in token()
176 int ttype = g.getTokenType(t.getText()); in charLiteral()
DRandomPhrase.java104 tokenTypes.add( getTokenType(t0.label) ); in randomPhrase()
126 protected static Integer getTokenType(Label label) { in getTokenType() method in RandomPhrase
DInterp.java118 tokens.setTokenTypeChannel(lexer.getTokenType(tokenName), 99); in main()
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/
DSmaliWordScanner.java91 IElementType type = lexer.getTokenType(); in processWords()
101 type = lexer.getTokenType(); in processWords()
107 type = lexer.getTokenType(); in processWords()
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttreewizard.py269 wiz.getTokenType('A'),
274 wiz.getTokenType('VAR'),
279 wiz.getTokenType('invalid'),
378 wiz.visit(tree, wiz.getTokenType("B"), visitor)
392 wiz.visit(tree, wiz.getTokenType("C"), visitor)
406 wiz.visit(tree, wiz.getTokenType("B"), visitor)
420 wiz.visit(tree, wiz.getTokenType("A"), visitor)
434 wiz.visit(tree, wiz.getTokenType("B"), visitor)
451 wiz.visit(tree, wiz.getTokenType("A"), visitor)
683 subtrees = wiz.find(t, wiz.getTokenType('A'))
/external/icu/icu4c/source/i18n/
Daffixpatternparser.cpp221 switch (iter.getTokenType()) { in append()
230 add(iter.getTokenType()); in append()
320 switch (iter.getTokenType()) { in toString()
364 switch (iter.getTokenType()) { in toUserString()
602 AffixPatternIterator::getTokenType() const { in getTokenType() function in AffixPatternIterator
651 switch (iter.getTokenType()) { in parse()
/external/nist-sip/java/gov/nist/core/
DToken.java43 public int getTokenType() { in getTokenType() method in Token
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/leaf/
DSmaliClassDescriptor.java14 public IElementType getTokenType() { in getTokenType() method in SmaliClassDescriptor
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliLocalName.java50 @Override public IElementType getTokenType() { in getTokenType() method in SmaliLocalName
DSmaliMemberName.java53 @Override public IElementType getTokenType() { in getTokenType() method in SmaliMemberName
DSmaliAnnotationElementName.java55 @Override public IElementType getTokenType() { in getTokenType() method in SmaliAnnotationElementName
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRLexerState.h39 - (NSUInteger) getTokenType;
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DTreeToNFAConverter.g355 {$g = factory.build_Range(grammar.getTokenType($a.text),
356 grammar.getTokenType($b.text));}
496 ttype = grammar.getTokenType($c.text);
531 ttype = grammar.getTokenType($t.text);
705 ttype = grammar.getTokenType($c.text);
738 ttype = grammar.getTokenType($t.text);
753 ttype = grammar.getTokenType($s.text);
DCodeGenTreeWalker.g282 label = generator.getTokenTypeAsTargetLabel(grammar.getTokenType(t.getText()));
810 ttype = grammar.getTokenType($assign_c.text);
823 ttype = grammar.getTokenType($assign_s.text);
829 int ttype = grammar.getTokenType($assign_t.text);
1026 if ( grammar.getTokenType($t.text)==Label.EOF )
1069 generator.getTokenTypeAsTargetLabel(grammar.getTokenType(t.getText()));
1096 String tokenLabel = generator.getTokenTypeAsTargetLabel(grammar.getTokenType($c.text));
1126 generator.getTokenTypeAsTargetLabel(grammar.getTokenType($s.text));
1465 int ttype = grammar.getTokenType(tokenName);
1468 if ( grammar.getTokenType(tokenName)==Label.INVALID )
/external/smali/smalidea/src/main/java/org/jf/smalidea/
DSmaliLexer.java79 public IElementType getTokenType() { in getTokenType() method in SmaliLexer
DPsiBuilderTokenStream.java94 IElementType element = psiBuilder.getTokenType(); in buildCurrentToken()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DTreePatternParser.java140 int treeNodeType = wizard.getTokenType(tokenName); in parseNode()

12