Skip to content
instance method

Prism::ParseResult::Comments#attach!

attach!

Attach the comments to their respective locations in the tree by mutating the parse result.

See also .new #nearest_targets also in 3.4 · 3.3