FunctionExpression class
Constructors
-
FunctionExpression(List<
SimpleFormalParameter?> ? parameterList, BlockStatement? body, {bool? isAsync = false, Map? ast})
Properties
- body ↔ BlockStatement?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAsync ↔ bool?
-
是否异步函数
getter/setter pair
-
parameterList
↔ List<
SimpleFormalParameter?> ? -
函数参数
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAst(
) → Map? -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromAst(
Map? ast) → FunctionExpression?