class Parser::UnannotatedTentativeParsingAction
Declaration
class Parser::UnannotatedTentativeParsingAction
: public TentativeParsingAction { /* full declaration omitted */ };
Description
A tentative parsing action that can also revert token annotations.
Declared at: clang/lib/Parse/ParseCXXInlineMethods.cpp:1124
Inherits from: Parser::TentativeParsingAction
Member Variables
- private clang::Parser& Self
- private clang::CachedTokens Toks
- private tok::TokenKind EndKind
Method Overview
- public void RevertAnnotations()
- public UnannotatedTentativeParsingAction(clang::Parser & Self, tok::TokenKind EndKind)
Inherited from Parser::TentativeParsingAction:
Methods
¶void RevertAnnotations()
void RevertAnnotations()
Declared at: clang/lib/Parse/ParseCXXInlineMethods.cpp:1136
¶UnannotatedTentativeParsingAction(
clang::Parser& Self,
tok::TokenKind EndKind)
UnannotatedTentativeParsingAction(
clang::Parser& Self,
tok::TokenKind EndKind)
Declared at: clang/lib/Parse/ParseCXXInlineMethods.cpp:1126
Parameters
- clang::Parser& Self
- tok::TokenKind EndKind