Class fhirpathBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,fhirpathVisitor<T>
fhirpathVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theadditiveExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by theandExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by thebooleanLiterallabeled alternative infhirpathParser.literal().Visit a parse tree produced by thedateLiterallabeled alternative infhirpathParser.literal().Visit a parse tree produced by thedateTimeLiterallabeled alternative infhirpathParser.literal().Visit a parse tree produced byfhirpathParser.dateTimePrecision().Visit a parse tree produced by theequalityExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced byfhirpathParser.externalConstant().Visit a parse tree produced by theexternalConstantTermlabeled alternative infhirpathParser.term().Visit a parse tree produced byfhirpathParser.function().Visit a parse tree produced by thefunctionInvocationlabeled alternative infhirpathParser.invocation().Visit a parse tree produced byfhirpathParser.identifier().Visit a parse tree produced by theimpliesExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by theindexerExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by theindexInvocationlabeled alternative infhirpathParser.invocation().Visit a parse tree produced by theinequalityExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by theinvocationExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by theinvocationTermlabeled alternative infhirpathParser.term().Visit a parse tree produced by theliteralTermlabeled alternative infhirpathParser.term().Visit a parse tree produced by thememberInvocationlabeled alternative infhirpathParser.invocation().Visit a parse tree produced by themembershipExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by themultiplicativeExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by thenullLiterallabeled alternative infhirpathParser.literal().Visit a parse tree produced by thenumberLiterallabeled alternative infhirpathParser.literal().Visit a parse tree produced by theorExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced byfhirpathParser.paramList().Visit a parse tree produced by theparenthesizedTermlabeled alternative infhirpathParser.term().Visit a parse tree produced byfhirpathParser.pluralDateTimePrecision().Visit a parse tree produced by thepolarityExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced byfhirpathParser.qualifiedIdentifier().Visit a parse tree produced byfhirpathParser.quantity().Visit a parse tree produced by thequantityLiterallabeled alternative infhirpathParser.literal().Visit a parse tree produced by thestringLiterallabeled alternative infhirpathParser.literal().Visit a parse tree produced by thetermExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced by thethisInvocationlabeled alternative infhirpathParser.invocation().Visit a parse tree produced by thetimeLiterallabeled alternative infhirpathParser.literal().Visit a parse tree produced by thetotalInvocationlabeled alternative infhirpathParser.invocation().Visit a parse tree produced by thetypeExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced byfhirpathParser.typeSpecifier().Visit a parse tree produced by theunionExpressionlabeled alternative infhirpathParser.expression().Visit a parse tree produced byfhirpathParser.unit().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
fhirpathBaseVisitor
public fhirpathBaseVisitor()
-
-
Method Details
-
visitIndexerExpression
Visit a parse tree produced by theindexerExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexerExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPolarityExpression
Visit a parse tree produced by thepolarityExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPolarityExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
Visit a parse tree produced by theadditiveExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAdditiveExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpression
Visit a parse tree produced by themultiplicativeExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMultiplicativeExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnionExpression
Visit a parse tree produced by theunionExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnionExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOrExpression
Visit a parse tree produced by theorExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOrExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAndExpression
Visit a parse tree produced by theandExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAndExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMembershipExpression
Visit a parse tree produced by themembershipExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMembershipExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInequalityExpression
Visit a parse tree produced by theinequalityExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInequalityExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInvocationExpression
Visit a parse tree produced by theinvocationExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInvocationExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEqualityExpression
Visit a parse tree produced by theequalityExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEqualityExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImpliesExpression
Visit a parse tree produced by theimpliesExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitImpliesExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTermExpression
Visit a parse tree produced by thetermExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTermExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeExpression
Visit a parse tree produced by thetypeExpressionlabeled alternative infhirpathParser.expression().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeExpressionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInvocationTerm
Visit a parse tree produced by theinvocationTermlabeled alternative infhirpathParser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInvocationTermin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralTerm
Visit a parse tree produced by theliteralTermlabeled alternative infhirpathParser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLiteralTermin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalConstantTerm
Visit a parse tree produced by theexternalConstantTermlabeled alternative infhirpathParser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExternalConstantTermin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParenthesizedTerm
Visit a parse tree produced by theparenthesizedTermlabeled alternative infhirpathParser.term().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParenthesizedTermin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNullLiteral
Visit a parse tree produced by thenullLiterallabeled alternative infhirpathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNullLiteralin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteral
Visit a parse tree produced by thebooleanLiterallabeled alternative infhirpathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBooleanLiteralin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
Visit a parse tree produced by thestringLiterallabeled alternative infhirpathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringLiteralin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberLiteral
Visit a parse tree produced by thenumberLiterallabeled alternative infhirpathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumberLiteralin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateLiteral
Visit a parse tree produced by thedateLiterallabeled alternative infhirpathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateLiteralin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateTimeLiteral
Visit a parse tree produced by thedateTimeLiterallabeled alternative infhirpathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateTimeLiteralin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimeLiteral
Visit a parse tree produced by thetimeLiterallabeled alternative infhirpathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimeLiteralin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuantityLiteral
Visit a parse tree produced by thequantityLiterallabeled alternative infhirpathParser.literal().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuantityLiteralin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternalConstant
Visit a parse tree produced byfhirpathParser.externalConstant().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExternalConstantin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMemberInvocation
Visit a parse tree produced by thememberInvocationlabeled alternative infhirpathParser.invocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMemberInvocationin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionInvocation
Visit a parse tree produced by thefunctionInvocationlabeled alternative infhirpathParser.invocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionInvocationin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitThisInvocation
Visit a parse tree produced by thethisInvocationlabeled alternative infhirpathParser.invocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitThisInvocationin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexInvocation
Visit a parse tree produced by theindexInvocationlabeled alternative infhirpathParser.invocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexInvocationin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTotalInvocation
Visit a parse tree produced by thetotalInvocationlabeled alternative infhirpathParser.invocation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTotalInvocationin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunction
Visit a parse tree produced byfhirpathParser.function().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFunctionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParamList
Visit a parse tree produced byfhirpathParser.paramList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitParamListin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuantity
Visit a parse tree produced byfhirpathParser.quantity().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuantityin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnit
Visit a parse tree produced byfhirpathParser.unit().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnitin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDateTimePrecision
Visit a parse tree produced byfhirpathParser.dateTimePrecision().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDateTimePrecisionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPluralDateTimePrecision
Visit a parse tree produced byfhirpathParser.pluralDateTimePrecision().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPluralDateTimePrecisionin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeSpecifier
Visit a parse tree produced byfhirpathParser.typeSpecifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypeSpecifierin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifiedIdentifier
Visit a parse tree produced byfhirpathParser.qualifiedIdentifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifiedIdentifierin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Visit a parse tree produced byfhirpathParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfacefhirpathVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-