Module xl.impl

Class CompiletimeModel

java.lang.Object
de.grogra.xl.impl.base.CompiletimeModel
de.grogra.xl.impl.simple.CompiletimeModel
All Implemented Interfaces:
CompiletimeModel

public class CompiletimeModel extends CompiletimeModel
  • Constructor Details

    • CompiletimeModel

      public CompiletimeModel()
  • Method Details

    • getWrapperTypeFor

      public Type getWrapperTypeFor(Type type)
      Description copied from interface: CompiletimeModel
      Return the type of wrappers for values of the given type. This method is only invoked when CompiletimeModel.needsWrapperFor(de.grogra.reflect.Type<?>) returns true.
      Parameters:
      type - a value type
      Returns:
      the corresponding wrapper type
    • getNodeType

      public Type<Node> getNodeType()
      Description copied from interface: CompiletimeModel
      Specifies the base type of nodes of this model. This type is used where no specific type is available, e.g., for the node predicate "." and for the ends of standard edges.
      Returns:
      base type of nodes
    • getProducerType

      public Type<SimpleProducer> getProducerType()
      Description copied from interface: CompiletimeModel
      Returns the type of producers for right-hand sides of rules for this model.
      Returns:
      type of producers