public override Node VisitProgram(ECMAScriptParser.ProgramContext context) { return(new Ast.Program(context) { Body = ListChildren <Statement>(context.sourceElements()) }); }
public UstNode VisitProgram([NotNull] ECMAScriptParser.ProgramContext context) { FileNode.Root = Visit(context.sourceElements()); return(FileNode); }