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

1 2 3 4 5 6 7 8 91011>>

  /external/javassist/src/main/javassist/compiler/
SyntaxError.java 19 public SyntaxError(Lex lexer) {
20 super("syntax error near \"" + lexer.getTextAround() + "\"", lexer);
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
LexerExtensions.cs 37 public static void skip( Lexer lexer )
39 lexer.Skip();
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
LexerExtensions.cs 37 public static void skip( this Lexer lexer )
39 lexer.Skip();
  /external/nist-sip/java/gov/nist/javax/sip/parser/
ViaParser.java 47 public ViaParser(Lexer lexer) {
48 super(lexer);
56 lexer.match(TokenTypes.ID);
57 Token protocolName = lexer.getNextToken();
59 this.lexer.SPorHT();
61 lexer.match('/');
62 this.lexer.SPorHT();
63 lexer.match(TokenTypes.ID);
64 this.lexer.SPorHT()
    [all...]
AcceptEncodingParser.java 75 * @param lexer Lexer to set
77 protected AcceptEncodingParser(Lexer lexer) {
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()
    [all...]
AcceptLanguageParser.java 72 * @param lexer Lexer to set
74 protected AcceptLanguageParser(Lexer lexer) {
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) == ';')
    [all...]
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...]
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...]
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...]
ChallengeParser.java 57 protected ChallengeParser(Lexer lexer) {
58 super(lexer);
88 this.lexer.SPorHT();
89 lexer.match(TokenTypes.ID);
90 Token type = lexer.getNextToken();
91 this.lexer.SPorHT();
96 while (lexer.lookAhead(0) != '\n') {
98 this.lexer.SPorHT();
99 char la = lexer.lookAhead(0)
    [all...]
ParametersParser.java 43 protected ParametersParser(Lexer lexer) {
44 super((Lexer) lexer);
53 this.lexer.SPorHT();
54 while (lexer.lookAhead(0) == ';') {
55 this.lexer.consume(1);
57 this.lexer.SPorHT();
61 this.lexer.SPorHT();
71 this.lexer.SPorHT()
    [all...]
WarningParser.java 60 * @param lexer -
61 * the lexer to use.
63 protected WarningParser(Lexer lexer) {
64 super(lexer);
82 while (lexer.lookAhead(0) != '\n') {
87 this.lexer.match(TokenTypes.ID);
88 Token token = lexer.getNextToken();
97 this.lexer.SPorHT();
100 this.lexer.match(TokenTypes.ID)
    [all...]
RetryAfterParser.java 56 * @param lexer the lexer to use to parse the header
58 protected RetryAfterParser(Lexer lexer) {
59 super(lexer);
77 String value = lexer.number();
87 this.lexer.SPorHT();
88 if (lexer.lookAhead(0) == '(') {
89 String comment = this.lexer.comment();
92 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...]
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');
ContentTypeParser.java 52 protected ContentTypeParser(Lexer lexer) {
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()
    [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...]
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...]
RecordRouteParser.java 53 protected RecordRouteParser(Lexer lexer) {
54 super(lexer);
69 this.lexer.match(TokenTypes.RECORD_ROUTE);
70 this.lexer.SPorHT();
71 this.lexer.match(':');
72 this.lexer.SPorHT();
77 this.lexer.SPorHT();
78 char la = lexer.lookAhead(0);
80 this.lexer.match(',')
    [all...]
RouteParser.java 51 protected RouteParser(Lexer lexer) {
52 super(lexer);
65 this.lexer.match(TokenTypes.ROUTE);
66 this.lexer.SPorHT();
67 this.lexer.match(':');
68 this.lexer.SPorHT();
73 this.lexer.SPorHT();
74 char la = lexer.lookAhead(0);
76 this.lexer.match(',')
    [all...]
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...]
  /external/antlr/antlr-3.4/runtime/Python/tests/
t025lexerRulePropertyRef.py 13 lexer = self.getLexer(stream)
16 token = lexer.nextToken()
20 assert len(lexer.properties) == 3, lexer.properties
22 text, type, line, pos, index, channel, start, stop = lexer.properties[0]
23 assert text == 'foobar', lexer.properties[0]
24 assert type == self.lexerModule.IDENTIFIER, lexer.properties[0]
25 assert line == 1, lexer.properties[0]
26 assert pos == 0, lexer.properties[0]
27 assert index == -1, lexer.properties[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...]
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3lexer.c 3 * Base implementation of an antlr 3 lexer.
5 * An ANTLR3 lexer implements a base recongizer, a token source and
6 * a lexer interface. It constructs a base recognizer with default
42 static void mTokens (pANTLR3_LEXER lexer);
43 static void setCharStream (pANTLR3_LEXER lexer, pANTLR3_INPUT_STREAM input);
44 static void pushCharStream (pANTLR3_LEXER lexer, pANTLR3_INPUT_STREAM input);
45 static void popCharStream (pANTLR3_LEXER lexer);
47 static void emitNew (pANTLR3_LEXER lexer, pANTLR3_COMMON_TOKEN token);
48 static pANTLR3_COMMON_TOKEN emit (pANTLR3_LEXER lexer);
49 static ANTLR3_BOOLEAN matchs (pANTLR3_LEXER lexer, ANTLR3_UCHAR * string)
74 pANTLR3_LEXER lexer; local
177 pANTLR3_LEXER lexer; local
219 pANTLR3_LEXER lexer; local
353 pANTLR3_LEXER lexer; local
386 pANTLR3_LEXER lexer; local
429 pANTLR3_LEXER lexer; local
    [all...]
  /external/antlr/antlr-3.4/runtime/C/include/
antlr3lexer.h 2 * Base interface for any ANTLR3 lexer.
4 * An ANLTR3 lexer builds from two sets of components:
8 * - The generated rules and struutre of the actual lexer, which call upon the
11 * A lexer class contains a character input stream, a base recognizer interface
17 * So then, we set up a lexer in a sequence akin to:
21 * - Create a lexer interface and tell it where it its input stream is.
23 * override with its own implementations of some methods. The lexer creator
25 * - The lexer token source interface is then passed to some interface that
79 * lexer, then a pointer to it can be stored here in case
84 /** A generated lexer has an mTokens() function, which need
    [all...]

Completed in 413 milliseconds

1 2 3 4 5 6 7 8 91011>>