Implementation of the CSS Preprocessor node. More...
#include <csspp/node.h>
#include <csspp/exception.h>
#include <csspp/nth_child.h>
#include <csspp/unicode_range.h>
#include <algorithm>
#include <iostream>
#include <snapdev/poison.h>
Go to the source code of this file.
Classes | |
union | csspp::anonymous_namespace{node.cpp}::convert_t |
Namespaces | |
namespace | csspp |
The namespace of all the classes in the CSS Preprocessor. | |
namespace | csspp::anonymous_namespace{node.cpp} |
Functions | |
csspp::error & | operator<< (csspp::error &out, csspp::node_type_t const type) |
std::ostream & | operator<< (std::ostream &out, csspp::node const &n) |
std::ostream & | operator<< (std::ostream &out, csspp::node_type_t const type) |
void | csspp::anonymous_namespace{node.cpp}::type_supports_boolean (node_type_t const type) |
void | csspp::anonymous_namespace{node.cpp}::type_supports_children (node_type_t const type) |
void | csspp::anonymous_namespace{node.cpp}::type_supports_color (node_type_t const type) |
void | csspp::anonymous_namespace{node.cpp}::type_supports_decimal_number (node_type_t const type) |
void | csspp::anonymous_namespace{node.cpp}::type_supports_font_metrics (node_type_t const type) |
void | csspp::anonymous_namespace{node.cpp}::type_supports_integer (node_type_t const type) |
void | csspp::anonymous_namespace{node.cpp}::type_supports_string (node_type_t const type) |
Variables | |
uint32_t | csspp::anonymous_namespace{node.cpp}::g_node_count = 0 |
uint32_t | csspp::anonymous_namespace{node.cpp}::g_node_max_count = 0 |
The CSS Preprocessor node handles the tree of nodes that the parser generates, the compiler crunches, and the assembler outputs.
All the code that handles the nodes is found here, however, the compiler and expression classes handle the various operations that are required between nodes. The nodes are nearly only limited to handling the data they hold and the tree.
Definition in file node.cpp.
csspp::error & operator<< | ( | csspp::error & | out, |
csspp::node_type_t const | type | ||
) |
std::ostream & operator<< | ( | std::ostream & | out, |
csspp::node const & | n | ||
) |
Definition at line 1747 of file node.cpp.
References csspp::node::display().
std::ostream & operator<< | ( | std::ostream & | out, |
csspp::node_type_t const | type | ||
) |
Definition at line 1465 of file node.cpp.
References csspp::ADD, csspp::AN_PLUS_B, csspp::AND, csspp::ARG, csspp::ARRAY, csspp::ASSIGNMENT, csspp::AT_KEYWORD, csspp::BOOLEAN, csspp::CDC, csspp::CDO, csspp::CLOSE_CURLYBRACKET, csspp::CLOSE_PARENTHESIS, csspp::CLOSE_SQUAREBRACKET, csspp::COLON, csspp::COLOR, csspp::COLUMN, csspp::COMMA, csspp::COMMENT, csspp::COMPONENT_VALUE, csspp::CONDITIONAL, csspp::DASH_MATCH, csspp::DECIMAL_NUMBER, csspp::DECLARATION, csspp::DIVIDE, csspp::DOLLAR, csspp::EOF_TOKEN, csspp::EQUAL, csspp::EXCLAMATION, csspp::FONT_METRICS, csspp::FRAME, csspp::FUNCTION, csspp::GREATER_EQUAL, csspp::GREATER_THAN, csspp::HASH, csspp::IDENTIFIER, csspp::INCLUDE_MATCH, csspp::INTEGER, csspp::LESS_EQUAL, csspp::LESS_THAN, csspp::LIST, csspp::MAP, csspp::max_type, csspp::MODULO, csspp::MULTIPLY, csspp::NOT_EQUAL, csspp::NULL_TOKEN, csspp::OPEN_CURLYBRACKET, csspp::OPEN_PARENTHESIS, csspp::OPEN_SQUAREBRACKET, csspp::PERCENT, csspp::PERIOD, csspp::PLACEHOLDER, csspp::POWER, csspp::PRECEDED, csspp::PREFIX_MATCH, csspp::REFERENCE, csspp::SCOPE, csspp::SEMICOLON, csspp::STRING, csspp::SUBSTRING_MATCH, csspp::SUBTRACT, csspp::SUFFIX_MATCH, csspp::UNICODE_RANGE, csspp::UNKNOWN, csspp::URL, csspp::VARIABLE, csspp::VARIABLE_FUNCTION, and csspp::WHITESPACE.
Documentation of CSS Preprocessor.
This document is part of the Snap! Websites Project.
Copyright by Made to Order Software Corp.