AddLine adds line on the stack
(ln string)
| 258 | |
| 259 | // AddLine adds line on the stack |
| 260 | func (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. |