Searched refs:Lex (Results 1 - 25 of 69) sorted by relevance

123

/external/javassist/src/main/javassist/compiler/
H A DSyntaxError.java19 public SyntaxError(Lex lexer) {
H A DCompileError.java22 private Lex lex;
25 public CompileError(String s, Lex l) {
43 public Lex getLex() { return lex; }
H A DLex.java27 public class Lex implements TokenId { class in inherits:TokenId
39 public Lex(String s) { method in class:Lex
/external/llvm/lib/TableGen/
H A DTGParser.cpp398 switch (Lex.getCode()) {
433 if (Lex.getCode() != tgtok::Id) {
438 Record *Result = Records.getClass(Lex.getCurStrVal());
440 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
442 Lex.Lex();
452 if (Lex.getCode() != tgtok::Id) {
457 MultiClass *Result = MultiClasses[Lex.getCurStrVal()].get();
459 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
461 Lex
[all...]
H A DTGParser.h56 TGLexer Lex; member in class:llvm::TGParser
88 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records), AnonCounter(0) {}
99 return Error(Lex.getLoc(), Msg);
102 return Lex.getDependencies();
/external/clang/unittests/Lex/
H A DMakefile1 ##===- unittests/Lex/Makefile ------------------------------*- Makefile -*-===##
11 TESTNAME = Lex
/external/llvm/lib/AsmParser/
H A DLLParser.cpp44 Lex.Lex();
173 switch (Lex.getKind()) {
240 assert(Lex.getKind() == lltok::kw_module);
241 Lex.Lex();
255 assert(Lex.getKind() == lltok::kw_target);
257 switch (Lex.Lex()) {
260 Lex
[all...]
H A DLLParser.h88 LLLexer Lex; member in class:llvm::LLParser
139 : Context(m->getContext()), Lex(F, SM, Err, m->getContext()), M(m),
148 return Lex.Error(L, Msg);
151 return Error(Lex.getLoc(), Msg);
167 if (Lex.getKind() != T) return false;
168 Lex.Lex();
175 switch (Lex.getKind()) {
176 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continu
[all...]
/external/llvm/tools/llvm-mcmarkup/
H A Dllvm-mcmarkup.cpp70 MarkupLexer &Lex; member in class:MarkupParser
73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {}
125 StringRef::const_iterator Start = Lex.getPosition();
127 while(Lex.getNextChar() != ':') {
129 if (Lex.isEOF())
132 StringRef RawTag(Start, Lex.getPosition() - Start - 1);
153 MarkupLexer Lex(InputSource);
154 MarkupParser Parser(Lex, SrcMgr);
158 for (int CurChar = Lex.getNextChar();
160 CurChar = Lex
[all...]
/external/llvm/lib/MC/MCParser/
H A DCOFFAsmParser.cpp284 Lex();
288 Lex();
305 Lex();
318 Lex();
347 Lex();
353 Lex();
363 Lex();
376 Lex();
405 Lex();
417 Lex();
[all...]
H A DDarwinAsmParser.cpp379 Lex();
414 Lex();
423 Lex();
459 Lex();
472 Lex();
477 Lex();
501 Lex();
507 Lex();
526 Lex();
535 Lex();
[all...]
H A DELFAsmParser.cpp186 Lex();
190 Lex();
216 Lex();
237 Lex();
247 Lex(); // Consume the "-".
250 Lex();
253 Lex();
320 Lex(); // Eat the #.
337 Lex(); // Eat the flag.
341 Lex(); // Ea
[all...]
H A DAsmParser.cpp212 const AsmToken &Lex() override;
303 /// current token is not set; clients should ensure Lex() is called
588 const AsmToken &AsmParser::Lex() { function in class:AsmParser
589 const AsmToken *tok = &Lexer.Lex();
597 tok = &Lexer.Lex();
613 Lex();
700 Lex();
704 Lex();
711 Lex();
722 Lex();
[all...]
/external/clang/include/clang/Lex/
H A DPTHLexer.h17 #include "clang/Lex/PreprocessorLexer.h"
69 /// Lex - Return the next token.
70 bool Lex(Token &Tok);
90 /// IndirectLex - An indirect call to 'Lex' that can be invoked via
92 void IndirectLex(Token &Result) override { Lex(Result); }
/external/clang/lib/
H A DMakefile12 PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \
/external/clang/unittests/
H A DMakefile17 PARALLEL_DIRS = CodeGen Basic Lex Driver Format ASTMatchers AST Tooling \
/external/clang/lib/Lex/
H A DPreprocessorLexer.cpp14 #include "clang/Lex/PreprocessorLexer.h"
16 #include "clang/Lex/LexDiagnostic.h"
17 #include "clang/Lex/Preprocessor.h"
40 // Lex the filename.
44 PP->Lex(FilenameTok);
H A DPPCaching.cpp15 #include "clang/Lex/Preprocessor.h"
58 Lex(Result);
91 Lex(CachedTokens.back());
H A DPragma.cpp15 #include "clang/Lex/Pragma.h"
18 #include "clang/Lex/HeaderSearch.h"
19 #include "clang/Lex/LexDiagnostic.h"
20 #include "clang/Lex/LiteralSupport.h"
21 #include "clang/Lex/MacroInfo.h"
22 #include "clang/Lex/Preprocessor.h"
102 /// HandlePragmaDirective - The "\#pragma" directive has been parsed. Lex the
183 Lex(Tok);
190 Lex(Tok);
195 Lex(To
[all...]
/external/llvm/include/llvm/MC/MCParser/
H A DMCAsmParserExtension.h78 const AsmToken &Lex() { return getParser().Lex(); } function in class:llvm::MCAsmParserExtension
/external/clang/lib/Parse/
H A DParsePragma.cpp17 #include "clang/Lex/Preprocessor.h"
497 PP.Lex(Tok); // pragma kind
514 PP.Lex(Tok);
515 PP.Lex(Tok);
525 PP.Lex(Tok); // (
544 PP.Lex(Tok); // ,
549 PP.Lex(Tok); // long/short
579 PP.Lex(Tok); // Identifier
589 PP.Lex(Tok); // )
595 PP.Lex(To
[all...]
/external/clang/lib/Frontend/Rewrite/
H A DRewriteMacros.cpp17 #include "clang/Lex/Preprocessor.h"
106 PP.Lex(PPTok);
119 PP.Lex(PPTok);
160 PP.Lex(PPTok);
199 PP.Lex(PPTok);
/external/clang/
H A DAndroid.mk22 lib/Lex \
/external/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp2575 Parser.Lex(); // Eat the % token.
2582 Parser.Lex(); // Eat the identifier.
2589 Parser.Lex(); // Eat the '(' token.
2591 Parser.Lex(); // Eat the % token.
2597 Parser.Lex(); // Eat the identifier.
2607 Parser.Lex(); // Eat the ')' token.
2648 Parser.Lex();
2663 Parser.Lex();
2683 Parser.Lex();
2716 Parser.Lex(); // Ea
[all...]
/external/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp434 Parser.Lex();
437 Parser.Lex();
473 Parser.Lex(); // Eat the comma.
487 Parser.Lex(); // Consume the EndOfStatement.
536 Parser.Lex();
539 Parser.Lex();
563 Parser.Lex(); // Eat the '+'
596 Parser.Lex(); // Eat the [
602 Parser.Lex(); // eat %
608 Parser.Lex(); // Ea
[all...]

Completed in 493 milliseconds

123