internal static UnaryOp CreateUnaryOp03() { Token type = Token.BitwiseNot; UnaryOp unaryOp = UnaryOp.CreateOp(type); return(unaryOp); }
internal static UnaryOp CreateUnaryOp01() { Token type = Token.ArithmeticFirst; UnaryOp unaryOp = UnaryOp.CreateOp(type); return(unaryOp); }
internal static UnaryOp CreateUnaryOp02() { Token type = Token.BooleanNot; UnaryOp unaryOp = UnaryOp.CreateOp(type); return(unaryOp); }
internal static Expression CreateExpression02() { Token type = Token.BooleanNot; Expression expression = UnaryOp.CreateOp(type); return(expression); }
void ParseUnaryOp() { Token token = this.PeekToken(); this.CheckStartableToken(token); UnaryOp uo = UnaryOp.CreateOp(_current.token); _tree.AddOperator(uo); }