Eidola home

org.eidola.kernel
Class Variable.Compilation

java.lang.Object
  |
  +--org.eidola.kernel.Container.Compilation
        |
        +--org.eidola.kernel.Element.Compilation
              |
              +--org.eidola.kernel.NamedElement.Compilation
                    |
                    +--org.eidola.kernel.Variable.Compilation
Enclosing class:
Variable

public class Variable.Compilation
extends NamedElement.Compilation


Fields inherited from class org.eidola.kernel.Element.Compilation
elementsUsed
 
Fields inherited from class org.eidola.kernel.Container.Compilation
contents
 
Constructor Summary
Variable.Compilation()
           
 
Method Summary
protected  void calculateDerived()
          Calculates the contents of this function.
protected  void checkLazy()
          Checks that this element has an owner and is among its owner's contents.
 boolean specializes(NamedElement other)
          Returns true if the other element is a variable with a compatible type (i.e.
 
Methods inherited from class org.eidola.kernel.Element.Compilation
getElementsUsed
 
Methods inherited from class org.eidola.kernel.Container.Compilation
addError, getCompileVersion, getContents, getErrors, hasErrors, isCurrent, run, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Variable.Compilation

public Variable.Compilation()
Method Detail

specializes

public boolean specializes(NamedElement other)
Returns true if the other element is a variable with a compatible type (i.e. other's type is a generalization of this variable's type).
Overrides:
specializes in class NamedElement.Compilation

calculateDerived

protected void calculateDerived()
Calculates the contents of this function.
Overrides:
calculateDerived in class Container.Compilation

checkLazy

protected void checkLazy()
Description copied from class: Element.Compilation
Checks that this element has an owner and is among its owner's contents. This also performs the checks in Container.Compilation.checkLazy().
Overrides:
checkLazy in class NamedElement.Compilation

Eidola home