mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-20 01:52:38 +01: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
|
||
|
}
|