Lines Matching defs:Parser

1 //===--- Parser.cpp - C Language Family Parser ----------------------------===//
10 // This file implements the Parser interfaces.
14 #include "clang/Parse/Parser.h"
63 IdentifierInfo *Parser::getSEHExceptKeyword() {
71 Parser::Parser(Preprocessor &pp, Sema &actions, bool skipFunctionBodies)
94 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) {
98 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) {
108 void Parser::SuggestParentheses(SourceLocation Loc, unsigned DK,
131 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
177 bool Parser::ExpectAndConsumeSemi(unsigned DiagID) {
199 void Parser::ConsumeExtraSemi(ExtraSemiKind Kind, unsigned TST) {
240 static bool HasFlagsSet(Parser::SkipUntilFlags L, Parser::SkipUntilFlags R) {
252 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) {
373 void Parser::EnterScope(unsigned ScopeFlags) {
384 void Parser::ExitScope() {
402 Parser::ParseScopeFlags::ParseScopeFlags(Parser *Self, unsigned ScopeFlags,
413 Parser::ParseScopeFlags::~ParseScopeFlags() {
423 Parser::~Parser() {
452 void Parser::Initialize() {
459 // Referenced in Parser::ParseObjCTypeQualifierList.
531 void Parser::LateTemplateParserCleanupCallback(void *P) {
535 DestroyTemplateIdAnnotationsRAIIObj CleanupRAII(((Parser *)P)->TemplateIds);
540 bool Parser::ParseTopLevelDecl(DeclGroupPtrTy &Result) {
620 Parser::DeclGroupPtrTy
621 Parser::ParseExternalDeclaration(ParsedAttributesWithRange &attrs,
814 bool Parser::isDeclarationAfterDeclarator() {
833 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) {
868 Parser::DeclGroupPtrTy
869 Parser::ParseDeclOrFunctionDefInternal(ParsedAttributesWithRange &attrs,
933 Parser::DeclGroupPtrTy
934 Parser::ParseDeclarationOrFunctionDefinition(ParsedAttributesWithRange &attrs,
964 Decl *Parser::ParseFunctionDefinition(ParsingDeclarator &D,
1153 void Parser::SkipFunctionBody() {
1177 void Parser::ParseKNRParamDeclarations(Declarator &D) {
1295 ExprResult Parser::ParseAsmStringLiteral() {
1320 ExprResult Parser::ParseSimpleAsm(SourceLocation *EndLoc) {
1359 TemplateIdAnnotation *Parser::takeTemplateIdAnnotation(const Token &tok) {
1366 void Parser::AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation) {
1393 Parser::AnnotatedNameKind
1394 Parser::TryAnnotateName(bool IsAddressOfOperand,
1525 bool Parser::TryKeywordIdentFallback(bool DisableKeyword) {
1558 bool Parser::TryAnnotateTypeOrScopeToken(bool EnteringContext, bool NeedType) {
1671 bool Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(bool EnteringContext,
1787 bool Parser::TryAnnotateCXXScopeToken(bool EnteringContext) {
1805 bool Parser::isTokenEqualOrEqualTypo() {
1832 SourceLocation Parser::handleUnexpectedCodeCompletionToken() {
1858 void Parser::CodeCompleteDirective(bool InConditional) {
1862 void Parser::CodeCompleteInConditionalExclusion() {
1866 void Parser::CodeCompleteMacroName(bool IsDefinition) {
1870 void Parser::CodeCompletePreprocessorExpression() {
1874 void Parser::CodeCompleteMacroArgument(IdentifierInfo *Macro,
1881 void Parser::CodeCompleteNaturalLanguage() {
1885 bool Parser::ParseMicrosoftIfExistsCondition(IfExistsCondition& Result) {
1943 void Parser::ParseMicrosoftIfExistsExternalDeclaration() {
1980 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) {
2031 bool Parser::parseMisplacedModuleImport() {
2072 P.SkipUntil(SkipToTok, Parser::StopAtSemi);
2096 Parser::StopAtSemi | Parser::StopBeforeMatch) &&
2103 P.SkipUntil(Close, Parser::StopBeforeMatch);