Enum geo_aid::script::parser::UnaryOperator
source · pub enum UnaryOperator {
Neg(NegOp),
}Expand description
A unary operator, like -.
Variants§
Implementations§
source§impl UnaryOperator
impl UnaryOperator
sourcepub fn get_returned(&self, param: &Type) -> Type
pub fn get_returned(&self, param: &Type) -> Type
Gets the type that this operator returns.