clang 20.0.0git
|
Token lexed as part of dependency directive scanning. More...
#include "clang/Lex/DependencyDirectivesScanner.h"
Public Member Functions | |
Token (unsigned Offset, unsigned Length, tok::TokenKind Kind, unsigned short Flags) | |
unsigned | getEnd () const |
bool | is (tok::TokenKind K) const |
bool | isNot (tok::TokenKind K) const |
bool | isOneOf (tok::TokenKind K1, tok::TokenKind K2) const |
template<typename... Ts> | |
bool | isOneOf (tok::TokenKind K1, Ts... Ks) const |
Public Attributes | |
unsigned | Offset |
Offset into the original source input. | |
unsigned | Length |
tok::TokenKind | Kind |
unsigned short | Flags |
Token lexed as part of dependency directive scanning.
Definition at line 34 of file DependencyDirectivesScanner.h.
|
inline |
Definition at line 41 of file DependencyDirectivesScanner.h.
|
inline |
Definition at line 45 of file DependencyDirectivesScanner.h.
References Length, and Offset.
Referenced by clang::printDependencyDirectivesAsSource().
|
inline |
Definition at line 47 of file DependencyDirectivesScanner.h.
References Kind.
Referenced by isOneOf().
|
inline |
Definition at line 48 of file DependencyDirectivesScanner.h.
References Kind.
|
inline |
Definition at line 49 of file DependencyDirectivesScanner.h.
References is().
Referenced by clang::printDependencyDirectivesAsSource().
|
inline |
Definition at line 52 of file DependencyDirectivesScanner.h.
unsigned short clang::dependency_directives_scan::Token::Flags |
Definition at line 39 of file DependencyDirectivesScanner.h.
tok::TokenKind clang::dependency_directives_scan::Token::Kind |
Definition at line 38 of file DependencyDirectivesScanner.h.
Referenced by is(), isNot(), and clang::printDependencyDirectivesAsSource().
unsigned clang::dependency_directives_scan::Token::Length |
Definition at line 37 of file DependencyDirectivesScanner.h.
Referenced by getEnd().
unsigned clang::dependency_directives_scan::Token::Offset |
Offset into the original source input.
Definition at line 36 of file DependencyDirectivesScanner.h.
Referenced by getEnd(), and clang::printDependencyDirectivesAsSource().