MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetToken

Method GetToken

shadercompiler/ASTNode.cpp:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141const ScannerToken* ASTNode::GetToken() const
142{
143 if( m_token.type )
144 {
145 return &m_token;
146 }
147 else
148 {
149 return nullptr;
150 }
151}
152
153void ASTNode::SetToken( const ScannerToken& token )
154{

Callers 15

MatchParameterFunction · 0.80
OutputHLSL.cppFile · 0.80
FindParameterBySemanticsFunction · 0.80
PatchShaderFunction · 0.80
CompileEffectMethod · 0.80
GetMethodTypeMethod · 0.80
ProcessReflectionFunction · 0.80
ReplaceFloatModuloFunction · 0.80
PrepareFragmentFunctionFunction · 0.80
GetThreadGroupSizeFunction · 0.80
GatherInputsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected