- Timestamp:
- 10/18/13 21:33:56 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.GPDL/HeuristicLab.Problems.GPDL/3.4/AST.cs
r9842 r10067 118 118 public string NtSymbol { get; set; } 119 119 public string LocalCode { get; set; } 120 public RuleExprNode RuleExpr{ get; set; }120 public AlternativesNode Alternatives { get; set; } 121 121 } 122 122 … … 124 124 125 125 public class AlternativesNode : RuleExprNode { 126 private List< RuleExprNode> alt;127 public IEnumerable< RuleExprNode> Alternatives { get { return alt; } }126 private List<SequenceNode> alt; 127 public IEnumerable<SequenceNode> Alternatives { get { return alt; } } 128 128 public AlternativesNode() { 129 this.alt = new List< RuleExprNode>();129 this.alt = new List<SequenceNode>(); 130 130 } 131 public void Add( RuleExprNode expr) {131 public void Add(SequenceNode expr) { 132 132 alt.Add(expr); 133 133 }
Note: See TracChangeset
for help on using the changeset viewer.