Registry / utility / unparser

unparser

JSON →
library0.9.0rbrubygemsunverified

Generate equivalent source code for parser gem AST nodes.

gem install unparser
INSTALL
IMPORT
SIG · UNPARSER
U
unparser
utilityrubyv0.9.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Unparser
✓ require 'unparser'

Parse Ruby code and unparse the AST back to source.

require 'unparser' require 'parser/current' ast = Parser::CurrentRuby.parse('1 + 2') Unparser.unparse(ast) # => "1 + 2"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
16
Resources
unparser — gem install unparser · libregistry