up
Class TreeTransformers

java.lang.Object
  extended by up.TreeTransformers

public class TreeTransformers
extends java.lang.Object

A collection of tree transformers.


Method Summary
static TreeTransformer getBinarizer()
          Returns the shared instance of the Binarizer.
static TreeTransformer getDebinarizer()
          Returns the shared instance of the Debinarizer.
static TreeTransformer getEmptySubtreeStripper()
          Returns the shared instance of the EmptySubtreeStripper.
static TreeTransformer getFunctionAnnotationStripper()
          Returns the shared instance of the FunctionAnnotationStripper.
static TreeTransformer getParentAnnotationStripper()
          Returns the shared instance of the ParentAnnotationStripper.
static TreeTransformer getParentAnnotator()
          Returns the shared instance of the ParentAnnotator.
static TreeTransformer getUnaryChainsSplicer()
          Returns the shared instance of the UnaryChainsSplicer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFunctionAnnotationStripper

public static TreeTransformer getFunctionAnnotationStripper()
Returns the shared instance of the FunctionAnnotationStripper.

Returns:
the shared instance of the FunctionAnnotationStripper

getEmptySubtreeStripper

public static TreeTransformer getEmptySubtreeStripper()
Returns the shared instance of the EmptySubtreeStripper.

Returns:
the shared instance of the EmptySubtreeStripper

getUnaryChainsSplicer

public static TreeTransformer getUnaryChainsSplicer()
Returns the shared instance of the UnaryChainsSplicer.

Returns:
the shared instance of the UnaryChainsSplicer

getBinarizer

public static TreeTransformer getBinarizer()
Returns the shared instance of the Binarizer.

Returns:
the shared instance of the Binarizer

getDebinarizer

public static TreeTransformer getDebinarizer()
Returns the shared instance of the Debinarizer.

Returns:
the shared instance of the Debinarizer

getParentAnnotator

public static TreeTransformer getParentAnnotator()
Returns the shared instance of the ParentAnnotator.

Returns:
the shared instance of the ParentAnnotator

getParentAnnotationStripper

public static TreeTransformer getParentAnnotationStripper()
Returns the shared instance of the ParentAnnotationStripper.

Returns:
the shared instance of the ParentAnnotationStripper