Fantom

 

class compiler::TypeParser

sys::Obj
  compiler::TypeParser

Source

TypeParser is used to parser formal type signatures into CTypes.

x::N
x::V[]
x::V[x::K]
|x::A, ... -> x::R|
resolve

const static CType resolve(CNamespace ns, Str sig)

Source

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.