class Prism::Relocation::TrailingCommentsField

A field representing the trailing comments.

Public Instance Methods

fields(value) click to toggle source

Fetches the trailing comments of a value.

# File prism/relocation.rb, line 345
def fields(value)
  { trailing_comments: comments(value.trailing_comments) }
end