Create a gist now

Instantly share code, notes, and snippets.

system ~/projects/jruby $ jirb
>> require 'jruby'
=> true
>> JRuby.parse 'def foo(a, b); puts a; a + b; end'
=> RootNode
NewlineNode
DefnNode |foo|
ArgsPreTwoArgNode
BlockNode
NewlineNode
FCallOneArgNode |puts|
ArrayNode
LocalVarNode |a| &0 >0
NewlineNode
CallOneArgNode |+|
LocalVarNode |a| &0 >0
ArrayNode
LocalVarNode |b| &1 >0
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment