TypeParser is used to parser formal type signatures into CTypes.
x::N x::V[] x::V[x::K] |x::A, ... -> x::R|
Slots
-
private Int cur
-
private ArgErr err()
-
private Int len
-
private CType loadAny()
-
private CType loadBasic()
-
private CType loadFunc()
-
private CType loadMap()
-
private CType loadTop()
-
new make(CNamespace ns, Str sig)
-
private CNamespace ns
-
private Int peek
-
private Int pos
- resolveSource
-
static CType resolve(CNamespace ns, Str sig)
Parse the signature into a resolved CType. We don't use the CNamespace's cache - it is using me when a signature isn't found in the cache. But we do use the CPod's type cache via CPod.resolveType.
-
private Str sig