/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
ServiceRouteParser.java | 38 import gov.nist.javax.sip.parser.Lexer; 57 protected ServiceRouteParser(Lexer lexer) { 58 super(lexer); 78 this.lexer.match(TokenTypes.SERVICE_ROUTE); 79 this.lexer.SPorHT(); 80 this.lexer.match(':'); 81 this.lexer.SPorHT(); 86 this.lexer.SPorHT(); 87 if (lexer.lookAhead(0) == ',') [all...] |
PathParser.java | 36 import gov.nist.javax.sip.parser.Lexer; 56 protected PathParser(Lexer lexer) { 57 super(lexer); 78 this.lexer.match(TokenTypes.PATH); 79 this.lexer.SPorHT(); 80 this.lexer.match(':'); 81 this.lexer.SPorHT(); 86 this.lexer.SPorHT(); 87 char la = lexer.lookAhead(0) [all...] |
PrivacyParser.java | 46 import gov.nist.javax.sip.parser.Lexer; 69 protected PrivacyParser(Lexer lexer) { 71 super(lexer); 86 while (lexer.lookAhead(0) != '\n') { 87 this.lexer.SPorHT(); 92 this.lexer.match(TokenTypes.ID); 93 Token token = lexer.getNextToken(); 95 this.lexer.SPorHT(); 99 while (lexer.lookAhead(0) == ';' [all...] |
PCalledPartyIDParser.java | 36 import gov.nist.javax.sip.parser.Lexer; 60 protected PCalledPartyIDParser(Lexer lexer) 62 super(lexer); 73 this.lexer.match(TokenTypes.P_CALLED_PARTY_ID); 74 this.lexer.SPorHT(); 75 this.lexer.match(':'); 76 this.lexer.SPorHT();
|
PPreferredIdentityParser.java | 34 import gov.nist.javax.sip.parser.Lexer; 58 protected PPreferredIdentityParser(Lexer lexer) { 59 super(lexer); 69 this.lexer.match(TokenTypes.P_PREFERRED_IDENTITY); 70 this.lexer.SPorHT(); 71 this.lexer.match(':'); 72 this.lexer.SPorHT();
|
PProfileKeyParser.java | 31 import gov.nist.javax.sip.parser.Lexer; 42 protected PProfileKeyParser(Lexer lexer) { 43 super(lexer); 56 this.lexer.match(TokenTypes.P_PROFILE_KEY); 57 this.lexer.SPorHT(); 58 this.lexer.match(':'); 59 this.lexer.SPorHT();
|
PAssertedIdentityParser.java | 32 import gov.nist.javax.sip.parser.Lexer; 61 protected PAssertedIdentityParser(Lexer lexer) { 62 super(lexer); 84 this.lexer.SPorHT(); 85 while (lexer.lookAhead(0) == ',') 87 this.lexer.match(','); 88 this.lexer.SPorHT(); 94 this.lexer.SPorHT(); 96 this.lexer.SPorHT() [all...] |
PMediaAuthorizationParser.java | 42 import gov.nist.javax.sip.parser.Lexer; 63 public PMediaAuthorizationParser(Lexer lexer) 65 super(lexer); 88 while (lexer.lookAhead(0) != '\n') 90 this.lexer.match(TokenTypes.ID); 91 Token token = lexer.getNextToken(); 99 this.lexer.SPorHT(); 100 if (lexer.lookAhead(0) == ',') 102 this.lexer.match(',') [all...] |
PUserDatabaseParser.java | 31 import gov.nist.javax.sip.parser.Lexer; 64 * @param lexer 66 public PUserDatabaseParser(Lexer lexer) 68 super(lexer); 77 this.lexer.match(TokenTypes.P_USER_DATABASE); 78 this.lexer.SPorHT(); 79 this.lexer.match(':'); 80 this.lexer.SPorHT(); 96 this.lexer.match(LESS_THAN) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
EventParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected EventParser(Lexer lexer) { 57 super(lexer); 72 this.lexer.SPorHT(); 75 this.lexer.match(TokenTypes.ID); 76 Token token = lexer.getNextToken(); 82 this.lexer.SPorHT(); 83 this.lexer.match('\n') [all...] |
MimeVersionParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected MimeVersionParser(Lexer lexer) { 57 super(lexer); 76 String majorVersion = this.lexer.number(); 78 this.lexer.match('.'); 79 String minorVersion = this.lexer.number(); 85 this.lexer.SPorHT(); 87 this.lexer.match('\n') [all...] |
SIPETagParser.java | 55 * @param lexer the lexer to use to parse the header 57 protected SIPETagParser(Lexer lexer) { 58 super(lexer); 75 this.lexer.SPorHT(); 76 this.lexer.match(TokenTypes.ID); 77 Token token = lexer.getNextToken(); 81 this.lexer.SPorHT(); 82 this.lexer.match('\n') [all...] |
SIPIfMatchParser.java | 55 * @param lexer the lexer to use to parse the header 57 protected SIPIfMatchParser(Lexer lexer) { 58 super(lexer); 75 this.lexer.SPorHT(); 76 this.lexer.match(TokenTypes.ID); 77 Token token = lexer.getNextToken(); 81 this.lexer.SPorHT(); 82 this.lexer.match('\n') [all...] |
CSeqParser.java | 51 protected CSeqParser(Lexer lexer) { 52 super(lexer); 59 this.lexer.match(TokenTypes.CSEQ); 60 this.lexer.SPorHT(); 61 this.lexer.match(':'); 62 this.lexer.SPorHT(); 63 String number = this.lexer.number(); 65 this.lexer.SPorHT(); 71 this.lexer.SPorHT() [all...] |
RAckParser.java | 57 * @param lexer the lexer to use to parse the header 59 protected RAckParser(Lexer lexer) { 60 super(lexer); 79 String number = this.lexer.number(); 81 this.lexer.SPorHT(); 82 number = this.lexer.number(); 84 this.lexer.SPorHT(); 85 this.lexer.match(TokenTypes.ID) [all...] |
AddressParametersParser.java | 42 protected AddressParametersParser(Lexer lexer) { 43 super(lexer); 57 lexer.SPorHT(); 58 char la = this.lexer.lookAhead(0); 59 if ( this.lexer.hasMoreChars() && 62 this.lexer.startsId()) {
|
PriorityParser.java | 56 * @param lexer the lexer to use to parse the header 58 protected PriorityParser(Lexer lexer) { 59 super(lexer); 77 this.lexer.SPorHT(); 78 /*this.lexer.match(TokenTypes.ID); 79 Token token = lexer.getNextToken(); 85 priority.setPriority(this.lexer.ttokenSafe()); 87 this.lexer.SPorHT() [all...] |
OrganizationParser.java | 52 * @param lexer the lexer to use to parse the header 54 protected OrganizationParser(Lexer lexer) { 55 super(lexer); 73 this.lexer.SPorHT(); 74 String value = this.lexer.getRest();
|
SubjectParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected SubjectParser(Lexer lexer) { 56 super(lexer); 72 this.lexer.SPorHT(); 74 String s = this.lexer.getRest();
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/ |
properties.rb | 9 lexer grammar RuleProperty; 14 @lexer::init { 17 @lexer::members { 30 example "referencing lexer rule properties" do 31 lexer = RuleProperty::Lexer.new( "foobar _ab98 \n A12sdf" ) 32 tokens = lexer.map { |tk| tk } 34 lexer.properties.should have( 3 ).things 35 text, type, line, pos, index, channel, start, stop = lexer.properties[ 0 ] 45 text, type, line, pos, index, channel, start, stop = lexer.properties[ 1 [all...] |
basic.rb | 7 lexer grammar Zero; 18 lexer = Zero::Lexer.new( '0' ) 20 token = lexer.next_token 23 token = lexer.next_token 28 lexer = Zero::Lexer.new( '0' ) 30 token_types = lexer.map { |token| token.name } 35 lexer = Zero::Lexer.new( '1' [all...] |
nuances.rb | 8 lexer grammar Bug80; 23 lexer = Bug80::Lexer.new( 'defined' ) 24 tokens = lexer.each { |tk| tk } 32 lexer grammar EndOfFile; 43 lexer = EndOfFile::Lexer.new( " " ) 44 tks = lexer.map { |tk| tk }
|
/external/nist-sip/java/gov/nist/core/ |
ParserCore.java | 45 protected LexerCore lexer; field in class:ParserCore 52 lexer.match(LexerCore.ID); 53 Token name = lexer.getNextToken(); 55 lexer.SPorHT(); 61 char la = lexer.lookAhead(0); 64 lexer.consume(1); 65 lexer.SPorHT(); 68 if (lexer.lookAhead(0) == '\"') { 69 str = lexer.quotedString(); 72 lexer.match(LexerCore.ID) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
parse_core.py | 78 def parse_error(self,lexer,reason="?",*blah): 80 sys.stderr.write( "at line %s: %s\n"%(lexer.lno+1,reason) ) 81 sys.stderr.write( lexer.err_string() ) 84 def expected_error(self,lexer,*l): 85 self.parse_error( lexer, "expected %s, got '%s'"\ 86 %(" or ".join(map(repr,l)),lexer.tok)) 88 def consume(self,lexer,tok): 89 if lexer.tok != tok: 90 self.expected_error(lexer, tok) 91 lexer.get_token( [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
LexerException.java | 3 package com.google.clearsilver.jsilver.syntax.lexer;
|