ASTConstructorParameterDeclaration<T> class
- Inheritance
-
- Object
- ASTParameterDeclaration
- ASTConstructorParameterDeclaration
Constructors
Properties
-
children
→ Iterable<
ASTNode> -
The children nodes of this node.
no setterinherited
- defaultValue ↔ ASTExpression?
-
The default-value expression used when this parameter is omitted at the
call site (optional/named parameters only), e.g.
int a = 5.nullwhen the parameter has no default. Set by the parser after construction.getter/setter pairinherited -
descendantChildren
→ List<
ASTNode> -
Return the children and it's descendant children (unmodifiable).
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
final
- name → String
-
finalinherited
- optional → bool
-
final
- parentNode → ASTNode?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thisParameter → bool
-
final
- type → ASTType
-
no setterinherited
Methods
-
associateToType(
ASTTypedNode node) → void -
inherited
-
cacheDescendantChildren(
) → void -
Mark that this node can cache its descendantChildren.
inherited
-
getNodeIdentifier(
String name, {ASTNode? requester}) → ASTNode? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveDefaultValue(
VMContext context) → FutureOr< ASTValue?> -
Resolves this parameter's defaultValue to a value in
context, ornullwhen there is no default.inherited -
resolveNode(
ASTNode? parentNode) → void -
override
-
resolveRuntimeType(
VMContext context, ASTNode? node) → FutureOr< ASTType> -
inherited
-
resolveType(
VMContext? context) → FutureOr< ASTType> -
inherited
-
toASTFunctionParameterDeclaration(
) → ASTFunctionParameterDeclaration -
toString(
) → String -
A string representation of this object.
inherited
-
toValue(
VMContext context, Object? v) → FutureOr< ASTValue?> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited