Package org.linuxforhealth.fhir.path
Interface FHIRPathVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
FHIRPathBaseVisitor
,FHIRPathEvaluator.EvaluatingVisitor
,PrintingVisitor
public interface FHIRPathVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced byFHIRPathParser
.
-
-
Method Summary
-
-
-
Method Detail
-
visitIndexerExpression
T visitIndexerExpression(FHIRPathParser.IndexerExpressionContext ctx)
Visit a parse tree produced by theindexerExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPolarityExpression
T visitPolarityExpression(FHIRPathParser.PolarityExpressionContext ctx)
Visit a parse tree produced by thepolarityExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAdditiveExpression
T visitAdditiveExpression(FHIRPathParser.AdditiveExpressionContext ctx)
Visit a parse tree produced by theadditiveExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeExpression
T visitMultiplicativeExpression(FHIRPathParser.MultiplicativeExpressionContext ctx)
Visit a parse tree produced by themultiplicativeExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnionExpression
T visitUnionExpression(FHIRPathParser.UnionExpressionContext ctx)
Visit a parse tree produced by theunionExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrExpression
T visitOrExpression(FHIRPathParser.OrExpressionContext ctx)
Visit a parse tree produced by theorExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAndExpression
T visitAndExpression(FHIRPathParser.AndExpressionContext ctx)
Visit a parse tree produced by theandExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMembershipExpression
T visitMembershipExpression(FHIRPathParser.MembershipExpressionContext ctx)
Visit a parse tree produced by themembershipExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInequalityExpression
T visitInequalityExpression(FHIRPathParser.InequalityExpressionContext ctx)
Visit a parse tree produced by theinequalityExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInvocationExpression
T visitInvocationExpression(FHIRPathParser.InvocationExpressionContext ctx)
Visit a parse tree produced by theinvocationExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEqualityExpression
T visitEqualityExpression(FHIRPathParser.EqualityExpressionContext ctx)
Visit a parse tree produced by theequalityExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitImpliesExpression
T visitImpliesExpression(FHIRPathParser.ImpliesExpressionContext ctx)
Visit a parse tree produced by theimpliesExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTermExpression
T visitTermExpression(FHIRPathParser.TermExpressionContext ctx)
Visit a parse tree produced by thetermExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeExpression
T visitTypeExpression(FHIRPathParser.TypeExpressionContext ctx)
Visit a parse tree produced by thetypeExpression
labeled alternative inFHIRPathParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInvocationTerm
T visitInvocationTerm(FHIRPathParser.InvocationTermContext ctx)
Visit a parse tree produced by theinvocationTerm
labeled alternative inFHIRPathParser.term()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralTerm
T visitLiteralTerm(FHIRPathParser.LiteralTermContext ctx)
Visit a parse tree produced by theliteralTerm
labeled alternative inFHIRPathParser.term()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternalConstantTerm
T visitExternalConstantTerm(FHIRPathParser.ExternalConstantTermContext ctx)
Visit a parse tree produced by theexternalConstantTerm
labeled alternative inFHIRPathParser.term()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParenthesizedTerm
T visitParenthesizedTerm(FHIRPathParser.ParenthesizedTermContext ctx)
Visit a parse tree produced by theparenthesizedTerm
labeled alternative inFHIRPathParser.term()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNullLiteral
T visitNullLiteral(FHIRPathParser.NullLiteralContext ctx)
Visit a parse tree produced by thenullLiteral
labeled alternative inFHIRPathParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooleanLiteral
T visitBooleanLiteral(FHIRPathParser.BooleanLiteralContext ctx)
Visit a parse tree produced by thebooleanLiteral
labeled alternative inFHIRPathParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
T visitStringLiteral(FHIRPathParser.StringLiteralContext ctx)
Visit a parse tree produced by thestringLiteral
labeled alternative inFHIRPathParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumberLiteral
T visitNumberLiteral(FHIRPathParser.NumberLiteralContext ctx)
Visit a parse tree produced by thenumberLiteral
labeled alternative inFHIRPathParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDateLiteral
T visitDateLiteral(FHIRPathParser.DateLiteralContext ctx)
Visit a parse tree produced by thedateLiteral
labeled alternative inFHIRPathParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDateTimeLiteral
T visitDateTimeLiteral(FHIRPathParser.DateTimeLiteralContext ctx)
Visit a parse tree produced by thedateTimeLiteral
labeled alternative inFHIRPathParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTimeLiteral
T visitTimeLiteral(FHIRPathParser.TimeLiteralContext ctx)
Visit a parse tree produced by thetimeLiteral
labeled alternative inFHIRPathParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuantityLiteral
T visitQuantityLiteral(FHIRPathParser.QuantityLiteralContext ctx)
Visit a parse tree produced by thequantityLiteral
labeled alternative inFHIRPathParser.literal()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternalConstant
T visitExternalConstant(FHIRPathParser.ExternalConstantContext ctx)
Visit a parse tree produced byFHIRPathParser.externalConstant()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMemberInvocation
T visitMemberInvocation(FHIRPathParser.MemberInvocationContext ctx)
Visit a parse tree produced by thememberInvocation
labeled alternative inFHIRPathParser.invocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionInvocation
T visitFunctionInvocation(FHIRPathParser.FunctionInvocationContext ctx)
Visit a parse tree produced by thefunctionInvocation
labeled alternative inFHIRPathParser.invocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitThisInvocation
T visitThisInvocation(FHIRPathParser.ThisInvocationContext ctx)
Visit a parse tree produced by thethisInvocation
labeled alternative inFHIRPathParser.invocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndexInvocation
T visitIndexInvocation(FHIRPathParser.IndexInvocationContext ctx)
Visit a parse tree produced by theindexInvocation
labeled alternative inFHIRPathParser.invocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTotalInvocation
T visitTotalInvocation(FHIRPathParser.TotalInvocationContext ctx)
Visit a parse tree produced by thetotalInvocation
labeled alternative inFHIRPathParser.invocation()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunction
T visitFunction(FHIRPathParser.FunctionContext ctx)
Visit a parse tree produced byFHIRPathParser.function()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParamList
T visitParamList(FHIRPathParser.ParamListContext ctx)
Visit a parse tree produced byFHIRPathParser.paramList()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuantity
T visitQuantity(FHIRPathParser.QuantityContext ctx)
Visit a parse tree produced byFHIRPathParser.quantity()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnit
T visitUnit(FHIRPathParser.UnitContext ctx)
Visit a parse tree produced byFHIRPathParser.unit()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDateTimePrecision
T visitDateTimePrecision(FHIRPathParser.DateTimePrecisionContext ctx)
Visit a parse tree produced byFHIRPathParser.dateTimePrecision()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPluralDateTimePrecision
T visitPluralDateTimePrecision(FHIRPathParser.PluralDateTimePrecisionContext ctx)
Visit a parse tree produced byFHIRPathParser.pluralDateTimePrecision()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTypeSpecifier
T visitTypeSpecifier(FHIRPathParser.TypeSpecifierContext ctx)
Visit a parse tree produced byFHIRPathParser.typeSpecifier()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQualifiedIdentifier
T visitQualifiedIdentifier(FHIRPathParser.QualifiedIdentifierContext ctx)
Visit a parse tree produced byFHIRPathParser.qualifiedIdentifier()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdentifier
T visitIdentifier(FHIRPathParser.IdentifierContext ctx)
Visit a parse tree produced byFHIRPathParser.identifier()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-