/external/javassist/src/main/javassist/compiler/ |
H A D | SyntaxError.java | 19 public SyntaxError(Lex lexer) { argument 20 super("syntax error near \"" + lexer.getTextAround() + "\"", lexer);
|
/external/chromium_org/tools/idl_parser/ |
H A D | idl_ppapi_lexer.py | 8 The lexer uses the PLY library to build a tokenizer which understands both 26 # These need to be methods for lexer construction, despite not using self. 66 # If run by itself, attempt to build the lexer 68 lexer = IDLPPAPILexer() variable 69 lexer.Tokenize(open('test_parser/inline_ppapi.idl').read()) 70 for tok in lexer.GetTokens():
|
/external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/ |
H A D | Main.java | 23 static TLexer lexer; field in class:Main 33 // Create the lexer, which we can keep reusing if we like 35 lexer = new TLexer(); 123 // and tell the lexer that that is the character source. 127 lexer.setCharStream(new ANTLRFileStream(source, "UTF8")); 129 // Using the lexer as the token source, we create a token 132 CommonTokenStream tokens = new CommonTokenStream(lexer); 146 // it is just for timing the lexer)
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
H A D | LexerException.java | 3 package com.google.clearsilver.jsilver.syntax.lexer;
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | AcceptEncodingParser.java | 75 * @param lexer Lexer to set 77 protected AcceptEncodingParser(Lexer lexer) { argument 78 super(lexer); 94 if (lexer.lookAhead(0) == '\n') { 98 while (lexer.lookAhead(0) != '\n') { 100 if (lexer.lookAhead(0) != ';') { 102 lexer.match(TokenTypes.ID); 103 Token value = lexer.getNextToken(); 107 while (lexer.lookAhead(0) == ';') { 108 this.lexer [all...] |
H A D | AcceptLanguageParser.java | 72 * @param lexer Lexer to set 74 protected AcceptLanguageParser(Lexer lexer) { argument 75 super(lexer); 91 while (lexer.lookAhead(0) != '\n') { 94 if (lexer.lookAhead(0) != ';') { 96 lexer.match(TokenTypes.ID); 97 Token value = lexer.getNextToken(); 101 while (lexer.lookAhead(0) == ';') { 102 this.lexer.match(';'); 103 this.lexer [all...] |
H A D | AcceptParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected AcceptParser(Lexer lexer) { argument 57 super(lexer); 77 this.lexer.SPorHT(); 78 this.lexer.match(TokenTypes.ID); 79 Token token = lexer.getNextToken(); 81 this.lexer.match('/'); 82 this.lexer.match(TokenTypes.ID); 83 token = lexer [all...] |
H A D | AddressParametersParser.java | 42 protected AddressParametersParser(Lexer lexer) { argument 43 super(lexer); 57 lexer.SPorHT(); 58 char la = this.lexer.lookAhead(0); 59 if ( this.lexer.hasMoreChars() && 62 this.lexer.startsId()) {
|
H A D | AddressParser.java | 40 public AddressParser(Lexer lexer) { argument 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"); 56 this.lexer.SPorHT(); 57 URLParser uriParser = new URLParser((Lexer) lexer); [all...] |
H A D | AlertInfoParser.java | 57 * @param lexer the lexer to use to parse the header 59 protected AlertInfoParser(Lexer lexer) { argument 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); 90 this.lexer [all...] |
H A D | AllowEventsParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected AllowEventsParser(Lexer lexer) { argument 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) == ',') { 85 this.lexer [all...] |
H A D | AllowParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected AllowParser(Lexer lexer) { argument 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) == ',') { 84 this.lexer [all...] |
H A D | AuthenticationInfoParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected AuthenticationInfoParser(Lexer lexer) { argument 56 super(lexer); 76 this.lexer.SPorHT(); 80 this.lexer.SPorHT(); 81 while (lexer.lookAhead(0) == ',') { 82 this.lexer.match(','); 83 this.lexer.SPorHT(); 87 this.lexer [all...] |
H A D | AuthorizationParser.java | 53 * @param lexer Lexer to set 55 protected AuthorizationParser(Lexer lexer) { argument 56 super(lexer);
|
H A D | CSeqParser.java | 51 protected CSeqParser(Lexer lexer) { argument 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(); 72 this.lexer [all...] |
H A D | CallIDParser.java | 51 * @param lexer Lexer to set 53 protected CallIDParser(Lexer lexer) { argument 54 super(lexer); 66 this.lexer.match(TokenTypes.CALL_ID); 67 this.lexer.SPorHT(); 68 this.lexer.match(':'); 69 this.lexer.SPorHT(); 73 this.lexer.SPorHT(); 74 String rest = lexer.getRest();
|
H A D | CallInfoParser.java | 53 * @param lexer the lexer to use to parse the header 55 protected CallInfoParser(Lexer lexer) { argument 56 super(lexer); 72 while (lexer.lookAhead(0) != '\n') { 76 this.lexer.SPorHT(); 77 this.lexer.match('<'); 78 URLParser urlParser=new URLParser((Lexer)this.lexer); 81 this.lexer.match('>'); 82 this.lexer [all...] |
H A D | ContactParser.java | 49 protected ContactParser(Lexer lexer) { argument 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); 75 this.lexer [all...] |
H A D | ContentDispositionParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected ContentDispositionParser(Lexer lexer) { argument 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(); 85 this.lexer [all...] |
H A D | ContentEncodingParser.java | 56 * @param lexer the lexer to use to parse the header 58 protected ContentEncodingParser(Lexer lexer) { argument 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(); 89 while (lexer [all...] |
H A D | ContentLanguageParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected ContentLanguageParser(Lexer lexer) { argument 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(); 83 while (lexer [all...] |
H A D | ContentLengthParser.java | 48 protected ContentLengthParser(Lexer lexer) { argument 49 super(lexer); 58 String number = this.lexer.number(); 60 this.lexer.SPorHT(); 61 this.lexer.match('\n');
|
H A D | ContentTypeParser.java | 52 protected ContentTypeParser(Lexer lexer) { argument 53 super(lexer); 66 lexer.match(TokenTypes.ID); 67 Token type = lexer.getNextToken(); 68 this.lexer.SPorHT(); 72 lexer.match('/'); 73 lexer.match(TokenTypes.ID); 74 Token subType = lexer.getNextToken(); 75 this.lexer.SPorHT(); 78 this.lexer [all...] |
H A D | DateParser.java | 47 protected DateParser(Lexer lexer) { argument 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');
|
H A D | ErrorInfoParser.java | 54 * @param lexer the lexer to use to parse the header 56 protected ErrorInfoParser(Lexer lexer) { argument 57 super(lexer); 74 while (lexer.lookAhead(0) != '\n') { 79 this.lexer.SPorHT(); 80 this.lexer.match('<'); 81 URLParser urlParser = new URLParser((Lexer) this.lexer); 84 this.lexer.match('>'); 85 this.lexer [all...] |