ParseTree

rubygemsv3.0.9

ParseTree is a C extension (using RubyInline) that extracts the parse tree for an entire class or a specific method and returns it as a s-expression (aka sexp) using ruby's arrays, strings, symbols, and integers. As an example: def conditional1(arg1) if arg1 == 0 then return 1 end return 0 end becomes: [:defn, :conditional1, [:scope, [:block, [:args, :arg1], [:if, [:call, [:lvar, :arg1], :==, [:array, [:lit, 0]]], [:return, [:lit

20 versions2 deps91,051 weekly dl
seattlerb/parsetree
44
/ 100
Health
safe to use

[email protected] is safe to use (health: 44/100)

Health breakdown0 – 100
0/25
maintenance
10/20
popularity
25/25
security
9/15
maturity
0/15
community
Vulnerabilities
0
none known

Health History

Dependency Tree

License Audit

Dependencies (2)
API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/rubygems/ParseTree

Last updated · 2012-05-01T23:39:27.004Z