#include <LVDStatement.hpp>
ast::stmt::LVDStatement::LVDStatement |
( |
shptr< TypeIdent > |
type_ident | ) |
|
void ast::stmt::LVDStatement::accept |
( |
ASTVisitor & |
visitor | ) |
const |
|
virtual |
analyze a statement for semantic correctness, and recursivly analyze its children
- Returns
- true iff all paths of this statement contsin a return statement
Implements ast::stmt::Statement.
unsigned int ast::stmt::LVDStatement::countVariableDeclarations |
( |
| ) |
const |
|
virtual |
shptr< ast::Type > const & ast::stmt::LVDStatement::getDeclType |
( |
| ) |
const |
|
virtual |
int ast::stmt::LVDStatement::setVariablePositions |
( |
int |
pos | ) |
const |
|
virtual |
void ast::stmt::LVDStatement::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: