module volta.postparse.condremoval
Code that removes volt version constructs.
Code Map
//! Code that removes volt version constructs.
module volta.postparse.condremoval;
//! A pass that removes version and debug blocks, not static ifs.
class ConditionalRemoval : vi.NullVisitor
{
public:
this(es: ErrorSink, ver: VersionSet) { }
fn enter(tlb: ir.TopLevelBlock) Status { }
fn enter(bs: ir.BlockStatement) Status { }
fn enter(a: ir.Attribute) Status { }
fn enter(c: ir.Condition) Status { }
fn visit(td: ir.TemplateDefinition) Status { }
fn evaluate(condstat: ir.ConditionStatement, ret: ir.Node[]) bool { }
fn evaluate(cond: ir.ConditionTopLevel, ret: ir.Node[]) bool { }
}
class ConditionalRemoval : vi.NullVisitor
A pass that removes version and debug blocks, not static ifs.