MLIR
20.0.0git
|
Public Member Functions | |
CodeTokenizer (llvm::StringRef matcherCode, Diagnostics *error) | |
CodeTokenizer (llvm::StringRef matcherCode, Diagnostics *error, unsigned codeCompletionOffset) | |
const TokenInfo & | peekNextToken () const |
TokenInfo | consumeNextToken () |
TokenInfo | skipNewlines () |
TokenInfo | consumeNextTokenIgnoreNewlines () |
TokenKind | nextTokenKind () const |
Definition at line 40 of file Parser.cpp.
|
inlineexplicit |
Definition at line 43 of file Parser.cpp.
|
inline |
Definition at line 49 of file Parser.cpp.
|
inline |
Definition at line 60 of file Parser.cpp.
Referenced by consumeNextTokenIgnoreNewlines().
|
inline |
Definition at line 74 of file Parser.cpp.
References consumeNextToken(), mlir::query::matcher::internal::Parser::Eof, mlir::query::matcher::internal::Parser::TokenInfo::kind, and skipNewlines().
|
inline |
Definition at line 80 of file Parser.cpp.
References mlir::query::matcher::internal::Parser::TokenInfo::kind.
|
inline |
Definition at line 57 of file Parser.cpp.
Referenced by mlir::query::matcher::internal::Parser::parseExpression().
|
inline |
Definition at line 67 of file Parser.cpp.
References mlir::query::matcher::internal::Parser::TokenInfo::kind, and mlir::query::matcher::internal::Parser::NewLine.
Referenced by consumeNextTokenIgnoreNewlines().