Home | History | Annotate | Download | only in Parse

Lines Matching refs:Parser

1 //===--- Parser.cpp - C Language Family Parser ----------------------------===//
10 // This file implements the Parser interfaces.
14 #include "clang/Parse/Parser.h"
29 /// to the parser action.
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() {
450 /// Initialize - Warm up the parser.
452 void Parser::Initialize() {
459 // Referenced in Parser::ParseObjCTypeQualifierList.
533 void Parser::LateTemplateParserCleanupCallback(void *P) {
537 DestroyTemplateIdAnnotationsRAIIObj CleanupRAII(((Parser *)P)->TemplateIds);
542 bool Parser::ParseTopLevelDecl(DeclGroupPtrTy &Result) {
622 Parser::DeclGroupPtrTy
623 Parser::ParseExternalDeclaration(ParsedAttributesWithRange &attrs,
818 bool Parser::isDeclarationAfterDeclarator() {
837 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) {
872 Parser::DeclGroupPtrTy
873 Parser::ParseDeclOrFunctionDefInternal(ParsedAttributesWithRange &attrs,
943 Parser::DeclGroupPtrTy
944 Parser::ParseDeclarationOrFunctionDefinition(ParsedAttributesWithRange &attrs,
974 Decl *Parser::ParseFunctionDefinition(ParsingDeclarator &D,
1176 void Parser::SkipFunctionBody() {
1200 void Parser::ParseKNRParamDeclarations(Declarator &D) {
1318 ExprResult Parser::ParseAsmStringLiteral() {
1343 ExprResult Parser::ParseSimpleAsm(SourceLocation *EndLoc) {
1382 TemplateIdAnnotation *Parser
1389 void Parser::AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation) {
1416 Parser::AnnotatedNameKind
1417 Parser::TryAnnotateName(bool IsAddressOfOperand,
1548 bool Parser::TryKeywordIdentFallback(bool DisableKeyword) {
1581 bool Parser::TryAnnotateTypeOrScopeToken(bool EnteringContext, bool NeedType) {
1694 bool Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(bool EnteringContext,
1806 bool Parser::TryAnnotateCXXScopeToken(bool EnteringContext) {
1824 bool Parser::isTokenEqualOrEqualTypo() {
1851 SourceLocation Parser::handleUnexpectedCodeCompletionToken() {
1877 void Parser::CodeCompleteDirective(bool InConditional) {
1881 void Parser::CodeCompleteInConditionalExclusion() {
1885 void Parser::CodeCompleteMacroName(bool IsDefinition) {
1889 void Parser::CodeCompletePreprocessorExpression() {
1893 void Parser::CodeCompleteMacroArgument(IdentifierInfo *Macro,
1900 void Parser::CodeCompleteNaturalLanguage() {
1904 bool Parser::ParseMicrosoftIfExistsCondition(IfExistsCondition& Result) {
1962 void Parser::ParseMicrosoftIfExistsExternalDeclaration() {
1999 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) {
2046 /// \brief Try recover parser when module annotation appears where it must not
2049 /// true if parser must bail out to top level and handle the token there.
2050 bool Parser::parseMisplacedModuleImport() {
2091 P.SkipUntil(SkipToTok, Parser::StopAtSemi);
2115 Parser::StopAtSemi | Parser::StopBeforeMatch) &&
2122 P.SkipUntil(Close, Parser::StopBeforeMatch);