HomeSort by relevance Sort by last modified time
    Searched refs:lexer (Results 176 - 200 of 325) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/antlr/antlr-3.4/runtime/Python/tests/
t026actions.py 53 lexer = self.getLexer(cStream)
54 tStream = antlr3.CommonTokenStream(lexer)
62 lexer._output,
t047treeparser.py 54 lexer = self.getLexer(cStream)
55 tStream = antlr3.CommonTokenStream(lexer)
108 lexer = self.getLexer(cStream)
109 tStream = antlr3.CommonTokenStream(lexer)
t018llstar.py 17 lexer = self.getLexer(cStream)
18 tStream = antlr3.CommonTokenStream(lexer)
60 ## lexer = Lexer(cStream)
61 ## tStream = antlr3.CommonTokenStream(lexer)
t039labels.py 34 lexer = self.getLexer(cStream)
35 tStream = antlr3.CommonTokenStream(lexer)
t055templates.py 16 lexer = lexerCls(cStream)
17 tStream = antlr3.CommonTokenStream(lexer)
65 lexer='angle-bracket'
236 lexer='angle-bracket'
372 lexer = lexerCls(cStream)
373 tStream = antlr3.TokenRewriteStream(lexer)
481 lexer = lexerCls(cStream)
482 tStream = antlr3.TokenRewriteStream(lexer)
  /external/webkit/Source/WebCore/storage/
IDBKeyPath.cpp 175 IDBKeyPathLexer lexer(keyPath);
176 IDBKeyPathLexer::TokenType tokenType = lexer.nextTokenType();
192 IDBKeyPathLexer::TokenType tokenType = lexer.currentTokenType();
195 IDBKeyPathElement element = lexer.currentElement();
199 tokenType = lexer.nextTokenType();
213 IDBKeyPathLexer::TokenType tokenType = lexer.currentTokenType();
216 tokenType = lexer.nextTokenType();
223 IDBKeyPathElement element = lexer.currentElement();
227 tokenType = lexer.nextTokenType();
233 tokenType = lexer.nextTokenType()
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
xml.rb 8 lexer grammar XML;
137 lexer = XML::Lexer.new( <<-'END'.fixed_indent( 0 ) )
161 lexer.map { |tk| tk }
163 lexer.output.should == <<-'END'.fixed_indent( 0 )
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/
SyntaxTreeBuilder.java 22 import com.google.clearsilver.jsilver.syntax.lexer.Lexer;
23 import com.google.clearsilver.jsilver.syntax.lexer.LexerException;
110 Lexer lexer = new Lexer(pushbackReader); local
111 Parser parser = new Parser(lexer);
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Makefile 27 $(PROJ_SRC_DIR)/lexer.ml \
token.ml 2 * Lexer Tokens
5 (* The lexer returns these 'Kwd' if it is an unknown character, otherwise one of
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Makefile 27 $(PROJ_SRC_DIR)/lexer.ml \
token.ml 2 * Lexer Tokens
5 (* The lexer returns these 'Kwd' if it is an unknown character, otherwise one of
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
Helpers.java 359 Lexer lexer = new Lexer(selection, allowedColumns); local
360 parseExpression(lexer);
361 if (lexer.currentToken() != Lexer.TOKEN_END) {
377 private static void parseExpression(Lexer lexer) {
380 if (lexer.currentToken() == Lexer.TOKEN_OPEN_PAREN)
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
gUnitAdapter.java 63 final gUnitLexer lexer = new gUnitLexer(input); local
64 final CommonTokenStream tokens = new CommonTokenStream(lexer);
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/
TestDotTreeGenerator.cs 47 SimpleExpressionLexer lexer = new SimpleExpressionLexer( input );
48 CommonTokenStream tokens = new CommonTokenStream( lexer );
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
main-scripts.rb 14 lexer grammar MainOverride;
37 example 'using Lexer.main() to run the built-in lexer utility script on a source file' do
42 lexer grammar LexerMainWithSourceFile;
52 LexerMainWithSourceFile::Lexer.main( [], :input => input, :output => output )
61 example 'using Lexer.main to run the built-in lexer utility script on input from $stdin' do
66 lexer grammar LexerMainFromStdIO;
73 LexerMainFromStdIO::Lexer.main( [], :input => input, :output => output )
92 %w(--rule r --lexer-name MainForCombined::Lexer)
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/token-rewrite/
via-parser.rb 91 lexer = TokenRewrites::Lexer.new( input )
92 tokens = ANTLR3::TokenRewriteStream.new( lexer )
  /external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
token.ml 2 * Lexer Tokens
5 (* The lexer returns these 'Kwd' if it is an unknown character, otherwise one of
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/tree-parser/
basic.rb 32 lexer = FlatList::Lexer.new( "abc 34" )
33 tokens = ANTLR3::CommonTokenStream.new( lexer )
68 lexer = SimpleTree::Lexer.new( "abc 34" )
69 tokens = ANTLR3::CommonTokenStream.new( lexer )
107 lexer = FlatVsTreeDecision::Lexer.new( "a 1 b 2" )
108 tokens = ANTLR3::CommonTokenStream.new( lexer )
145 lexer = FlatVsTreeDecision2::Lexer.new( "a 1 2 3 b 4 5"
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
RandomPhrase.java 180 Grammar lexer = new Grammar(tool); local
181 lexer.importTokenVocabulary(parser);
182 lexer.fileName = grammarFileName;
184 lexer.setGrammarContent(lexerGrammarText);
187 System.err.println("no lexer grammar found in "+grammarFileName);
189 lexer.buildNFA();
190 leftRecursiveRules = lexer.checkAllRulesForLeftRecursion();
194 //System.out.println("lexer:\n"+lexer);
205 randomPhrase(lexer, charsInToken, ttypeDisplayName)
    [all...]
  /external/antlr/antlr-3.4/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/
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);
142 System.out.println(" Lexer Start");
146 // it is just for timing the lexer)
  /external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
rhino-python.prog 57 var lexer = new MyLexer(input);
58 var tokens = new ANTLR.runtime.CommonTokenStream(lexer);
  /external/markdown/markdown/extensions/
codehilite.py 93 lexer = get_lexer_by_name(self.lang)
96 lexer = guess_lexer(self.src)
98 lexer = TextLexer()
101 return highlight(self.src, lexer, formatter)
  /external/smali/smali/src/test/java/
LexerTest.java 156 smaliFlexLexer lexer = new smaliFlexLexer(smaliStream); local
157 lexer.setSourceFile(new File(test + ".smali"));
158 lexer.setSuppressErrors(true);
160 CommonTokenStream tokenStream = new CommonTokenStream(lexer);
  /bootable/recovery/edify/
Android.mk 6 lexer.l \

Completed in 1160 milliseconds

1 2 3 4 5 6 78 91011>>