Lines Matching refs:Tokens
51 auto Tokens = RangeSpec::tokenize(Token, RangeSpec::DELIM_RANGE); in getRange() local
52 if (Tokens.size() == 1) { in getRange()
53 *First = std::stoul(Tokens[0]); in getRange()
55 } else if (Tokens.size() == 2) { in getRange()
56 *First = Tokens[0].empty() ? 0 : std::stoul(Tokens[0]); in getRange()
57 *Last = Tokens[1].empty() ? RangeSpec::RangeMax : std::stoul(Tokens[1]); in getRange()
99 std::vector<std::string> Tokens; in tokenize() local
105 Tokens.emplace_back(Spec.substr(StartPos, DelimPos - StartPos)); in tokenize()
109 return Tokens; in tokenize()
115 auto Tokens = tokenize(Spec, DELIM_LIST); in init() local
116 for (const auto &Token : Tokens) { in init()