MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / Reset

Method Reset

src/server/angelscript/angelscript/source/as_compiler.cpp:111–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111void asCCompiler::Reset(asCBuilder *in_builder, asCScriptCode *in_script, asCScriptFunction *in_outFunc)
112{
113 this->builder = in_builder;
114 this->engine = in_builder->engine;
115 this->script = in_script;
116 this->outFunc = in_outFunc;
117
118 hasCompileErrors = false;
119
120 m_isConstructor = false;
121 m_isConstructorCalled = false;
122 m_classDecl = 0;
123 m_globalVar = 0;
124
125 nextLabel = 0;
126 breakLabels.SetLength(0);
127 continueLabels.SetLength(0);
128
129 numLambdas = 0;
130
131 byteCode.ClearAll();
132}
133
134int asCCompiler::CompileDefaultConstructor(asCBuilder *in_builder, asCScriptCode *in_script, asCScriptNode *in_node, asCScriptFunction *in_outFunc, sClassDeclaration *in_classDecl)
135{

Callers

nothing calls this directly

Calls 2

SetLengthMethod · 0.45
ClearAllMethod · 0.45

Tested by

no test coverage detected