Link() приватный Метод

private Link ( Conflict conflict ) : void
conflict Conflict
Результат void
Пример #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);
 }