Class BaseExpressionConverter<T>

java.lang.Object
nz.org.riskscape.rl.ast.BaseExpressionConverter<T>
Type Parameters:
T - Type of data to be passed
All Implemented Interfaces:
ExpressionVisitor<T,Expression>

public abstract class BaseExpressionConverter<T> extends Object implements ExpressionVisitor<T,Expression>

A abstract ExpressionVisitor for converting expressions in a narrowly defined way. *

This class implements all methods such that they will throw UnsupportedOperationException if any of them are called.

Implementations are only required to override the methods required to acheive their functionality and know that if any unexpected expression types are visited that an UnsupportedOperationException will be thrown.