MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / commandBoundary

Method commandBoundary

src/core/parser.js:269–283  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

267 }
268
269 commandBoundary(token) {
270 if (
271 token.value == "end" ||
272 token.value == "then" ||
273 token.value == "else" ||
274 token.value == "otherwise" ||
275 token.value == ")" ||
276 this.commandStart(token) ||
277 this.featureStart(token) ||
278 token.type == "EOF"
279 ) {
280 return true;
281 }
282 return false;
283 }
284
285 commandStart(token) {
286 return this.#kernel.commandStart(token);

Callers 14

#syncToCommandMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseRepeatExpressionMethod · 0.45
parseShowHideTargetMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45

Calls 2

commandStartMethod · 0.95
featureStartMethod · 0.95

Tested by

no test coverage detected