Optional
opts: TranslatorOptsFormats a given function (either an operator or a comparator) into a string.
The function to format.
Formatted string representation of the function.
Merges two filters into one, using a specified merge type.
The default filter.
The generated filter.
Optional
mergeType: stringThe type of merge to perform. Can be 'and', 'or', or 'replace'.
Optional
forceDefaultFilter: booleanIf true, the default filter will be used even if the generated filter is not empty.
The merged filter, or undefined if both filters are empty.
Visits a comparison and returns a result.
The comparison to visit.
The result of visiting the comparison.
Visits an operation and returns a result.
The operation to visit.
The result of visiting the operation.
Visits a structured query and returns a result.
The structured query to visit.
The result of visiting the structured query.
Class that extends the BaseTranslator class and provides concrete implementations for the abstract methods. Also declares three types: VisitOperationOutput, VisitComparisonOutput, and VisitStructuredQueryOutput, which are used as the return types for the visitOperation, visitComparison, and visitStructuredQuery methods respectively.