Beispiel #1
0
 /// <summary>
 /// Update the TreeBuilder used when parsing content.
 /// </summary>
 /// <param name="treeBuilder">Current TreeBuilder</param>
 /// <returns>this, for chaining</returns>
 public Parser TreeBuilder(TreeBuilder treeBuilder)
 {
     this._treeBuilder = treeBuilder;
     return(this);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new Parser, using the specified TreeBuilder
 /// </summary>
 /// <param name="treeBuilder">TreeBuilder to use to parse input into Documents.</param>
 private Parser(TreeBuilder treeBuilder)
 {
     this._treeBuilder = treeBuilder;
 }