|
clang
3.8.0
|
Class defining a parser context. More...
#include <Diagnostics.h>
Public Types | |
| enum | ConstructMatcherEnum { ConstructMatcher } |
| About to call the constructor for a matcher. More... | |
| enum | MatcherArgEnum { MatcherArg } |
| About to recurse into parsing one argument for a matcher. More... | |
Public Member Functions | |
| Context (ConstructMatcherEnum, Diagnostics *Error, StringRef MatcherName, SourceRange MatcherRange) | |
| Context (MatcherArgEnum, Diagnostics *Error, StringRef MatcherName, SourceRange MatcherRange, unsigned ArgNumber) | |
| ~Context () | |
Class defining a parser context.
Used by the parser to specify (possibly recursive) contexts where the parsing/construction can fail. Any error triggered within a context will keep information about the context chain. This class should be used as a RAII instance in the stack.
Definition at line 102 of file Diagnostics.h.
About to call the constructor for a matcher.
| Enumerator | |
|---|---|
| ConstructMatcher | |
Definition at line 105 of file Diagnostics.h.
About to recurse into parsing one argument for a matcher.
| Enumerator | |
|---|---|
| MatcherArg | |
Definition at line 109 of file Diagnostics.h.
| clang::ast_matchers::dynamic::Diagnostics::Context::Context | ( | ConstructMatcherEnum | , |
| Diagnostics * | Error, | ||
| StringRef | MatcherName, | ||
| SourceRange | MatcherRange | ||
| ) |
Definition at line 24 of file Diagnostics.cpp.
References clang::ast_matchers::dynamic::Diagnostics::CT_MatcherConstruct.
| clang::ast_matchers::dynamic::Diagnostics::Context::Context | ( | MatcherArgEnum | , |
| Diagnostics * | Error, | ||
| StringRef | MatcherName, | ||
| SourceRange | MatcherRange, | ||
| unsigned | ArgNumber | ||
| ) |
Definition at line 31 of file Diagnostics.cpp.
References clang::ast_matchers::dynamic::Diagnostics::CT_MatcherArg.
| clang::ast_matchers::dynamic::Diagnostics::Context::~Context | ( | ) |
Definition at line 40 of file Diagnostics.cpp.
1.8.6