A cycle resolution instance this input corresponds to.
Returns the same result as calling CycleResolution.resolve on this input instance
This method sets the KeepIfPossible flag for the specified variable.
This method sets the HasPreviousValue flag for the specified variable.
This method sets the HasProposedValue flag for the specified variable.
This method, given an effect handler, identifier and a variable, will add previous value and proposed value flags for that variable.
An effect handler function, which is given as a 1st argument of every calculation function
This method applies its 1st argument (if any) to the current instance using Object.assign()
.
Supposed to be overridden in the subclasses to customize the instance creation process.
This is a type-safe static constructor method, accepting a single argument, with the object, corresponding to the class properties. It will generate a compilation error, if unknown property is provided.
For example:
class MyClass extends Base {
prop : string
}
const instance : MyClass = MyClass.new({ prop : 'prop', wrong : 11 })
will produce:
TS2345: Argument of type '{ prop: string; wrong: number; }' is not assignable to parameter of type 'Partial<MyClass>'.
Object literal may only specify known properties, and 'wrong' does not exist in type 'Partial<MyClass>'
The only thing this constructor does is create an instance and call the initialize method on it, forwarding the first argument. The customization of instance is supposed to be performed in that method.
Generated using TypeDoc
A subclass of CycleResolutionInput with additional convenience method collectInfo.