AstNodeExtension extension

on
Annotations
  • @Deprecated('Use the method defined on `CompilationUnit` instead.')

Methods

nodeCovering({required int offset, int length = 0}) AstNode?

Available on AstNode, provided by the AstNodeExtension extension

Returns the minimal covering node for the range of characters beginning at the offset with the given length.