CodeQL library for Python
codeql/python-all 1.0.1 (changelog, source)
Search

Class Unaryop

A unary operator: +, -, ~ or not

Import path

import python

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getSpecialMethodName

Gets the name of the special method used to implement this operator

Inherited predicates

getParent

Gets a parent of this unary operation

from Unaryop_
toString

Gets a textual representation of this element.

from Unaryop_