public abstract class AbstractExpressionVisitor<ResultType,ExceptionType extends EcmException> extends Object implements ExpressionVisitor<ResultType,ExceptionType>
ExpressionVisitor implements the iteration over children.| Constructor and Description |
|---|
AbstractExpressionVisitor() |
| Modifier and Type | Method and Description |
|---|---|
abstract ResultType |
finishVisit(BooleanAndExpression expression,
List<ResultType> childrenResults) |
abstract ResultType |
finishVisit(BooleanOrExpression expression,
List<ResultType> childrenResults) |
abstract ResultType |
finishVisit(Statement expression,
ResultType childResult) |
abstract ResultType |
handleNegation(BooleanNotExpression expression,
ResultType innerResult) |
abstract void |
startVisit(BooleanAndExpression expression) |
abstract void |
startVisit(BooleanOrExpression expression) |
abstract void |
startVisit(Statement expression) |
ResultType |
visit(BooleanAndExpression expression)
This callback is called when a boolean 'and' is encountered.
|
ResultType |
visit(BooleanNotExpression expression)
This callback is called when a boolean 'not' is encountered.
|
ResultType |
visit(BooleanOrExpression expression)
This callback is called when a boolean 'or' is encountered.
|
ResultType |
visit(Statement expression)
This callback is called when a statement is encountered.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisit, visitpublic ResultType visit(BooleanAndExpression expression) throws ExceptionType extends EcmException
ExpressionVisitorvisit in interface ExpressionVisitor<ResultType,ExceptionType extends EcmException>expression - the expression encounteredExceptionTypeExceptionType extends EcmExceptionpublic ResultType visit(BooleanOrExpression expression) throws ExceptionType extends EcmException
ExpressionVisitorvisit in interface ExpressionVisitor<ResultType,ExceptionType extends EcmException>expression - the expression encounteredExceptionTypeExceptionType extends EcmExceptionpublic ResultType visit(Statement expression) throws ExceptionType extends EcmException
ExpressionVisitorvisit in interface ExpressionVisitor<ResultType,ExceptionType extends EcmException>expression - the expression encounteredExceptionTypeExceptionType extends EcmExceptionpublic ResultType visit(BooleanNotExpression expression) throws ExceptionType extends EcmException
ExpressionVisitorvisit in interface ExpressionVisitor<ResultType,ExceptionType extends EcmException>expression - the expression encounteredExceptionTypeExceptionType extends EcmExceptionpublic abstract void startVisit(BooleanAndExpression expression) throws ExceptionType extends EcmException
ExceptionType extends EcmExceptionpublic abstract ResultType finishVisit(BooleanAndExpression expression, List<ResultType> childrenResults) throws ExceptionType extends EcmException
ExceptionType extends EcmExceptionpublic abstract void startVisit(BooleanOrExpression expression) throws ExceptionType extends EcmException
ExceptionType extends EcmExceptionpublic abstract ResultType finishVisit(BooleanOrExpression expression, List<ResultType> childrenResults) throws ExceptionType extends EcmException
ExceptionType extends EcmExceptionpublic abstract void startVisit(Statement expression) throws ExceptionType extends EcmException
ExceptionType extends EcmExceptionpublic abstract ResultType finishVisit(Statement expression, ResultType childResult) throws ExceptionType extends EcmException
ExceptionType extends EcmExceptionpublic abstract ResultType handleNegation(BooleanNotExpression expression, ResultType innerResult) throws ExceptionType extends EcmException
ExceptionType extends EcmExceptionCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.