示例#1
0
 internal ReduceReduceConflict(Terminal sy, string s1, string s2, int prod, AutomatonState state)
     : base(sy, s1, s2)
 {
     chosen  = prod;
     inState = state;
     state.Link(this);
 }
示例#2
0
 internal ShiftReduceConflict(Terminal sy, string s1, string s2, AutomatonState from, AutomatonState to)
     : base(sy, s1, s2)
 {
     fromState = from; toState = to;
     fromState.Link(this);
 }