File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
python/ql/src/semmle/python/objects Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -410,6 +410,7 @@ abstract class FunctionValue extends CallableValue {
410410
411411}
412412
413+ /** Class representing Python functions */
413414class PythonFunctionValue extends FunctionValue {
414415
415416 PythonFunctionValue ( ) {
@@ -422,6 +423,7 @@ class PythonFunctionValue extends FunctionValue {
422423
423424}
424425
426+ /** Class representing builtin functions, such as `len` or `print` */
425427class BuiltinFunctionValue extends FunctionValue {
426428
427429 BuiltinFunctionValue ( ) {
@@ -434,6 +436,7 @@ class BuiltinFunctionValue extends FunctionValue {
434436
435437}
436438
439+ /** Class representing builtin methods, such as `list.append` or `set.add` */
437440class BuiltinMethodValue extends FunctionValue {
438441
439442 BuiltinMethodValue ( ) {
@@ -450,6 +453,8 @@ class BuiltinMethodValue extends FunctionValue {
450453
451454}
452455
456+ /** A class representing sequence objects with a length and tracked items.
457+ */
453458class SequenceValue extends Value {
454459
455460 SequenceValue ( ) {
@@ -466,6 +471,7 @@ class SequenceValue extends Value {
466471
467472}
468473
474+ /** A class representing tuple objects */
469475class TupleValue extends SequenceValue {
470476
471477 TupleValue ( ) {
You can’t perform that action at this time.
0 commit comments