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

#include <ArrayAccess.hpp>

Inheritance diagram for ast::po::ArrayAccess:
ast::po::PostfixOp ast::Node

Public Member Functions

 ArrayAccess (shptr< Expression > access_offset)
 
virtual void toString (std::ostream &out, unsigned int indent, bool=false) const
 
virtual shptr< Typeget_type (semantic::SemanticAnalysis &sa, shptr< semantic::symbol::SymbolTable > symbolTable, shptr< Type > callingType)
 
virtual bool lValueHelp () const
 
virtual void accept (ASTVisitor &visitor) const
 
shptr< ExpressiongetAccessOffset () const
 

Constructor & Destructor Documentation

ast::po::ArrayAccess::ArrayAccess ( shptr< Expression access_offset)

Member Function Documentation

void ast::po::ArrayAccess::accept ( ASTVisitor visitor) const
virtual

Reimplemented from ast::Node.

shptr< Type > ast::po::ArrayAccess::get_type ( semantic::SemanticAnalysis sa,
shptr< semantic::symbol::SymbolTable symbolTable,
shptr< Type callingType 
)
virtual

Implements ast::po::PostfixOp.

shptr< Expression > ast::po::ArrayAccess::getAccessOffset ( ) const
bool ast::po::ArrayAccess::lValueHelp ( ) const
virtual

Implements ast::po::PostfixOp.

void ast::po::ArrayAccess::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: