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"
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
)