ConfigurationStack constructor

ConfigurationStack(
  1. ParseTable prs
)

Implementation

ConfigurationStack(ParseTable prs) {
  this.prs = prs;

  state_element_size++;

  state_root = StateElement();
  state_root.parent = null;
  state_root.siblings = null;
  state_root.children = null;
  state_root.number = prs.getStartState();
}