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

Implementation of the CSS Preprocessor assembler. More...

#include "csspp/assembler.h"
#include "csspp/exceptions.h"
#include "csspp/lexer.h"
#include "csspp/nth_child.h"
#include "csspp/unicode_range.h"
#include <iostream>
Include dependency graph for assembler.cpp:

Go to the source code of this file.

Classes

class  csspp::assembler_compact
 
class  csspp::assembler_compressed
 
class  csspp::assembler_expanded
 
class  csspp::assembler_impl
 
class  csspp::assembler_tidy
 

Namespaces

 csspp
 The namespace of all the classes in the CSS Preprocessor.
 
 csspp::anonymous_namespace{assembler.cpp}
 

Typedefs

typedef uint32_t csspp::anonymous_namespace{assembler.cpp}::flags_t
 

Functions

std::ostream & operator<< (std::ostream &out, csspp::output_mode_t const type)
 
void csspp::anonymous_namespace{assembler.cpp}::verify_dimension (node::pointer_t n)
 

Variables

flags_t const csspp::anonymous_namespace{assembler.cpp}::g_flag_optional_operator = 0x01
 
flags_t const csspp::anonymous_namespace{assembler.cpp}::g_flag_optional_space_after = 0x08
 
flags_t const csspp::anonymous_namespace{assembler.cpp}::g_flag_optional_space_after_or_newline = 0x40
 
flags_t const csspp::anonymous_namespace{assembler.cpp}::g_flag_optional_space_before = 0x04
 
flags_t const csspp::anonymous_namespace{assembler.cpp}::g_flag_optional_space_before_or_newline = 0x20
 
flags_t const csspp::anonymous_namespace{assembler.cpp}::g_flag_optional_spaces = 0x02
 
flags_t const csspp::anonymous_namespace{assembler.cpp}::g_flag_optional_spaces_or_newlines = 0x10
 

Detailed Description

The CSS Preprocessor assembler generates the output files from whatever the compiler generated.

The assembler supports modes that allows one to define how the data is output. The mode uses an internally defined class to handle the formatting.

See Also
Lexer Rules

Definition in file assembler.cpp.

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
csspp::output_mode_t const  type 
)

Definition at line 971 of file assembler.cpp.

References csspp::COMPACT, csspp::COMPRESSED, csspp::EXPANDED, and csspp::TIDY.

Documentation of CSS Preprocessor.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.