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