/external/nist-sip/java/gov/nist/javax/sip/parser/ |
SubscriptionStateParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected SubscriptionStateParser(Lexer lexer) { 57 super(lexer); 77 lexer.match(TokenTypes.ID); 78 Token token = lexer.getNextToken(); 81 while (lexer.lookAhead(0) == ';') { 82 this.lexer.match(';'); 83 this.lexer.SPorHT() [all...] |
AddressParser.java | 40 public AddressParser(Lexer lexer) { 41 this.lexer = lexer; 42 this.lexer.selectLexer("charLexer"); 46 this.lexer = new Lexer("charLexer", address); 53 if (this.lexer.lookAhead(0) == '<') { 54 this.lexer.consume(1); 55 this.lexer.selectLexer("sip_urlLexer") [all...] |
AuthenticationInfoParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected AuthenticationInfoParser(Lexer lexer) { 56 super(lexer); 76 this.lexer.SPorHT(); 80 this.lexer.SPorHT(); 81 while (lexer.lookAhead(0) == ',') { 82 this.lexer.match(','); 83 this.lexer.SPorHT() [all...] |
AllowEventsParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected AllowEventsParser(Lexer lexer) { 57 super(lexer); 77 this.lexer.SPorHT(); 78 this.lexer.match(TokenTypes.ID); 79 Token token = lexer.getNextToken(); 83 this.lexer.SPorHT(); 84 while (lexer.lookAhead(0) == ',') [all...] |
AllowParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected AllowParser(Lexer lexer) { 56 super(lexer); 76 this.lexer.SPorHT(); 77 this.lexer.match(TokenTypes.ID); 78 Token token = lexer.getNextToken(); 82 this.lexer.SPorHT(); 83 while (lexer.lookAhead(0) == ',') [all...] |
ContentEncodingParser.java | 56 * @param lexer the lexer to use to parse the header 58 protected ContentEncodingParser(Lexer lexer) { 59 super(lexer); 76 while (lexer.lookAhead(0) != '\n') { 80 this.lexer.SPorHT(); 81 this.lexer.match(TokenTypes.ID); 83 Token token = lexer.getNextToken(); 86 this.lexer.SPorHT() [all...] |
ContentLanguageParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected ContentLanguageParser(Lexer lexer) { 57 super(lexer); 74 while (lexer.lookAhead(0) != '\n') { 75 this.lexer.SPorHT(); 76 this.lexer.match(TokenTypes.ID); 78 Token token = lexer.getNextToken(); 80 this.lexer.SPorHT() [all...] |
SupportedParser.java | 56 * @param lexer the lexer to use to parse the header 58 protected SupportedParser(Lexer lexer) { 59 super(lexer); 75 while (lexer.lookAhead(0) != '\n') { 76 this.lexer.SPorHT(); 81 this.lexer.match(TokenTypes.ID); 82 Token token = lexer.getNextToken(); 84 this.lexer.SPorHT() [all...] |
TimeStampParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected TimeStampParser(Lexer lexer) { 57 super(lexer); 75 this.lexer.SPorHT(); 76 String firstNumber = this.lexer.number(); 80 if (lexer.lookAhead(0) == '.') { 81 this.lexer.match('.'); 82 String secondNumber = this.lexer.number() [all...] |
UnsupportedParser.java | 54 * @param lexer - the lexer to use to parse the header 56 protected UnsupportedParser(Lexer lexer) { 57 super(lexer); 73 while (lexer.lookAhead(0) != '\n') { 74 this.lexer.SPorHT(); 79 this.lexer.match(TokenTypes.ID); 80 Token token = lexer.getNextToken(); 82 this.lexer.SPorHT() [all...] |
ContentDispositionParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected ContentDispositionParser(Lexer lexer) { 57 super(lexer); 76 this.lexer.SPorHT(); 77 this.lexer.match(TokenTypes.ID); 79 Token token = lexer.getNextToken(); 81 this.lexer.SPorHT(); 84 this.lexer.SPorHT() [all...] |
DateParser.java | 47 protected DateParser(Lexer lexer) { 48 super(lexer); 62 lexer.match(','); 63 lexer.match(' '); 65 lexer.match(' '); 67 lexer.match(' '); 68 String tzone = this.lexer.ttoken().toLowerCase(); 71 this.lexer.match('\n');
|
ExpiresParser.java | 54 * @param lexer is the lexer passed in from the enclosing parser. 56 protected ExpiresParser(Lexer lexer) { 57 super(lexer); 68 lexer.match(TokenTypes.EXPIRES); 69 lexer.SPorHT(); 70 lexer.match(':'); 71 lexer.SPorHT(); 72 String nextId = lexer.getNextId() [all...] |
AlertInfoParser.java | 57 * @param lexer the lexer to use to parse the header 59 protected AlertInfoParser(Lexer lexer) { 60 super(lexer); 77 while (lexer.lookAhead(0) != '\n') { 84 this.lexer.SPorHT(); 85 if (this.lexer.lookAhead(0) == '<') { 86 this.lexer.match('<'); 87 urlParser = new URLParser((Lexer) this.lexer) [all...] |
ProxyRequireParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected ProxyRequireParser(Lexer lexer) { 56 super(lexer); 72 while (lexer.lookAhead(0) != '\n') { 77 this.lexer.match(TokenTypes.ID); 78 Token token = lexer.getNextToken(); 80 this.lexer.SPorHT(); 84 while (lexer.lookAhead(0) == ',') [all...] |
RequireParser.java | 56 * @param lexer the lexer to use to parse the header 58 protected RequireParser(Lexer lexer) { 59 super(lexer); 75 while (lexer.lookAhead(0) != '\n') { 80 this.lexer.match(TokenTypes.ID); 81 Token token = lexer.getNextToken(); 83 this.lexer.SPorHT(); 87 while (lexer.lookAhead(0) == ',') [all...] |
StatusLineParser.java | 42 this.lexer = new Lexer("status_lineLexer", statusLine); 45 public StatusLineParser(Lexer lexer) { 46 this.lexer = lexer; 47 this.lexer.selectLexer("status_lineLexer"); 51 String scode = this.lexer.number(); 59 lexer.getBuffer() + ":" + ex.getMessage(), 60 lexer.getPtr()) [all...] |
UserAgentParser.java | 57 * @param lexer - 58 * the lexer to use. 60 protected UserAgentParser(Lexer lexer) { 61 super(lexer); 78 if (this.lexer.lookAhead(0) == '\n') 86 while (this.lexer.lookAhead(0) != '\n' 87 && this.lexer.lookAhead(0) != '\0') { 89 if (this.lexer.lookAhead(0) == '(') { 90 String comment = this.lexer.comment() [all...] |
ContactParser.java | 49 protected ContactParser(Lexer lexer) { 50 super(lexer); 51 this.lexer = lexer; 60 if (lexer.lookAhead(0) == '*') { 61 final char next = lexer.lookAhead(1); 63 this.lexer.match('*'); 72 this.lexer.SPorHT(); 73 char la = lexer.lookAhead(0) [all...] |
RequestLineParser.java | 43 this.lexer = new Lexer("method_keywordLexer", requestLine); 45 public RequestLineParser(Lexer lexer) { 46 this.lexer = lexer; 47 this.lexer.selectLexer("method_keywordLexer"); 56 lexer.SPorHT(); 58 this.lexer.selectLexer("sip_urlLexer"); 61 lexer.SPorHT() [all...] |
ServerParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected ServerParser(Lexer lexer) { 56 super(lexer); 71 if (this.lexer.lookAhead(0) == '\n') 75 while (this.lexer.lookAhead(0) != '\n' 76 && this.lexer.lookAhead(0) != '\0') { 77 if (this.lexer.lookAhead(0) == '(') { 78 String comment = this.lexer.comment() [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
PVisitedNetworkIDParser.java | 36 import gov.nist.javax.sip.parser.Lexer; 71 protected PVisitedNetworkIDParser(Lexer lexer) { 72 super(lexer); 87 this.lexer.match(TokenTypes.P_VISITED_NETWORK_ID); 88 this.lexer.SPorHT(); 89 this.lexer.match(':'); 90 this.lexer.SPorHT(); 96 if (this.lexer.lookAhead(0) == '\"') 103 this.lexer.SPorHT() [all...] |
PAccessNetworkInfoParser.java | 41 import gov.nist.javax.sip.parser.Lexer; 81 protected PAccessNetworkInfoParser(Lexer lexer) { 82 super(lexer); 97 this.lexer.SPorHT(); 98 lexer.match(TokenTypes.ID); 99 Token token = lexer.getNextToken(); 102 this.lexer.SPorHT(); 103 while (lexer.lookAhead(0) == ';') { 104 this.lexer.match(';') [all...] |
SecurityAgreeParser.java | 46 import gov.nist.javax.sip.parser.Lexer; 61 protected SecurityAgreeParser(Lexer lexer) { 62 super(lexer); 98 this.lexer.SPorHT(); 99 lexer.match(TokenTypes.ID); 100 Token type = lexer.getNextToken(); 102 this.lexer.SPorHT(); 104 char la = lexer.lookAhead(0); 111 this.lexer.match(';') [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/ |
syn-pred.rb | 8 lexer grammar SyntacticPredicateGate; 26 lexer = SyntacticPredicateGate::Lexer.new( 'ac' ) 27 token = lexer.next_token
|