Beispiel #1
0
 internal ItemElement(GrammarBuilderBase builder, int minRepeat, int maxRepeat)
 {
     if (builder != null)
     {
         Add(builder);
     }
     _minRepeat = minRepeat;
     _maxRepeat = maxRepeat;
 }
 internal void Add(GrammarBuilderBase item)
 {
     _rule.Add(item);
 }
Beispiel #3
0
 internal TagElement(GrammarBuilderBase builder, object value)
     : this(value)
 {
     Add(builder);
 }
Beispiel #4
0
 internal ItemElement(GrammarBuilderBase builder)
     : this(builder, 1, 1)
 {
 }
Beispiel #5
0
 internal RuleElement(GrammarBuilderBase builder, string name)
     : this(name)
 {
     Add(builder);
 }