Searched refs:CodepointIndex (Results 1 – 3 of 3) sorted by relevance
39 using CodepointIndex = int; variable45 using CodepointSpan = std::pair<CodepointIndex, CodepointIndex>;123 CodepointIndex start;124 CodepointIndex end;133 Token(const std::string& arg_value, CodepointIndex arg_start, in Token()134 CodepointIndex arg_end) in Token()
150 const CodepointIndex last_line_begin_index = in StripTokensFromOtherLines()152 const CodepointIndex last_line_end_index = in StripTokensFromOtherLines()210 std::pair<CodepointIndex, CodepointIndex>* span) const { in LabelToSpan() argument269 const std::pair<CodepointIndex, CodepointIndex>& span, in SpanToLabel() argument299 const CodepointIndex tokens_start = tokens[click_position - span_left].start; in SpanToLabel()300 const CodepointIndex tokens_end = tokens[click_position + span_right].end; in SpanToLabel()
233 bool SpanToLabel(const std::pair<CodepointIndex, CodepointIndex>& span,