2019-01-09 10:17:42 +03:00
|
|
|
package compiler
|
|
|
|
|
2019-01-15 09:24:33 +03:00
|
|
|
// SymbolScope represents a symbol scope.
|
2019-01-09 10:17:42 +03:00
|
|
|
type SymbolScope string
|
|
|
|
|
2019-01-15 09:24:33 +03:00
|
|
|
// List of symbol scopes
|
2019-01-09 10:17:42 +03:00
|
|
|
const (
|
|
|
|
ScopeGlobal SymbolScope = "GLOBAL"
|
|
|
|
ScopeLocal = "LOCAL"
|
|
|
|
ScopeBuiltin = "BUILTIN"
|
|
|
|
ScopeFree = "FREE"
|
|
|
|
)
|