Пример #1
0
		public PegNode(PegNode parent, int id, PegBegEnd match)
			: this(parent, id, match, null, null)
		{ }
Пример #2
0
		public PegNode(PegNode parent, int id, PegBegEnd match, PegNode child, PegNode next)
		{
			parent_ = parent; id_ = id; child_ = child; next_ = next;
			match_ = match;
		}
Пример #3
0
		public PegNode(PegNode parent, int id, PegBegEnd match, PegNode child)
			: this(parent, id, match, child, null)
		{
		}
Пример #4
0
		public bool Into(Matcher toMatch, out PegBegEnd begEnd)
		{
			begEnd.posBeg_ = pos_;
			bool bMatches = toMatch();
			begEnd.posEnd_ = pos_;
			return bMatches;
		}