Uses of Class
xtc.type.VariantT

Packages that use VariantT
xtc.parser   
xtc.type   
 

Uses of VariantT in xtc.parser
 

Methods in xtc.parser with parameters of type VariantT
protected  Type VariantSorter.merge(VariantT v1, VariantT v2, Production p)
          Merge the two variants.
 

Uses of VariantT in xtc.type
 

Fields in xtc.type with type parameters of type VariantT
protected  java.util.Map<java.lang.String,java.util.List<VariantT>> AST.tupleVariants
          The map from tuple names to variants containing the tuples.
protected  java.util.Map<java.lang.String,VariantT> AST.variants
          The map from variant names to variant types.
 

Methods in xtc.type that return VariantT
 VariantT VariantT.copy()
           
 VariantT VariantT.toVariant()
           
 VariantT Type.toVariant()
          Get this type as an variant.
 VariantT AST.toVariant(java.lang.String name, boolean poly)
          Get the variant type with the specified name.
 

Methods in xtc.type that return types with arguments of type VariantT
 java.util.List<VariantT> AST.toVariants(TupleT tuple)
          Get the specified tuple's variants.
 

Methods in xtc.type with parameters of type VariantT
 void AST.add(TupleT tuple, VariantT variant)
          Add the specified tuple type to the specified variant type.
 void AST.concretizeTuples(VariantT variant, Type concrete)
          Concretize the specified variant type's tuples.
 AST.MetaData AST.getMetaData(VariantT variant)
          Determine the metadata for the specified variant.
 boolean AST.overlap(VariantT v1, VariantT v2)
          Determine whether the specified variants overlap.
 java.lang.String AST.toOriginal(VariantT variant)
          Get the original name for the specified variant.
 TupleT AST.toTuple(VariantT variant)
          Get the polymorphic tuple for the specified variant.
protected  Type AST.unify(VariantT v1, VariantT v2)
          Unify the specified statically typed nodes.
 void TypePrinter.visit(VariantT t)
          Print the specified variant typee.
 



Copyright © 2012. All Rights Reserved.