LLVM
8.0.1
|
Generic interface for extending the MCAsmParser, which is implemented by target and object file assembly parser implementations. More...
#include "llvm/MC/MCParser/MCAsmParserExtension.h"
Protected Member Functions | |
MCAsmParserExtension () | |
Static Protected Member Functions | |
template<typename T , bool(T::*)(StringRef, SMLoc) Handler> | |
static bool | HandleDirective (MCAsmParserExtension *Target, StringRef Directive, SMLoc DirectiveLoc) |
Protected Attributes | |
bool | BracketExpressionsSupported = false |
Generic interface for extending the MCAsmParser, which is implemented by target and object file assembly parser implementations.
Definition at line 26 of file MCAsmParserExtension.h.
|
protecteddefault |
|
delete |
|
virtualdefault |
Definition at line 110 of file MCAsmParserExtension.h.
References llvm::MCAsmParser::addErrorSuffix(), and getParser().
Definition at line 102 of file MCAsmParserExtension.h.
References llvm::MCAsmParser::check(), and getParser().
Definition at line 106 of file MCAsmParserExtension.h.
References llvm::MCAsmParser::check(), and getParser().
|
inline |
Definition at line 75 of file MCAsmParserExtension.h.
References llvm::MCAsmParser::Error(), and getParser().
|
inline |
Definition at line 56 of file MCAsmParserExtension.h.
References llvm::MCAsmParser::getContext(), and getParser().
Referenced by llvm::MCTargetAsmParser::copySTI().
|
inline |
Definition at line 58 of file MCAsmParserExtension.h.
References llvm::MCAsmParser::getLexer(), and getParser().
Referenced by getLexer().
|
inline |
Definition at line 59 of file MCAsmParserExtension.h.
References getLexer().
|
inline |
Definition at line 63 of file MCAsmParserExtension.h.
Referenced by addErrorSuffix(), check(), Error(), getContext(), getLexer(), getParser(), getSourceManager(), getStreamer(), getTok(), Lex(), Note(), parseMany(), parseOptionalToken(), parseToken(), TokError(), and Warning().
|
inline |
Definition at line 64 of file MCAsmParserExtension.h.
References getParser().
|
inline |
Definition at line 68 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::getSourceManager().
|
inline |
Definition at line 69 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::getStreamer().
Definition at line 88 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::getTok().
|
inlinestaticprotected |
Definition at line 34 of file MCAsmParserExtension.h.
|
inline |
Definition at line 114 of file MCAsmParserExtension.h.
References BracketExpressionsSupported.
|
virtual |
Initialize the extension for parsing using the given Parser
.
The extension should use the AsmParser interfaces to register its parsing routines.
Definition at line 18 of file MCAsmParserExtension.cpp.
Referenced by llvm::MCAsmParser::setTargetParser().
Definition at line 87 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::Lex().
Definition at line 79 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::Note().
|
delete |
|
inline |
Definition at line 94 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::parseMany().
|
inline |
Definition at line 98 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::parseOptionalToken().
|
inline |
Definition at line 89 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::parseToken().
Definition at line 83 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::TokError().
Definition at line 71 of file MCAsmParserExtension.h.
References getParser(), and llvm::MCAsmParser::Warning().
Definition at line 41 of file MCAsmParserExtension.h.
Referenced by HasBracketExpressions().