Home
last modified time | relevance | path

Searched refs:TokenTypes (Results 1 – 25 of 144) sorted by relevance

123456

/external/nist-sip/java/gov/nist/javax/sip/parser/
DLexer.java99 addKeyword(TokenNames.REGISTER, TokenTypes.REGISTER); in selectLexer()
100 addKeyword(TokenNames.ACK, TokenTypes.ACK); in selectLexer()
101 addKeyword(TokenNames.OPTIONS, TokenTypes.OPTIONS); in selectLexer()
102 addKeyword(TokenNames.BYE, TokenTypes.BYE); in selectLexer()
103 addKeyword(TokenNames.INVITE, TokenTypes.INVITE); in selectLexer()
104 addKeyword(TokenNames.SIP.toUpperCase(), TokenTypes.SIP); in selectLexer()
105 addKeyword(TokenNames.SIPS.toUpperCase(), TokenTypes.SIPS); in selectLexer()
106 addKeyword(TokenNames.SUBSCRIBE, TokenTypes.SUBSCRIBE); in selectLexer()
107 addKeyword(TokenNames.NOTIFY, TokenTypes.NOTIFY); in selectLexer()
108 addKeyword(TokenNames.MESSAGE, TokenTypes.MESSAGE); in selectLexer()
[all …]
DSubscriptionStateParser.java72 headerName(TokenTypes.SUBSCRIPTION_STATE); in parse()
77 lexer.match(TokenTypes.ID); in parse()
84 lexer.match(TokenTypes.ID); in parse()
90 lexer.match(TokenTypes.ID); in parse()
97 lexer.match(TokenTypes.ID); in parse()
111 lexer.match(TokenTypes.ID); in parse()
125 lexer.match(TokenTypes.ID); in parse()
DWarningParser.java80 headerName(TokenTypes.WARNING); in parse()
87 this.lexer.match(TokenTypes.ID); in parse()
100 this.lexer.match(TokenTypes.ID); in parse()
105 this.lexer.match(TokenTypes.ID); in parse()
129 this.lexer.match(TokenTypes.ID); in parse()
142 this.lexer.match(TokenTypes.ID); in parse()
149 this.lexer.match(TokenTypes.ID); in parse()
DInReplyToParser.java72 headerName(TokenTypes.IN_REPLY_TO); in parse()
78 this.lexer.match(TokenTypes.ID); in parse()
82 this.lexer.match(TokenTypes.ID); in parse()
100 this.lexer.match(TokenTypes.ID); in parse()
104 this.lexer.match(TokenTypes.ID); in parse()
DAcceptParser.java72 headerName(TokenTypes.ACCEPT); in parse()
78 this.lexer.match(TokenTypes.ID); in parse()
82 this.lexer.match(TokenTypes.ID); in parse()
96 this.lexer.match(TokenTypes.ID); in parse()
100 this.lexer.match(TokenTypes.ID); in parse()
DContentTypeParser.java63 this.headerName(TokenTypes.CONTENT_TYPE); in parse()
66 lexer.match(TokenTypes.ID); in parse()
73 lexer.match(TokenTypes.ID); in parse()
DAllowParser.java71 headerName(TokenTypes.ALLOW); in parse()
77 this.lexer.match(TokenTypes.ID); in parse()
88 this.lexer.match(TokenTypes.ID); in parse()
DProxyRequireParser.java70 headerName(TokenTypes.PROXY_REQUIRE); in parse()
77 this.lexer.match(TokenTypes.ID); in parse()
91 this.lexer.match(TokenTypes.ID); in parse()
DRequireParser.java73 headerName(TokenTypes.REQUIRE); in parse()
80 this.lexer.match(TokenTypes.ID); in parse()
94 this.lexer.match(TokenTypes.ID); in parse()
DContentLanguageParser.java72 headerName(TokenTypes.CONTENT_LANGUAGE); in parse()
76 this.lexer.match(TokenTypes.ID); in parse()
86 this.lexer.match(TokenTypes.ID); in parse()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenConstants.cs53 public static class TokenTypes class
69 public static readonly IToken Invalid = new CommonToken( TokenTypes.Invalid );
76 public static readonly IToken Skip = new CommonToken( TokenTypes.Invalid );
84 Type = TokenTypes.EndOfFile
89 Type = TokenTypes.Invalid
94 Type = TokenTypes.Invalid
DBaseRecognizer.cs166 if (follow.Member(TokenTypes.EndOfRule)) { in MismatchIsMissingToken()
170 follow.Remove(TokenTypes.EndOfRule); in MismatchIsMissingToken()
183 if (follow.Member(input.LA(1)) || follow.Member(TokenTypes.EndOfRule)) { in MismatchIsMissingToken()
255 if (ute.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
265 if (mte.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
274 if (mte.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
284 if (mtne.Expecting == TokenTypes.EndOfFile) { in GetErrorMessage()
352 if (t.Type == TokenTypes.EndOfFile) { in GetTokenErrorDisplay()
573 if (localFollowSet.Member(TokenTypes.EndOfRule)) { in CombineFollows()
577 followSet.Remove(TokenTypes.EndOfRule); in CombineFollows()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBufferedTreeNodeStream.cs165 down = adaptor.Create(TokenTypes.Down, "DOWN"); in BufferedTreeNodeStream()
166 up = adaptor.Create(TokenTypes.Up, "UP"); in BufferedTreeNodeStream()
167 eof = adaptor.Create(TokenTypes.EndOfFile, "EOF"); in BufferedTreeNodeStream()
264 AddNavigationNode(TokenTypes.Down); in FillBuffer()
273 AddNavigationNode(TokenTypes.Up); in FillBuffer()
299 if (ttype == TokenTypes.Down) { in AddNavigationNode()
301 navNode = adaptor.Create(TokenTypes.Down, "DOWN"); in AddNavigationNode()
307 navNode = adaptor.Create(TokenTypes.Up, "UP"); in AddNavigationNode()
355 ( adaptor.getType( this[i] ) == TokenTypes.EOF || in getLastTreeNode()
356 adaptor.getType( this[i] ) == TokenTypes.UP || in getLastTreeNode()
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBufferedTreeNodeStream.cs177 down = adaptor.Create( TokenTypes.Down, "DOWN" ); in BufferedTreeNodeStream()
178 up = adaptor.Create( TokenTypes.Up, "UP" ); in BufferedTreeNodeStream()
179 eof = adaptor.Create( TokenTypes.EndOfFile, "EOF" ); in BufferedTreeNodeStream()
303 AddNavigationNode( TokenTypes.Down ); in FillBuffer()
314 AddNavigationNode( TokenTypes.Up ); in FillBuffer()
345 if ( ttype == TokenTypes.Down ) in AddNavigationNode()
349 navNode = adaptor.Create( TokenTypes.Down, "DOWN" ); in AddNavigationNode()
360 navNode = adaptor.Create( TokenTypes.Up, "UP" ); in AddNavigationNode()
419 ( adaptor.getType( this[i] ) == TokenTypes.EOF || in getLastTreeNode()
420 adaptor.getType( this[i] ) == TokenTypes.UP || in getLastTreeNode()
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugTreeGrammar.cs299 Match(input, TokenTypes.Down, null); in stat()
309 Match(input, TokenTypes.Up, null); in stat()
324 Match(input, TokenTypes.Down, null); in stat()
391 Match(input, TokenTypes.Up, null); in stat()
522 Match(input, TokenTypes.Down, null); in expr()
536 Match(input, TokenTypes.Up, null); in expr()
551 Match(input, TokenTypes.Down, null); in expr()
565 Match(input, TokenTypes.Up, null); in expr()
580 Match(input, TokenTypes.Down, null); in expr()
594 Match(input, TokenTypes.Up, null); in expr()
[all …]
DProfileTreeGrammar.cs304 Match(input, TokenTypes.Down, null); in stat()
314 Match(input, TokenTypes.Up, null); in stat()
329 Match(input, TokenTypes.Down, null); in stat()
396 Match(input, TokenTypes.Up, null); in stat()
527 Match(input, TokenTypes.Down, null); in expr()
541 Match(input, TokenTypes.Up, null); in expr()
556 Match(input, TokenTypes.Down, null); in expr()
570 Match(input, TokenTypes.Up, null); in expr()
585 Match(input, TokenTypes.Down, null); in expr()
599 Match(input, TokenTypes.Up, null); in expr()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/
DPrivacyParser.java47 import gov.nist.javax.sip.parser.TokenTypes;
60 implements TokenTypes
84 this.headerName(TokenTypes.PRIVACY); in parse()
92 this.lexer.match(TokenTypes.ID); in parse()
104 this.lexer.match(TokenTypes.ID); in parse()
DPMediaAuthorizationParser.java43 import gov.nist.javax.sip.parser.TokenTypes;
54 implements TokenTypes
83 headerName(TokenTypes.P_MEDIA_AUTHORIZATION); in parse()
90 this.lexer.match(TokenTypes.ID); in parse()
DPAccessNetworkInfoParser.java43 import gov.nist.javax.sip.parser.TokenTypes;
71 implements TokenTypes
93 headerName(TokenTypes.P_ACCESS_NETWORK_INFO); in parse()
98 lexer.match(TokenTypes.ID); in parse()
DPVisitedNetworkIDParser.java38 import gov.nist.javax.sip.parser.TokenTypes;
61 public class PVisitedNetworkIDParser extends ParametersParser implements TokenTypes {
87 this.lexer.match(TokenTypes.P_VISITED_NETWORK_ID); in parse()
166 lexer.match(TokenTypes.ID); in parseToken()
DPProfileKeyParser.java32 import gov.nist.javax.sip.parser.TokenTypes;
40 public class PProfileKeyParser extends AddressParametersParser implements TokenTypes{
56 this.lexer.match(TokenTypes.P_PROFILE_KEY); in parse()
DPPreferredIdentityParser.java35 import gov.nist.javax.sip.parser.TokenTypes;
50 implements TokenTypes {
69 this.lexer.match(TokenTypes.P_PREFERRED_IDENTITY); in parse()
DPServedUserParser.java35 import gov.nist.javax.sip.parser.TokenTypes;
42 public class PServedUserParser extends ParametersParser implements TokenTypes{
59 this.lexer.match(TokenTypes.P_SERVED_USER); in parse()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/
DCsmToken.java27 import com.github.javaparser.TokenTypes;
30 import static com.github.javaparser.TokenTypes.isEndOfLineToken;
31 import static com.github.javaparser.TokenTypes.isSpaceOrTab;
111 return TokenTypes.isWhitespace(tokenType); in isWhiteSpace()
115 return TokenTypes.isEndOfLineToken(tokenType); in isNewLine()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DBaseRecognizer.cs185 if ( follow.Member( TokenTypes.EndOfRule ) ) in MismatchIsMissingToken()
191 follow.Remove( TokenTypes.EndOfRule ); in MismatchIsMissingToken()
204 if ( follow.Member( input.LA( 1 ) ) || follow.Member( TokenTypes.EndOfRule ) ) in MismatchIsMissingToken()
282 if ( ute.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
297 if ( mte.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
311 if ( mte.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
326 if ( mtne.Expecting == TokenTypes.EndOfFile ) in GetErrorMessage()
416 if ( t.Type == TokenTypes.EndOfFile ) in GetTokenErrorDisplay()
650 if ( localFollowSet.Member( TokenTypes.EndOfRule ) ) in CombineFollows()
656 followSet.Remove( TokenTypes.EndOfRule ); in CombineFollows()
[all …]

123456