Exemplo n.º 1
0
 // Attempt to convert this expression into a Constant expression
 public virtual bool TryAsConstant(out Expressions.Constant constant)
 {
     constant = null;
     return(false);
 }
Exemplo n.º 2
0
 public LocalConstVariable(int id, DreamPath?type, Expressions.Constant value) : base(id, false, type)
 {
     Value = value;
 }
Exemplo n.º 3
0
        public static bool TryConstant(DMObject dmObject, DMProc proc, DMASTExpression expression, out Expressions.Constant constant)
        {
            var expr = Create(dmObject, proc, expression, null);

            return(expr.TryAsConstant(out constant));
        }