clang API Documentation
#include <Parser.h>
Public Member Functions | |
ParseScope (Parser *Self, unsigned ScopeFlags, bool EnteredScope=true, bool BeforeCompoundStmt=false) | |
void | Exit () |
~ParseScope () |
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.
Definition at line 737 of file Parse/Parser.h.
clang::Parser::ParseScope::ParseScope | ( | Parser * | Self, |
unsigned | ScopeFlags, | ||
bool | EnteredScope = true , |
||
bool | BeforeCompoundStmt = false |
||
) | [inline] |
Definition at line 746 of file Parse/Parser.h.
References clang::Parser::EnterScope(), and clang::Parser::incrementMSLocalManglingNumber().
clang::Parser::ParseScope::~ParseScope | ( | ) | [inline] |
Definition at line 768 of file Parse/Parser.h.
References Exit().
void clang::Parser::ParseScope::Exit | ( | ) | [inline] |
Definition at line 761 of file Parse/Parser.h.
References clang::Parser::ExitScope().
Referenced by ~ParseScope().