target property

AstNode? get target

Return the node to which this continue statement is continuing.

This will be either a Statement (in the case of continuing a loop), a SwitchMember (in the case of continuing from one switch case to another), or null if the AST has not yet been resolved or if the target could not be resolved. Note that if the source code has errors, the target might be invalid (e.g. the target may be in an enclosing function).

Implementation

AstNode? get target;