Synopsis - Synopsis.Parsers.IDL.idlast.AST

module Synopsis.Parsers.IDL.idlast
class AST
File: ../Synopsis/Parsers/IDL/idlast.py
Class for top-level Abstract Syntax Tree. Functions: file() -- the file name of the main IDL file. declarations() -- list of Decl objects corresponding to declarations at file scope. pragmas() -- list of Pragma objects containing #pragmas which occurred before any declarations. Later #pragmas are attached to Decl objects. comments() -- list of Comment objects containing comments which occurred before any declarations. accept(visitor) -- visitor pattern accept. See idlvisitor.py.
Attributes Summary:
__file
__declarations
__pragmas
__comments
Methods Summary:
__init__(self, file, declarations, pragmas, comments)
file(self)
declarations(self)
pragmas(self)
comments(self)
accept(self, visitor)
Generated on Thu Apr 16 16:27:02 2009 by
synopsis (version devel)