CodeQL library for Python
Search

Class Alias

An alias in an import statement, the mod as name part of import mod as name. May be artificial; import x is transformed into import x as x

Import path

import python

Direct supertypes

Indirect supertypes

Predicates

Inherited predicates

getAsname

Gets the name of this alias.

from Alias_
getParentfrom Alias_
getValue

Gets the value of this alias.

from Alias_
toString

Gets a textual representation of this element.

from Alias_