HomeSort by relevance Sort by last modified time
    Searched defs:lexer (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /external/chromium_org/tools/idl_parser/
idl_ppapi_lexer.py 6 """ Lexer for PPAPI IDL
8 The lexer uses the PLY library to build a tokenizer which understands both
21 # IDL PPAPI Lexer
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/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/
LexerException.java 3 package com.google.clearsilver.jsilver.syntax.lexer;
  /external/nist-sip/java/gov/nist/javax/sip/parser/
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...]
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...]
AcceptParser.java 54 * @param lexer the lexer to use to parse the header
56 protected AcceptParser(Lexer lexer) {
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)
    [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()) {
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...]
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...]
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...]
CallIDParser.java 51 * @param lexer Lexer to set
53 protected CallIDParser(Lexer lexer) {
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()
    [all...]
CallInfoParser.java 53 * @param lexer the lexer to use to parse the header
55 protected CallInfoParser(Lexer lexer) {
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);
    [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...]
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...]
ErrorInfoParser.java 54 * @param lexer the lexer to use to parse the header
56 protected ErrorInfoParser(Lexer lexer) {
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);
    [all...]
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...]
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...]
FromParser.java 47 protected FromParser(Lexer lexer) {
48 super(lexer);
55 this.lexer.match(TokenTypes.FROM);
56 this.lexer.SPorHT();
57 this.lexer.match(':');
58 this.lexer.SPorHT();
60 this.lexer.match('\n');
InReplyToParser.java 54 * @param lexer the lexer to use to parse the header
56 protected InReplyToParser(Lexer lexer) {
57 super(lexer);
74 while (lexer.lookAhead(0) != '\n') {
78 this.lexer.match(TokenTypes.ID);
79 Token token = lexer.getNextToken();
80 if (lexer.lookAhead(0) == '@') {
81 this.lexer.match('@')
    [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();
Parser.java 46 lexer.getBuffer() + ":" + exceptionString,
47 lexer.getPtr());
50 protected Lexer getLexer() {
51 return (Lexer) this.lexer;
58 Token tok = lexer.match(SIP);
61 lexer.match('/');
62 tok = lexer.match(ID);
80 Token[] tokens = this.lexer.peekNextToken(1);
93 lexer.consume()
    [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...]
ReasonParser.java 54 * @param lexer the lexer to use to parse the header
56 protected ReasonParser(Lexer lexer) {
57 super(lexer);
72 this.lexer.SPorHT();
73 while (lexer.lookAhead(0) != '\n') {
75 this.lexer.match(TokenTypes.ID);
76 Token token = lexer.getNextToken();
82 if (lexer.lookAhead(0) == ',')
    [all...]
  /external/nist-sip/java/gov/nist/core/
HostNameParser.java 37 //import gov.nist.javax.sdp.parser.Lexer;
52 private static LexerCore Lexer;
66 this.lexer = new LexerCore("charLexer", hname);
73 * The lexer is initialized with the buffer.
75 public HostNameParser(LexerCore lexer) {
76 this.lexer = lexer;
77 lexer.selectLexer("charLexer");
89 lexer.consumeValidChars(VALID_DOMAIN_LABEL_CHAR);
104 while (lexer.hasMoreChars())
    [all...]
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...]

Completed in 2064 milliseconds

1 2 3 4 5