named_expression_t

Defined in header: <ixion/formula_tokens.hpp>

struct named_expression_t

Represents a named expression which stores a series of formula tokens.

Public Functions

named_expression_t()

Construct a named expression with no tokens.

named_expression_t(const abs_address_t &_origin, formula_tokens_t _tokens)

Construct a named expression from its origin and tokens.

named_expression_t(const named_expression_t&) = delete
named_expression_t(named_expression_t &&other)

Move constructor.

~named_expression_t()
named_expression_t &operator=(const named_expression_t&) = delete
named_expression_t &operator=(named_expression_t &&other)

Move assignment.

Public Members

abs_address_t origin

Origin cell position which affects any relative references stored in the named expression.

formula_tokens_t tokens

Formula tokens.