public

Inheritance Graph

graph BT
	FunctionCallExpr
	FunctionCallExpr --> ASTNode
	click FunctionCallExpr "classEScript_1_1AST_1_1FunctionCallExpr"
	click ASTNode "classEScript_1_1AST_1_1ASTNode"

Description

[ FunctionCallExpr ] > [ ASTNode ]

Protected Attributes

   
   
ref_t expRef
   
refArray_t parameters
   
bool constructorCall
   
bool sysCall
   
uint32_t sysCallId
   
std::vector< uint32_t > expandingParameters

Public Static Functions

   
   
FunctionCallExpr * createConstructorCall( ptr_t objExpr, const refArray_t & parameterExpr, int line)
   
FunctionCallExpr * createFunctionCall( ptr_t getFunctionExpr, const refArray_t & parameterExpr, int line)
   
FunctionCallExpr * createSysCall(uint32_t sysCallId, const refArray_t & parameterExpr, int line)

Public Functions

   
   
  ~FunctionCallExpr()
   
ptr_t getGetFunctionExpression() const
only valid if constructorCall == false and sysCall == false
   
ptr_t getObjectExpression() const
only valid if constructorCall == true
   
uint32_t getSysCallId() const
only valid if sysCall == true
   
bool isConstructorCall() const
   
bool isSysCall() const
   
const refArray_t & getParams() const
   
size_t getNumParams() const
   
ptr_t getParamExpression(size_t i) const
   
const std::vector< uint32_t > & getExpandingParameters() const
   
bool hasExpandingParameters() const
   
void emplaceExpandingParameters(std::vector< uint32_t > && v)

Protected Functions

   
   
  FunctionCallExpr( ptr_t exp, const refArray_t & _parameters, bool _isConstructorCall, int _line)
   
  FunctionCallExpr(uint32_t _sysCallId, const refArray_t & _parameters, int _line)

Documentation

variable
EScript::AST::FunctionCallExpr::expRef

protected
 
 
ref_t expRef

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:66


variable
EScript::AST::FunctionCallExpr::parameters

protected
 
 
refArray_t parameters

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:67


variable
EScript::AST::FunctionCallExpr::constructorCall

protected
 
 
bool constructorCall

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:68


variable
EScript::AST::FunctionCallExpr::sysCall

protected
 
 
bool sysCall

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:69


variable
EScript::AST::FunctionCallExpr::sysCallId

protected
 
 
uint32_t sysCallId

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:70


variable
EScript::AST::FunctionCallExpr::expandingParameters

protected
 
 
std::vector< uint32_t > expandingParameters

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:71


function
EScript::AST::FunctionCallExpr::createConstructorCall

public static inline
     
     
FunctionCallExpr * createConstructorCall( ptr_t objExpr,
  const refArray_t & parameterExpr,
  int line
)    

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:22


function
EScript::AST::FunctionCallExpr::createFunctionCall

public static inline
     
     
FunctionCallExpr * createFunctionCall( ptr_t getFunctionExpr,
  const refArray_t & parameterExpr,
  int line
)    

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:26


function
EScript::AST::FunctionCallExpr::createSysCall

public static inline
     
     
FunctionCallExpr * createSysCall( uint32_t sysCallId,
  const refArray_t & parameterExpr,
  int line
)    

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:30


function
EScript::AST::FunctionCallExpr::~FunctionCallExpr

public inline virtual
   
   
~FunctionCallExpr( )

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:33


function
EScript::AST::FunctionCallExpr::getGetFunctionExpression

public const inline
   
   
ptr_t getGetFunctionExpression( ) const

only valid if constructorCall == false and sysCall == false

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:36


function
EScript::AST::FunctionCallExpr::getObjectExpression

public const inline
   
   
ptr_t getObjectExpression( ) const

only valid if constructorCall == true

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:39


function
EScript::AST::FunctionCallExpr::getSysCallId

public const inline
   
   
uint32_t getSysCallId( ) const

only valid if sysCall == true

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:42


function
EScript::AST::FunctionCallExpr::isConstructorCall

public const inline
   
   
bool isConstructorCall( ) const

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:44


function
EScript::AST::FunctionCallExpr::isSysCall

public const inline
   
   
bool isSysCall( ) const

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:45


function
EScript::AST::FunctionCallExpr::getParams

public const inline
   
   
const refArray_t & getParams( ) const

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:46


function
EScript::AST::FunctionCallExpr::getNumParams

public const inline
   
   
size_t getNumParams( ) const

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:47


function
EScript::AST::FunctionCallExpr::getParamExpression

public const inline
     
     
ptr_t getParamExpression( size_t i ) const

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:48


function
EScript::AST::FunctionCallExpr::getExpandingParameters

public const inline
   
   
const std::vector< uint32_t > & getExpandingParameters( ) const

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:50


function
EScript::AST::FunctionCallExpr::hasExpandingParameters

public const inline
   
   
bool hasExpandingParameters( ) const

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:51


function
EScript::AST::FunctionCallExpr::emplaceExpandingParameters

public inline
     
     
void emplaceExpandingParameters( std::vector< uint32_t > && v )

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:52


function
EScript::AST::FunctionCallExpr::FunctionCallExpr

protected inline
     
     
FunctionCallExpr( ptr_t exp,
  const refArray_t & _parameters,
  bool _isConstructorCall,
  int _line
)    

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:56


function
EScript::AST::FunctionCallExpr::FunctionCallExpr

protected inline
     
     
FunctionCallExpr( uint32_t _sysCallId,
  const refArray_t & _parameters,
  int _line
)    

Defined in EScript/EScript/Compiler/AST/FunctionCallExpr.h:61