Registry / utility / parsetree

parsetree

JSON →
library3.0.9rbrubygemsunverified

Extracts the parse tree for a class or method and returns it as an s-expression using Ruby arrays, strings, symbols, and integers.

gem install ParseTree
INSTALL
IMPORT
SIG · PARSETREE
P
parsetree
utilityrubyv3.0.9
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.

ParseTree
require 'parsetree'

Extract parse tree for a method

require 'parsetree' require 'parse_tree' # Example usage (requires RubyInline): # pt = ParseTree.new # sexp = pt.parse_tree_for_method(SomeClass, :method_name)
Debug
Known issues
gotchaRequires RubyInline and a C compiler to build the C extension.
fix
Ensure RubyInline is installed and a C compiler is available.
affects: >= 3.0.0
Upgrade
Version history
3.0.9latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
parsetree — gem install parsetree · libregistry