CloneState

Undocumented in source.

Members

Functions

fixAstIndex
void fixAstIndex(AstIndex nodeIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
fixAstNodes
void fixAstNodes(AstNodes nodes)
Undocumented in source. Be warned that the author may not have intended to support it.
fixScope
void fixScope(ScopeIndex _scope)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

cloned_from
AstIndex cloned_from;

Points to original nodes

cloned_to
AstIndex cloned_to;
Undocumented in source.
context
CompilationContext* context;
Undocumented in source.
instance_scope
ScopeIndex instance_scope;

Scope where template was instantiated. Contains template arguments

offset
uint offset;
Undocumented in source.
template_parent_scope
ScopeIndex template_parent_scope;

We want to redirect all references from template_parent_scope to instance_scope

Meta