Class PrintingVisitor
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.linuxforhealth.fhir.path.FHIRPathBaseVisitor<java.lang.Object>
-
- org.linuxforhealth.fhir.path.util.PrintingVisitor
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<java.lang.Object>
,FHIRPathVisitor<java.lang.Object>
public class PrintingVisitor extends FHIRPathBaseVisitor<java.lang.Object>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
indentLevel
-
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.Object
visitAdditiveExpression(FHIRPathParser.AdditiveExpressionContext ctx)
Visit a parse tree produced by theadditiveExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitAndExpression(FHIRPathParser.AndExpressionContext ctx)
Visit a parse tree produced by theandExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitBooleanLiteral(FHIRPathParser.BooleanLiteralContext ctx)
Visit a parse tree produced by thebooleanLiteral
labeled alternative inFHIRPathParser.literal()
.java.lang.Object
visitDateTimeLiteral(FHIRPathParser.DateTimeLiteralContext ctx)
Visit a parse tree produced by thedateTimeLiteral
labeled alternative inFHIRPathParser.literal()
.java.lang.Object
visitDateTimePrecision(FHIRPathParser.DateTimePrecisionContext ctx)
Visit a parse tree produced byFHIRPathParser.dateTimePrecision()
.java.lang.Object
visitEqualityExpression(FHIRPathParser.EqualityExpressionContext ctx)
Visit a parse tree produced by theequalityExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitExternalConstant(FHIRPathParser.ExternalConstantContext ctx)
Visit a parse tree produced byFHIRPathParser.externalConstant()
.java.lang.Object
visitExternalConstantTerm(FHIRPathParser.ExternalConstantTermContext ctx)
Visit a parse tree produced by theexternalConstantTerm
labeled alternative inFHIRPathParser.term()
.java.lang.Object
visitFunction(FHIRPathParser.FunctionContext ctx)
Visit a parse tree produced byFHIRPathParser.function()
.java.lang.Object
visitFunctionInvocation(FHIRPathParser.FunctionInvocationContext ctx)
Visit a parse tree produced by thefunctionInvocation
labeled alternative inFHIRPathParser.invocation()
.java.lang.Object
visitIdentifier(FHIRPathParser.IdentifierContext ctx)
Visit a parse tree produced byFHIRPathParser.identifier()
.java.lang.Object
visitImpliesExpression(FHIRPathParser.ImpliesExpressionContext ctx)
Visit a parse tree produced by theimpliesExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitIndexerExpression(FHIRPathParser.IndexerExpressionContext ctx)
Visit a parse tree produced by theindexerExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitIndexInvocation(FHIRPathParser.IndexInvocationContext ctx)
Visit a parse tree produced by theindexInvocation
labeled alternative inFHIRPathParser.invocation()
.java.lang.Object
visitInequalityExpression(FHIRPathParser.InequalityExpressionContext ctx)
Visit a parse tree produced by theinequalityExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitInvocationExpression(FHIRPathParser.InvocationExpressionContext ctx)
Visit a parse tree produced by theinvocationExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitInvocationTerm(FHIRPathParser.InvocationTermContext ctx)
Visit a parse tree produced by theinvocationTerm
labeled alternative inFHIRPathParser.term()
.java.lang.Object
visitLiteralTerm(FHIRPathParser.LiteralTermContext ctx)
Visit a parse tree produced by theliteralTerm
labeled alternative inFHIRPathParser.term()
.java.lang.Object
visitMemberInvocation(FHIRPathParser.MemberInvocationContext ctx)
Visit a parse tree produced by thememberInvocation
labeled alternative inFHIRPathParser.invocation()
.java.lang.Object
visitMembershipExpression(FHIRPathParser.MembershipExpressionContext ctx)
Visit a parse tree produced by themembershipExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitMultiplicativeExpression(FHIRPathParser.MultiplicativeExpressionContext ctx)
Visit a parse tree produced by themultiplicativeExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitNullLiteral(FHIRPathParser.NullLiteralContext ctx)
Visit a parse tree produced by thenullLiteral
labeled alternative inFHIRPathParser.literal()
.java.lang.Object
visitNumberLiteral(FHIRPathParser.NumberLiteralContext ctx)
Visit a parse tree produced by thenumberLiteral
labeled alternative inFHIRPathParser.literal()
.java.lang.Object
visitOrExpression(FHIRPathParser.OrExpressionContext ctx)
Visit a parse tree produced by theorExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitParamList(FHIRPathParser.ParamListContext ctx)
Visit a parse tree produced byFHIRPathParser.paramList()
.java.lang.Object
visitParenthesizedTerm(FHIRPathParser.ParenthesizedTermContext ctx)
Visit a parse tree produced by theparenthesizedTerm
labeled alternative inFHIRPathParser.term()
.java.lang.Object
visitPluralDateTimePrecision(FHIRPathParser.PluralDateTimePrecisionContext ctx)
Visit a parse tree produced byFHIRPathParser.pluralDateTimePrecision()
.java.lang.Object
visitPolarityExpression(FHIRPathParser.PolarityExpressionContext ctx)
Visit a parse tree produced by thepolarityExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitQualifiedIdentifier(FHIRPathParser.QualifiedIdentifierContext ctx)
Visit a parse tree produced byFHIRPathParser.qualifiedIdentifier()
.java.lang.Object
visitQuantity(FHIRPathParser.QuantityContext ctx)
Visit a parse tree produced byFHIRPathParser.quantity()
.java.lang.Object
visitQuantityLiteral(FHIRPathParser.QuantityLiteralContext ctx)
Visit a parse tree produced by thequantityLiteral
labeled alternative inFHIRPathParser.literal()
.java.lang.Object
visitStringLiteral(FHIRPathParser.StringLiteralContext ctx)
Visit a parse tree produced by thestringLiteral
labeled alternative inFHIRPathParser.literal()
.java.lang.Object
visitTermExpression(FHIRPathParser.TermExpressionContext ctx)
Visit a parse tree produced by thetermExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitThisInvocation(FHIRPathParser.ThisInvocationContext ctx)
Visit a parse tree produced by thethisInvocation
labeled alternative inFHIRPathParser.invocation()
.java.lang.Object
visitTimeLiteral(FHIRPathParser.TimeLiteralContext ctx)
Visit a parse tree produced by thetimeLiteral
labeled alternative inFHIRPathParser.literal()
.java.lang.Object
visitTotalInvocation(FHIRPathParser.TotalInvocationContext ctx)
Visit a parse tree produced by thetotalInvocation
labeled alternative inFHIRPathParser.invocation()
.java.lang.Object
visitTypeExpression(FHIRPathParser.TypeExpressionContext ctx)
Visit a parse tree produced by thetypeExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitTypeSpecifier(FHIRPathParser.TypeSpecifierContext ctx)
Visit a parse tree produced byFHIRPathParser.typeSpecifier()
.java.lang.Object
visitUnionExpression(FHIRPathParser.UnionExpressionContext ctx)
Visit a parse tree produced by theunionExpression
labeled alternative inFHIRPathParser.expression()
.java.lang.Object
visitUnit(FHIRPathParser.UnitContext ctx)
Visit a parse tree produced byFHIRPathParser.unit()
.-
Methods inherited from class org.linuxforhealth.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:FHIRPathBaseVisitor
Visit a parse tree produced by theindexerExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIndexerExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitIndexerExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thepolarityExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPolarityExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitPolarityExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theadditiveExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAdditiveExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitAdditiveExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by themultiplicativeExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultiplicativeExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitMultiplicativeExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theunionExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnionExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitUnionExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theorExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitOrExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theandExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAndExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitAndExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by themembershipExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMembershipExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitMembershipExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theinequalityExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInequalityExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitInequalityExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theinvocationExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInvocationExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitInvocationExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theequalityExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEqualityExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitEqualityExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theimpliesExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitImpliesExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitImpliesExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thetermExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTermExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitTermExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thetypeExpression
labeled alternative inFHIRPathParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTypeExpression
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitTypeExpression
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theinvocationTerm
labeled alternative inFHIRPathParser.term()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInvocationTerm
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitInvocationTerm
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theliteralTerm
labeled alternative inFHIRPathParser.term()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralTerm
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitLiteralTerm
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theexternalConstantTerm
labeled alternative inFHIRPathParser.term()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExternalConstantTerm
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitExternalConstantTerm
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theparenthesizedTerm
labeled alternative inFHIRPathParser.term()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParenthesizedTerm
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitParenthesizedTerm
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thenullLiteral
labeled alternative inFHIRPathParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNullLiteral
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitNullLiteral
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thebooleanLiteral
labeled alternative inFHIRPathParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBooleanLiteral
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitBooleanLiteral
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thestringLiteral
labeled alternative inFHIRPathParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStringLiteral
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitStringLiteral
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thenumberLiteral
labeled alternative inFHIRPathParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNumberLiteral
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitNumberLiteral
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thedateTimeLiteral
labeled alternative inFHIRPathParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDateTimeLiteral
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitDateTimeLiteral
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thetimeLiteral
labeled alternative inFHIRPathParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTimeLiteral
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitTimeLiteral
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thequantityLiteral
labeled alternative inFHIRPathParser.literal()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuantityLiteral
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitQuantityLiteral
in 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:FHIRPathBaseVisitor
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:
visitExternalConstant
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitExternalConstant
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thememberInvocation
labeled alternative inFHIRPathParser.invocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMemberInvocation
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitMemberInvocation
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thefunctionInvocation
labeled alternative inFHIRPathParser.invocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionInvocation
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitFunctionInvocation
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thethisInvocation
labeled alternative inFHIRPathParser.invocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitThisInvocation
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitThisInvocation
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by theindexInvocation
labeled alternative inFHIRPathParser.invocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIndexInvocation
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitIndexInvocation
in 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:FHIRPathBaseVisitor
Visit a parse tree produced by thetotalInvocation
labeled alternative inFHIRPathParser.invocation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTotalInvocation
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitTotalInvocation
in 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:FHIRPathBaseVisitor
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:
visitFunction
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitFunction
in 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:FHIRPathBaseVisitor
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:
visitParamList
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitParamList
in 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:FHIRPathBaseVisitor
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:
visitQuantity
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitQuantity
in 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:FHIRPathBaseVisitor
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:
visitUnit
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitUnit
in 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:FHIRPathBaseVisitor
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:
visitDateTimePrecision
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitDateTimePrecision
in 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:FHIRPathBaseVisitor
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:
visitPluralDateTimePrecision
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitPluralDateTimePrecision
in 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:FHIRPathBaseVisitor
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:
visitTypeSpecifier
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitTypeSpecifier
in 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:FHIRPathBaseVisitor
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:
visitQualifiedIdentifier
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitQualifiedIdentifier
in 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:FHIRPathBaseVisitor
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:
visitIdentifier
in interfaceFHIRPathVisitor<java.lang.Object>
- Overrides:
visitIdentifier
in classFHIRPathBaseVisitor<java.lang.Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-