static Parser parser ( Node node ) { Document doc = node . ownerDocument ( ) ; return doc != null && doc . parser ( ) != null ? doc . parser ( ) : new Parser ( new HtmlTreeBuilder ( ) ) ; }
Get the parser that was used to make this node or the default HTML parser if it has no parent .