Constructors
Properties
FieldIn
#Gets the filter string for field content. This may be a straight up name, or a wildcard expression.
FieldOut
#Gets the name to assign to the cell. If null, it indicates the cell content is to be left unmolested.
IsTerminal
#Gets whether this instruction represents the final one, after which there will be no more changes to the sheet. A terminal instruction has zero movement and leaves both the state and the current field intact.
StateIn
#Gets the filter string for states. This can be a straight up name, or a wildcard expression.
StateOut
#Gets the name of the state the machine is left in after this instruction completes. If null, it indicates the state is to be left unmolested.
Methods
MatchesField
#Gets whether this instruction matches the given field.
Parameters:
| field (string) | Field to match. |
Returns: True if the field is covered by this instruction.
MatchesState
#Gets whether this instruction matches the given state.
Parameters:
| state (string) | State to match. |
Returns: True if the state is covered by this instruction.
TryParse
#Try to parse a turing instruction from a descriptive string.
Parameters:
| description (string) | |
| instruction (out Turing.Instruction) |
Convertors
| Operation | Result | Description | ||
|---|---|---|---|---|
| implicit | string | Turing.Instruction | Convert a valid description into an instruction. | |