public PegNode(PegNode parent, int id, PegBegEnd match) : this(parent, id, match, null, null) { }
public PegNode(PegNode parent, int id, PegBegEnd match, PegNode child, PegNode next) { parent_ = parent; id_ = id; child_ = child; next_ = next; match_ = match; }
public PegNode(PegNode parent, int id, PegBegEnd match, PegNode child) : this(parent, id, match, child, null) { }
public bool Into(Matcher toMatch, out PegBegEnd begEnd) { begEnd.posBeg_ = pos_; bool bMatches = toMatch(); begEnd.posEnd_ = pos_; return bMatches; }