InheritanceTree

public class InheritanceTree

Fields

children

public TapList<InheritanceTree> children

in case of simple inheritance, only one child.

currentUnit

public Unit currentUnit

inherited class unit for the current symbol.

declarationUnit

public Unit declarationUnit

Unit where the symbol was declared.

virtualChildren

public TapList<InheritanceTree> virtualChildren

Methods

addChild

public void addChild(InheritanceTree newChild, boolean virtual)

copy

public static InheritanceTree copy(InheritanceTree inheritanceTree)

getName

public String getName()