target property

AstNode? get target

The node to which this continue statement is continuing, or null if the AST hasn't yet been resolved or if the target couldn't be resolved.

This is either a Statement (in the case of continuing a loop), or a SwitchMember (in the case of continuing from one switch case to another).

Note that if the source code has errors, the target might be invalid. For example, the target might be in an enclosing function.

Implementation

AstNode? get target;