logo

class

compiler::OrderByInheritance

sys::Obj
  compiler::CompilerSupport
    compiler::CompilerStep
      compiler::OrderByInheritance

OrderByInheritance orders the list of TypeDefs from top to bottom such that any inherited types are guaranteed to be positioned first in the types list. During this process we check for duplicate type names and cyclic inheritance.

Slots

make

new make(Compiler compiler)

ordered

TypeDef[] ordered

processing

Str:TypeDef processing

run

override Void run()

todo

Str:TypeDef todo