Skip to content

Instantly share code, notes, and snippets.

@WimJongeneel
Last active December 30, 2019 11:59
Show Gist options
  • Save WimJongeneel/081961c2a01d656aeae4e8f02e478790 to your computer and use it in GitHub Desktop.
Save WimJongeneel/081961c2a01d656aeae4e8f02e478790 to your computer and use it in GitHub Desktop.
class ExprBuilder {
constructor(protected currentAst: Expr) { }
equals(v: any) {
return new ExprBuilder((createBinaryExpression('==', this.currentAst, createValExpression(v))))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment