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