2 *new { ^this.shouldNotImplement(thisMethod) }
3 xor { arg bool; ^(this === bool).not }
4 if { ^this.subclassResponsibility(thisMethod) }
5 not { ^this.subclassResponsibility(thisMethod) }
6 && { ^this.subclassResponsibility(thisMethod) }
7 || { ^this.subclassResponsibility(thisMethod) }
8 and { ^this.subclassResponsibility(thisMethod) }
9 or { ^this.subclassResponsibility(thisMethod) }
10 nand { ^this.subclassResponsibility(thisMethod) }
11 asInteger { ^this.subclassResponsibility(thisMethod) }
12 binaryValue { ^this.subclassResponsibility(thisMethod) } // TODO: deprecate for asInteger
15 booleanValue { ^this } // TODO in the long-run, deprecate for asBoolean
18 // turn on/off warnings if a keyword argument is not found
21 trace { _Trace } // this is only available in a special debugging version of the app
24 stream.putAll(this.asString);
27 stream.putAll(this.asCompileString);
29 archiveAsCompileString { ^true }
32 ^"While was called with a fixed (unchanging) Boolean as the condition. Please supply a Function instead.".error
37 if { arg trueFunc, falseFunc; ^trueFunc.value }
39 && { arg that; ^that.value }
40 || { arg that; ^this }
41 and { arg that; ^that.value }
42 or { arg that; ^this }
43 nand { arg that; ^that.value.not }
45 binaryValue { ^1 } // TODO in the long-run, deprecate for asInteger
49 if { arg trueFunc, falseFunc; ^falseFunc.value }
51 && { arg that; ^this }
52 || { arg that; ^that.value }
53 and { arg that; ^this }
54 or { arg that; ^that.value }
55 nand { arg that; ^true }
57 binaryValue { ^0 } // TODO in the long-run, deprecate for asInteger