Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Concepts
Public Member Functions
cli::MethodCallExpression Class Reference

#include <MethodCallExpression.h>

Inheritance diagram for cli::MethodCallExpression:
[legend]
Collaboration diagram for cli::MethodCallExpression:
[legend]

Public Member Functions

 MethodCallExpression (std::unique_ptr< Expression > object, std::string name, std::vector< std::unique_ptr< Expression > > params)
 
std::shared_ptr< abstraction::ValuetranslateAndEval (Environment &environment) const override
 
- Public Member Functions inherited from cli::Expression
virtual ~Expression () noexcept=default
 

Additional Inherited Members

- Public Types inherited from cli::Expression
enum class  Operation {
  LOGICAL_OR , LOGICAL_AND , COMPARE_EQUALITY , COMPARE_INEQUALITY ,
  COMPARE_LESS_OR_EQUAL , COMPARE_LESS , COMPARE_MORE_OR_EQUAL , COMPARE_MORE ,
  ADD , SUB , MUL , MOD ,
  DIV , NOT
}
 

Constructor & Destructor Documentation

◆ MethodCallExpression()

cli::MethodCallExpression::MethodCallExpression ( std::unique_ptr< Expression object,
std::string  name,
std::vector< std::unique_ptr< Expression > >  params 
)
inline

Member Function Documentation

◆ translateAndEval()

std::shared_ptr< abstraction::Value > cli::MethodCallExpression::translateAndEval ( Environment environment) const
inlineoverridevirtual

Implements cli::Expression.

Here is the call graph for this function:

The documentation for this class was generated from the following file: