com.veromodo.tempo.sem.desc
Class TupleFieldDescriptor

java.lang.Object
  extended by com.veromodo.tempo.sem.desc.Descriptor
      extended by com.veromodo.tempo.sem.desc.TupleFieldDescriptor
All Implemented Interfaces:
java.lang.Comparable

public class TupleFieldDescriptor
extends Descriptor

Describes a field of a tuple type For example, one or two in the type tuple [one:Int, two,Int]

Author:
Carleton

Nested Class Summary
 
Nested classes/interfaces inherited from class com.veromodo.tempo.sem.desc.Descriptor
Descriptor.Kind
 
Constructor Summary
TupleFieldDescriptor(Type t, Extent e, GenericizeType gen)
           
TupleFieldDescriptor(Type t, TupleFieldDescriptor src)
           
 
Method Summary
 Descriptor resolve()
          builds a new descriptor where the bound type parameters of the descriptor's type are assigned to their bound type.
 java.lang.String toString()
           
 
Methods inherited from class com.veromodo.tempo.sem.desc.Descriptor
actionFormalKinds, allKinds, AutomatonComponentKinds, AutomatonDerefKinds, AutomatonInstanceKinds, AutomatonKinds, AutomatonStateKinds, compareTo, componentKinds, correspKinds, effectKinds, functionKind, getExtent, getKind, getType, hashCode, hiddenKinds, initiallyKinds, initValueKinds, invocationKinds, isIn, isType, ndrStatesKinds, preconditionKinds, proofKinds, scheduleKinds, setScope, signatureExternalKinds, signatureInputKinds, signatureInternalKinds, signatureKinds, signatureOutputKinds, taskForKinds, taskKinds, trajectoryKinds, transitionActualKinds, transitionInputKinds, transitionInternalKinds, transitionKinds, transitionOutputKinds, transitionWhereKinds, VocabOpKinds, VocabularyKinds
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TupleFieldDescriptor

public TupleFieldDescriptor(Type t,
                            Extent e,
                            GenericizeType gen)

TupleFieldDescriptor

public TupleFieldDescriptor(Type t,
                            TupleFieldDescriptor src)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

resolve

public Descriptor resolve()
Description copied from class: Descriptor
builds a new descriptor where the bound type parameters of the descriptor's type are assigned to their bound type. If the type does not change is returned This method is helpful for instantiation

Specified by:
resolve in class Descriptor
Returns:
a descriptor with all bound type parameters resolved to their bound type