MCPcopy Create free account
hub / github.com/cogentcore/core / AddLine

Method AddLine

shell/shell.go:260–262  ·  view source on GitHub ↗

AddLine adds line on the stack

(ln string)

Source from the content-addressed store, hash-verified

258
259// AddLine adds line on the stack
260func (sh *Shell) AddLine(ln string) {
261 sh.Lines = append(sh.Lines, ln)
262}
263
264// Code returns the current transpiled lines,
265// split into chunks that should be compiled separately.

Callers 1

TranspileCodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected