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::MethodInvocation Class Reference

#include <MethodInvocation.hpp>

Inheritance diagram for ast::po::MethodInvocation:
ast::po::PostfixOp ast::MethodInvocationBase ast::Node

Public Member Functions

 MethodInvocation (shptr< Ident > method_name, shptr< Arguments > arguments)
 
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
 
- Public Member Functions inherited from ast::MethodInvocationBase
shptr< ast::TypeperformTypeChecks (shptr< ast::Ident > method_ident, semantic::MethodTable::MethodTableItem const &method_item, semantic::SemanticAnalysis &sa, shptr< semantic::symbol::SymbolTable > symbolTable) const
 
shptr< MethodDeclaration const > getDeclaration () const
 
virtual std::string const & getIdentifier () const
 
virtual shptr< Arguments const > getArguments () const
 

Additional Inherited Members

- Protected Member Functions inherited from ast::MethodInvocationBase
 MethodInvocationBase (shptr< Ident > method_name, shptr< Arguments > arguments)
 
- Protected Attributes inherited from ast::MethodInvocationBase
shptr< Identmethod_name
 
shptr< MethodDeclaration const > declaration
 
shptr< Argumentsarguments
 

Constructor & Destructor Documentation

ast::po::MethodInvocation::MethodInvocation ( shptr< Ident method_name,
shptr< Arguments arguments 
)

Member Function Documentation

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

Reimplemented from ast::Node.

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

Implements ast::po::PostfixOp.

bool ast::po::MethodInvocation::lValueHelp ( ) const
virtual

Implements ast::po::PostfixOp.

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