Synopsis - Synopsis.ASG.Declaration

module Synopsis.ASG
class Declaration
File: ../Synopsis/ASG.py
Declaration base class. Every declaration has a name, type, accessibility and annotations. The default accessibility is DEFAULT except for C++ where the Parser always sets it to one of the other three.
Attributes Summary:
file
SourceFile instance this declaration is part of.
line
The line number of this declaration.
name
The (fully qualified) name of the declared object.
type
A string describing the (language-specific) type of the declared object.
accessibility
Accessibility descriptor for the declared object.
annotations
A dictionary holding any annotations of this object.
Methods Summary:
__init__(self, file, line, type, name)
accept(self, visitor)
Attributes Details:
file
SourceFile instance this declaration is part of.
line
The line number of this declaration.
name
The (fully qualified) name of the declared object.
type
A string describing the (language-specific) type of the declared object.
accessibility
Accessibility descriptor for the declared object.
annotations
A dictionary holding any annotations of this object.
Methods Details:
accept(self, visitor)
Visit the given visitor
Generated on Thu Apr 16 16:26:52 2009 by
synopsis (version devel)