MCPcopy Index your code
hub / github.com/crossoverJie/gscript / NewObjectStackFrame

Function NewObjectStackFrame

stack/stack.go:50–52  ·  view source on GitHub ↗
(object *FuncObject)

Source from the content-addressed store, hash-verified

48}
49
50func NewObjectStackFrame(object *FuncObject) *Frame {
51 return &Frame{object: object, scope: object.GetFunction()}
52}
53func NewBlockScopeFrame(scope symbol.Scope) *Frame {
54 return &Frame{scope: scope, object: NewEmptyObject()}
55}

Callers 1

executeFunctionCallMethod · 0.92

Calls 1

GetFunctionMethod · 0.65

Tested by

no test coverage detected