Beispiel #1
0
 public ContainerParseRule(ParseMatchType matchType, LexResultValidator validator)
     : this(matchType, validator, new List <IParseRule>())
 {
     return;
 }
Beispiel #2
0
 public ContainerParseRule(ParseMatchType matchType, LexMatchType lexMatchType)
     : this(matchType, l => l.MatchType == lexMatchType, new List <IParseRule>())
 {
     return;
 }
Beispiel #3
0
 public ContainerParseRule(ParseMatchType matchType, LexResultValidator validator, ICollection <IParseRule> parseRules)
 {
     _parseRules = parseRules;
     MatchType   = matchType;
     Validator   = validator;
 }