Guest User

Untitled

a guest
Mar 18th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. class Binary extends Expression {
  2. constructor(left, operator, right) {
  3. super()
  4. this.left = left
  5. this.operator = operator
  6. this.right = right
  7. }
  8.  
  9. handle(visitor) {
  10. return visitor.visitBinaryExpression(this)
  11. }
  12. }
Add Comment
Please, Sign In to add comment