HomeSort by relevance Sort by last modified time
    Searched refs:Lex (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/javassist/src/main/javassist/compiler/
SyntaxError.java 19 public SyntaxError(Lex lexer) {
CompileError.java 22 private Lex lex; field in class:CompileError
25 public CompileError(String s, Lex l) {
27 lex = l;
32 lex = null;
43 public Lex getLex() { return lex; }
Lex.java 27 public class Lex implements TokenId {
39 public Lex(String s) {
Javac.java 88 Parser p = new Parser(new Lex(src));
211 Parser p = new Parser(new Lex(src));
434 Parser p = new Parser(new Lex(target));
522 Parser p = new Parser(new Lex(target));
563 Parser p = new Parser(new Lex(src));
592 Parser p = new Parser(new Lex(src));
  /external/llvm/lib/TableGen/
TGParser.cpp 383 switch (Lex.getCode()) {
418 if (Lex.getCode() != tgtok::Id) {
423 Record *Result = Records.getClass(Lex.getCurStrVal());
425 TokError("Couldn't find class '" + Lex.getCurStrVal() + "'");
427 Lex.Lex();
437 if (Lex.getCode() != tgtok::Id) {
442 MultiClass *Result = MultiClasses[Lex.getCurStrVal()].get();
444 TokError("Couldn't find multiclass '" + Lex.getCurStrVal() + "'");
446 Lex.Lex()
    [all...]
TGParser.h 56 TGLexer Lex;
88 : Lex(SrcMgr), CurMultiClass(nullptr), Records(records), AnonCounter(0) {}
99 return Error(Lex.getLoc(), Msg);
102 return Lex.getDependencies();
  /external/llvm/lib/AsmParser/
LLParser.cpp 46 Lex.Lex();
55 Lex.Lex();
60 if (Lex.getKind() != lltok::Eof)
61 return Error(Lex.getLoc(), "expected end of string");
213 switch (Lex.getKind()) {
280 assert(Lex.getKind() == lltok::kw_module);
281 Lex.Lex();
    [all...]
LLParser.h 92 LLLexer Lex;
145 : Context(M->getContext()), Lex(F, SM, Err, M->getContext()), M(M),
156 return Lex.Error(L, Msg);
159 return Error(Lex.getLoc(), Msg);
179 if (Lex.getKind() != T) return false;
180 Lex.Lex();
187 switch (Lex.getKind()) {
188 case lltok::kw_fast: FMF.setUnsafeAlgebra(); Lex.Lex(); continue
    [all...]
  /external/clang/unittests/Lex/
Makefile 1 ##===- unittests/Lex/Makefile ------------------------------*- Makefile -*-===##
11 TESTNAME = Lex
  /external/llvm/tools/llvm-mcmarkup/
llvm-mcmarkup.cpp 70 MarkupLexer &Lex;
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)
    [all...]
  /external/llvm/lib/MC/MCParser/
COFFAsmParser.cpp 285 Lex();
289 Lex();
306 Lex();
319 Lex();
348 Lex();
354 Lex();
364 Lex();
377 Lex();
406 Lex();
418 Lex();
    [all...]
ELFAsmParser.cpp 176 Lex();
180 Lex();
206 Lex();
227 Lex();
237 Lex(); // Consume the "-".
240 Lex();
243 Lex();
310 Lex(); // Eat the #.
327 Lex(); // Eat the flag.
331 Lex(); // Eat the comma
    [all...]
AsmParser.cpp 221 const AsmToken &Lex() override;
314 /// current token is not set; clients should ensure Lex() is called
608 const AsmToken &AsmParser::Lex() {
609 const AsmToken *tok = &Lexer.Lex();
617 tok = &Lexer.Lex();
633 Lex();
719 Lex();
723 Lex();
730 Lex();
741 Lex();
    [all...]
DarwinAsmParser.cpp 389 Lex();
423 Lex();
432 Lex();
468 Lex();
481 Lex();
486 Lex();
510 Lex();
516 Lex();
535 Lex();
544 Lex();
    [all...]
  /external/clang/include/clang/Lex/
PTHLexer.h 17 #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/
Makefile 12 PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis Frontend \
  /external/clang/unittests/
Makefile 17 PARALLEL_DIRS = CodeGen Basic Lex Driver Format ASTMatchers AST Tooling \
  /external/clang/lib/Lex/
PreprocessorLexer.cpp 14 #include "clang/Lex/PreprocessorLexer.h"
16 #include "clang/Lex/LexDiagnostic.h"
17 #include "clang/Lex/Preprocessor.h"
30 /// \brief After the preprocessor has parsed a \#include, lex and
40 // Lex the filename.
44 PP->Lex(FilenameTok);
Pragma.cpp 15 #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"
103 /// HandlePragmaDirective - The "\#pragma" directive has been parsed. Lex the
168 // In that case we don't actually "activate" the pragma now, we only lex it
184 Lex(Tok);
191 Lex(Tok)
    [all...]
PPCaching.cpp 15 #include "clang/Lex/Preprocessor.h"
21 // make the Preprocessor re-lex the same tokens.
38 // Make Preprocessor re-lex the tokens that were lexed since
58 Lex(Result);
91 Lex(CachedTokens.back());
  /external/llvm/include/llvm/MC/MCParser/
MCAsmParserExtension.h 81 const AsmToken &Lex() { return getParser().Lex(); }
  /external/clang/lib/Parse/
ParsePragma.cpp 17 #include "clang/Lex/Preprocessor.h"
507 PP.Lex(Tok); // pragma kind
510 // because lex shouldn't emit the annotation token for unrecognized pragmas.
524 PP.Lex(Tok);
525 PP.Lex(Tok);
535 PP.Lex(Tok); // (
554 PP.Lex(Tok); // ,
559 PP.Lex(Tok); // long/short
589 PP.Lex(Tok); // Identifier
599 PP.Lex(Tok); //
    [all...]
  /external/clang/lib/Frontend/Rewrite/
RewriteMacros.cpp 17 #include "clang/Lex/Preprocessor.h"
66 // Create a lexer to lex all the tokens of the main file in raw mode. Even
106 PP.Lex(PPTok);
119 PP.Lex(PPTok);
160 PP.Lex(PPTok);
199 PP.Lex(PPTok);
  /toolchain/binutils/binutils-2.25/gold/
script.cc 199 class Lex
217 Lex(const char* input_string, size_t input_length, int parsing_token)
233 Lex::Mode
243 Lex(const Lex&);
244 Lex& operator=(const Lex&);
303 { return Lex::can_start_number(*c) ? c + 1 : NULL; }
338 const char* (Lex::*can_continue_fn)(const char*),
369 Lex::read_file(Input_file* input_file, std::string* contents
    [all...]
  /external/llvm/lib/Target/AMDGPU/AsmParser/
AMDGPUAsmParser.cpp 529 Parser.Lex();
545 Parser.Lex();
550 Parser.Lex();
554 Parser.Lex();
561 Parser.Lex();
568 Parser.Lex();
679 Lex();
683 Lex();
689 Lex();
730 Lex();
    [all...]

Completed in 573 milliseconds

1 2 3 4