Beispiel #1
0
 protected override ConfigState Reduce_RuleList_1(ConfigState ruleListSeg, ConfigRule ruleSeg)
 {
     ruleListSeg.Rules.Add(ruleSeg);
     return(ruleListSeg);
 }
Beispiel #2
0
 protected override ConfigState Reduce_State_1(ConfigToken labelSeg, ConfigState ruleListSeg)
 {
     ruleListSeg.Label = labelSeg;
     return(ruleListSeg);
 }
Beispiel #3
0
 protected override Config Reduce_Config_1(Config configSeg, ConfigState stateSeg)
 {
     configSeg.States.Add(stateSeg);
     return(configSeg);
 }