@opra/common
Version:
Opra common package
186 lines (185 loc) • 5.81 kB
JavaScript
// Generated from ./src/filter/antlr/OpraFilter.g4 by ANTLR 4.13.2
import { ParseTreeVisitor } from '@browsery/antlr4';
/**
* This interface defines a complete generic visitor for a parse tree produced
* by `OpraFilterParser`.
*
* @param <Result> The return type of the visit operation. Use `void` for
* operations with no return type.
*/
export default class OpraFilterVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by `OpraFilterParser.root`.
* @param ctx the parse tree
* @return the visitor result
*/
visitRoot;
/**
* Visit a parse tree produced by the `parenthesizedExpression`
* labeled alternative in `OpraFilterParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitParenthesizedExpression;
/**
* Visit a parse tree produced by the `negativeExpression`
* labeled alternative in `OpraFilterParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNegativeExpression;
/**
* Visit a parse tree produced by the `comparisonExpression`
* labeled alternative in `OpraFilterParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitComparisonExpression;
/**
* Visit a parse tree produced by the `logicalExpression`
* labeled alternative in `OpraFilterParser.expression`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLogicalExpression;
/**
* Visit a parse tree produced by `OpraFilterParser.comparisonLeft`.
* @param ctx the parse tree
* @return the visitor result
*/
visitComparisonLeft;
/**
* Visit a parse tree produced by `OpraFilterParser.comparisonRight`.
* @param ctx the parse tree
* @return the visitor result
*/
visitComparisonRight;
/**
* Visit a parse tree produced by `OpraFilterParser.parenthesizedItem`.
* @param ctx the parse tree
* @return the visitor result
*/
visitParenthesizedItem;
/**
* Visit a parse tree produced by the `numberLiteral`
* labeled alternative in `OpraFilterParser.value`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNumberLiteral;
/**
* Visit a parse tree produced by the `infinityLiteral`
* labeled alternative in `OpraFilterParser.value`.
* @param ctx the parse tree
* @return the visitor result
*/
visitInfinityLiteral;
/**
* Visit a parse tree produced by the `booleanLiteral`
* labeled alternative in `OpraFilterParser.value`.
* @param ctx the parse tree
* @return the visitor result
*/
visitBooleanLiteral;
/**
* Visit a parse tree produced by the `nullLiteral`
* labeled alternative in `OpraFilterParser.value`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNullLiteral;
/**
* Visit a parse tree produced by the `dateTimeLiteral`
* labeled alternative in `OpraFilterParser.value`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDateTimeLiteral;
/**
* Visit a parse tree produced by the `dateLiteral`
* labeled alternative in `OpraFilterParser.value`.
* @param ctx the parse tree
* @return the visitor result
*/
visitDateLiteral;
/**
* Visit a parse tree produced by the `timeLiteral`
* labeled alternative in `OpraFilterParser.value`.
* @param ctx the parse tree
* @return the visitor result
*/
visitTimeLiteral;
/**
* Visit a parse tree produced by the `stringLiteral`
* labeled alternative in `OpraFilterParser.value`.
* @param ctx the parse tree
* @return the visitor result
*/
visitStringLiteral;
/**
* Visit a parse tree produced by `OpraFilterParser.qualifiedIdentifier`.
* @param ctx the parse tree
* @return the visitor result
*/
visitQualifiedIdentifier;
/**
* Visit a parse tree produced by `OpraFilterParser.externalConstant`.
* @param ctx the parse tree
* @return the visitor result
*/
visitExternalConstant;
/**
* Visit a parse tree produced by `OpraFilterParser.identifier`.
* @param ctx the parse tree
* @return the visitor result
*/
visitIdentifier;
/**
* Visit a parse tree produced by `OpraFilterParser.arrayValue`.
* @param ctx the parse tree
* @return the visitor result
*/
visitArrayValue;
/**
* Visit a parse tree produced by `OpraFilterParser.boolean`.
* @param ctx the parse tree
* @return the visitor result
*/
visitBoolean;
/**
* Visit a parse tree produced by `OpraFilterParser.null`.
* @param ctx the parse tree
* @return the visitor result
*/
visitNull;
/**
* Visit a parse tree produced by `OpraFilterParser.infinity`.
* @param ctx the parse tree
* @return the visitor result
*/
visitInfinity;
/**
* Visit a parse tree produced by `OpraFilterParser.arithmeticOperator`.
* @param ctx the parse tree
* @return the visitor result
*/
visitArithmeticOperator;
/**
* Visit a parse tree produced by `OpraFilterParser.comparisonOperator`.
* @param ctx the parse tree
* @return the visitor result
*/
visitComparisonOperator;
/**
* Visit a parse tree produced by `OpraFilterParser.logicalOperator`.
* @param ctx the parse tree
* @return the visitor result
*/
visitLogicalOperator;
/**
* Visit a parse tree produced by `OpraFilterParser.polarityOperator`.
* @param ctx the parse tree
* @return the visitor result
*/
visitPolarityOperator;
}