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"
|
2019-04-11 07:39:19 +03:00
|
|
|
ScopeLocal SymbolScope = "LOCAL"
|
|
|
|
ScopeBuiltin SymbolScope = "BUILTIN"
|
|
|
|
ScopeFree SymbolScope = "FREE"
|
2019-01-09 10:17:42 +03:00
|
|
|
)
|