public void ExecutePass(CompilationUnit unit) { VisitNode(unit); if (errorReport.HasErrors) return; // Now we register the single var declaration as type members (fields) // and ensure they are on the symbol table - sanity check FieldsVisitor visitor = new FieldsVisitor(); visitor.VisitCompilationUnit(unit); }
public void ExecutePass(CompilationUnit unit) { VisitNode(unit); if (errorReport.HasErrors) { return; } // Now we register the single var declaration as type members (fields) // and ensure they are on the symbol table - sanity check FieldsVisitor visitor = new FieldsVisitor(); visitor.VisitCompilationUnit(unit); }