|
Blender V5.3
|
Public Member Functions | |
| Iterator (const TokenStream &stream, const Token *tok) | |
| Iterator (const Iterator &other)=default | |
| bool | is_valid () const |
| TokenType | type () const |
| TokenAtom | atom () const |
| std::string_view | str () const |
| bool | followed_by_whitespace () const |
| Iterator | next () const |
| Iterator | prev () const |
| Iterator & | operator++ () |
| const Iterator & | operator* () |
Public Attributes | |
| const TokenStream * | stream |
| const Token * | tok |
Friends | |
| bool | operator== (const Iterator &a, const Iterator &b) |
| bool | operator!= (const Iterator &a, const Iterator &b) |
| bool | operator== (const Iterator &a, TokenType b) |
| bool | operator!= (const Iterator &a, TokenType b) |
Definition at line 600 of file gpu_shader_preprocessor.cc.
|
inline |
Definition at line 604 of file gpu_shader_preprocessor.cc.
References stream, tok, and blender::gpu::TokenStream::TokenStream().
Referenced by blender::gpu::TokenStream::begin(), blender::gpu::TokenStream::end(), Iterator(), next(), operator!=, operator!=, operator*(), operator++(), operator==, operator==, and prev().
|
default |
References Iterator().
|
inline |
Definition at line 616 of file gpu_shader_preprocessor.cc.
References lexit::Token::atom(), and tok.
|
inline |
Definition at line 626 of file gpu_shader_preprocessor.cc.
References lexit::Token::flag, and tok.
Referenced by blender::gpu::TokenStream::operator<<().
|
inline |
Definition at line 607 of file gpu_shader_preprocessor.cc.
References tok.
|
inline |
Definition at line 631 of file gpu_shader_preprocessor.cc.
References Iterator(), stream, tok, and blender::gpu::TokenStream::tokens.
|
inline |
Definition at line 675 of file gpu_shader_preprocessor.cc.
References Iterator().
|
inline |
Definition at line 665 of file gpu_shader_preprocessor.cc.
References Iterator(), stream, tok, and blender::gpu::TokenStream::tokens.
|
inline |
Definition at line 638 of file gpu_shader_preprocessor.cc.
References Iterator(), stream, tok, and blender::gpu::TokenStream::tokens.
|
inline |
Definition at line 621 of file gpu_shader_preprocessor.cc.
References lexit::Token::str(), and tok.
|
inline |
Definition at line 612 of file gpu_shader_preprocessor.cc.
References lexit::Invalid, tok, and lexit::Token::type().
Referenced by operator!=, and operator==.
Definition at line 650 of file gpu_shader_preprocessor.cc.
References b, Iterator(), and tok.
Definition at line 659 of file gpu_shader_preprocessor.cc.
References b, Iterator(), and type().
Definition at line 646 of file gpu_shader_preprocessor.cc.
References b, Iterator(), and tok.
Definition at line 655 of file gpu_shader_preprocessor.cc.
References b, Iterator(), and type().
| const TokenStream* blender::gpu::TokenStream::Iterator::stream |
Definition at line 601 of file gpu_shader_preprocessor.cc.
Referenced by Iterator(), next(), operator++(), and prev().
| const Token* blender::gpu::TokenStream::Iterator::tok |
Definition at line 602 of file gpu_shader_preprocessor.cc.
Referenced by atom(), followed_by_whitespace(), is_valid(), Iterator(), next(), operator!=, operator++(), blender::gpu::TokenStream::operator<<(), operator==, prev(), str(), and type().