curry.icurry.types.isymbol module

class curry.icurry.types.isymbol.IContainer(fullname, **kwds)[source]

Bases: ISymbol

Specialization of ISymbol for packages and modules.

property modulename
property name
class curry.icurry.types.isymbol.ISymbol(fullname, **kwds)[source]

Bases: IObject

A named IObject that may appear in a symbol table or package. Has fullname, modulename, name, and packagename attributes. Derived types include packages, modules, types, constructors, literals, and functions.

property modulename
property name
property packagename
splitname()[source]

Returns the components of the symbol path as a list. For example, ‘Control.SetFunctions.evalS’ returns [‘Control’, ‘SetFunctions’, ‘evalS’].