ludus::tooling::shader_language::Token¶
Ludus Wiki · API overview · Browse API
Struct
IsSynthesized is false, the spelling is SpellingSize bytes at SpellingOffset in the text of request file Location.FileIndex, which the caller keeps alive. When it is true, the spelling is in the result's synthesized text: configuration values, # and ## create such spellings. Use GetTokenSpelling rather than indexing either buffer directly. Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
#include <ludus/tooling/shader_language/token.hpp>
struct ludus::tooling::shader_language::Token final
Fields¶
Kind¶
TokenKind ludus::tooling::shader_language::Token::Kind = TokenKind::Identifier
Related types: TokenKind
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
Symbol¶
Punctuator ludus::tooling::shader_language::Token::Symbol = Punctuator::None
Related types: Punctuator
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
IsAtLineStart¶
bool ludus::tooling::shader_language::Token::IsAtLineStart = false
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
HasLeadingSpace¶
bool ludus::tooling::shader_language::Token::HasLeadingSpace = false
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
IsSynthesized¶
bool ludus::tooling::shader_language::Token::IsSynthesized = false
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
SpellingOffset¶
foundation::uint32 ludus::tooling::shader_language::Token::SpellingOffset = 0
Related types: foundation::uint32
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
SpellingSize¶
foundation::uint32 ludus::tooling::shader_language::Token::SpellingSize = 0
Related types: foundation::uint32
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
Location¶
SourceLocation ludus::tooling::shader_language::Token::Location
Related types: SourceLocation
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp
ExpansionIndex¶
foundation::uint32 ludus::tooling::shader_language::Token::ExpansionIndex = NO_EXPANSION
Related types: foundation::uint32
Declared in modules/tooling/shader_language/include/ludus/tooling/shader_language/token.hpp