MCPcopy Create free account
hub / github.com/csskit/csskit / end

Method end

crates/css_parse/src/token_macros.rs:871–878  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

869 }
870
871 pub fn end(&self) -> Kind {
872 match self.kind() {
873 Kind::LeftCurly => Kind::RightCurly,
874 Kind::LeftParen => Kind::RightParen,
875 Kind::LeftSquare => Kind::RightSquare,
876 k => k,
877 }
878 }
879}
880
881impl<'a> Peek<'a> for PairWiseStart {

Callers 1

parseMethod · 0.45

Calls 1

kindMethod · 0.45

Tested by

no test coverage detected