MCPcopy Create free account
hub / github.com/Noumena-Network/code / processToken

Method processToken

src/ink/termio/parser.ts:345–353  ·  view source on GitHub ↗
(token: Token)

Source from the content-addressed store, hash-verified

343 }
344
345 private processToken(token: Token): Action[] {
346 switch (token.type) {
347 case 'text':
348 return this.processText(token.value)
349
350 case 'sequence':
351 return this.processSequence(token.value)
352 }
353 }
354
355 private processText(text: string): Action[] {
356 // Handle BEL characters embedded in text

Callers 1

feedMethod · 0.95

Calls 2

processTextMethod · 0.95
processSequenceMethod · 0.95

Tested by

no test coverage detected