summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/runtime/frame.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/d5/tengo/runtime/frame.go')
-rw-r--r--vendor/github.com/d5/tengo/runtime/frame.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/runtime/frame.go b/vendor/github.com/d5/tengo/runtime/frame.go
new file mode 100644
index 00000000..90151a1e
--- /dev/null
+++ b/vendor/github.com/d5/tengo/runtime/frame.go
@@ -0,0 +1,13 @@
+package runtime
+
+import (
+ "github.com/d5/tengo/objects"
+)
+
+// Frame represents a function call frame.
+type Frame struct {
+ fn *objects.CompiledFunction
+ freeVars []*objects.Object
+ ip int
+ basePointer int
+}