MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / line

Method line

eval/public/source_position.cc:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47} // namespace
48
49int32_t SourcePosition::line() const {
50 return GetLineAndLineOffset(source_info_, character_offset()).first;
51}
52
53int32_t SourcePosition::column() const {
54 int32_t position = character_offset();

Callers 1

TEST_FFunction · 0.80

Calls 1

GetLineAndLineOffsetFunction · 0.85

Tested by 1

TEST_FFunction · 0.64