Contains standard libraries for ZenCode.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ImmutableLiveBool.zs 385B

12345678910111213141516
  1. import listeners.DummyListenerHandle;
  2. export class ImmutableLiveBool {
  3. public const TRUE = new ImmutableLiveBool(true);
  4. public const FALSE = new ImmutableLiveBool(false);
  5. val value as bool : get;
  6. private this(value as bool) {
  7. this.value = value;
  8. }
  9. public implements LiveBool {
  10. addListener(listener) => new DummyListenerHandle<LiveBool.Listener>`unique(listener);
  11. }
  12. }