Commit 605efe83 authored by Eric Myhre's avatar Eric Myhre

Add missing Spawn{kind} methods.

parent 34aa6fa4
......@@ -30,10 +30,18 @@ func SpawnString(name TypeName) *TypeString {
return &TypeString{typeBase{name, nil}}
}
func SpawnBool(name TypeName) *TypeBool {
return &TypeBool{typeBase{name, nil}}
}
func SpawnInt(name TypeName) *TypeInt {
return &TypeInt{typeBase{name, nil}}
}
func SpawnFloat(name TypeName) *TypeFloat {
return &TypeFloat{typeBase{name, nil}}
}
func SpawnBytes(name TypeName) *TypeBytes {
return &TypeBytes{typeBase{name, nil}}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment