Current Version: 1.0.33
Project Name: csspp
parser.h
Go to the documentation of this file.
1// Copyright (c) 2015-2025 Made to Order Software Corp. All Rights Reserved
2//
3// This program is free software; you can redistribute it and/or modify
4// it under the terms of the GNU General Public License as published by
5// the Free Software Foundation; either version 2 of the License, or
6// (at your option) any later version.
7//
8// This program is distributed in the hope that it will be useful,
9// but WITHOUT ANY WARRANTY; without even the implied warranty of
10// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11// GNU General Public License for more details.
12//
13// You should have received a copy of the GNU General Public License along
14// with this program; if not, write to the Free Software Foundation, Inc.,
15// 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16#pragma once
17
18// self
19//
20#include "csspp/lexer.h"
21
22
23namespace csspp
24{
25
60
61} // namespace csspp
62// vim: ts=4 sw=4 et
std::shared_ptr< lexer > pointer_t
Definition lexer.h:29
std::shared_ptr< node > pointer_t
Definition node.h:132
node::pointer_t declaration_list()
Definition parser.cpp:84
node::pointer_t stylesheet()
Definition parser.cpp:69
node::pointer_t at_rule(node::pointer_t at_keyword)
Definition parser.cpp:207
node::pointer_t rule()
Definition parser.cpp:79
node::pointer_t component_value_list()
Definition parser.cpp:89
static bool argify(node::pointer_t n, node_type_t const separator=node_type_t::COMMA)
Definition parser.cpp:789
lexer::pointer_t f_lexer
Definition parser.h:57
node::pointer_t next_token()
Definition parser.cpp:99
node::pointer_t qualified_rule(node::pointer_t n)
Definition parser.cpp:239
node::pointer_t declaration(node::pointer_t identifier)
Definition parser.cpp:335
static bool is_nested_declaration(node::pointer_t n)
Definition parser.cpp:703
node::pointer_t f_last_token
Definition parser.h:58
node::pointer_t block_list(node::pointer_t b)
Definition parser.cpp:617
node::pointer_t rule_list()
Definition parser.cpp:74
node::pointer_t block(node::pointer_t b, node_type_t closing_token)
Definition parser.cpp:590
node::pointer_t component_value()
Definition parser.cpp:94
static bool is_variable_set(node::pointer_t n, bool with_block)
Definition parser.cpp:667
The namespace of all the classes in the CSS Preprocessor.
Definition csspp.h:48
node_type_t
Definition node.h:41

Documentation of CSS Preprocessor.

This document is part of the Snap! Websites Project.

Copyright by Made to Order Software Corp.