UnaryExpressionNode class
A prefix or postfix unary expression (-a, !b, c++, d--).
- Inheritance
-
- Object
- DartNode
- ExpressionNode
- UnaryExpressionNode
Constructors
- UnaryExpressionNode({required String operator, required ExpressionNode operand, bool isPrefix = true})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPrefix → bool
-
final
- operand → ExpressionNode
-
final
- operator → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited