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

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/third_party/angle/src/compiler/preprocessor/
ExpressionParser.y 46 #include "Lexer.h"
64 pp::Lexer* lexer;
263 context->lexer->lex(token);
277 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics)
278 : mLexer(lexer),
287 context.lexer = mLexer;
MacroExpander.cpp 18 class TokenLexer : public Lexer
49 MacroExpander::MacroExpander(Lexer *lexer,
52 : mLexer(lexer),
319 TokenLexer lexer(&arg);
320 MacroExpander expander(&lexer, mMacroSet, mDiagnostics);
  /external/clang/include/clang/Format/
Format.h 24 class Lexer;
479 tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex,
485 /// Otherwise identical to the reformat() function consuming a \c Lexer.
  /external/clang/lib/AST/
RawCommentList.cpp 44 // Comment lexer does not understand escapes in comment markers, so pretend
127 comments::Lexer L(Allocator, Context.getDiagnostics(),
149 comments::Lexer L(Context.getAllocator(), Context.getDiagnostics(),
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
gUnitBaseTest.java 63 // Invoke target lexer.rule
80 Class lexer = null; local
84 /** Use Reflection to create instances of lexer and parser */
85 lexer = Class.forName(lexerPath);
86 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args
87 Constructor lexConstructor = lexer.getConstructor(lexArgTypes);
88 Object[] lexArgs = new Object[]{input}; // assign value to lexer's args
89 Lexer lexObj = (Lexer)lexConstructor.newInstance(lexArgs); // makes new instance of lexer
171 Class lexer = null; local
317 Class lexer = null; local
    [all...]
  /external/chromium_org/tools/clang/rewrite_scoped_refptr/
RewriteScopedRefptr.cpp 20 #include "clang/Lex/Lexer.h"
88 std::string inner_text = clang::Lexer::getSourceText(
100 std::string text = clang::Lexer::getSourceText(
145 std::string text = clang::Lexer::getSourceText(
  /external/clang/lib/Rewrite/Core/
HTMLRewrite.cpp 44 EOffset += Lexer::MeasureTokenLength(E, R.getSourceMgr(), R.getLangOpts());
362 Lexer L(FID, FromFile, SM, PP.getLangOpts());
452 Lexer L(FID, FromFile, SM, PP.getLangOpts());
471 // If this raw token is an identifier, the raw lexer won't have looked up
Rewriter.cpp 22 #include "clang/Lex/Lexer.h"
156 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts);
195 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts);
205 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts);
  /external/nist-sip/java/gov/nist/javax/sip/parser/
StringMsgParser.java 408 String headerName = Lexer.getHeaderName(header);
448 Lexer lexer = new Lexer("charLexer", hostport);
449 return new HostNameParser(lexer).hostPort();
465 Lexer lexer = new Lexer("charLexer", host); local
466 return new HostNameParser(lexer).host();
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...]
ParserFactory.java 286 String headerName = Lexer.getHeaderName(line);
287 String headerValue = Lexer.getHeaderValue(line);
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/
profile-mode.rb 126 lexer = SimpleC::Lexer.new( input )
127 tokens = ANTLR3::CommonTokenStream.new( lexer )
  /external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/
lexer.py 29 """Class for errors from the lexer."""
37 class Lexer(object):
72 ## All the tokens recognized by the lexer
165 t.lexer.lineno += len(t.value)
246 t.lexer.lineno += t.value.count("\n")
parser.py 30 from .lexer import Lexer
49 def __init__(self, lexer, source, filename):
50 self.tokens = lexer.tokens
376 lexer = Lexer(filename)
377 parser = Parser(lexer, source, filename)
379 lex.lex(object=lexer)
  /external/clang/lib/Rewrite/Frontend/
RewriteMacros.cpp 66 // Create a lexer to lex all the tokens of the main file in raw mode. Even
69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
template-output.rb 21 @lexer = grammar_module::Lexer.new( input )
22 @parser = grammar_module::Parser.new( @lexer, parser_options )
394 lexer = TreeRewrite::Lexer.new( input )
395 tokens = ANTLR3::TokenRewriteStream.new( lexer )
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
recognizers.rb 77 holds newly constructed tokens for lexer rules
180 For all effective purposes, the class and its immediate subclasses Lexer,
682 # If you change what tokens must be created by the lexer,
911 =begin rdoc ANTLR3::Lexer
913 = Lexer
915 Lexer is the default superclass of all lexers generated by ANTLR. The class
921 A lexer's job is to take input text and break it up into _tokens_ -- objects
923 position of the text with respect to the input. Thus, a lexer is essentially a
927 the lexer converts text into tokens for use by a parser, which recognizes larger
938 == ANTLR Lexers and the Lexer AP
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
auto-ast.rb 13 grammar_module::Lexer.send( :include, ANTLR3::Test::CollectErrors )
14 grammar_module::Lexer.send( :include, ANTLR3::Test::CaptureOutput )
18 lexer = grammar_module::Lexer.new( input )
19 parser = grammar_module::Parser.new( lexer )
41 grammar_module::Lexer.send( :include, ANTLR3::Test::CollectErrors )
42 grammar_module::Lexer.send( :include, ANTLR3::Test::CaptureOutput )
48 lexer = grammar_module::Lexer.new( input )
49 parser = grammar.module::Parser.new( lexer )
    [all...]
rewrites.rb 13 grammar_module::Lexer.send( :include, ANTLR3::Test::CollectErrors )
14 grammar_module::Lexer.send( :include, ANTLR3::Test::CaptureOutput )
18 lexer = grammar_module::Lexer.new( input )
19 parser = grammar_module::Parser.new( lexer )
41 grammar_module::Lexer.send( :include, ANTLR3::Test::CollectErrors )
42 grammar_module::Lexer.send( :include, ANTLR3::Test::CaptureOutput )
48 lexer = grammar_module::Lexer.new( input )
49 parser = grammar.module::Parser.new( lexer )
    [all...]
  /external/clang/lib/Lex/
LiteralSupport.cpp 51 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin,
54 Lexer::AdvanceToTokenCharacter(Begin, TokRangeEnd - TokRangeBegin,
69 Lexer::AdvanceToTokenCharacter(TokLoc, TokRangeBegin - TokBegin,
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/
Lexer.java 3 package com.google.clearsilver.jsilver.syntax.lexer;
9 public class Lexer
27 public Lexer(@SuppressWarnings("hiding") PushbackReader in)
69 @SuppressWarnings("hiding") int[][][] gotoTable = Lexer.gotoTable[this.state.id()];
70 @SuppressWarnings("hiding") int[] accept = Lexer.accept[this.state.id()];
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
group-file-lexer.rb 59 # - - - - - - begin action @lexer::header - - - - - -
66 # - - - - - - end action @lexer::header - - - - - - -
86 class Lexer < ANTLR3::Lexer
111 # - - - - - - - - - - - lexer rules - - - - - - - - - - - -
112 # lexer rule t__10! (T__10)
136 # lexer rule t__11! (T__11)
160 # lexer rule t__12! (T__12)
184 # lexer rule t__13! (T__13)
208 # lexer rule t__14! (T__14
    [all...]
  /external/clang/lib/Frontend/
CacheTokens.cpp 1 //===--- CacheTokens.cpp - Caching of lexer tokens for PTH support --------===//
21 #include "clang/Lex/Lexer.h"
235 PTHEntry LexTokens(Lexer& L);
291 PTHEntry PTHWriter::LexTokens(Lexer& L) {
490 // Iterate over all the files in SourceManager. Create a lexer
509 Lexer L(FID, FromFile, SM, LOpts);
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
Ruby.stg 18 outputFile(LEXER, PARSER, TREE_PARSER, actionScope, actions, docComment, recognizer, name,
325 <if(TREE_PARSER)>TreeParser<elseif(PARSER)>Parser<else>Lexer<endif>
673 <if(!LEXER)>
680 <if(LEXER)>
797 * error can be generated). This is used only in the lexer so
873 * The <name> attribute is inherited via the parser, lexer, ...
    [all...]
  /external/clang/lib/ARCMigrate/
TransUnbridgedCasts.cpp 50 #include "clang/Lex/Lexer.h"
258 if (Lexer::isIdentifierBodyChar(PrevChar, Pass.Ctx.getLangOpts()))
341 StringRef MacroName = Lexer::getImmediateMacroName(CastLoc,

Completed in 630 milliseconds

1 2 3 4 5 6 78 91011>>