Identifiers Class

Inheritance diagram of Identifiers

class Identifiers

Tracks the status of identifiers in frames.

Methods

__init__()
add_special(name) Register a special name like loop.
copy()
is_declared(name) Check if a name is declared in this or an outer scope.

Descriptions

class Identifiers

Method details

__init__()
add_special(name)

Register a special name like loop.

copy()
is_declared(name)

Check if a name is declared in this or an outer scope.

Table Of Contents

Previous topic

FrameIdentifierVisitor Class

Next topic

UndeclaredNameVisitor Class