class Parser::ParseScope
Declaration
class Parser::ParseScope { /* full declaration omitted */ };
Description
ParseScope - Introduces a new scope for parsing. The kind of scope is determined by ScopeFlags. Objects of this type should be created on the stack to coincide with the position where the parser enters the new scope, and this object's constructor will create that new scope. Similarly, once the object is destroyed the parser will exit the scope.
Declared at: clang/include/clang/Parse/Parser.h:1097
Member Variables
- private clang::Parser* Self
Method Overview
- public void Exit()
- private ParseScope(const clang::Parser::ParseScope &)
- public ParseScope(clang::Parser * Self, unsigned int ScopeFlags, bool EnteredScope = true, bool BeforeCompoundStmt = false)
- public ~ParseScope()
Methods
¶void Exit()
void Exit()
Declared at: clang/include/clang/Parse/Parser.h:1121
¶ParseScope(const clang::Parser::ParseScope&)
ParseScope(const clang::Parser::ParseScope&)
Declared at: clang/include/clang/Parse/Parser.h:1099
Parameters
- const clang::Parser::ParseScope&
¶ParseScope(clang::Parser* Self,
unsigned int ScopeFlags,
bool EnteredScope = true,
bool BeforeCompoundStmt = false)
ParseScope(clang::Parser* Self,
unsigned int ScopeFlags,
bool EnteredScope = true,
bool BeforeCompoundStmt = false)
Declared at: clang/include/clang/Parse/Parser.h:1106
Parameters
- clang::Parser* Self
- unsigned int ScopeFlags
- bool EnteredScope = true
- bool BeforeCompoundStmt = false
¶~ParseScope()
~ParseScope()
Declared at: clang/include/clang/Parse/Parser.h:1128