Skip to content

Instantly share code, notes, and snippets.

@chrisseaton
Created April 2, 2014 16:18
Show Gist options
  • Save chrisseaton/9937408 to your computer and use it in GitHub Desktop.
Save chrisseaton/9937408 to your computer and use it in GitHub Desktop.
AST:
RootNode 0
BlockNode 0
NewlineNode 0
DefnNode:foo 0
ArgumentNode:foo 0
ArgsPreOneArgNode 0
ArrayNode 0
ArgumentNode:a 0
NewlineNode 1
YieldOneNode 1
ArrayNode 1
LocalVarNode:a 1
NewlineNode 4
FCallOneArgBlockNode:foo 4
ArrayNode 4
ArrayNode 4
FixnumNode 4
FixnumNode 4
IterNode 4
ArgsNode 4
ArrayNode 4
MultipleAsgn19Node 4
ArrayNode 4
DAsgnNode:b 4
DAsgnNode:c 4
, null, null
BlockNode 5
NewlineNode 5
FCallOneArgNode:p 5
ArrayNode 5
DVarNode:b 5
, null
NewlineNode 6
FCallOneArgNode:p 6
ArrayNode 6
DVarNode:c 6
, null
NewlineNode 9
FCallOneArgNode:puts 9
ArrayNode 9
CallNoArgNode:parse_tree 9
ConstNode:Debug 9
, null, null
, null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment