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

Class USub

A negation (-) unary operator

Import path

import python

Direct supertypes

Indirect supertypes

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 USub_