State¶
Class · class State: object ·
Source
Synchronises vocabulary with an observed property condition.
Audience: author
Superclass: object
Declared members¶
- applies — method; And a further condition, for a class only some of whose instances have it.
- appliesTo — property; internal
- item — property; Whose condition this is.
- noteWord — method; internal
- said — property; What it last wrote, so a change takes the old word away again.
- saidFor — property; The same, per thing, when the state covers a whole class.
- saidItems — property; internal
- watches — property; The property it watches, as an address:
&isSharpened. - whenFalse — property; internal
- whenTrue — property; The adjective it answers to when that property is true, and when not. Either may be nil, for a condition only one side of which has a word.
- wordFor — method; What this state last wrote for one thing.
- wordNow — method; The adjective this state gives that thing as it stands, or nil.
Member details¶
applies¶
applies(it) · Source
And a further condition, for a class only some of whose instances have it.
appliesTo¶
appliesTo = nil · Source
Internal implementation detail; no supported authoring contract is documented.
item¶
item = nil · Source
Whose condition this is.
noteWord¶
noteWord(it, word) · Source
Internal implementation detail; no supported authoring contract is documented.
said¶
said = nil · Source
What it last wrote, so a change takes the old word away again.
saidFor¶
saidFor = [] · Source
The same, per thing, when the state covers a whole class.
saidItems¶
saidItems = [] · Source
Internal implementation detail; no supported authoring contract is documented.
watches¶
watches = nil · Source
The property it watches, as an address: &isSharpened.
whenFalse¶
whenFalse = nil · Source
Internal implementation detail; no supported authoring contract is documented.
whenTrue¶
whenTrue = nil · Source
The adjective it answers to when that property is true, and when not. Either may be nil, for a condition only one side of which has a word.
wordFor¶
wordFor(it) · Source
What this state last wrote for one thing.
wordNow¶
wordNow(it) · Source
The adjective this state gives that thing as it stands, or nil.