mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-25 12:12:05 -08:00
13 lines
340 B
Go
13 lines
340 B
Go
|
package compiler
|
||
|
|
||
|
import "github.com/d5/tengo/compiler/source"
|
||
|
|
||
|
// CompilationScope represents a compiled instructions
|
||
|
// and the last two instructions that were emitted.
|
||
|
type CompilationScope struct {
|
||
|
instructions []byte
|
||
|
lastInstructions [2]EmittedInstruction
|
||
|
symbolInit map[string]bool
|
||
|
sourceMap map[int]source.Pos
|
||
|
}
|