HomeSort by relevance Sort by last modified time
    Searched refs:lexer (Results 126 - 150 of 357) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/nist-sip/java/gov/nist/javax/sip/parser/ims/
PChargingFunctionAddressesParser.java 35 import gov.nist.javax.sip.parser.Lexer;
79 protected PChargingFunctionAddressesParser(Lexer lexer) {
80 super(lexer);
96 while (lexer.lookAhead(0) != '\n') {
99 this.lexer.SPorHT();
100 char la = lexer.lookAhead(0);
104 this.lexer.match(';');
105 this.lexer.SPorHT();
PPreferredServiceParser.java 35 import gov.nist.javax.sip.parser.Lexer;
48 protected PPreferredServiceParser(Lexer lexer) {
49 super(lexer);
99 this.lexer.match(TokenTypes.P_PREFERRED_SERVICE);
100 this.lexer.SPorHT();
101 this.lexer.match(':');
102 this.lexer.SPorHT();
105 String urn = this.lexer.getBuffer();
  /external/antlr/antlr-3.4/runtime/Python/tests/
t005lexer.py 25 lexer = self.getLexer(stream)
27 token = lexer.nextToken()
33 token = lexer.nextToken()
39 token = lexer.nextToken()
45 token = lexer.nextToken()
51 lexer = self.getLexer(stream)
54 token = lexer.nextToken()
64 lexer = self.getLexer(stream)
67 token = lexer.nextToken()
t007lexer.py 25 lexer = self.getLexer(stream)
27 token = lexer.nextToken()
33 token = lexer.nextToken()
39 token = lexer.nextToken()
45 lexer = self.getLexer(stream)
48 token = lexer.nextToken()
t019lexer.py 14 lexer = self.getLexer(stream)
17 token = lexer.nextToken()
t024finally.py 13 lexer = self.getLexer(cStream)
14 tStream = antlr3.CommonTokenStream(lexer)
t033backtracking.py 24 lexer = self.getLexer(cStream)
25 tStream = antlr3.CommonTokenStream(lexer)
t038lexerRuleLabel.py 23 lexer = self.getLexer(cStream)
26 t = lexer.nextToken()
t040bug80.py 22 lexer = self.getLexer(cStream)
24 t = lexer.nextToken()
t046rewrite.py 24 lexer = self.getLexer(cStream)
25 tStream = antlr3.TokenRewriteStream(lexer)
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/
rule-tracing.rb 31 @lexer::init {
36 @lexer::members {
59 lexer = Traced::Lexer.new( '< 1 + 2 + 3 >' )
60 parser = Traced::Parser.new lexer
62 lexer.traces.should == [
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
scopes.rb 30 lexer = SimpleScope::Lexer.new( 'foobar' )
31 parser = SimpleScope::Parser.new lexer
178 lexer = LotsaScopes::Lexer.new( "foobar" )
179 parser = LotsaScopes::Parser.new lexer
184 lexer = LotsaScopes::Lexer.new( "foobar" )
185 parser = LotsaScopes::Parser.new lexer
190 lexer = LotsaScopes::Lexer.new( "foobar"
    [all...]
actions.rb 40 lexer = ParserActions::Lexer.new "int foo;"
41 parser = ParserActions::Parser.new lexer
59 @lexer::members {
62 @lexer::init { @foobar = 'attribute' }
91 lexer = AllKindsOfActions::Lexer.new( "foobar _Ab98 \n A12sdf" )
92 parser = AllKindsOfActions::Parser.new lexer
101 lexer.output.should == <<-END.fixed_indent( 0 )
141 lexer = Finally::Lexer.new( 'foobar'
    [all...]
basic.rb 38 lexer = Identifiers::Lexer.new( input )
39 tokens = ANTLR3::CommonTokenStream.new( lexer )
51 lexer = Identifiers::Lexer.new( '' )
52 parser = Identifiers::Parser.new( lexer )
59 # if the parser is able to figure out what lexer class
116 lexer = SimpleLanguage::Lexer.new( "var foobar; gnarz(); var blupp; flupp ( ) ;" )
117 parser = SimpleLanguage::Parser.new( lexer )
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
URLParser.java 50 this.lexer = new Lexer("sip_urlLexer", url);
54 public URLParser(Lexer lexer) {
55 this.lexer = lexer;
56 this.lexer.selectLexer("sip_urlLexer");
76 return Lexer.isAlphaDigit(next) || isMark(next);
116 char next = lexer.lookAhead(0);
118 lexer.consume(1)
    [all...]
ReferToParser.java 51 protected ReferToParser(Lexer lexer) {
52 super(lexer);
59 this.lexer.match('\n');
ReplyToParser.java 52 * param lexer the lexer to use to parse the header
54 protected ReplyToParser(Lexer lexer) {
55 super(lexer);
  /external/nist-sip/java/gov/nist/javax/sip/parser/extensions/
JoinParser.java 31 * @param lexer Lexer to set
33 protected JoinParser(Lexer lexer) {
34 super(lexer);
49 this.lexer.SPorHT();
50 String callId = lexer.byteStringNoSemicolon();
51 this.lexer.SPorHT();
ReplacesParser.java 33 * @param lexer Lexer to set
35 protected ReplacesParser(Lexer lexer) {
36 super(lexer);
51 this.lexer.SPorHT();
52 String callId = lexer.byteStringNoSemicolon();
53 this.lexer.SPorHT();
ReferredByParser.java 28 protected ReferredByParser(Lexer lexer) {
29 super(lexer);
36 this.lexer.match('\n');
  /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
24 # IDL PPAPI Lexer
63 # If run by itself, attempt to build the lexer
65 lexer = IDLPPAPILexer() variable
66 lexer.Tokenize(open('test_parser/inline_ppapi.idl').read())
67 for tok in lexer.GetTokens():
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
Interp.java 99 Grammar lexer = new Grammar(tool); local
100 lexer.importTokenVocabulary(parser);
101 lexer.fileName = grammarFileName;
102 lexer.setTool(tool);
104 lexer.setGrammarContent(lexerGrammarText);
107 System.err.println("no lexer grammar found in "+grammarFileName);
109 lexer.composite.createNFAs();
113 Interpreter lexEngine = new Interpreter(lexer, input);
118 tokens.setTokenTypeChannel(lexer.getTokenType(tokenName), 99);
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
TestFastLexer.cs 71 SimpleExpressionLexer lexer = new SimpleExpressionLexer( new ANTLRStringStream( text ) );
72 CommonTokenStream tokens = new CommonTokenStream( lexer );
85 FastSimpleExpressionLexer lexer = new FastSimpleExpressionLexer( new SlimStringStream( text ) );
86 FastTokenStream tokens = new FastTokenStream( lexer );
87 //FastTokenStream<SlimToken> tokens = new FastTokenStream<SlimToken>( lexer );
  /external/antlr/antlr-3.4/runtime/Perl5/examples/id/
id.pl 13 my $lexer = IDLexer->new({ input => $input });
16 my $token = $lexer->next_token();
  /external/antlr/antlr-3.4/runtime/Perl5/examples/simplecalc/
simplecalc.pl 13 my $lexer = SimpleCalcLexer->new({ input => $input });
14 my $tokens = ANTLR::Runtime::CommonTokenStream->new({ token_source => $lexer });

Completed in 587 milliseconds

1 2 3 4 56 7 8 91011>>