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

Function NewPrimitiveType

symbol/primitive_type.go:33–35  ·  view source on GitHub ↗
(name string, isArray bool)

Source from the content-addressed store, hash-verified

31}
32
33func NewPrimitiveType(name string, isArray bool) Type {
34 return &PrimitiveType{name: name, isArray: isArray}
35}
36
37func NewPrimitiveTypeWithType(t Type) Type {
38 declareFunctionType, ok := t.(*DeclareFunctionType)

Callers 3

ExitTypeTypeMethod · 0.92
ExitExprMethod · 0.92
NewPrimitiveTypeWithTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected