public override CompilerResult VisitBlock([NotNull] LangParser.BlockContext context) { PushContext(); base.VisitBlock(context); PopContext(); return(NullCompilerResult.INSTANCE); }
public static Ast.Block Transform(LangParser.BlockContext ctx) { return(new Ast.Block(ctx.statement().Select(x => Transform(x)).ToArray())); }