parslet
parslet copied to clipboard
Toggle off additional info?
Hallo!
Since version 2 (I believe) what used to get output as e.g.
{"unlock_item"=>{"target"=>{"word"=>"chest"}}}
(using .as()
)
is now:
{"unlock_item"=>{"target"=>{"word"=>{"line_cache"=>{"last_line_end"=>nil, "line_ends"=>[]}, "position"=>{"bytepos"=>7, "string"=>"unlock chest"}, "str"=>"chest"}}}}
Is there any way to remove that additional info? line_cache, etc.
Could you give me something executable to see the difference for myself?