Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case class Temputs(
- // Signatures that have already started to be compiled.
- declaredSignatures: Set[Signature2],
- // Not all signatures/banners will have a return type here, it might not have been processed yet.
- returnTypesBySignature: Map[Signature2, Reference2],
- // Not all signatures/banners or even return types will have a function here, it might not have
- // been processed yet.
- functions: List[Function2],
- // One must fill this in when putting things into declaredStructs/Interfaces.
- mutabilitiesByCitizenRef: Map[CitizenRef2, MutabilityP],
- // declaredStructs is the structs that we're currently in the process of defining
- // Things will appear here before they appear in structDefsByRef
- // This is to prevent infinite recursion / stack overflow when templaring recursive types
- // Not too sure about the type of declaredStructs, we might need something else
- declaredStructs: Set[StructRef2],
- structDefsByRef: ListMap[StructRef2, StructDefinition2],
- // declaredInterfaces is the interfaces that we're currently in the process of defining
- // Things will appear here before they appear in interfaceDefsByRef
- // This is to prevent infinite recursion / stack overflow when templaring recursive types
- // Not too sure about the type of declaredInterfaces, we might need something else
- declaredInterfaces: Set[InterfaceRef2],
- interfaceDefsByRef: ListMap[InterfaceRef2, InterfaceDefinition2],
- // Only PackTemplar can make a PackT2.
- packTypes: Map[List[Reference2], StructRef2],
- // Only ArrayTemplar can make an RawArrayT2.
- arraySequenceTypes: Map[(Int, RawArrayT2), ArraySequenceT2],
- // Only ArrayTemplar can make an RawArrayT2.
- unknownSizeArrayTypes: Map[RawArrayT2, UnknownSizeArrayT2])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement