Home
last modified time | relevance | path

Searched refs:Parser (Results 1 – 25 of 244) sorted by relevance

12345678910

/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp39 MCAsmParser &Parser; member in __anone4d0805a0111::MipsAsmParser
106 : MCTargetAsmParser(), STI(sti), Parser(parser) { in MipsAsmParser()
111 MCAsmParser &getParser() const { return Parser; } in getParser()
112 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer()
432 const AsmToken &Tok = Parser.getTok(); in tryParseRegister()
455 SMLoc S = Parser.getTok().getLoc(); in tryParseRegisterOperand()
460 && Operands.size() == 2 && Parser.getTok().is(AsmToken::Integer)){ in tryParseRegisterOperand()
461 RegNo = Parser.getTok().getIntVal(); //get the int value in tryParseRegisterOperand()
471 Parser.getTok().getLoc())); in tryParseRegisterOperand()
472 Parser.Lex(); // Eat register token. in tryParseRegisterOperand()
[all …]
/external/webkit/Source/WebCore/xml/
DXPathParser.cpp53 Parser* Parser::currentParser = 0;
131 bool Parser::isBinaryOperatorContext() const in isBinaryOperatorContext()
145 void Parser::skipWS() in skipWS()
151 Token Parser::makeTokenAndAdvance(int code, int advance) in makeTokenAndAdvance()
157 Token Parser::makeTokenAndAdvance(int code, NumericOp::Opcode val, int advance) in makeTokenAndAdvance()
163 Token Parser::makeTokenAndAdvance(int code, EqTestOp::Opcode val, int advance) in makeTokenAndAdvance()
170 char Parser::peekAheadHelper() in peekAheadHelper()
180 char Parser::peekCurHelper() in peekCurHelper()
190 Token Parser::lexString() in lexString()
209 Token Parser::lexNumber() in lexNumber()
[all …]
DXPathParser.h61 class Parser {
62 WTF_MAKE_NONCOPYABLE(Parser);
64 Parser();
65 ~Parser();
72 static Parser* current() { return currentParser; } in current()
114 static Parser* currentParser;
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc96 Parser::Parser() in Parser() function in google::protobuf::compiler::Parser
105 Parser::~Parser() { in ~Parser()
110 inline bool Parser::LookingAt(const char* text) { in LookingAt()
114 inline bool Parser::LookingAtType(io::Tokenizer::TokenType token_type) { in LookingAtType()
118 inline bool Parser::AtEnd() { in AtEnd()
122 bool Parser::TryConsume(const char* text) { in TryConsume()
131 bool Parser::Consume(const char* text, const char* error) { in Consume()
140 bool Parser::Consume(const char* text) { in Consume()
149 bool Parser::ConsumeIdentifier(string* output, const char* error) { in ConsumeIdentifier()
160 bool Parser::ConsumeInteger(int* output, const char* error) { in ConsumeInteger()
[all …]
/external/clang/lib/Parse/
DRAIIObjectsForParser.h52 SuppressAccessChecks(Parser &P, bool activate = true)
96 ParsingDeclRAIIObject(Parser &P, NoParent_t _) in ParsingDeclRAIIObject()
102 ParsingDeclRAIIObject(Parser &P, in ParsingDeclRAIIObject()
111 ParsingDeclRAIIObject(Parser &P, ParsingDeclRAIIObject *other) in ParsingDeclRAIIObject()
174 ParsingDeclSpec(Parser &P) in ParsingDeclSpec()
177 ParsingDeclSpec(Parser &P, ParsingDeclRAIIObject *RAII) in ParsingDeclSpec()
199 ParsingDeclarator(Parser &P, const ParsingDeclSpec &DS, TheContext C) in ParsingDeclarator()
226 ParsingFieldDeclarator(Parser &P, const ParsingDeclSpec &DS) in ParsingFieldDeclarator()
265 Parser &P;
268 ColonProtectionRAIIObject(Parser &p, bool Value = true)
[all …]
DParser.cpp42 IdentifierInfo *Parser::getSEHExceptKeyword() { in getSEHExceptKeyword()
50 Parser::Parser(Preprocessor &pp, Sema &actions, bool SkipFunctionBodies) in Parser() function in Parser
126 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) { in Diag()
130 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { in Diag()
140 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK, in SuggestParentheses()
168 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, in ExpectAndConsume()
204 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) { in ExpectAndConsumeSemi()
223 void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, unsigned TST) { in ConsumeExtraSemi()
271 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, bool StopAtSemi, in SkipUntil()
362 void Parser::EnterScope(unsigned ScopeFlags) { in EnterScope()
[all …]
DParseCXXInlineMethods.cpp25 Decl *Parser::ParseCXXInlineMethodDef(AccessSpecifier AS, in ParseCXXInlineMethodDef()
186 void Parser::ParseCXXNonStaticMemberInitializer(Decl *VarD) { in ParseCXXNonStaticMemberInitializer()
223 Parser::LateParsedDeclaration::~LateParsedDeclaration() {} in ~LateParsedDeclaration()
224 void Parser::LateParsedDeclaration::ParseLexedMethodDeclarations() {} in ParseLexedMethodDeclarations()
225 void Parser::LateParsedDeclaration::ParseLexedMemberInitializers() {} in ParseLexedMemberInitializers()
226 void Parser::LateParsedDeclaration::ParseLexedMethodDefs() {} in ParseLexedMethodDefs()
228 Parser::LateParsedClass::LateParsedClass(Parser *P, ParsingClass *C) in LateParsedClass()
231 Parser::LateParsedClass::~LateParsedClass() { in ~LateParsedClass()
235 void Parser::LateParsedClass::ParseLexedMethodDeclarations() { in ParseLexedMethodDeclarations()
239 void Parser::LateParsedClass::ParseLexedMemberInitializers() { in ParseLexedMemberInitializers()
[all …]
DParseTentative.cpp50 bool Parser::isCXXDeclarationStatement() { in isCXXDeclarationStatement()
82 bool Parser::isCXXSimpleDeclaration(bool AllowForRangeDecl) { in isCXXSimpleDeclaration()
153 Parser::TPResult Parser::TryParseSimpleDeclaration(bool AllowForRangeDecl) { in TryParseSimpleDeclaration()
204 Parser::TPResult Parser::TryParseInitDeclaratorList() { in TryParseInitDeclaratorList()
260 bool Parser::isCXXConditionDeclaration() { in isCXXConditionDeclaration()
327 bool Parser::isCXXTypeId(TentativeCXXTypeIdContext Context, bool &isAmbiguous) { in isCXXTypeId()
429 Parser::CXX11AttributeKind
430 Parser::isCXX11AttributeSpecifier(bool Disambiguate, in isCXX11AttributeSpecifier()
609 Parser::TPResult Parser::TryParseDeclarator(bool mayBeAbstract, in TryParseDeclarator()
717 Parser::TPResult
[all …]
DParseAST.cpp69 OwningPtr<Parser> ParseOP(new Parser(S.getPreprocessor(), S, in ParseAST()
71 Parser &P = *ParseOP.get(); in ParseAST()
76 llvm::CrashRecoveryContextCleanupRegistrar<Parser> in ParseAST()
87 Parser::DeclGroupPtrTy ADecl; in ParseAST()
DParseTemplate.cpp27 Parser::ParseDeclarationStartingWithTemplate(unsigned Context, in ParseDeclarationStartingWithTemplate()
81 Parser::ParseTemplateDeclarationOrSpecialization(unsigned Context, in ParseTemplateDeclarationOrSpecialization()
193 Parser::ParseSingleDeclarationAfterTemplate( in ParseSingleDeclarationAfterTemplate()
305 bool Parser::ParseTemplateParameters(unsigned Depth, in ParseTemplateParameters()
348 Parser::ParseTemplateParameterList(unsigned Depth, in ParseTemplateParameterList()
380 bool Parser::isStartOfTemplateTypeParameter() { in isStartOfTemplateTypeParameter()
456 Decl *Parser::ParseTemplateParameter(unsigned Depth, unsigned Position) { in ParseTemplateParameter()
478 Decl *Parser::ParseTypeParameter(unsigned Depth, unsigned Position) { in ParseTypeParameter()
539 Parser::ParseTemplateTemplateParameter(unsigned Depth, unsigned Position) { in ParseTemplateTemplateParameter()
636 Parser::ParseNonTypeTemplateParameter(unsigned Depth, unsigned Position) { in ParseNonTypeTemplateParameter()
[all …]
DParseObjc.cpp32 Parser::DeclGroupPtrTy Parser::ParseObjCAtDirectives() { in ParseObjCAtDirectives()
86 Parser::DeclGroupPtrTy
87 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) { in ParseObjCAtClassDeclaration()
118 void Parser::CheckNestedObjCContexts(SourceLocation AtLoc) in CheckNestedObjCContexts()
166 Decl *Parser::ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, in ParseObjCAtInterfaceDeclaration()
291 struct Parser::ObjCPropertyCallback : FieldCallback {
295 Parser &P;
302 ObjCPropertyCallback(Parser &P, in ObjCPropertyCallback()
351 void Parser::ObjCPropertyCallback::anchor() { in anchor()
366 void Parser::ParseObjCInterfaceDeclList(tok::ObjCKeywordKind contextKey, in ParseObjCInterfaceDeclList()
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DCommandLine.java121 private static Parser theParser = null;
131 if (theParser == null) theParser = new Parser(); in process()
135 r = new Parser(); in process()
138 r.setProperty(Parser.schemaProperty, theSchema); in process()
141 r.setFeature(Parser.CDATAElementsFeature, false); in process()
145 r.setFeature(Parser.namespacesFeature, false); in process()
149 r.setFeature(Parser.ignoreBogonsFeature, true); in process()
153 r.setFeature(Parser.bogonsEmptyFeature, false); in process()
156 r.setFeature(Parser.bogonsEmptyFeature, true); in process()
160 r.setFeature(Parser.rootBogonsFeature, false); in process()
[all …]
/external/llvm/lib/Target/X86/AsmParser/
DX86AsmParser.cpp35 MCAsmParser &Parser; member in __anon9d1447940111::X86AsmParser
37 MCAsmParser &getParser() const { return Parser; } in getParser()
39 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer()
45 return Parser.Error(L, Msg, Ranges); in Error()
110 : MCTargetAsmParser(), STI(sti), Parser(parser) { in X86AsmParser()
524 const AsmToken &PercentTok = Parser.getTok(); in ParseRegister()
530 Parser.Lex(); // Eat percent token. in ParseRegister()
532 const AsmToken &Tok = Parser.getTok(); in ParseRegister()
564 Parser.Lex(); // Eat 'st' in ParseRegister()
572 const AsmToken &IntTok = Parser.getTok(); in ParseRegister()
[all …]
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp46 MCAsmParser &Parser; member in __anon1a66d4c80111::ARMAsmParser
82 MCAsmParser &getParser() const { return Parser; } in getParser()
83 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer()
87 return Parser.Warning(L, Msg, Ranges); in Warning()
91 return Parser.Error(L, Msg, Ranges); in Error()
241 : MCTargetAsmParser(), STI(_STI), Parser(_Parser) { in ARMAsmParser()
2455 StartLoc = Parser.getTok().getLoc(); in ParseRegister()
2457 EndLoc = Parser.getTok().getLoc(); in ParseRegister()
2467 const AsmToken &Tok = Parser.getTok(); in tryParseRegister()
2504 Parser.Lex(); // Eat identifier token. in tryParseRegister()
[all …]
/external/valgrind/tsan/
Dsuppressions.cc62 class Parser { class
64 explicit Parser(const string &str) in Parser() function in Parser
101 void Parser::SetError(string desc) { in SetError()
106 bool Parser::GetError() { in GetError()
110 string Parser::GetErrorString() { in GetErrorString()
114 int Parser::GetLineNo() { in GetLineNo()
118 string Parser::NextLine() { in NextLine()
131 string Parser::NextLineSkipComments() { in NextLineSkipComments()
161 void Parser::PutBackSkipComments(string line) { in PutBackSkipComments()
165 bool Parser::ParseSuppressionToolsLine(Suppression* supp, string line) { in ParseSuppressionToolsLine()
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DParser.js4 org.antlr.runtime.Parser = function(input, state) { class in org.antlr.runtime
5 org.antlr.runtime.Parser.superclass.constructor.call(this, state);
9 org.antlr.lang.extend(org.antlr.runtime.Parser, org.antlr.runtime.BaseRecognizer, {
12 org.antlr.runtime.Parser.superclass.reset.call(this);
63 org.antlr.runtime.Parser.superclass.traceIn.call(
68 org.antlr.runtime.Parser.superclass.traceOut.call(
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
DSAXParserImpl.java22 import org.ccil.cowan.tagsoup.Parser;
34 final org.ccil.cowan.tagsoup.Parser parser;
39 parser = new org.ccil.cowan.tagsoup.Parser(); in SAXParserImpl()
62 public org.xml.sax.Parser getParser() in getParser()
73 return parser.getFeature(Parser.namespacesFeature); in isNamespaceAware()
82 return parser.getFeature(Parser.validationFeature); in isValidating()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dtoy.ml8 Hashtbl.add Parser.binop_precedence '<' 10;
9 Hashtbl.add Parser.binop_precedence '+' 20;
10 Hashtbl.add Parser.binop_precedence '-' 20;
11 Hashtbl.add Parser.binop_precedence '*' 40; (* highest. *)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dtoy.ml10 Hashtbl.add Parser.binop_precedence '<' 10;
11 Hashtbl.add Parser.binop_precedence '+' 20;
12 Hashtbl.add Parser.binop_precedence '-' 20;
13 Hashtbl.add Parser.binop_precedence '*' 40; (* highest. *)
/external/clang/include/clang/AST/
DCommentParser.h30 class Parser {
31 Parser(const Parser &) LLVM_DELETED_FUNCTION;
32 void operator=(const Parser &) LLVM_DELETED_FUNCTION;
90 Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
/external/llvm/lib/Target/MBlaze/AsmParser/
DMBlazeAsmParser.cpp29 MCAsmParser &Parser; member in __anon4d3e841e0111::MBlazeAsmParser
31 MCAsmParser &getParser() const { return Parser; } in getParser()
32 MCAsmLexer &getLexer() const { return Parser.getLexer(); } in getLexer()
34 void Warning(SMLoc L, const Twine &Msg) { Parser.Warning(L, Msg); } in Warning()
35 bool Error(SMLoc L, const Twine &Msg) { return Parser.Error(L, Msg); } in Error()
68 : MCTargetAsmParser(), Parser(_Parser) {} in MBlazeAsmParser()
396 SMLoc S = Parser.getTok().getLoc(); in ParseRegister()
397 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseRegister()
423 SMLoc S = Parser.getTok().getLoc(); in ParseFsl()
424 SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1); in ParseFsl()
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dtoy.ml15 Hashtbl.add Parser.binop_precedence '=' 2;
16 Hashtbl.add Parser.binop_precedence '<' 10;
17 Hashtbl.add Parser.binop_precedence '+' 20;
18 Hashtbl.add Parser.binop_precedence '-' 20;
19 Hashtbl.add Parser.binop_precedence '*' 40; (* highest. *)
/external/llvm/lib/MC/MCParser/
DMCAsmParserExtension.cpp20 void MCAsmParserExtension::Initialize(MCAsmParser &Parser) { in Initialize() argument
21 this->Parser = &Parser; in Initialize()
/external/javassist/src/main/javassist/compiler/
DJavac.java88 Parser p = new Parser(new Lex(src)); in compile()
141 private CtBehavior compileMethod(Parser p, MethodDecl md) in compileMethod()
211 Parser p = new Parser(new Lex(src)); in compileBody()
434 Parser p = new Parser(new Lex(target)); in recordProceed()
522 Parser p = new Parser(new Lex(target)); in recordSpecialProceed()
563 Parser p = new Parser(new Lex(src)); in compileStmnt()
592 Parser p = new Parser(new Lex(src)); in parseExpr()
/external/v8/src/
Dparser.cc249 Handle<String> Parser::LookupSymbol(int symbol_id) { in LookupSymbol()
268 Handle<String> Parser::LookupCachedSymbol(int symbol_id) { in LookupCachedSymbol()
410 Scope* Parser::NewScope(Scope* parent, ScopeType type) { in NewScope()
468 class Parser::BlockState BASE_EMBEDDED {
470 BlockState(Parser* parser, Scope* scope) in BlockState()
479 Parser* parser_;
484 Parser::FunctionState::FunctionState(Parser* parser, in FunctionState()
503 Parser::FunctionState::~FunctionState() { in ~FunctionState()
535 Parser::Parser(Handle<Script> script, in Parser() function in v8::internal::Parser
565 FunctionLiteral* Parser::ParseProgram(CompilationInfo* info) { in ParseProgram()
[all …]

12345678910