|
Blender V5.3
|
#include <lexit.hh>
Inherits lexit::Token.
Public Member Functions | |
| TokenMut (TokenBuffer *buf, int32_t index) | |
| TokenType & | type () |
| TokenAtom & | atom () |
| Public Member Functions inherited from lexit::Token | |
| Token (const TokenBuffer *buf, int32_t index) | |
| operator int32_t () const | |
| bool | is_valid () const |
| bool | is_invalid () const |
| const TokenType & | type () const |
| const TokenAtom & | atom () const |
| std::string_view | str () const |
| std::string_view | str_with_whitespace () const |
| bool | followed_by_whitespace () const |
| Token | next (int i=1) const |
| Token | prev (int i=1) const |
Additional Inherited Members | |
| Static Public Member Functions inherited from lexit::Token | |
| static Token | invalid (const TokenBuffer *buf) |
| Public Attributes inherited from lexit::Token | |
| const TokenBuffer * | buf_ |
| int32_t | index_ |
| int32_t | flag = 0 |
|
inline |
Definition at line 108 of file lexit.hh.
References index, and lexit::Token::Token().
Referenced by lexit::TokenBuffer::TokenIt::operator*(), lexit::TokenBuffer::operator[](), and blender::gpu::TokenPastingBuffer::paste_token().
|
inline |
Definition at line 367 of file lexit.hh.
References lexit::Token::buf_, and lexit::Token::index_.
Referenced by blender::gpu::AtomicLexer::paste_token().
|
inline |
Definition at line 358 of file lexit.hh.
References lexit::Token::buf_, and lexit::Token::index_.
Referenced by blender::gpu::shader::parser::LexerBase::identify_template_tokens(), and blender::gpu::shader::parser::LexerBase::reset_template_tokens().