27 VarBase(
const std::string& name)
31 const std::string& name()
const
61 virtual std::shared_ptr<VarBase>
arg_copy()
const = 0;
72 virtual Index
size()
const = 0;
76 friend class FunctionArgsList;
A class representing a unique identifier for expressions.
Definition codac2_ExprBase.h:33
virtual const ExprID & unique_id() const =0
Returns the unique identifier of the variable.
virtual Index size() const =0
Returns the mathematical size of the variable.
virtual ~VarBase()=default
Virtual destructor for the VarBase class.
virtual std::shared_ptr< VarBase > arg_copy() const =0
Creates a copy of the argument.