private Function CreateAnonFunction(PParser.NoParamAnonEventHandlerContext context) { var fun = new Function(context) { Owner = CurrentMachine, Scope = CurrentScope.MakeChildScope() }; nodesToDeclarations.Put(context, fun); return(fun); }
public override object VisitNoParamAnonEventHandler(PParser.NoParamAnonEventHandlerContext context) { return(Visit(context.functionBody())); }