private ProductionRuleTemplatePart(string name, TemplatePartExpectedSpecial specialExpectancy, IProductionRuleItem reference, int line, int column, long position) : base(column, line, position) { this.Name = name; this.specialExpectancy = specialExpectancy; this.expectedSpecific = reference; }
public ProductionRuleTemplatePart(string name, bool repeatSeries, TemplatePartExpectedSpecial specialExpectancy, int line, int column, long position) : base(column, line, position) { this.specialExpectancy = specialExpectancy; this.repeatSeries = repeatSeries; this.Name = name; this.RepeatOptions = repeatSeries ? ScannableEntryItemRepeatInfo.OneOrMore : ScannableEntryItemRepeatInfo.None; }