Beispiel #1
0
 public Impl(Conditional definition, IReadOnlyList <byte[]> tokens, TokenTrie trie, string id)
 {
     _trie       = trie;
     _definition = definition;
     Tokens      = tokens;
     _id         = id;
 }
Beispiel #2
0
 public Impl(Conditional definition, IReadOnlyList <IToken> tokens, ITokenTrie trie, string id, bool initialState)
 {
     _trie            = trie;
     _definition      = definition;
     Tokens           = tokens;
     _id              = id;
     IsInitialStateOn = string.IsNullOrEmpty(id) || initialState;
 }