private Statement CreateLambdaBody(ScriptLoadingContext lcontext) { Token start = lcontext.Lexer.Current; Expression e = Expression.Expr(lcontext); Token end = lcontext.Lexer.Current; SourceRef sref = start.GetSourceRefUpTo(end); Statement s = new ReturnStatement(lcontext, e, sref); return s; }
private Statement CreateLambdaBody(ScriptLoadingContext lcontext) { var start = lcontext.Lexer.Current; var e = Expr(lcontext); var end = lcontext.Lexer.Current; var sref = start.GetSourceRefUpTo(end); Statement s = new ReturnStatement(lcontext, e, sref); return s; }