MCPcopy Index your code
hub / github.com/codeaashu/claude-code / feed

Method feed

src/ink/termio/parser.ts:287–297  ·  view source on GitHub ↗

Feed input and get resulting actions

(input: string)

Source from the content-addressed store, hash-verified

285
286 /** Feed input and get resulting actions */
287 feed(input: string): Action[] {
288 const tokens = this.tokenizer.feed(input)
289 const actions: Action[] = []
290
291 for (const token of tokens) {
292 const tokenActions = this.processToken(token)
293 actions.push(...tokenActions)
294 }
295
296 return actions
297 }
298
299 private processToken(token: Token): Action[] {
300 switch (token.type) {

Callers 3

parseToSpansFunction · 0.95
expandTabsFunction · 0.80
parseMultipleKeypressesFunction · 0.80

Calls 2

processTokenMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected