clojure.lang.CljCompiler.Ast.NewExpr.GenCode C# (CSharp) Метод

GenCode() публичный Метод

public GenCode ( RHC rhc, ObjExpr objx, GenContext context ) : Expression
rhc RHC
objx ObjExpr
context GenContext
Результат Expression
        public Expression GenCode(RHC rhc, ObjExpr objx, GenContext context)
        {
            Expression call;

            if (_ctor != null)
                call = GenDlrForMethod(rhc, objx, context);
            else if (_isNoArgValueTypeCtor)
                call = Expression.Default(_type);
            else
                call = GenerateComplexCall(rhc, objx, context);

            call = Compiler.MaybeAddDebugInfo(call, _spanMap, context.IsDebuggable);
            return call;
        }