MCPcopy
hub / github.com/vercel/hyper / eat

Method eat

bin/yarn-standalone.js:34621–34628  ·  view source on GitHub ↗
(tokType)

Source from the content-addressed store, hash-verified

34619 }
34620
34621 eat(tokType) {
34622 if (this.token.type === tokType) {
34623 this.next();
34624 return true;
34625 } else {
34626 return false;
34627 }
34628 }
34629
34630 parse(indent = 0) {
34631 const obj = (0, (_map || _load_map()).default)();

Callers

nothing calls this directly

Calls 1

nextMethod · 0.95

Tested by

no test coverage detected