CodeQL library for Python
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

getParentfrom Unaryop_
toString

Gets a textual representation of this element.

from Unaryop_