Module graph

Class CharTreeAttribute

All Implemented Interfaces:
Described, KeyDescription, Comparable

public abstract class CharTreeAttribute extends CharAttribute
  • Constructor Details

    • CharTreeAttribute

      public CharTreeAttribute(Type type)
    • CharTreeAttribute

      public CharTreeAttribute()
  • Method Details

    • getParentAttribute

      protected ObjectAttribute getParentAttribute(GraphState gs)
    • getDerived

      protected char getDerived(Object object, boolean asNode, GraphState gs)
      Overrides:
      getDerived in class CharAttribute
    • derive

      protected abstract char derive(Object object, boolean asNode, char parentValue, GraphState gs)
    • getInitialValue

      protected abstract char getInitialValue(GraphState gs)
    • isDerived

      public boolean isDerived()
      Description copied from class: Attribute
      Determines whether this is a derived attribute or not.
      Overrides:
      isDerived in class Attribute<Character>
      Returns:
      true iff this is a derived attribute
    • dependsOn

      public abstract boolean dependsOn(Attribute[] b)
    • getParentValue

      public char getParentValue(Object object, boolean asNode, GraphState gs)