From f1d432892ce158490bb564ba3d01982772439a81 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Mon, 26 Jan 2015 23:55:41 +0100 Subject: Renamed CSS to Style (finally) --- src/plugins/css/CSSParser.hpp | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'src/plugins/css/CSSParser.hpp') diff --git a/src/plugins/css/CSSParser.hpp b/src/plugins/css/CSSParser.hpp index c6594f6..2f37e6a 100644 --- a/src/plugins/css/CSSParser.hpp +++ b/src/plugins/css/CSSParser.hpp @@ -32,8 +32,8 @@ #include #include -#include #include +#include #include namespace ousia { @@ -71,42 +71,44 @@ private: /** * Implements the DOC Nonterminal */ - void parseDocument(Rooted root, CodeTokenizer &tokenizer, - ParserContext &ctx); + void parseDocument(Rooted root, + CodeTokenizer &tokenizer, ParserContext &ctx); /** * Implements the SELECTORS Nonterminal and adds all leaf nodes of the * resulting SelectorTree to the input leafList so that a parsed RuleSet can * be inserted there. */ - void parseSelectors(Rooted root, CodeTokenizer &tokenizer, - std::vector> &leafList, + void parseSelectors(Rooted root, + CodeTokenizer &tokenizer, + std::vector> &leafList, ParserContext &ctx); /** * Implements the SELECT Nonterminal, which in effect parses a SelectorPath * of the SelectorTree and returns the beginning node of the path as first * element as well as the leaf of the path as second tuple element. */ - std::pair, Rooted> parseSelector( - CodeTokenizer &tokenizer, ParserContext &ctx); + std::pair, Rooted> + parseSelector(CodeTokenizer &tokenizer, ParserContext &ctx); /** * Implements the SELECT' Nonterminal, which parses a single Selector with * its PseudoSelector and returns it. */ - Rooted parsePrimitiveSelector(CodeTokenizer &tokenizer, - ParserContext &ctx); + Rooted parsePrimitiveSelector(CodeTokenizer &tokenizer, + ParserContext &ctx); /** * Implements the RULESET Nonterminal, which parses an entire RuleSet. Note * that we do not require RuleSets to be parsed. It is permitted to just * insert Selector expressions. */ - Rooted parseRuleSet(CodeTokenizer &tokenizer, ParserContext &ctx); + Rooted parseRuleSet(CodeTokenizer &tokenizer, + ParserContext &ctx); /** * Implements the RULES Nonterminal, which parses CSSRules inside a RuleSet. */ - void parseRules(CodeTokenizer &tokenizer, Rooted ruleSet, + void parseRules(CodeTokenizer &tokenizer, Rooted ruleSet, ParserContext &ctx); /** -- cgit v1.2.3