Home | History | Annotate | Download | only in Dynamic

Lines Matching refs:Parser

1 //===- unittest/ASTMatchers/Dynamic/ParserTest.cpp - Parser unit tests -===//
11 #include "clang/ASTMatchers/Dynamic/Parser.h"
24 class MockSema : public Parser::Sema {
40 Parser::parseExpression(Code, this, &Value, &Error);
163 Parser::NamedValueMap getTestNamedValues() {
164 Parser::NamedValueMap Values;
173 llvm::Optional<DynTypedMatcher> VarDecl(Parser::parseMatcherExpression(
184 llvm::Optional<DynTypedMatcher> HasParameter(Parser::parseMatcherExpression(
195 Parser::parseMatcherExpression(
205 EXPECT_TRUE(!Parser::parseMatcherExpression(
219 Parser::parseExpression(Code, &Value, &Error);
225 Parser::parseMatcherExpression(Code, &Error);
281 Parser::completeExpression("while", 5);
287 Comps = Parser::completeExpression("whileStmt().", 12);
298 Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues);
305 Comps = Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues);
310 Comps = Parser::completeExpression(Code, Code.size(), nullptr, &NamedValues);