public Rule(RuleType ruleType, bool optionalFlag, Lexer.LexmeType type) { Type = ruleType; Optional = optionalFlag; Types.Add(type); MatchType = RuleMatchType.ByType; Reset(); }
public Rule(bool optionalFlag, Lexer.LexmeType type) : this(RuleType.ValidateOnMatch, optionalFlag, type) { }