summaryrefslogtreecommitdiff
path: root/src/plugins/css/CSSParser.hpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-01 18:06:04 +0100
committerAndreas Stöckel <andreas@somweyr.de>2015-01-01 18:06:04 +0100
commit4484f6deea0e098a140e878484d020bec839d1bd (patch)
treef3e8b480a533b4158abe9918f16d9988c6b463b6 /src/plugins/css/CSSParser.hpp
parent377b7b0213733307927bec9e39c8ccb063e6ba50 (diff)
Using CharReader instead of inputstream in Parser function
Diffstat (limited to 'src/plugins/css/CSSParser.hpp')
-rw-r--r--src/plugins/css/CSSParser.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/css/CSSParser.hpp b/src/plugins/css/CSSParser.hpp
index eeb5b2c..6d84dbf 100644
--- a/src/plugins/css/CSSParser.hpp
+++ b/src/plugins/css/CSSParser.hpp
@@ -142,13 +142,16 @@ public:
* rules. You are permitted to just insert a CSS Selector expression
* specifying some part of a DocumentTree you want to refer to.
*
- * @param is is a reference to the input stream that should be parsed.
+ * @param reader is a reference to the CharReader instance from which the
+ * input data should be read.
* @param ctx is a reference to the context that should be used while
* parsing the document.
* @return returns the root node of the resulting SelectorTree. For more
* information on the return conventions consult the Parser.hpp.
*/
- Rooted<Node> parse(std::istream &is, ParserContext &ctx) override;
+ Rooted<Node> parse(CharReader &reader, ParserContext &ctx) override;
+
+ using Parser::parse;
/**
* As befits a class called CSSParser, this Parser parses CSS.