public static LiteralValueReference CreateObjectLiteral (EvaluationContext ctx, string name, object value) { LiteralValueReference val = new LiteralValueReference (ctx); val.name = name; val.objValue = value; val.objLiteral = true; return val; }
public static LiteralValueReference CreateObjectLiteral(EvaluationContext ctx, string name, object value) { LiteralValueReference val = new LiteralValueReference(ctx); val.name = name; val.objValue = value; val.objLiteral = true; return(val); }
public static LiteralValueReference CreateTargetObjectLiteral (EvaluationContext ctx, string name, object value) { LiteralValueReference val = new LiteralValueReference (ctx); val.name = name; val.value = value; val.type = ctx.Adapter.GetValueType (ctx, value); val.objCreated = true; return val; }
public static LiteralValueReference CreateTargetObjectLiteral(EvaluationContext ctx, string name, object value) { LiteralValueReference val = new LiteralValueReference(ctx); val.name = name; val.value = value; val.type = ctx.Adapter.GetValueType(ctx, value); val.objCreated = true; return(val); }
public static LiteralValueReference CreateVoidReturnLiteral (EvaluationContext ctx, string name) { LiteralValueReference val = new LiteralValueReference (ctx); val.name = name; val.value = val.objValue = new EvaluationResult ("No return value."); val.type = typeof (EvaluationResult); val.objLiteral = true; val.objCreated = true; return val; }
public static LiteralValueReference CreateVoidReturnLiteral(EvaluationContext ctx, string name) { LiteralValueReference val = new LiteralValueReference(ctx); val.name = name; val.value = val.objValue = new EvaluationResult("No return value."); val.type = typeof(EvaluationResult); val.objLiteral = true; val.objCreated = true; return(val); }