Example #1
0
 public void PrependChild(Node child)
 {
     int r = cmark_node_prepend_child(pointer, child.pointer);
     Ensure.Success(r);
 }
Example #2
0
 public void InsertBefore(Node sibling)
 {
     int r = cmark_node_insert_before(pointer, sibling.pointer);
     Ensure.Success(r);
 }
Example #3
0
 public void InsertAfter(Node sibling)
 {
     int r = cmark_node_insert_after(pointer, sibling.pointer);
     Ensure.Success(r);
 }
Example #4
0
		public Node Finish()
		{
			return Node.Create(cmark_parser_finish(pointer));
		}
Example #5
0
 public void Reset(Node currentNode, cmark_event_type eventType)
 {
     cmark_iter_reset(pointer, currentNode.pointer, eventType);
 }
Example #6
0
 public Iterator(Node node)
     : this(cmark_iter_new(node.pointer))
 {
 }