Lines Matching defs:RegExpInput
36 // RegExpInput is the interface that abstracts the input that feeds the
39 class RegExpInput {
41 virtual ~RegExpInput() {}
62 virtual bool Consume(RegExpInput* input_string,
70 inline bool Consume(RegExpInput* input_string,
78 inline bool Consume(RegExpInput* input_string,
84 inline bool Consume(RegExpInput* input_string, string* matched_string) const {
88 inline bool Consume(RegExpInput* input_string) const {
94 inline bool FindAndConsume(RegExpInput* input_string,
151 // implementing RegExp and RegExpInput.
156 // Creates a new instance of RegExpInput. The deletion of the returned
158 virtual RegExpInput* CreateInput(const string& utf8_input) const = 0;