MCPcopy Create free account
hub / github.com/astral-sh/ruff / at_sequence_end

Method at_sequence_end

crates/ruff_python_parser/src/parser/expression.rs:141–143  ·  view source on GitHub ↗

Returns `true` if the current token ends a sequence.

(&self)

Source from the content-addressed store, hash-verified

139
140 /// Returns `true` if the current token ends a sequence.
141 pub(super) fn at_sequence_end(&self) -> bool {
142 self.at_ts(END_SEQUENCE_SET)
143 }
144
145 /// Parses every Python expression.
146 ///

Callers 5

parse_list_expressionMethod · 0.80
parse_set_expressionMethod · 0.80
list_terminator_kindMethod · 0.80

Calls 1

at_tsMethod · 0.80

Tested by

no test coverage detected