Guest User

Untitled

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