diff options
Diffstat (limited to 'vendor/github.com/d5/tengo/compiler/symbol_scopes.go')
-rw-r--r-- | vendor/github.com/d5/tengo/compiler/symbol_scopes.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/compiler/symbol_scopes.go b/vendor/github.com/d5/tengo/compiler/symbol_scopes.go new file mode 100644 index 00000000..15204b35 --- /dev/null +++ b/vendor/github.com/d5/tengo/compiler/symbol_scopes.go @@ -0,0 +1,12 @@ +package compiler + +// SymbolScope represents a symbol scope. +type SymbolScope string + +// List of symbol scopes +const ( + ScopeGlobal SymbolScope = "GLOBAL" + ScopeLocal = "LOCAL" + ScopeBuiltin = "BUILTIN" + ScopeFree = "FREE" +) |