/external/clang/lib/Frontend/ |
FrontendActions.cpp | 553 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 682 unsigned Preamble = Lexer::ComputePreamble(Buffer, CI.getLangOpts()).first;
|
TextDiagnostic.cpp | 15 #include "clang/Lex/Lexer.h" 857 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); [all...] |
DiagnosticRenderer.cpp | 17 #include "clang/Lex/Lexer.h" 34 /// This differs from Lexer::getImmediateMacroName in that any macro argument 41 /// Lexer::getImmediateMacroName will return "MAC2". 63 unsigned MacroTokenLength = Lexer::MeasureTokenLength(Loc, SM, LangOpts);
|
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 19 #include "clang/Lex/Lexer.h" 475 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(), 606 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1;
|
/external/llvm/lib/Target/Mips/AsmParser/ |
MipsAsmParser.cpp | [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
Lexer.pm | 1 package ANTLR::Runtime::Lexer; 29 # wack Lexer state variables 92 # Instruct the lexer to skip creating a token for current lexer rule 94 # a lexer rule finishes with token set to SKIP_TOKEN. Recall that 104 # This is the lexer entry point that sets instance var 'token' 109 # Set the char stream and reset the lexer
|
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/debugging/ |
debug-mode.rb | 77 lexer = grammar_module::Lexer.new( input ) 78 tokens = ANTLR3::CommonTokenStream.new( lexer )
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
lexer.py | 24 class Lexer(object): 110 #sys.stderr.write( "lexer ignoring '%s'\n"%s[i] ) 199 #sys.stderr.write( "lexer ignoring '%s'\n"%s[i] ) 200 sys.stderr.write( "lexer ignoring '%s' lno=%d\n"%(s[i],self.lno+1) )
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 334 endCol += Lexer::MeasureTokenLength(end, SM, langOpts);
|
/external/clang/tools/clang-format/ |
ClangFormat.cpp | 22 #include "clang/Lex/Lexer.h" 228 Lexer Lex(ID, Sources.getBuffer(ID), Sources,
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
CPP.stg | 42 // What we generate lexer/parser/treeparser, used a suffix in a few places 44 <if(LEXER)>Lexer<endif><if(PARSER)>Parser<endif><if(TREE_PARSER)>TreeParser<endif> 55 <if(LEXER)> 56 * - for the lexer : <name><\n> 84 outputFile(LEXER,PARSER,TREE_PARSER, actionScope, actions, 115 class <name> : public antlr3::Lexer\<StreamType,TokenType,TokenBuilder> { 136 <actions.lexer.members> 139 : antlr3::Lexer\<StreamType,TokenType,TokenBuilder>(input) 157 headerFile( LEXER, [all...] |
/external/clang/lib/Format/ |
Format.cpp | 24 #include "clang/Lex/Lexer.h" [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
group-file-parser.rb | 661 defined?( ANTLR3::Template::GroupFile::Lexer ) or require 'antlr3/template/group-file'
|
/external/chromium_org/tools/clang/plugins/ |
FindBadConstructsConsumer.cpp | 8 #include "clang/Lex/Lexer.h" 326 Lexer::getLocForEndOfToken(spelling_end, 0, manager, LangOptions());
|
/external/clang/lib/ARCMigrate/ |
TransGCAttrs.cpp | 14 #include "clang/Lex/Lexer.h" 98 StringRef Spell = Lexer::getSpelling(
|
TransRetainReleaseDealloc.cpp | 25 #include "clang/Lex/Lexer.h" 337 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM,
|
/external/clang/lib/Tooling/ |
Refactoring.cpp | 18 #include "clang/Lex/Lexer.h" 122 // FIXME: This should go into the Lexer, but we need to figure out how 124 // good way how to integrate this into the Lexer yet. 133 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources,
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/ |
gUnitExecutor.java | 114 /** Set up appropriate path for parser/lexer if using package */ 117 lexerName = grammarInfo.getGrammarPackage()+"."+grammarInfo.getGrammarName()+"Lexer"; 121 lexerName = grammarInfo.getGrammarName()+"Lexer"; 125 // Execute unit test of for parser, lexer and tree grammar 206 // the 2nd condition is used for the assertFAIL test of lexer rule because BooleanTest return err msg instead of 'FAIL' if isLexerTest 232 Class lexer = null; local 239 /** Use Reflection to create instances of lexer and parser */ 240 lexer = classForName(lexerName); 241 Class[] lexArgTypes = new Class[]{CharStream.class}; // assign type to lexer's args 242 Constructor lexConstructor = lexer.getConstructor(lexArgTypes) 308 Class lexer = null; local 440 Class lexer = null; local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
DebugGrammarLexer.cs | 17 public partial class DebugGrammarLexer : Lexer
|
ProfileGrammarLexer.cs | 17 public partial class ProfileGrammarLexer : Lexer
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
error.rb | 71 # the various reporting methods in Parser and Lexer can be overridden 281 lexer = MissingTokenExample::Lexer.new( "ac" ) # <= notice the missing 'b' 282 tokens = ANTLR3::CommonTokenStream.new( lexer ) 430 lexer grammar EarlyExitDemo; 439 lexer = EarlyExitDemo::Lexer.new( input ) 440 lexer.next_token
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
ExpressionParser.cpp | 105 #include "Lexer.h" 123 pp::Lexer* lexer; member in struct:__anon16151::Context [all...] |
/external/clang/lib/Parse/ |
ParseTemplate.cpp | 763 Lexer::AdvanceToTokenCharacter(RAngleLoc, 2, PP.getSourceManager(), 806 Tok.setLocation(Lexer::AdvanceToTokenCharacter(RAngleLoc, 1, [all...] |
/external/chromium_org/third_party/polymer/components-chromium/core-component-page/ |
core-component-page-extracted.js | 822 * Block Lexer 825 function Lexer(options) { 844 Lexer.rules = block; 850 Lexer.lex = function(src, options) { 851 var lexer = new Lexer(options); 852 return lexer.lex(src); 859 Lexer.prototype.lex = function(src) { 873 Lexer.prototype.token = function(src, top, bq) { 1239 * Inline Lexer & Compile [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
construction.rb | 382 lexer = ASTBuilder::Lexer.new( input ) 383 parser = ASTBuilder::Parser.new( lexer )
|