HomeSort by relevance Sort by last modified time
    Searched full:lexer (Results 201 - 225 of 912) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/antlr/antlr-3.4/runtime/Perl5/t/
lexer.t 24 lexer grammar INTLexer;
28 /* Lexer rule for an integer. */
38 my $lexer = INTLexer->new({ input => $input });
39 while ((my $_ = $lexer->next_token())) {
48 lexer grammar IDLexer;
63 my $lexer = IDLexer->new({ input => $input });
66 my $token = $lexer->next_token();
117 my $lexer = IDLexer->new($input);
118 while ((my $_ = $lexer->next_token())) {
  /external/nist-sip/java/gov/nist/javax/sip/parser/ims/
PAssertedServiceParser.java 33 import gov.nist.javax.sip.parser.Lexer;
47 protected PAssertedServiceParser(Lexer lexer) {
48 super(lexer);
61 this.lexer.match(TokenTypes.P_ASSERTED_SERVICE);
62 this.lexer.SPorHT();
63 this.lexer.match(':');
64 this.lexer.SPorHT();
67 String urn = this.lexer.getBuffer();
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
tree-rewrite.rb 1005 lexer = FlatList::Lexer.new( "abc 34" )
1006 tokens = ANTLR3::CommonTokenStream.new( lexer )
1019 lexer = SimpleTree::Lexer.new( "abc 34" )
1020 tokens = ANTLR3::CommonTokenStream.new( lexer )
1033 lexer = CombinedRewriteAndAuto::Lexer.new( "abc 34" )
1034 tokens = ANTLR3::CommonTokenStream.new( lexer )
1043 lexer = CombinedRewriteAndAuto::Lexer.new( "34"
    [all...]
  /external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
t017parser.html 30 lexer = new t017parserLexer(cstream),
31 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
40 lexer = new t017parserLexer(cstream),
41 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
51 lexer = new t017parserLexer(cstream),
52 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
t031emptyAlt.html 33 lexer = new t031emptyAltLexer(cstream),
34 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
43 lexer = new t031emptyAltLexer(cstream),
44 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
53 lexer = new t031emptyAltLexer(cstream),
54 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
t014parser.html 20 lexer = new t014parserLexer(cstream),
21 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
41 lexer = new t014parserLexer(cstream),
42 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
53 lexer = new t014parserLexer(cstream),
54 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
71 lexer = new t014parserLexer(cstream),
72 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
t020fuzzy.html 46 lexer = new t020fuzzy(cstream),
47 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
51 assertEquals(lexer.outbuf.length, xoutput.length);
53 assertEquals(lexer.outbuf[i], xoutput[i]+"\n");
t032subrulePredict.html 33 lexer = new t032subrulePredictLexer(cstream),
34 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
44 lexer = new t032subrulePredictLexer(cstream),
45 tstream = new org.antlr.runtime.CommonTokenStream(lexer),
  /external/antlr/antlr-3.4/runtime/Python/unittests/
testtreewizard.py 39 lexer = TreePatternLexer('(')
40 type = lexer.nextToken()
42 self.failUnlessEqual(lexer.sval, '')
43 self.failUnlessEqual(lexer.error, False)
49 lexer = TreePatternLexer(')')
50 type = lexer.nextToken()
52 self.failUnlessEqual(lexer.sval, '')
53 self.failUnlessEqual(lexer.error, False)
59 lexer = TreePatternLexer('%')
60 type = lexer.nextToken(
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/
rakefile 28 "test/functional/lexer/xml.rb",
29 "test/functional/lexer/properties.rb",
30 "test/functional/lexer/nuances.rb",
31 "test/functional/lexer/basic.rb",
32 "test/functional/lexer/filter-mode.rb",
33 "test/functional/lexer/syn-pred.rb",
  /external/nist-sip/java/gov/nist/javax/sip/parser/
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...]
ContentEncodingParser.java 56 * @param lexer the lexer to use to parse the header
58 protected ContentEncodingParser(Lexer lexer) {
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()
    [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...]
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...]
  /external/antlr/antlr-3.4/runtime/C/doxygen/
atsections.dox 14 /// : '@' (( 'parser' | 'lexer' ) '::')? SECTIONNAME '{' yourcode '}'
18 /// If the 'parser' or lexer keywords are left out of the specification, then the
19 /// ANTLR tool assumes a lexer target for a lexer grammar, a parser target for a parser
20 /// or tree parser grammar, and a parser target for a combined lexer/parser grammar. You
21 /// are advised as a matter of course to include the parser or lexer target keyword.
29 /// of a rule (lexer, parser and tree parser rules). This allows you to both declare and initialize
63 /// The <code>\@parser::header</code> or <code>\@lexer::header</code> annotations cause the code they encapsulate
74 /// @lexer::header
88 /// The <code>\@parser::includes</code> or <code>\@lexer::includes</code> annotations caus
    [all...]
  /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 });
  /external/antlr/antlr-3.4/runtime/Python/tests/
t036multipleReturnValues.py 32 lexer = self.getLexer(cStream)
33 tStream = antlr3.CommonTokenStream(lexer)
t041parameters.py 32 lexer = self.getLexer(cStream)
33 tStream = antlr3.CommonTokenStream(lexer)
t046rewrite.py 24 lexer = self.getLexer(cStream)
25 tStream = antlr3.TokenRewriteStream(lexer)
  /external/antlr/antlr-3.4/runtime/Ruby/test/unit/
test-tree-wizard.rb 17 lexer = Wizard::PatternLexer.new( '(' )
18 type = lexer.next_token
20 assert_equal( lexer.text, '' )
21 assert_equal( lexer.error, false )
25 lexer = Wizard::PatternLexer.new(')')
26 type = lexer.next_token
28 assert_equal(lexer.text, '')
29 assert_equal(lexer.error, false)
33 lexer = Wizard::PatternLexer.new('%')
34 type = lexer.next_toke
    [all...]
  /external/webkit/Tools/android/flex-2.5.4a/MISC/
testxxLexer.l 54 FlexLexer* lexer = new yyFlexLexer;
55 while(lexer->yylex() != 0)
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
Combined__.gl 0 lexer grammar Combined;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/
SymbolTable__.gl 0 lexer grammar SymbolTable;

Completed in 1014 milliseconds

1 2 3 4 5 6 7 891011>>