public override object CloneExp(MathNode parent)
        {
            MathNodePropertyField clone = (MathNodePropertyField)base.CloneExp(parent);

            clone.PropertyId = PropertyId;
            if (_property != null)
            {
                clone.SetOwnerProperty(_property);
            }
            return(clone);
        }
Пример #2
0
 public override CodeExpression ExportCode(IMethodCompile method)
 {
     MathNodePropertyField.CheckDeclareField(method.IsStatic, _name, FieldType, method.TypeDeclaration, null);
     return(new CodeVariableReferenceExpression(_name));
 }