xgo/compiler/symbol_scopes.go

13 lines
266 B
Go
Raw Normal View History

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