MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / push_token

Method push_token

codegraph-kernel/src/tsjs/mod.rs:187–192  ·  view source on GitHub ↗

A token of `names`, after a space unless it is the first.

(&mut self, token: &str)

Source from the content-addressed store, hash-verified

185impl ObjectMemberList {
186 /// A token of `names`, after a space unless it is the first.
187 fn push_token(&mut self, token: &str) {
188 if !self.names.is_empty() {
189 self.names.push(' ');
190 }
191 self.names.push_str(token);
192 }
193}
194
195/// `Number.prototype.toString(36)` of a line count.

Callers 1

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected