Contains standard libraries for ZenCode.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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. }