MCPcopy Create free account
hub / github.com/crossoverJie/gscript / NewClassStackFrame

Function NewClassStackFrame

stack/stack.go:56–58  ·  view source on GitHub ↗
(classObject *ClassObject)

Source from the content-addressed store, hash-verified

54 return &Frame{scope: scope, object: NewEmptyObject()}
55}
56func NewClassStackFrame(classObject *ClassObject) *Frame {
57 return &Frame{scope: classObject.class, object: classObject}
58}
59
60func (s *Frame) GetScope() symbol.Scope {
61 return s.scope

Callers 2

initClassObjectMethod · 0.92
receiveFunctionCallMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected