@@ -322,7 +322,17 @@ module Lxml {
322322 /** Gets a reference to the `Element` class. */
323323 API:: Node classRef ( ) { result = etreeRef ( ) .getMember ( [ "Element" , "_Element" ] ) }
324324
325+ /**
326+ * A source of instances of `lxml.etree.Element` instances, extend this class to model new instances.
327+ *
328+ * This can include instantiations of the class, return values from function
329+ * calls, or a special parameter that will be set when functions are called by an external
330+ * library.
331+ *
332+ * Use the predicate `Element::instance()` to get references to instances of `lxml.etree.ElementTree` instances.
333+ */
325334 abstract class InstanceSource instanceof API:: Node {
335+ /** Gets a textual representation of this element. */
326336 string toString ( ) { result = super .toString ( ) }
327337 }
328338
@@ -410,6 +420,7 @@ module Lxml {
410420
411421 /** Provides models for instances of the `lxml.etree.ElementTree` class. */
412422 module ElementTree {
423+ /** Gets a reference to the `ElementTree` class. */
413424 API:: Node classRef ( ) { result = etreeRef ( ) .getMember ( [ "ElementTree" , "_ElementTree" ] ) }
414425
415426 /**
@@ -422,6 +433,7 @@ module Lxml {
422433 * Use the predicate `ElementTree::instance()` to get references to instances of `lxml.etree.ElementTree` instances.
423434 */
424435 abstract class InstanceSource instanceof API:: Node {
436+ /** Gets a textual representation of this element. */
425437 string toString ( ) { result = super .toString ( ) }
426438 }
427439
0 commit comments