|
private |
creates a unary for a factor eg: -(<factor>) or +(<factor>)
numbernode | factor to attach unary to (may be null if operatornode is not null) eg -(5) |
operatornode | expression to attach unary to (may be null if numbernode is not null) eg -(5 + 3) |
operationtype | unary type whether - or + |
nodetype | node type of the unary whether it is an expression or factor |