https://github.com/LeagueToolkit/league-toolkit/pull/167#discussion_r3784228856 Proposed: - `ChildRange::tokens(cst: &Cst) -> impl Iterator<Item = Token>` - `ChildRange::nodes(cst: &Cst) -> impl Iterator<Item = Node>` - `ChildRange::first_token_of_kind(kind: TokenKind, cst: &Cst) -> Option<Token>` - `ChildRange::first_node_of_kind(kind: TreeKind, cst: &Cst) -> Option<Node>`
#167 (comment)
Proposed:
ChildRange::tokens(cst: &Cst) -> impl Iterator<Item = Token>ChildRange::nodes(cst: &Cst) -> impl Iterator<Item = Node>ChildRange::first_token_of_kind(kind: TokenKind, cst: &Cst) -> Option<Token>ChildRange::first_node_of_kind(kind: TreeKind, cst: &Cst) -> Option<Node>