Class PrintingVisitor
- java.lang.Object
 - 
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
 - 
- com.ibm.fhir.path.FHIRPathBaseVisitor<java.lang.Object>
 - 
- com.ibm.fhir.path.util.PrintingVisitor
 
 
 
 
- 
- All Implemented Interfaces:
 FHIRPathVisitor<java.lang.Object>,org.antlr.v4.runtime.tree.ParseTreeVisitor<java.lang.Object>
public class PrintingVisitor extends FHIRPathBaseVisitor<java.lang.Object>
 
- 
- 
Field Summary
Fields Modifier and Type Field Description (package private) intindentLevel 
- 
Constructor Summary
Constructors Constructor Description PrintingVisitor(java.io.OutputStream out)PrintingVisitor(java.io.Writer writer) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectvisitAdditiveExpression(FHIRPathParser.AdditiveExpressionContext ctx)Visit a parse tree produced by theadditiveExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitAndExpression(FHIRPathParser.AndExpressionContext ctx)Visit a parse tree produced by theandExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitBooleanLiteral(FHIRPathParser.BooleanLiteralContext ctx)Visit a parse tree produced by thebooleanLiterallabeled alternative inFHIRPathParser.literal().java.lang.ObjectvisitDateTimeLiteral(FHIRPathParser.DateTimeLiteralContext ctx)Visit a parse tree produced by thedateTimeLiterallabeled alternative inFHIRPathParser.literal().java.lang.ObjectvisitDateTimePrecision(FHIRPathParser.DateTimePrecisionContext ctx)Visit a parse tree produced byFHIRPathParser.dateTimePrecision().java.lang.ObjectvisitEqualityExpression(FHIRPathParser.EqualityExpressionContext ctx)Visit a parse tree produced by theequalityExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitExternalConstant(FHIRPathParser.ExternalConstantContext ctx)Visit a parse tree produced byFHIRPathParser.externalConstant().java.lang.ObjectvisitExternalConstantTerm(FHIRPathParser.ExternalConstantTermContext ctx)Visit a parse tree produced by theexternalConstantTermlabeled alternative inFHIRPathParser.term().java.lang.ObjectvisitFunction(FHIRPathParser.FunctionContext ctx)Visit a parse tree produced byFHIRPathParser.function().java.lang.ObjectvisitFunctionInvocation(FHIRPathParser.FunctionInvocationContext ctx)Visit a parse tree produced by thefunctionInvocationlabeled alternative inFHIRPathParser.invocation().java.lang.ObjectvisitIdentifier(FHIRPathParser.IdentifierContext ctx)Visit a parse tree produced byFHIRPathParser.identifier().java.lang.ObjectvisitImpliesExpression(FHIRPathParser.ImpliesExpressionContext ctx)Visit a parse tree produced by theimpliesExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitIndexerExpression(FHIRPathParser.IndexerExpressionContext ctx)Visit a parse tree produced by theindexerExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitIndexInvocation(FHIRPathParser.IndexInvocationContext ctx)Visit a parse tree produced by theindexInvocationlabeled alternative inFHIRPathParser.invocation().java.lang.ObjectvisitInequalityExpression(FHIRPathParser.InequalityExpressionContext ctx)Visit a parse tree produced by theinequalityExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitInvocationExpression(FHIRPathParser.InvocationExpressionContext ctx)Visit a parse tree produced by theinvocationExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitInvocationTerm(FHIRPathParser.InvocationTermContext ctx)Visit a parse tree produced by theinvocationTermlabeled alternative inFHIRPathParser.term().java.lang.ObjectvisitLiteralTerm(FHIRPathParser.LiteralTermContext ctx)Visit a parse tree produced by theliteralTermlabeled alternative inFHIRPathParser.term().java.lang.ObjectvisitMemberInvocation(FHIRPathParser.MemberInvocationContext ctx)Visit a parse tree produced by thememberInvocationlabeled alternative inFHIRPathParser.invocation().java.lang.ObjectvisitMembershipExpression(FHIRPathParser.MembershipExpressionContext ctx)Visit a parse tree produced by themembershipExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitMultiplicativeExpression(FHIRPathParser.MultiplicativeExpressionContext ctx)Visit a parse tree produced by themultiplicativeExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitNullLiteral(FHIRPathParser.NullLiteralContext ctx)Visit a parse tree produced by thenullLiterallabeled alternative inFHIRPathParser.literal().java.lang.ObjectvisitNumberLiteral(FHIRPathParser.NumberLiteralContext ctx)Visit a parse tree produced by thenumberLiterallabeled alternative inFHIRPathParser.literal().java.lang.ObjectvisitOrExpression(FHIRPathParser.OrExpressionContext ctx)Visit a parse tree produced by theorExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitParamList(FHIRPathParser.ParamListContext ctx)Visit a parse tree produced byFHIRPathParser.paramList().java.lang.ObjectvisitParenthesizedTerm(FHIRPathParser.ParenthesizedTermContext ctx)Visit a parse tree produced by theparenthesizedTermlabeled alternative inFHIRPathParser.term().java.lang.ObjectvisitPluralDateTimePrecision(FHIRPathParser.PluralDateTimePrecisionContext ctx)Visit a parse tree produced byFHIRPathParser.pluralDateTimePrecision().java.lang.ObjectvisitPolarityExpression(FHIRPathParser.PolarityExpressionContext ctx)Visit a parse tree produced by thepolarityExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitQualifiedIdentifier(FHIRPathParser.QualifiedIdentifierContext ctx)Visit a parse tree produced byFHIRPathParser.qualifiedIdentifier().java.lang.ObjectvisitQuantity(FHIRPathParser.QuantityContext ctx)Visit a parse tree produced byFHIRPathParser.quantity().java.lang.ObjectvisitQuantityLiteral(FHIRPathParser.QuantityLiteralContext ctx)Visit a parse tree produced by thequantityLiterallabeled alternative inFHIRPathParser.literal().java.lang.ObjectvisitStringLiteral(FHIRPathParser.StringLiteralContext ctx)Visit a parse tree produced by thestringLiterallabeled alternative inFHIRPathParser.literal().java.lang.ObjectvisitTermExpression(FHIRPathParser.TermExpressionContext ctx)Visit a parse tree produced by thetermExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitThisInvocation(FHIRPathParser.ThisInvocationContext ctx)Visit a parse tree produced by thethisInvocationlabeled alternative inFHIRPathParser.invocation().java.lang.ObjectvisitTimeLiteral(FHIRPathParser.TimeLiteralContext ctx)Visit a parse tree produced by thetimeLiterallabeled alternative inFHIRPathParser.literal().java.lang.ObjectvisitTotalInvocation(FHIRPathParser.TotalInvocationContext ctx)Visit a parse tree produced by thetotalInvocationlabeled alternative inFHIRPathParser.invocation().java.lang.ObjectvisitTypeExpression(FHIRPathParser.TypeExpressionContext ctx)Visit a parse tree produced by thetypeExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitTypeSpecifier(FHIRPathParser.TypeSpecifierContext ctx)Visit a parse tree produced byFHIRPathParser.typeSpecifier().java.lang.ObjectvisitUnionExpression(FHIRPathParser.UnionExpressionContext ctx)Visit a parse tree produced by theunionExpressionlabeled alternative inFHIRPathParser.expression().java.lang.ObjectvisitUnit(FHIRPathParser.UnitContext ctx)Visit a parse tree produced byFHIRPathParser.unit().- 
Methods inherited from class com.ibm.fhir.path.FHIRPathBaseVisitor
visitDateLiteral 
- 
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal 
 - 
 
 - 
 
- 
- 
Method Detail
- 
visitIndexerExpression
public java.lang.Object visitIndexerExpression(FHIRPathParser.IndexerExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitIndexerExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitPolarityExpression
public java.lang.Object visitPolarityExpression(FHIRPathParser.PolarityExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitPolarityExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitAdditiveExpression
public java.lang.Object visitAdditiveExpression(FHIRPathParser.AdditiveExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitAdditiveExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitMultiplicativeExpression
public java.lang.Object visitMultiplicativeExpression(FHIRPathParser.MultiplicativeExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitMultiplicativeExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitUnionExpression
public java.lang.Object visitUnionExpression(FHIRPathParser.UnionExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitUnionExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitOrExpression
public java.lang.Object visitOrExpression(FHIRPathParser.OrExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitOrExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitAndExpression
public java.lang.Object visitAndExpression(FHIRPathParser.AndExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitAndExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitMembershipExpression
public java.lang.Object visitMembershipExpression(FHIRPathParser.MembershipExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitMembershipExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitInequalityExpression
public java.lang.Object visitInequalityExpression(FHIRPathParser.InequalityExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitInequalityExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitInvocationExpression
public java.lang.Object visitInvocationExpression(FHIRPathParser.InvocationExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitInvocationExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitEqualityExpression
public java.lang.Object visitEqualityExpression(FHIRPathParser.EqualityExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitEqualityExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitImpliesExpression
public java.lang.Object visitImpliesExpression(FHIRPathParser.ImpliesExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitImpliesExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitTermExpression
public java.lang.Object visitTermExpression(FHIRPathParser.TermExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitTermExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitTypeExpression
public java.lang.Object visitTypeExpression(FHIRPathParser.TypeExpressionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitTypeExpressionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitInvocationTerm
public java.lang.Object visitInvocationTerm(FHIRPathParser.InvocationTermContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitInvocationTermin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitLiteralTerm
public java.lang.Object visitLiteralTerm(FHIRPathParser.LiteralTermContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitLiteralTermin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitExternalConstantTerm
public java.lang.Object visitExternalConstantTerm(FHIRPathParser.ExternalConstantTermContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitExternalConstantTermin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitParenthesizedTerm
public java.lang.Object visitParenthesizedTerm(FHIRPathParser.ParenthesizedTermContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitParenthesizedTermin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitNullLiteral
public java.lang.Object visitNullLiteral(FHIRPathParser.NullLiteralContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitNullLiteralin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitBooleanLiteral
public java.lang.Object visitBooleanLiteral(FHIRPathParser.BooleanLiteralContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitBooleanLiteralin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitStringLiteral
public java.lang.Object visitStringLiteral(FHIRPathParser.StringLiteralContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitStringLiteralin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitNumberLiteral
public java.lang.Object visitNumberLiteral(FHIRPathParser.NumberLiteralContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitNumberLiteralin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitDateTimeLiteral
public java.lang.Object visitDateTimeLiteral(FHIRPathParser.DateTimeLiteralContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitDateTimeLiteralin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitTimeLiteral
public java.lang.Object visitTimeLiteral(FHIRPathParser.TimeLiteralContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitTimeLiteralin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitQuantityLiteral
public java.lang.Object visitQuantityLiteral(FHIRPathParser.QuantityLiteralContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitQuantityLiteralin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitExternalConstant
public java.lang.Object visitExternalConstant(FHIRPathParser.ExternalConstantContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitExternalConstantin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitMemberInvocation
public java.lang.Object visitMemberInvocation(FHIRPathParser.MemberInvocationContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitMemberInvocationin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitFunctionInvocation
public java.lang.Object visitFunctionInvocation(FHIRPathParser.FunctionInvocationContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitFunctionInvocationin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitThisInvocation
public java.lang.Object visitThisInvocation(FHIRPathParser.ThisInvocationContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitThisInvocationin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitIndexInvocation
public java.lang.Object visitIndexInvocation(FHIRPathParser.IndexInvocationContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitIndexInvocationin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitTotalInvocation
public java.lang.Object visitTotalInvocation(FHIRPathParser.TotalInvocationContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitTotalInvocationin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitFunction
public java.lang.Object visitFunction(FHIRPathParser.FunctionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitFunctionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitParamList
public java.lang.Object visitParamList(FHIRPathParser.ParamListContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitParamListin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitQuantity
public java.lang.Object visitQuantity(FHIRPathParser.QuantityContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitQuantityin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitUnit
public java.lang.Object visitUnit(FHIRPathParser.UnitContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitUnitin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitDateTimePrecision
public java.lang.Object visitDateTimePrecision(FHIRPathParser.DateTimePrecisionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitDateTimePrecisionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitPluralDateTimePrecision
public java.lang.Object visitPluralDateTimePrecision(FHIRPathParser.PluralDateTimePrecisionContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitPluralDateTimePrecisionin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitTypeSpecifier
public java.lang.Object visitTypeSpecifier(FHIRPathParser.TypeSpecifierContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitTypeSpecifierin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitQualifiedIdentifier
public java.lang.Object visitQualifiedIdentifier(FHIRPathParser.QualifiedIdentifierContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitQualifiedIdentifierin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
- 
visitIdentifier
public java.lang.Object visitIdentifier(FHIRPathParser.IdentifierContext ctx)
Description copied from class:FHIRPathBaseVisitorVisit 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<java.lang.Object>- Overrides:
 visitIdentifierin classFHIRPathBaseVisitor<java.lang.Object>- Parameters:
 ctx- the parse tree- Returns:
 - the visitor result
 
 
 - 
 
 -