public UnaryOperatorNode(string op, ExprNode expr, bool isPrefix, TokenLocation location) : base(location)
 {
     Expr     = expr;
     Operator = op;
     IsPrefix = isPrefix;
 }
Example #2
0
 public bool IsType(ExprNode n)
 {
     return(IsType(n.Type));
 }