|
mjplusplus
v0.4.1
|
#include <FieldDeclaration.hpp>
Public Member Functions | |
| FieldDeclaration (shptr< TypeIdent > type_and_name) | |
| virtual void | toString (std::ostream &out, unsigned int indent, bool=false) const |
| virtual void | collectDefinition (semantic::SemanticAnalysis &sa, shptr< semantic::symbol::SymbolTable > symbolTable, std::string const &class_name) const |
| virtual void | analyze (semantic::SemanticAnalysis &sa, shptr< semantic::symbol::SymbolTable > symbolTable) const |
| virtual std::string | getName () const |
| virtual std::string | getNameForSort () const |
| virtual void | accept (ASTVisitor &visitor) const |
| virtual shptr< ast::Type > | getType () const |
| virtual shptr< Type > const & | getDeclType () const |
| virtual std::string | mangle () const |
Public Member Functions inherited from ast::ClassMember | |
| void | setDeclaration (shptr< ClassDeclaration const > decl) |
| shptr< ClassDeclaration const > | getDeclaration () const |
Protected Attributes | |
| shptr< TypeIdent > | type_and_name |
Protected Attributes inherited from ast::ClassMember | |
| shptr< ClassDeclaration const > | declaration |
Additional Inherited Members | |
Protected Member Functions inherited from ast::VariableDeclaration | |
| VariableDeclaration () | |
|
virtual |
Implements ast::VariableDeclaration.
|
virtual |
Implements ast::ClassMember.
|
virtual |
Implements ast::ClassMember.
Implements ast::VariableDeclaration.
|
virtual |
Implements ast::ClassMember.
|
virtual |
Implements ast::ClassMember.
|
virtual |
Mangles this field's name using ClassMember::mangle() and appends _Ffieldname
Reimplemented from ast::ClassMember.
|
virtual |
writes a representation of the Node to out, including all children. special invokes "special" behavior for certain nodes MethodDeclaration: print static keyword Block & If: skip indentation Expression: don't print surrounding parens in addition Block doesn't print newline after trailing } if ~indent is passed instead of indent
Implements ast::Node.
1.8.8