Skip to content
Snippets Groups Projects
Commit 5014ffab authored by ilor's avatar ilor
Browse files

emphasise that parseStringOperator(const std::string&) parses a string, not a...

emphasise that parseStringOperator(const std::string&) parses a string, not a file, by calling the argument appropriately
parent d7599872
Branches
No related merge requests found
...@@ -35,58 +35,58 @@ public: ...@@ -35,58 +35,58 @@ public:
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// methods for parsing string operators // methods for parsing string operators
boost::shared_ptr<Operator<StrSet> > boost::shared_ptr<Operator<StrSet> >
parseStringOperator(const std::string&) const; parseStringOperator(const std::string& operator_string) const;
boost::shared_ptr<Operator<StrSet> > boost::shared_ptr<Operator<StrSet> >
parseStringOperator(std::istream&) const; parseStringOperator(std::istream& is) const;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// methods for parsing bool operators // methods for parsing bool operators
boost::shared_ptr<Operator<Bool> > boost::shared_ptr<Operator<Bool> >
parseBoolOperator(const std::string&) const; parseBoolOperator(const std::string& operator_string) const;
boost::shared_ptr<Operator<Bool> > boost::shared_ptr<Operator<Bool> >
parseBoolOperator(std::istream&) const; parseBoolOperator(std::istream& is) const;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// methods for parsing bool operators // methods for parsing bool operators
boost::shared_ptr<Operator<TSet> > boost::shared_ptr<Operator<TSet> >
parseSymSetOperator(const std::string&) const; parseSymSetOperator(const std::string& operator_string) const;
boost::shared_ptr<Operator<TSet> > boost::shared_ptr<Operator<TSet> >
parseSymSetOperator(std::istream&) const; parseSymSetOperator(std::istream& is) const;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// methods for parsing position operators // methods for parsing position operators
boost::shared_ptr<Operator<Position> > boost::shared_ptr<Operator<Position> >
parsePositionOperator(const std::string&) const; parsePositionOperator(const std::string& operator_string) const;
boost::shared_ptr<Operator<Position> > boost::shared_ptr<Operator<Position> >
parsePositionOperator(std::istream&) const; parsePositionOperator(std::istream& is) const;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// methods for parsing any operators // methods for parsing any operators
boost::shared_ptr<FunctionalOperator> boost::shared_ptr<FunctionalOperator>
parseAnyOperator(const std::string&) const; parseAnyOperator(const std::string& operator_string) const;
boost::shared_ptr<FunctionalOperator> boost::shared_ptr<FunctionalOperator>
parseAnyOperator(std::istream&) const; parseAnyOperator(std::istream& is) const;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Parsing rule sequence from input string // Parsing rule sequence from input string
boost::shared_ptr<RuleSequence> boost::shared_ptr<RuleSequence>
parseRuleSequence(const std::string&) const; parseRuleSequence(const std::string& operator_string) const;
boost::shared_ptr<RuleSequence> boost::shared_ptr<RuleSequence>
parseRuleSequence(std::istream&) const; parseRuleSequence(std::istream& is) const;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Parsing single rule from input string // Parsing single rule from input string
boost::shared_ptr<TagRule> boost::shared_ptr<TagRule>
parseSingleRule(const std::string&) const; parseSingleRule(const std::string& operator_string) const;
boost::shared_ptr<TagRule> boost::shared_ptr<TagRule>
parseSingleRule(std::istream&) const; parseSingleRule(std::istream& is) const;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Parsing match rule from input string // Parsing match rule from input string
boost::shared_ptr<Expression> boost::shared_ptr<Expression>
parseMatchRule(const std::string&) const; parseMatchRule(const std::string& operator_string) const;
boost::shared_ptr<Expression> boost::shared_ptr<Expression>
parseMatchRule(std::istream&) const; parseMatchRule(std::istream& is) const;
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
const Corpus2::Tagset& tagset() const { const Corpus2::Tagset& tagset() const {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment