mjplusplus  v0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ast::Arguments Class Reference

#include <Arguments.hpp>

Inheritance diagram for ast::Arguments:
ast::Node

Public Member Functions

 Arguments ()
 
 Arguments (shptr< vec< shptr< ast::Expression >>> arguments)
 
virtual void toString (std::ostream &out, unsigned int indent, bool=false) const
 
virtual shptr< vec< shptr
< Expression > > > 
getArgumentExpressions () const
 
virtual int getArgumentsSize () const
 
virtual void accept (ASTVisitor &visitor) const
 

Constructor & Destructor Documentation

ast::Arguments::Arguments ( )
ast::Arguments::Arguments ( shptr< vec< shptr< ast::Expression >>>  arguments)

Member Function Documentation

void ast::Arguments::accept ( ASTVisitor visitor) const
virtual

Reimplemented from ast::Node.

shptr< vec< shptr< ast::Expression > > > ast::Arguments::getArgumentExpressions ( ) const
virtual
int ast::Arguments::getArgumentsSize ( ) const
virtual
void ast::Arguments::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: