Exemplo n.º 1
0
 internal AbstractAction(StateAction <TState> parent)
 {
     Parent = parent;
 }
Exemplo n.º 2
0
 internal ConditionalAction(StateAction <TState> action, ConditionalDelegate?predicate = null)
 {
     Action    = action;
     Predicate = predicate ?? (enumerator => true);
 }
Exemplo n.º 3
0
 internal SetWhiteSpaceAction(StateAction <TState> parent, WhiteSpacePosition position, WhiteSpaceMode mode) : base(parent)
 {
     Position = position;
     Mode     = mode;
 }
Exemplo n.º 4
0
 internal SetAction(StateAction <TState> parent, string name, Type type, object?value) : base(parent)
 {
     Name  = name;
     Type  = type;
     Value = value;
 }
Exemplo n.º 5
0
 internal AccumulateAction(StateAction <TState> parent, TokenType?seperator = default) : base(parent)
 {
     Seperator = seperator;
 }
Exemplo n.º 6
0
 internal IgnoreAction(StateAction <TState> parent) : base(parent)
 {
 }
Exemplo n.º 7
0
 internal ThrowAction(StateAction <TState> parent, Exception?exception = null) : base(parent)
 {
     Exception = exception ?? new NotImplementedException();
 }
Exemplo n.º 8
0
 internal ReturnStateAction(StateAction <TState> parent, bool result) : base(parent)
 {
     Result = result;
 }
Exemplo n.º 9
0
 internal MoveToStateAction(StateAction <TState> parent, TState nextState) : base(parent)
 {
     NextState = nextState;
 }