formula_name_t
Defined in header: <ixion/formula_name_resolver.hpp>
-
struct formula_name_t
Structure that represents the type of a ‘name’ in a formula expression.
A name can be either one of:
cell reference
range reference
table reference
named expression
function
Public Types
-
enum name_type
Values:
-
enumerator invalid
-
enumerator cell_reference
-
enumerator range_reference
-
enumerator table_reference
-
enumerator named_expression
-
enumerator function
-
enumerator invalid
-
using value_type = std::variant<address_t, range_t, table_type, formula_function_t>
Public Functions
-
formula_name_t()
-
std::string to_string() const
Return a string that represents the data stored internally. Useful for debugging.
-
struct table_type
Table information for a table reference name. Unlike the ixion::table_t counterpart, we store strings as string views as the resolver doesn’t have access to the string pool.
Public Members
-
std::string_view name
-
std::string_view column_first
-
std::string_view column_last
-
table_areas_t areas
-
std::string_view name