Modules | Files | Inheritance Tree | Inheritance Graph | Name Index | Config
module Synopsis::Core::AST
class Const
Files: Synopsis/Core/AST.py
Const-inheritance Scopes/Synopsis/Core/AST/Declaration.html

Constant declaration. A constant is a name with a type and value.


Operations Summary:
 __init__(self, file, line, language, type, ctype, name, value) [Source]
 ctype(self)
Type object for this const [Source]
 value(self)
The string value of this type [Source]
 accept(self, visitor) [Source]
 set_ctype(self, ctype) [Source]

Operations Inherited from Declaration
file, line, language, type, name, comments, accessibility, set_name, set_accessibility