You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you need to do it through the node? It's available on the parse result, which is meant to funnel that kind of logic through that top-level interface. I was hoping to keep the fact that there is a source on the node/location as kind of opaque.
I'd have to put the parse results into the instance of Thing which seems cumbersome, or alternatively pass in the path/source buffer as well as the node (was hoping to avoid this).
I would like to access the source name, similar to how in the
parser
gem we can accessnode.source_buffer.name
which is usually the file path.Is that possible or can we make it possible? Maybe we can attach a name or some other metadata to the source object?
The text was updated successfully, but these errors were encountered: