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

#include <FieldAccess.hpp>

Inheritance diagram for ast::po::FieldAccess:
ast::po::PostfixOp ast::IdentBase ast::Node

Public Member Functions

 FieldAccess (shptr< Ident > field_name)
 
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< IdentgetFieldName () const
 
- Public Member Functions inherited from ast::IdentBase
shptr< VariableDeclaration const > getDeclaration () const
 

Additional Inherited Members

- Protected Member Functions inherited from ast::IdentBase
 IdentBase ()
 
- Protected Attributes inherited from ast::IdentBase
shptr< VariableDeclaration const > declaration
 

Constructor & Destructor Documentation

ast::po::FieldAccess::FieldAccess ( shptr< Ident field_name)

Member Function Documentation

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

Reimplemented from ast::Node.

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

Implements ast::po::PostfixOp.

shptr< Ident > ast::po::FieldAccess::getFieldName ( ) const
bool ast::po::FieldAccess::lValueHelp ( ) const
virtual

Implements ast::po::PostfixOp.

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