PrefixExpression class

A prefix unary expression.

prefixExpression ::= Token AstNode

Implemented types

Constructors

PrefixExpression(AstRuntimeNode? argument, String? operator, bool? prefix)

Properties

argument AstRuntimeNode?
操作的变量名称
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
operator String?
操作符
getter/setter pair
prefix bool?
是否操作符前置
getter/setter pair
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromAst(Map? ast) PrefixExpression?