mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Add missing qldoc and revert accidentilly commited threat model change
This commit is contained in:
@@ -322,7 +322,17 @@ module Lxml {
|
|||||||
/** Gets a reference to the `Element` class. */
|
/** Gets a reference to the `Element` class. */
|
||||||
API::Node classRef() { result = etreeRef().getMember(["Element", "_Element"]) }
|
API::Node classRef() { result = etreeRef().getMember(["Element", "_Element"]) }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A source of instances of `lxml.etree.Element` instances, extend this class to model new instances.
|
||||||
|
*
|
||||||
|
* This can include instantiations of the class, return values from function
|
||||||
|
* calls, or a special parameter that will be set when functions are called by an external
|
||||||
|
* library.
|
||||||
|
*
|
||||||
|
* Use the predicate `Element::instance()` to get references to instances of `lxml.etree.ElementTree` instances.
|
||||||
|
*/
|
||||||
abstract class InstanceSource instanceof API::Node {
|
abstract class InstanceSource instanceof API::Node {
|
||||||
|
/** Gets a textual representation of this element. */
|
||||||
string toString() { result = super.toString() }
|
string toString() { result = super.toString() }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -410,6 +420,7 @@ module Lxml {
|
|||||||
|
|
||||||
/** Provides models for instances of the `lxml.etree.ElementTree` class. */
|
/** Provides models for instances of the `lxml.etree.ElementTree` class. */
|
||||||
module ElementTree {
|
module ElementTree {
|
||||||
|
/** Gets a reference to the `ElementTree` class. */
|
||||||
API::Node classRef() { result = etreeRef().getMember(["ElementTree", "_ElementTree"]) }
|
API::Node classRef() { result = etreeRef().getMember(["ElementTree", "_ElementTree"]) }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -422,6 +433,7 @@ module Lxml {
|
|||||||
* Use the predicate `ElementTree::instance()` to get references to instances of `lxml.etree.ElementTree` instances.
|
* Use the predicate `ElementTree::instance()` to get references to instances of `lxml.etree.ElementTree` instances.
|
||||||
*/
|
*/
|
||||||
abstract class InstanceSource instanceof API::Node {
|
abstract class InstanceSource instanceof API::Node {
|
||||||
|
/** Gets a textual representation of this element. */
|
||||||
string toString() { result = super.toString() }
|
string toString() { result = super.toString() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,4 +4,3 @@ extensions:
|
|||||||
extensible: threatModelConfiguration
|
extensible: threatModelConfiguration
|
||||||
data:
|
data:
|
||||||
- ["default", true, -2147483648] # The "default" threat model is included by default
|
- ["default", true, -2147483648] # The "default" threat model is included by default
|
||||||
- ["all", true, 1]
|
|
||||||
Reference in New Issue
Block a user