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

Method SetToken

shadercompiler/ASTNode.cpp:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void ASTNode::SetToken( const ScannerToken* token )
130{
131 if( token )
132 {
133 m_token = *token;
134 }
135 else
136 {
137 m_token.type = 0;
138 }
139}
140
141const ScannerToken* ASTNode::GetToken() const
142{

Callers 9

PatchShaderFunction · 0.80
PatchRtShaderFunction · 0.80
PatchMatrixRowsFunction · 0.80
NewFunctionCallFunction · 0.80
FindDX9TexSampleCallsFunction · 0.80
PatchMetalBufferCallsFunction · 0.80
PatchMetalTextureCallFunction · 0.80
PatchMetalTextureCallsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected