mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
delete old deprecations
This commit is contained in:
@@ -2,27 +2,18 @@ import python
|
||||
|
||||
abstract class XmlBytecodeExpr extends XmlElement { }
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeExpr */
|
||||
deprecated class XMLBytecodeExpr = XmlBytecodeExpr;
|
||||
|
||||
class XmlBytecodeConst extends XmlBytecodeExpr {
|
||||
XmlBytecodeConst() { this.hasName("BytecodeConst") }
|
||||
|
||||
string get_value_data_raw() { result = this.getAChild("value").getTextValue() }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeConst */
|
||||
deprecated class XMLBytecodeConst = XmlBytecodeConst;
|
||||
|
||||
class XmlBytecodeVariableName extends XmlBytecodeExpr {
|
||||
XmlBytecodeVariableName() { this.hasName("BytecodeVariableName") }
|
||||
|
||||
string get_name_data() { result = this.getAChild("name").getTextValue() }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeVariableName */
|
||||
deprecated class XMLBytecodeVariableName = XmlBytecodeVariableName;
|
||||
|
||||
class XmlBytecodeAttribute extends XmlBytecodeExpr {
|
||||
XmlBytecodeAttribute() { this.hasName("BytecodeAttribute") }
|
||||
|
||||
@@ -31,9 +22,6 @@ class XmlBytecodeAttribute extends XmlBytecodeExpr {
|
||||
XmlBytecodeExpr get_object_data() { result.getParent() = this.getAChild("object") }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeAttribute */
|
||||
deprecated class XMLBytecodeAttribute = XmlBytecodeAttribute;
|
||||
|
||||
class XmlBytecodeSubscript extends XmlBytecodeExpr {
|
||||
XmlBytecodeSubscript() { this.hasName("BytecodeSubscript") }
|
||||
|
||||
@@ -42,9 +30,6 @@ class XmlBytecodeSubscript extends XmlBytecodeExpr {
|
||||
XmlBytecodeExpr get_object_data() { result.getParent() = this.getAChild("object") }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeSubscript */
|
||||
deprecated class XMLBytecodeSubscript = XmlBytecodeSubscript;
|
||||
|
||||
class XmlBytecodeTuple extends XmlBytecodeExpr {
|
||||
XmlBytecodeTuple() { this.hasName("BytecodeTuple") }
|
||||
|
||||
@@ -53,9 +38,6 @@ class XmlBytecodeTuple extends XmlBytecodeExpr {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeTuple */
|
||||
deprecated class XMLBytecodeTuple = XmlBytecodeTuple;
|
||||
|
||||
class XmlBytecodeList extends XmlBytecodeExpr {
|
||||
XmlBytecodeList() { this.hasName("BytecodeList") }
|
||||
|
||||
@@ -64,27 +46,18 @@ class XmlBytecodeList extends XmlBytecodeExpr {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeList */
|
||||
deprecated class XMLBytecodeList = XmlBytecodeList;
|
||||
|
||||
class XmlBytecodeCall extends XmlBytecodeExpr {
|
||||
XmlBytecodeCall() { this.hasName("BytecodeCall") }
|
||||
|
||||
XmlBytecodeExpr get_function_data() { result.getParent() = this.getAChild("function") }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeCall */
|
||||
deprecated class XMLBytecodeCall = XmlBytecodeCall;
|
||||
|
||||
class XmlBytecodeUnknown extends XmlBytecodeExpr {
|
||||
XmlBytecodeUnknown() { this.hasName("BytecodeUnknown") }
|
||||
|
||||
string get_opname_data() { result = this.getAChild("opname").getTextValue() }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeUnknown */
|
||||
deprecated class XMLBytecodeUnknown = XmlBytecodeUnknown;
|
||||
|
||||
class XmlBytecodeMakeFunction extends XmlBytecodeExpr {
|
||||
XmlBytecodeMakeFunction() { this.hasName("BytecodeMakeFunction") }
|
||||
|
||||
@@ -93,14 +66,8 @@ class XmlBytecodeMakeFunction extends XmlBytecodeExpr {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlBytecodeMakeFunction */
|
||||
deprecated class XMLBytecodeMakeFunction = XmlBytecodeMakeFunction;
|
||||
|
||||
class XmlSomethingInvolvingScaryBytecodeJump extends XmlBytecodeExpr {
|
||||
XmlSomethingInvolvingScaryBytecodeJump() { this.hasName("SomethingInvolvingScaryBytecodeJump") }
|
||||
|
||||
string get_opname_data() { result = this.getAChild("opname").getTextValue() }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlSomethingInvolvingScaryBytecodeJump */
|
||||
deprecated class XMLSomethingInvolvingScaryBytecodeJump = XmlSomethingInvolvingScaryBytecodeJump;
|
||||
|
||||
@@ -57,9 +57,6 @@ class XmlRecordedCall extends XmlElement {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlRecordedCall */
|
||||
deprecated class XMLRecordedCall = XmlRecordedCall;
|
||||
|
||||
/** The XML data for the call part a recorded call. */
|
||||
class XmlCall extends XmlElement {
|
||||
XmlCall() { this.hasName("Call") }
|
||||
@@ -110,15 +107,9 @@ class XmlCall extends XmlElement {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlCall */
|
||||
deprecated class XMLCall = XmlCall;
|
||||
|
||||
/** The XML data for the callee part a recorded call. */
|
||||
abstract class XmlCallee extends XmlElement { }
|
||||
|
||||
/** DEPRECATED: Alias for XmlCallee */
|
||||
deprecated class XMLCallee = XmlCallee;
|
||||
|
||||
/** The XML data for the callee part a recorded call, when the callee is a Python function. */
|
||||
class XmlPythonCallee extends XmlCallee {
|
||||
XmlPythonCallee() { this.hasName("PythonCallee") }
|
||||
@@ -140,9 +131,6 @@ class XmlPythonCallee extends XmlCallee {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlPythonCallee */
|
||||
deprecated class XMLPythonCallee = XmlPythonCallee;
|
||||
|
||||
/** The XML data for the callee part a recorded call, when the callee is a C function or builtin. */
|
||||
class XmlExternalCallee extends XmlCallee {
|
||||
XmlExternalCallee() { this.hasName("ExternalCallee") }
|
||||
@@ -161,9 +149,6 @@ class XmlExternalCallee extends XmlCallee {
|
||||
}
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for XmlExternalCallee */
|
||||
deprecated class XMLExternalCallee = XmlExternalCallee;
|
||||
|
||||
/**
|
||||
* Helper predicate. If parent = `builtins` and qualname = `list.append`, it will
|
||||
* return the result of `builtins.list.append`.class
|
||||
|
||||
Reference in New Issue
Block a user