#include <expression.h>
Public Member Functions | |
expression (node::pointer_t n) | |
node::pointer_t | compile () |
void | compile_args (bool divide_font_metrics) |
void | set_variable_handler (expression_variables_interface *handler) |
Static Public Member Functions | |
static bool | boolean (node::pointer_t n) |
Check whether a node represents true or false. | |
static int | get_unique_id_counter () |
static void | set_unique_id_counter (int counter) |
Private Types | |
typedef std::vector< std::string > | dimension_vector_t |
typedef std::map< std::string, node::pointer_t > | variable_vector_t |
Private Attributes | |
node::pointer_t | f_current = node::pointer_t() |
bool | f_divide_font_metrics = false |
node::pointer_t | f_node = node::pointer_t() |
size_t | f_pos = 0 |
size_t | f_start = static_cast<size_t>(-1) |
expression_variables_interface * | f_variable_handler = nullptr |
variable_vector_t | f_variables = variable_vector_t() |
Definition at line 38 of file expression.h.
|
private |
Definition at line 54 of file expression.h.
|
private |
Definition at line 53 of file expression.h.
csspp::expression::expression | ( | node::pointer_t | n | ) |
Definition at line 61 of file expression.cpp.
References f_node.
|
private |
Definition at line 305 of file expr_additive.cpp.
References f_current, multiplicative(), next(), csspp::SUBTRACT, and csspp::UNKNOWN.
Referenced by relational().
|
private |
Definition at line 39 of file expr_power.cpp.
References csspp::DECIMAL_NUMBER, dimensions_to_vectors(), csspp::ERROR_ERROR, f_current, csspp::error::instance(), csspp::INTEGER, csspp::mix_node_types(), csspp::PERCENT, and rebuild_dimension().
Referenced by power().
|
private |
Definition at line 156 of file expr_list.cpp.
References csspp::ASSIGNMENT, conditional(), f_current, f_variables, csspp::IDENTIFIER, and next().
Referenced by expression_list().
|
static |
This function checks whether a node represents a valid boolean. If so it returns true or false depending on that fact.
If the node does not represent a boolean, then the function returns false after it generated an error.
[in] | n | The node to check whether it is true or false. |
Definition at line 54 of file expr_logical_and.cpp.
References csspp::BOOLEAN_INVALID, csspp::BOOLEAN_TRUE, csspp::ERROR_ERROR, and csspp::error::instance().
Referenced by csspp::compiler::replace_else(), and csspp::compiler::replace_if().
node::pointer_t csspp::expression::compile | ( | ) |
Definition at line 75 of file expression.cpp.
References conditional(), mark_start(), next(), and replace_with_result().
Referenced by csspp::compiler::at_keyword_expression(), and csspp::compiler::compile_at_keyword().
Definition at line 38 of file expr_unary.cpp.
References compile_list(), f_divide_font_metrics, f_node, f_variable_handler, csspp::OPEN_CURLYBRACKET, and set_variable_handler().
Referenced by unary().
|
private |
Definition at line 54 of file expr_unary.cpp.
References conditional(), end_of_nodes(), csspp::ERROR_WARNING, csspp::EXCLAMATION, f_current, f_node, f_pos, csspp::error::instance(), mark_start(), next(), replace_with_result(), and csspp::WHITESPACE.
Referenced by compile_args().
|
private |
Definition at line 38 of file expr_conditional.cpp.
References csspp::COLON, conditional(), csspp::CONDITIONAL, csspp::ERROR_ERROR, f_current, csspp::error::instance(), logical_or(), and next().
Referenced by assignment(), compile(), compile_list(), and conditional().
|
private |
Definition at line 83 of file expr_multiplicative.cpp.
References csspp::ERROR_ERROR, and csspp::error::instance().
Referenced by apply_power(), internal_function__sqrt(), and multiplicative_dimension().
|
private |
Definition at line 83 of file expression.cpp.
Referenced by compile_list().
|
private |
Definition at line 219 of file expr_equality.cpp.
References csspp::BOOLEAN, csspp::DASH_MATCH, csspp::EQUAL, f_current, csspp::INCLUDE_MATCH, is_comparable(), is_equal(), next(), csspp::NOT_EQUAL, csspp::PREFIX_MATCH, relational(), csspp::SUBSTRING_MATCH, csspp::SUFFIX_MATCH, and csspp::UNKNOWN.
Referenced by logical_and().
|
private |
Definition at line 1866 of file internal_functions.cpp.
References csspp::BOOLEAN, csspp::ERROR_ERROR, csspp::expression_variables_interface::execute_user_function(), f_current, f_pos, f_variable_handler, csspp::error::instance(), internal_function__abs(), internal_function__acos(), internal_function__alpha(), internal_function__asin(), internal_function__atan(), internal_function__blue(), internal_function__ceil(), internal_function__cos(), internal_function__decimal_number(), internal_function__floor(), internal_function__frgb(), internal_function__frgba(), internal_function__function_exists(), internal_function__get_string_or_identifier(), internal_function__global_variable_exists(), internal_function__green(), internal_function__hsl(), internal_function__hsla(), internal_function__hue(), internal_function__identifier(), internal_function__if(), internal_function__inspect(), internal_function__integer(), internal_function__lightness(), internal_function__log(), internal_function__max(), internal_function__min(), internal_function__not(), internal_function__percentage(), internal_function__random(), internal_function__red(), internal_function__rgb(), internal_function__rgba(), internal_function__round(), internal_function__saturation(), internal_function__sign(), internal_function__sin(), internal_function__sqrt(), internal_function__str_length(), internal_function__string(), internal_function__tan(), internal_function__type_of(), internal_function__unique_id(), internal_function__unit(), and internal_function__variable_exists().
Referenced by unary().
|
private |
Definition at line 52 of file expr_list.cpp.
References csspp::ARRAY, assignment(), csspp::COMMA, csspp::EOF_TOKEN, f_current, is_label(), csspp::MAP, next(), and csspp::NULL_TOKEN.
|
static |
Definition at line 84 of file internal_functions.cpp.
|
private |
Definition at line 239 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 264 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number().
Referenced by excecute_function().
|
private |
|
private |
Definition at line 288 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), and internal_function__get_color().
Referenced by excecute_function().
|
private |
Definition at line 312 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 336 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 360 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_color().
Referenced by excecute_function().
|
private |
Definition at line 384 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 405 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 434 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::IDENTIFIER, csspp::error::instance(), csspp::INTEGER, internal_function__get_any(), csspp::PERCENT, csspp::STRING, csspp::URL, and csspp::WHITESPACE.
Referenced by excecute_function().
|
private |
Definition at line 516 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 537 of file internal_functions.cpp.
References csspp::COLOR, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_color(), and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 582 of file internal_functions.cpp.
References csspp::COLOR, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_color(), and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 630 of file internal_functions.cpp.
References csspp::BOOLEAN, csspp::ERROR_ERROR, f_current, f_pos, f_variable_handler, csspp::FUNCTION, csspp::expression_variables_interface::get_variable(), csspp::error::instance(), internal_function__get_string_or_identifier(), csspp::LIST, and csspp::VARIABLE_FUNCTION.
Referenced by excecute_function().
|
private |
Definition at line 89 of file internal_functions.cpp.
References f_pos.
Referenced by internal_function__decimal_number(), internal_function__identifier(), internal_function__integer(), internal_function__percentage(), internal_function__string(), and internal_function__type_of().
|
private |
Definition at line 105 of file internal_functions.cpp.
References csspp::COLOR, and f_pos.
Referenced by internal_function__alpha(), internal_function__blue(), internal_function__frgb(), internal_function__frgba(), internal_function__green(), internal_function__hue(), internal_function__lightness(), internal_function__red(), internal_function__rgb(), internal_function__rgba(), and internal_function__saturation().
|
private |
Definition at line 128 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, f_pos, and csspp::INTEGER.
Referenced by internal_function__abs(), internal_function__acos(), internal_function__asin(), internal_function__atan(), internal_function__ceil(), internal_function__cos(), internal_function__floor(), internal_function__frgb(), internal_function__frgba(), internal_function__hsl(), internal_function__hsla(), internal_function__log(), internal_function__rgb(), internal_function__rgba(), internal_function__round(), internal_function__sin(), internal_function__sqrt(), and internal_function__tan().
|
private |
Definition at line 157 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, f_pos, csspp::INTEGER, and csspp::PERCENT.
Referenced by internal_function__hsl(), internal_function__hsla(), internal_function__max(), internal_function__min(), internal_function__sign(), and internal_function__unit().
|
private |
Definition at line 192 of file internal_functions.cpp.
References f_pos, and csspp::STRING.
Referenced by internal_function__str_length().
|
private |
Definition at line 215 of file internal_functions.cpp.
References f_pos, csspp::IDENTIFIER, and csspp::STRING.
Referenced by excecute_function(), internal_function__function_exists(), internal_function__global_variable_exists(), internal_function__unique_id(), and internal_function__variable_exists().
|
private |
Definition at line 689 of file internal_functions.cpp.
References csspp::BOOLEAN, csspp::ERROR_ERROR, f_current, f_pos, f_variable_handler, csspp::expression_variables_interface::get_variable(), csspp::IDENTIFIER, csspp::error::instance(), internal_function__get_string_or_identifier(), csspp::LIST, and csspp::VARIABLE.
Referenced by excecute_function().
|
private |
Definition at line 665 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_color().
Referenced by excecute_function().
|
private |
Definition at line 724 of file internal_functions.cpp.
References csspp::COLOR, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_number(), internal_function__get_number_or_percent(), and csspp::color::set_hsl().
Referenced by excecute_function().
|
private |
Definition at line 756 of file internal_functions.cpp.
References csspp::COLOR, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_number(), internal_function__get_number_or_percent(), and csspp::color::set_hsl().
Referenced by excecute_function().
|
private |
Definition at line 790 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_color(), and M_PI.
Referenced by excecute_function().
|
private |
Definition at line 815 of file internal_functions.cpp.
References csspp::COLOR, csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::IDENTIFIER, csspp::error::instance(), csspp::INTEGER, internal_function__get_any(), csspp::PERCENT, csspp::STRING, and csspp::URL.
Referenced by excecute_function().
|
private |
Definition at line 858 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), and csspp::LIST.
Referenced by excecute_function().
|
private |
Definition at line 891 of file internal_functions.cpp.
References f_pos, csspp::node::g_to_string_flag_show_quotes, and csspp::STRING.
Referenced by excecute_function().
|
private |
Definition at line 904 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::IDENTIFIER, csspp::error::instance(), csspp::INTEGER, internal_function__get_any(), csspp::PERCENT, csspp::STRING, csspp::URL, and csspp::WHITESPACE.
Referenced by excecute_function().
|
private |
Definition at line 986 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_color(), and csspp::PERCENT.
Referenced by excecute_function().
|
private |
Definition at line 1010 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 1048 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_number_or_percent(), and csspp::PERCENT.
Referenced by excecute_function().
|
private |
Definition at line 1110 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_number_or_percent(), and csspp::PERCENT.
Referenced by excecute_function().
|
private |
Definition at line 1172 of file internal_functions.cpp.
References csspp::BOOLEAN, csspp::ERROR_ERROR, f_current, f_pos, and csspp::error::instance().
Referenced by excecute_function().
|
private |
Definition at line 1192 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::IDENTIFIER, csspp::error::instance(), csspp::INTEGER, internal_function__get_any(), csspp::PERCENT, csspp::STRING, csspp::URL, and csspp::WHITESPACE.
Referenced by excecute_function().
|
private |
Definition at line 1389 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, and f_pos.
Referenced by excecute_function().
|
private |
Definition at line 1272 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_color().
Referenced by excecute_function().
|
private |
Definition at line 1296 of file internal_functions.cpp.
References csspp::COLOR, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_color(), and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 1341 of file internal_functions.cpp.
References csspp::COLOR, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_color(), and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 1400 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 1421 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_color(), and csspp::PERCENT.
Referenced by excecute_function().
|
private |
Definition at line 1445 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number_or_percent().
Referenced by excecute_function().
|
private |
Definition at line 1470 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 1499 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, dimensions_to_vectors(), csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, internal_function__get_number(), and rebuild_dimension().
Referenced by excecute_function().
|
private |
Definition at line 1650 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_string().
Referenced by excecute_function().
|
private |
Definition at line 1607 of file internal_functions.cpp.
References csspp::COLOR, csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::IDENTIFIER, csspp::error::instance(), csspp::INTEGER, internal_function__get_any(), csspp::PERCENT, csspp::STRING, and csspp::URL.
Referenced by excecute_function().
|
private |
Definition at line 1679 of file internal_functions.cpp.
References csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), csspp::INTEGER, and internal_function__get_number().
Referenced by excecute_function().
|
private |
Definition at line 1742 of file internal_functions.cpp.
References csspp::ARRAY, csspp::BOOLEAN, csspp::COLOR, csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, f_current, f_pos, csspp::IDENTIFIER, csspp::error::instance(), csspp::INTEGER, internal_function__get_any(), csspp::LIST, csspp::MAP, csspp::PERCENT, csspp::STRING, and csspp::UNICODE_RANGE.
Referenced by excecute_function().
|
private |
Definition at line 1708 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::IDENTIFIER, csspp::error::instance(), and internal_function__get_string_or_identifier().
Referenced by excecute_function().
|
private |
Definition at line 1805 of file internal_functions.cpp.
References csspp::ERROR_ERROR, f_current, f_pos, csspp::error::instance(), internal_function__get_number_or_percent(), csspp::PERCENT, and csspp::STRING.
Referenced by excecute_function().
|
private |
Definition at line 1831 of file internal_functions.cpp.
References csspp::BOOLEAN, csspp::ERROR_ERROR, f_current, f_pos, f_variable_handler, csspp::expression_variables_interface::get_variable(), csspp::IDENTIFIER, csspp::error::instance(), internal_function__get_string_or_identifier(), csspp::LIST, and csspp::VARIABLE.
Referenced by excecute_function().
|
private |
Definition at line 135 of file expr_equality.cpp.
References csspp::BOOLEAN, csspp::COLOR, csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, csspp::error::instance(), csspp::INTEGER, csspp::mix_node_types(), csspp::PERCENT, and csspp::STRING.
Referenced by equality(), and relational().
|
private |
Definition at line 169 of file expr_equality.cpp.
References csspp::BOOLEAN, csspp::COLOR, csspp::DECIMAL_NUMBER, csspp::color::get_color(), csspp::INTEGER, csspp::mix_node_types(), csspp::PERCENT, and csspp::STRING.
Referenced by equality(), and relational().
|
private |
Definition at line 39 of file expr_list.cpp.
References csspp::COLON, f_current, f_node, f_pos, and csspp::IDENTIFIER.
Referenced by expression_list().
|
private |
Definition at line 39 of file expr_relational.cpp.
References csspp::BOOLEAN, csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, csspp::error::instance(), csspp::INTEGER, csspp::mix_node_types(), csspp::PERCENT, and csspp::STRING.
Referenced by relational().
|
private |
Definition at line 66 of file expr_logical_and.cpp.
References csspp::AND, csspp::BOOLEAN, equality(), f_current, csspp::IDENTIFIER, and next().
Referenced by logical_or().
|
private |
Definition at line 38 of file expr_logical_or.cpp.
References csspp::BOOLEAN, csspp::COLUMN, f_current, csspp::IDENTIFIER, logical_and(), and next().
Referenced by conditional().
|
private |
Definition at line 88 of file expression.cpp.
References f_pos, and f_start.
Referenced by compile(), compile_list(), and replace_with_result().
|
private |
Definition at line 779 of file expr_multiplicative.cpp.
References f_current, csspp::multiplicative_operator(), multiply(), next(), power(), and csspp::UNKNOWN.
Referenced by additive().
|
private |
Definition at line 208 of file expr_multiplicative.cpp.
References dimensions_to_vectors(), csspp::MULTIPLY, and rebuild_dimension().
Referenced by multiply().
|
private |
Definition at line 286 of file expr_multiplicative.cpp.
References csspp::COLOR, csspp::DECIMAL_NUMBER, csspp::DIVIDE, csspp::ERROR_ERROR, f_current, f_divide_font_metrics, csspp::FONT_METRICS, csspp::color::get_color(), csspp::unicode_range_t::get_end(), csspp::unicode_range_t::get_range(), csspp::unicode_range_t::get_start(), csspp::error::instance(), csspp::INTEGER, csspp::mix_node_types(), csspp::MODULO, multiplicative_dimension(), csspp::MULTIPLY, csspp::NULL_TOKEN, csspp::PERCENT, csspp::color::set_color(), csspp::STRING, and csspp::UNICODE_RANGE.
Referenced by multiplicative().
|
private |
Definition at line 138 of file expression.cpp.
References csspp::EOF_TOKEN, f_current, f_node, f_pos, and csspp::WHITESPACE.
Referenced by additive(), assignment(), compile(), compile_list(), conditional(), equality(), expression_list(), logical_and(), logical_or(), multiplicative(), post(), power(), relational(), and unary().
|
private |
Definition at line 183 of file expr_list.cpp.
References csspp::ARRAY, csspp::ERROR_ERROR, expression_list(), f_current, f_variable_handler, csspp::IDENTIFIER, csspp::error::instance(), csspp::INTEGER, csspp::LIST, csspp::MAP, next(), csspp::OPEN_SQUAREBRACKET, csspp::PERIOD, set_variable_handler(), csspp::STRING, and unary().
Referenced by power().
|
private |
Definition at line 186 of file expr_power.cpp.
References apply_power(), f_current, csspp::IDENTIFIER, next(), post(), and csspp::POWER.
Referenced by multiplicative(), and unary().
|
private |
Definition at line 247 of file expr_multiplicative.cpp.
Referenced by apply_power(), internal_function__sqrt(), and multiplicative_dimension().
|
private |
Definition at line 102 of file expr_relational.cpp.
References additive(), csspp::BOOLEAN, f_current, csspp::GREATER_EQUAL, csspp::GREATER_THAN, is_comparable(), is_equal(), is_less_than(), csspp::LESS_EQUAL, csspp::LESS_THAN, next(), csspp::relational_operator(), and csspp::UNKNOWN.
Referenced by equality().
|
private |
Definition at line 93 of file expression.cpp.
References csspp::EOF_TOKEN, f_current, f_node, f_pos, f_start, mark_start(), and csspp::WHITESPACE.
Referenced by compile(), and compile_list().
Definition at line 79 of file internal_functions.cpp.
References f_pos.
void csspp::expression::set_variable_handler | ( | expression_variables_interface * | handler | ) |
Definition at line 70 of file expression.cpp.
References f_variable_handler.
Referenced by csspp::compiler::at_keyword_expression(), compile_args(), csspp::compiler::compile_at_keyword(), post(), and unary().
|
private |
Definition at line 113 of file expr_unary.cpp.
References csspp::ADD, csspp::parser::argify(), csspp::ARRAY, csspp::BOOLEAN, csspp::COLOR, compile_args(), csspp::DECIMAL_NUMBER, csspp::ERROR_ERROR, excecute_function(), csspp::EXCLAMATION, expression_list(), f_current, f_variable_handler, f_variables, csspp::FUNCTION, csspp::HASH, csspp::IDENTIFIER, csspp::error::instance(), csspp::INTEGER, csspp::MAP, next(), csspp::NULL_TOKEN, csspp::OPEN_PARENTHESIS, csspp::PERCENT, power(), csspp::color::set_color(), set_variable_handler(), csspp::STRING, csspp::SUBTRACT, csspp::UNICODE_RANGE, and csspp::URL.
Referenced by post().
|
private |
Definition at line 155 of file expression.h.
Referenced by additive(), apply_power(), assignment(), compile_list(), conditional(), equality(), excecute_function(), expression_list(), internal_function__abs(), internal_function__acos(), internal_function__alpha(), internal_function__asin(), internal_function__atan(), internal_function__blue(), internal_function__ceil(), internal_function__cos(), internal_function__decimal_number(), internal_function__floor(), internal_function__frgb(), internal_function__frgba(), internal_function__function_exists(), internal_function__global_variable_exists(), internal_function__green(), internal_function__hsl(), internal_function__hsla(), internal_function__hue(), internal_function__identifier(), internal_function__if(), internal_function__integer(), internal_function__lightness(), internal_function__log(), internal_function__max(), internal_function__min(), internal_function__not(), internal_function__percentage(), internal_function__red(), internal_function__rgb(), internal_function__rgba(), internal_function__round(), internal_function__saturation(), internal_function__sign(), internal_function__sin(), internal_function__sqrt(), internal_function__str_length(), internal_function__string(), internal_function__tan(), internal_function__type_of(), internal_function__unique_id(), internal_function__unit(), internal_function__variable_exists(), is_label(), logical_and(), logical_or(), multiplicative(), multiply(), next(), post(), power(), relational(), replace_with_result(), and unary().
Definition at line 157 of file expression.h.
Referenced by compile_args(), and multiply().
|
private |
Definition at line 152 of file expression.h.
Referenced by expression(), compile_args(), compile_list(), end_of_nodes(), is_label(), next(), and replace_with_result().
|
private |
Definition at line 153 of file expression.h.
Referenced by compile_list(), end_of_nodes(), excecute_function(), internal_function__abs(), internal_function__acos(), internal_function__alpha(), internal_function__asin(), internal_function__atan(), internal_function__blue(), internal_function__ceil(), internal_function__cos(), internal_function__decimal_number(), internal_function__floor(), internal_function__frgb(), internal_function__frgba(), internal_function__function_exists(), internal_function__get_any(), internal_function__get_color(), internal_function__get_number(), internal_function__get_number_or_percent(), internal_function__get_string(), internal_function__get_string_or_identifier(), internal_function__global_variable_exists(), internal_function__green(), internal_function__hsl(), internal_function__hsla(), internal_function__hue(), internal_function__identifier(), internal_function__if(), internal_function__inspect(), internal_function__integer(), internal_function__lightness(), internal_function__log(), internal_function__max(), internal_function__min(), internal_function__not(), internal_function__percentage(), internal_function__random(), internal_function__red(), internal_function__rgb(), internal_function__rgba(), internal_function__round(), internal_function__saturation(), internal_function__sign(), internal_function__sin(), internal_function__sqrt(), internal_function__str_length(), internal_function__string(), internal_function__tan(), internal_function__type_of(), internal_function__unique_id(), internal_function__unit(), internal_function__variable_exists(), is_label(), mark_start(), next(), replace_with_result(), and set_unique_id_counter().
|
private |
Definition at line 154 of file expression.h.
Referenced by mark_start(), and replace_with_result().
|
private |
Definition at line 158 of file expression.h.
Referenced by compile_args(), excecute_function(), internal_function__function_exists(), internal_function__global_variable_exists(), internal_function__variable_exists(), post(), set_variable_handler(), and unary().
|
private |
Definition at line 156 of file expression.h.
Referenced by assignment(), and unary().
Documentation of CSS Preprocessor.
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.