MCPcopy Create free account
hub / github.com/dfranx/SHADERed / ExpressionCompiler

Method ExpressionCompiler

src/SHADERed/Objects/Debug/ExpressionCompiler.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11namespace ed {
12 ExpressionCompiler::ExpressionCompiler()
13 {
14 m_error = false;
15 m_module = nullptr;
16
17 m_allocator = new spvgentwo::HeapAllocator();
18 m_grammar = new spvgentwo::Grammar(m_allocator);
19 m_module = new spvgentwo::Module(m_allocator);
20 }
21 ExpressionCompiler::~ExpressionCompiler()
22 {
23 delete m_module;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected