Lines Matching defs:TokenRange

35 struct TokenRange {  struct
40 explicit TokenRange(const TokenList& token_list) in TokenRange() argument
48 TokenRange(ForwardIterator it_begin, ForwardIterator it_end) in TokenRange() function
68 TokenRange(const char* token_list[], size_t length) in TokenRange() function
75 explicit TokenRange(TokenList&& token_list) in TokenRange() function
82 TokenRange(std::shared_ptr<TokenList> token_list, in TokenRange() argument
99 explicit TokenRange(std::shared_ptr<TokenList> token_list) in TokenRange() function
114 static TokenRange Split(const std::string& string, std::initializer_list<char> separators) { in Split() argument
144 iterator begin() const { in begin()
172 bool operator==(const TokenRange& other) const { argument
191 bool StartsWith(const TokenRange& other) const { in StartsWith() argument
207 TokenRange RemoveCharacter(char c) const { in RemoveCharacter() argument
230 TokenRange RemoveToken(const std::string& token) { in RemoveToken() argument
235 TokenRange DiscardEmpty() const { in DiscardEmpty() argument
255 return TokenRange(token_list_, begin() + offset, it_end); argument
269 std::unique_ptr<TokenRange> MatchSubstrings(const std::string& string, in MatchSubstrings() argument
337 size_t MaybeMatches(const TokenRange& token_list, const std::string& wildcard) const { in MaybeMatches() argument
391 TokenRange RemoveIf(const TPredicate& predicate) const { in RemoveIf() argument
419 const std::shared_ptr<std::vector<std::string>> token_list_;
420 const iterator begin_;
421 const iterator end_;