tAction method

int tAction(
  1. int act,
  2. List<int> sym,
  3. int index
)

Implementation

int tAction(int act, List<int> sym, int index) {
  act = prs.tAction(act, sym[index]);
  while (act > LA_STATE_OFFSET) {
    index = ((index + 1) % sym.length);
    act = prs.lookAhead(act - LA_STATE_OFFSET, sym[index]);
  }

  return act;
}