Guest User

Untitled

a guest
Oct 22nd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. { nodeType: 'Program',
  2. block:
  3. { nodeType: 'Block',
  4. statements:
  5. [ { nodeType: 'ConcatOp',
  6. left:
  7. { nodeType: 'ConcatOp',
  8. left: { nodeType: 'String', data: 'a' },
  9. right: { nodeType: 'Identifier', data: 'b' } },
  10. right: { nodeType: 'String', data: 'cdef' } } ] } }
  11.  
  12. -- basically, it grows to the left
  13.  
  14. concat
  15. / \
  16. concat "cdef"
  17. / \
  18. "a" b
Add Comment
Please, Sign In to add comment