Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

1.0.0-beta+1

Compare
Choose a tag to compare
@matanlurey matanlurey released this 11 Jan 18:16
· 237 commits to master since this release

1.0.0-beta+1

  • Add support for switch statements
  • Add support for a raw expression and statement
    • new ExpressionBuilder.raw(...)
    • new StatemnetBuilder.raw(...)

This should help cover any cases not covered with builders today.

  • Allow referring to a ClassBuilder and TypeBuilder as an expression
  • Add support for accessing the index [] operator on an expression

BREAKING CHANGES

  • Changed ExpressionBuilder.asAssign to always take an ExpressionBuilder as
    target and removed the value property. Most changes are pretty simple, and
    involve just using reference(...). For example:
literal(true).asAssign(reference('flag'))

... emits flag = true.