LLVM API Documentation
#include <MCAsmLexer.h>
Public Member Functions | |
| virtual | ~MCAsmLexer () |
| const AsmToken & | Lex () |
| const AsmToken & | getTok () |
| getTok - Get the current (last) lexed token. | |
| AsmToken::TokenKind | getKind () const |
| getKind - Get the kind of current token. | |
| bool | is (AsmToken::TokenKind K) const |
| is - Check if the current token has kind | |
| bool | isNot (AsmToken::TokenKind K) const |
| isNot - Check if the current token has kind | |
Protected Member Functions | |
| MCAsmLexer () | |
| virtual AsmToken | LexToken ()=0 |
Definition at line 103 of file MCAsmLexer.h.
| MCAsmLexer::MCAsmLexer | ( | ) | [protected] |
Definition at line 15 of file MCAsmLexer.cpp.
| MCAsmLexer::~MCAsmLexer | ( | ) | [virtual] |
Definition at line 18 of file MCAsmLexer.cpp.
| const AsmToken& llvm::MCAsmLexer::Lex | ( | ) | [inline] |
Lex - Consume the next token from the input stream and return it.
The lexer will continuosly return the end-of-file token once the end of the main input file has been reached.
Definition at line 121 of file MCAsmLexer.h.
References LexToken().
| const AsmToken& llvm::MCAsmLexer::getTok | ( | ) | [inline] |
| AsmToken::TokenKind llvm::MCAsmLexer::getKind | ( | ) | const [inline] |
getKind - Get the kind of current token.
Definition at line 131 of file MCAsmLexer.h.
References llvm::AsmToken::getKind().
| bool llvm::MCAsmLexer::is | ( | AsmToken::TokenKind | K | ) | const [inline] |
is - Check if the current token has kind
Definition at line 134 of file MCAsmLexer.h.
References llvm::AsmToken::is().
| bool llvm::MCAsmLexer::isNot | ( | AsmToken::TokenKind | K | ) | const [inline] |
isNot - Check if the current token has kind
Definition at line 137 of file MCAsmLexer.h.
References llvm::AsmToken::isNot().