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:142–144  ·  view source on GitHub ↗

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

(&self)

Source from the content-addressed store, hash-verified

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

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