jaydata-reso
Version:
Jaydata fork for RESO Web API
24 lines (22 loc) • 966 B
JavaScript
$C('$data.Expressions.ParameterExpression', $data.Expressions.ExpressionNode, null, {
constructor: function (name, type, nodeType) {
///<param name="name" type="string" />
///<field name="name" type="string" />
//this.writePropertyValue("name", name);
//this.writePropertyValue("type", type);
this.nodeType = nodeType || $data.Expressions.ExpressionType.Parameter;
this.name = name;
this.type = type || "unknown";
var _owningFunction;
},
owningFunction: { value: undefined, enumerable: false },
nodeType: { value: $data.Expressions.ExpressionType.Parameter, writable: true },
name: { value: undefined, dataType: String, writable: true },
type: { value: undefined, dataType: "object", writable: true},
toString: function (debug) {
var result;
result = debug ? this.type + " " : "";
result = result + this.name;
return result;
}
}, null);