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

Method set_state

crates/css_parse/src/parser.rs:122–126  ·  view source on GitHub ↗
(&mut self, state: State)

Source from the content-addressed store, hash-verified

120
121 #[inline]
122 pub fn set_state(&mut self, state: State) -> State {
123 let old = self.state;
124 self.state = state;
125 old
126 }
127
128 #[inline]
129 pub fn set_skip(&mut self, skip: KindSet) -> KindSet {

Callers 4

parseMethod · 0.80
parseMethod · 0.80
parseMethod · 0.80
parse_rule_variantsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected