#include <FieldDeclaration.hpp>
ast::FieldDeclaration::FieldDeclaration |
( |
shptr< TypeIdent > |
type_and_name | ) |
|
void ast::FieldDeclaration::accept |
( |
ASTVisitor & |
visitor | ) |
const |
|
virtual |
shptr< ast::Type > const & ast::FieldDeclaration::getDeclType |
( |
| ) |
const |
|
virtual |
std::string ast::FieldDeclaration::getName |
( |
| ) |
const |
|
virtual |
std::string ast::FieldDeclaration::getNameForSort |
( |
| ) |
const |
|
virtual |
std::string ast::FieldDeclaration::mangle |
( |
| ) |
const |
|
virtual |
void ast::FieldDeclaration::toString |
( |
std::ostream & |
out, |
|
|
unsigned int |
indent, |
|
|
bool |
special = false |
|
) |
| const |
|
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.
The documentation for this class was generated from the following files: