Skip to content

Instantly share code, notes, and snippets.

@nitin42
Last active March 9, 2018 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nitin42/382657f90d7121a98a20da516fcb61e1 to your computer and use it in GitHub Desktop.
Save nitin42/382657f90d7121a98a20da516fcb61e1 to your computer and use it in GitHub Desktop.
class Literal extends Expression {
constructor(value) {
super()
this.value = value
}
handle(visitor) {
return visitor.visitLiteralExpression(this)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment