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

Interface Object

stack/stack.go:88–92  ·  view source on GitHub ↗

Object 变量对象,可以获取和保存变量的值

Source from the content-addressed store, hash-verified

86
87// Object 变量对象,可以获取和保存变量的值
88type Object interface {
89 GetValue(variable *symbol.Variable) interface{}
90 SetValue(variable *symbol.Variable, value interface{})
91 String() string
92}
93
94type object struct {
95 fields map[*symbol.Variable]interface{}

Callers 23

VisitArrayInitializerMethod · 0.65
VisitExprMethod · 0.65
getFunctionObjectMethod · 0.65
buildParamValuesMethod · 0.65
VisitStmIfElseMethod · 0.65
VisitStmWhileMethod · 0.65
VisitForControlMethod · 0.65
VisitExprMethod · 0.65
initClassObjectFieldMethod · 0.65
executeFunctionCallMethod · 0.65

Implementers 2

LeftValueleft_value.go
objectstack/stack.go

Calls

no outgoing calls

Tested by

no test coverage detected