Appearance
UnaryOpNode Class
Definition
Represents a unary operator expression such as !x, -x, or +x.
- Namespace:
JASE.Expressions.Models - Assembly:
JASE.Expressions.dll
Properties
| Name | Description |
|---|---|
Kind | Expresses the Kind of AstNode object |
Operand | Gets the expression operand to which the operator is applied. |
Operator | Gets the operator token (e.g., -, +, !). |
Remarks
Constructed by the parser whenever a unary operator token precedes an operand. Semantic behavior (numeric negation, logical negation, etc.) is implemented in the AstEvaluator.