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

Function NewClassObject

stack/stack.go:156–161  ·  view source on GitHub ↗
(class *symbol.Class)

Source from the content-addressed store, hash-verified

154}
155
156func NewClassObject(class *symbol.Class) *ClassObject {
157 return &ClassObject{
158 object: &object{fields: make(map[*symbol.Variable]interface{})},
159 class: class,
160 }
161}
162
163func (c *ClassObject) AllField() map[*symbol.Variable]interface{} {
164 return c.fields

Callers 2

initClassObjectMethod · 0.92
httpHandleFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected