(node *ast.SequenceNode)
| 1248 | } |
| 1249 | |
| 1250 | func (c *compiler) SequenceNode(node *ast.SequenceNode) { |
| 1251 | for i, n := range node.Nodes { |
| 1252 | c.compile(n) |
| 1253 | if i < len(node.Nodes)-1 { |
| 1254 | c.emit(OpPop) |
| 1255 | } |
| 1256 | } |
| 1257 | } |
| 1258 | |
| 1259 | func (c *compiler) beginScope(name string, index int) { |
| 1260 | c.scopes = append(c.scopes, scope{name, index}) |