@@ -322,7 +322,17 @@ module Lxml {
322
322
/** Gets a reference to the `Element` class. */
323
323
API:: Node classRef ( ) { result = etreeRef ( ) .getMember ( [ "Element" , "_Element" ] ) }
324
324
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
+ */
325
334
abstract class InstanceSource instanceof API:: Node {
335
+ /** Gets a textual representation of this element. */
326
336
string toString ( ) { result = super .toString ( ) }
327
337
}
328
338
@@ -410,6 +420,7 @@ module Lxml {
410
420
411
421
/** Provides models for instances of the `lxml.etree.ElementTree` class. */
412
422
module ElementTree {
423
+ /** Gets a reference to the `ElementTree` class. */
413
424
API:: Node classRef ( ) { result = etreeRef ( ) .getMember ( [ "ElementTree" , "_ElementTree" ] ) }
414
425
415
426
/**
@@ -422,6 +433,7 @@ module Lxml {
422
433
* Use the predicate `ElementTree::instance()` to get references to instances of `lxml.etree.ElementTree` instances.
423
434
*/
424
435
abstract class InstanceSource instanceof API:: Node {
436
+ /** Gets a textual representation of this element. */
425
437
string toString ( ) { result = super .toString ( ) }
426
438
}
427
439
0 commit comments