Example #1
0
        public static PrefixOperator Create(string symbol, Expression expression, Type.Expression type = null)
        {
            PrefixOperator result;

            switch (symbol)
            {
            default:
                result = null;
                break;

            case "++":
            case "--":
            case "!":
            case "~":
            case "+":
            case "-":
                result = new PrefixOperator(symbol, expression, type);
                break;
            }
            return(result);
        }
 public virtual void Visit(PrefixOperator prefixOperator)
 {
     Visit(( dynamic )prefixOperator);
 }
Example #3
0
 public IType GetPrefixOperationResultType(PrefixOperator @operator) => @operator switch
 {
Example #4
0
 public IType GetPrefixOperationResultType(PrefixOperator operationKind) => null;
Example #5
0
 public IType GetPrefixOperationResultType(PrefixOperator @operator) => null;