Package tip.util

Provides utility classes for the TIP compiler.

See:
          Description

Interface Summary
Equalitor<T> Equalitor defines an interface for an abstraction of the equals and hashCode methods.
Stringifiable<T> Stringifiable defines an interface for declaring the applicability of the Stringifier interface.
Stringifier<T> Stringifier defines an interface for abstracting the toString method.
 

Class Summary
DeclCollector DeclCollector defines methods for collecting all referred PDecl nodes in the subtree of an AST node or in the subtrees of nodes associated with points in a control flow graph.
DefaultStringifier<T> DefaultStringifier implements the Stringifier by calling the Object.toString() method.
EqualityElement<T> EqualityElement encapsulates elements of type T with an Equalitor of the same type.
EqualityMap<K,V> EqualityMap implements a Map where equality of key elements can be abstracted using an Equalitor, i.e. key elements are in the set are regarded as equal based on Equalitor.equals(Object, Object).
EqualitySet<E> EqualitySet implements a Set where equality of elements can be abstracted using an Equalitor, i.e. elements in the set are regarded as equal based on Equalitor.equals(Object, Object).
ExpressionEqualitor ExpressionEqualitor define an equality on binary expressions, such that for instance two different occurences of the binary expression a-b are regarded the same expression.
IdentityEqualitor<T> IdentityEqualitor implements the Equalitor interface by calling the Object.equals(Object) and Object.hashCode() methods.
LocalDeclCollector LocalDeclCollector defines methods for collecting all referred ALocalDecl nodes in the subtree of an AST node or in the subtrees of nodes associated with points in a control flow graph.
SubExpressions<T extends Node> SubExpressions implements the CFGAnswerAdapter to retrieve child nodes accepted by a NodeFilter in subexpressions of nodes associated with program points in a control flow graph.
 

Package tip.util Description

Provides utility classes for the TIP compiler.