Home
last modified time | relevance | path

Searched refs:getTokenType (Results 1 – 25 of 49) 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/tool/src/test/java/org/antlr/test/
DTestInterpretedLexing.java85 final int Atype = g.getTokenType("A"); in testSimpleAltCharTest()
100 final int Atype = g.getTokenType("A"); in testSingleRuleRef()
111 final int INTtype = g.getTokenType("INT"); in testSimpleLoop()
124 final int Atype = g.getTokenType("A"); in testMultAltLoop()
151 final int Atype = g.getTokenType("A"); in testSimpleLoops()
DTestInterpretedParsing.java69 tokens.setTokenTypeChannel(g.getTokenType("WS"), 99); in testSimpleParse()
104 tokens.setTokenTypeChannel(g.getTokenType("WS"), 99); in testMismatchedTokenError()
139 tokens.setTokenTypeChannel(g.getTokenType("WS"), 99); in testMismatchedSetError()
174 tokens.setTokenTypeChannel(g.getTokenType("WS"), 99); in testNoViableAltError()
DTestTreeWizard.java133 wiz.visit(t, wiz.getTokenType("B"), new TreeWizard.Visitor() { in testNoRepeatsVisit()
148 wiz.visit(t, wiz.getTokenType("C"), in testNoRepeatsVisit2()
164 wiz.visit(t, wiz.getTokenType("B"), in testRepeatsVisit()
180 wiz.visit(t, wiz.getTokenType("A"), in testRepeatsVisit2()
196 wiz.visit(t, wiz.getTokenType("B"), in testRepeatsVisitWithContext()
214 wiz.visit(t, wiz.getTokenType("A"), in testRepeatsVisitWithNullParentAndContext()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DKept.java42 public int getTokenType() { in getTokenType() method in Kept
45 return csmToken.getTokenType(); in getTokenType()
85 return TokenTypes.isWhitespaceOrComment(csmToken.getTokenType()); in isWhiteSpaceOrComment()
DRemoved.java49 public int getTokenType() { in getTokenType() method in Removed
52 return csmToken.getTokenType(); in getTokenType()
DDifferenceElementCalculator.java31 return childA.getTokenType() == childB.getTokenType(); in matching()
67 return childA.getTokenType() == childB.getTokenType(); in replacement()
DAdded.java58 …return new TokenTextElement(((CsmToken) element).getTokenType(), ((CsmToken) element).getContent(n… in toTextElement()
/external/antlr/tool/src/main/java/org/antlr/tool/
DAssignTokenTypesBehavior.java81 grammar.getTokenType(t.getText())== Label.INVALID ) in trackString()
96 grammar.getTokenType(t.getText())==Label.INVALID ) in trackString()
107 if ( grammar.getTokenType(t.getText())==Label.INVALID && in trackToken()
133 int existing = grammar.getTokenType(t.getText()); in trackTokenRule()
185 int existingLiteralType = grammar.getTokenType(literal); in alias()
DNameSpaceChecker.java132 if ( rule==null && grammar.getTokenType(ruleName)!=Label.EOF ) { in lookForReferencesToUndefinedSymbols()
145 grammar.getTokenType(tokenID)!=Label.EOF ) in lookForReferencesToUndefinedSymbols()
180 if ( grammar.getTokenType(scope.getName())!=Label.INVALID ) { in checkForGlobalScopeTokenConflict()
222 else if ( grammar.getTokenType(label.getText())!=Label.INVALID ) { in checkForLabelConflict()
DGrammarSerializerFoo.java161 int ttype = g.getTokenType(t.getText()); in token()
174 int ttype = g.getTokenType(t.getText()); in charLiteral()
DRandomPhrase.java105 tokenTypes.add( getTokenType(t0.label) ); in randomPhrase()
127 protected static Integer getTokenType(Label label) { in getTokenType() method in RandomPhrase
/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/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/antlr/runtime/Python3/unittests/
Dtesttreewizard.py268 wiz.getTokenType('A'),
273 wiz.getTokenType('VAR'),
278 wiz.getTokenType('invalid'),
377 wiz.visit(tree, wiz.getTokenType("B"), visitor)
391 wiz.visit(tree, wiz.getTokenType("C"), visitor)
405 wiz.visit(tree, wiz.getTokenType("B"), visitor)
419 wiz.visit(tree, wiz.getTokenType("A"), visitor)
433 wiz.visit(tree, wiz.getTokenType("B"), visitor)
450 wiz.visit(tree, wiz.getTokenType("A"), visitor)
681 subtrees = wiz.find(t, wiz.getTokenType('A'))
/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/runtime/ObjC/Framework/
DLexerState.h39 - (NSUInteger) getTokenType;
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/
DCsmAttribute.java55 public int getTokenType(Node node, String text, String tokenText) { in getTokenType() method in CsmAttribute
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DTreeToNFAConverter.g356 {$g = factory.build_Range(grammar.getTokenType($a.text),
357 grammar.getTokenType($b.text));}
497 ttype = grammar.getTokenType($c.text);
532 ttype = grammar.getTokenType($t.text);
706 ttype = grammar.getTokenType($c.text);
739 ttype = grammar.getTokenType($t.text);
754 ttype = grammar.getTokenType($s.text);

12