findNode method

AstNode? findNode(
  1. int offset
)

Returns the AstNode that encloses the given offset.

Implementation

AstNode? findNode(int offset) => _unit.nodeCovering(offset: offset);