AstNodeExtension extension
- on
-
- AstNode?
Properties
- findComponentExpression → Expression?
-
Available on AstNode?, provided by the AstNodeExtension extension
Attempts to find and return the closest expression that encloses this and is an independent NoctermComponent.no setter - findInstanceCreationExpression → InstanceCreationExpression?
-
Available on AstNode?, provided by the AstNodeExtension extension
Returns the instance creation expression that surrounds this node, if any, and otherwisenull.no setter - isComponentExpression → bool
-
Available on AstNode?, provided by the AstNodeExtension extension
Whether thisAstNodeis the Nocterm classComponent, or its subtype.no setter
Methods
-
findArgumentNamed(
String name) → NamedExpression? -
Available on AstNode?, provided by the AstNodeExtension extension
Finds the named expression whose name is the givennamethat is an argument to a nocterm instance creation expression.