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

Struct DeclareFunctionType

symbol/symbol.go:416–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414var functionTypeIndex int
415
416type DeclareFunctionType struct {
417 name string
418 encloseScope Scope
419 returnType Type // 返回值类型
420 parameterType []Type // 参数类型
421 isArray bool
422}
423
424// NewDeclareFunctionType 函数类型的变量
425// func int(int) f2 = f1(); f2 的类型

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected