Current Version: 1.0.10
Project Name: csspp
Classes | Namespaces | Functions | Variables
node.cpp File Reference

Implementation of the CSS Preprocessor node. More...

#include <csspp/node.h>
#include <csspp/exceptions.h>
#include <csspp/nth_child.h>
#include <csspp/unicode_range.h>
#include <algorithm>
#include <iostream>
Include dependency graph for node.cpp:

Go to the source code of this file.


union  csspp::anonymous_namespace{node.cpp}::convert_t


 The namespace of all the classes in the CSS Preprocessor.


std::ostream & operator<< (std::ostream &out, csspp::node_type_t const type)
std::ostream & operator<< (std::ostream &out, csspp::node const &n)
csspp::erroroperator<< (csspp::error &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)


uint32_t csspp::anonymous_namespace{node.cpp}::g_node_count = 0
uint32_t csspp::anonymous_namespace{node.cpp}::g_node_max_count = 0

Detailed Description

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.

See Also
Lexer Rules

Definition in file node.cpp.

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
csspp::node_type_t const  type 
std::ostream& operator<< ( std::ostream &  out,
csspp::node const &  n 

Definition at line 1701 of file node.cpp.

References csspp::node::display().

csspp::error& operator<< ( csspp::error out,
csspp::node_type_t const  type 

Definition at line 1707 of file node.cpp.

Documentation of CSS Preprocessor.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.