Class TSHBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
org.fhirfrog.frog.shorthand.TSHBaseVisitor<T>
Type Parameters:
T - The return type of the visit operation. Use Void for operations with no return type.
All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>, TSHVisitor<T>
Direct Known Subclasses:
TSHCompiler

public class TSHBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements TSHVisitor<T>
This class provides an empty implementation of TSHVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
  • Constructor Details

    • TSHBaseVisitor

      public TSHBaseVisitor()
  • Method Details

    • visitDoc

      public T visitDoc(TSHParser.DocContext ctx)
      Visit a parse tree produced by TSHParser.doc().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDoc in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitEntity

      public T visitEntity(TSHParser.EntityContext ctx)
      Visit a parse tree produced by TSHParser.entity().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitEntity in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAlias

      public T visitAlias(TSHParser.AliasContext ctx)
      Visit a parse tree produced by TSHParser.alias().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAlias in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTestScript

      public T visitTestScript(TSHParser.TestScriptContext ctx)
      Visit a parse tree produced by TSHParser.testScript().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTestScript in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTsMetadata

      public T visitTsMetadata(TSHParser.TsMetadataContext ctx)
      Visit a parse tree produced by TSHParser.tsMetadata().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTsMetadata in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSetup

      public T visitSetup(TSHParser.SetupContext ctx)
      Visit a parse tree produced by TSHParser.setup().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitSetup in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTest

      public T visitTest(TSHParser.TestContext ctx)
      Visit a parse tree produced by TSHParser.test().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTest in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTeardown

      public T visitTeardown(TSHParser.TeardownContext ctx)
      Visit a parse tree produced by TSHParser.teardown().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTeardown in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAction

      public T visitAction(TSHParser.ActionContext ctx)
      Visit a parse tree produced by TSHParser.action().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAction in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitOperation

      public T visitOperation(TSHParser.OperationContext ctx)
      Visit a parse tree produced by TSHParser.operation().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitOperation in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitResourceId

      public T visitResourceId(TSHParser.ResourceIdContext ctx)
      Visit a parse tree produced by TSHParser.resourceId().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitResourceId in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitOperationType

      public T visitOperationType(TSHParser.OperationTypeContext ctx)
      Visit a parse tree produced by TSHParser.operationType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitOperationType in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitResourceType

      public T visitResourceType(TSHParser.ResourceTypeContext ctx)
      Visit a parse tree produced by TSHParser.resourceType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitResourceType in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAssertion

      public T visitAssertion(TSHParser.AssertionContext ctx)
      Visit a parse tree produced by TSHParser.assertion().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAssertion in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitResponseCodeEquals

      public T visitResponseCodeEquals(TSHParser.ResponseCodeEqualsContext ctx)
      Visit a parse tree produced by the ResponseCodeEquals labeled alternative in TSHParser.assertionType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitResponseCodeEquals in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitResponseCodeIn

      public T visitResponseCodeIn(TSHParser.ResponseCodeInContext ctx)
      Visit a parse tree produced by the ResponseCodeIn labeled alternative in TSHParser.assertionType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitResponseCodeIn in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitResourceEquals

      public T visitResourceEquals(TSHParser.ResourceEqualsContext ctx)
      Visit a parse tree produced by the ResourceEquals labeled alternative in TSHParser.assertionType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitResourceEquals in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitContentTypeEquals

      public T visitContentTypeEquals(TSHParser.ContentTypeEqualsContext ctx)
      Visit a parse tree produced by the ContentTypeEquals labeled alternative in TSHParser.assertionType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitContentTypeEquals in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitExpressionAssertion

      public T visitExpressionAssertion(TSHParser.ExpressionAssertionContext ctx)
      Visit a parse tree produced by the ExpressionAssertion labeled alternative in TSHParser.assertionType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitExpressionAssertion in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitMinimumIdAssertion

      public T visitMinimumIdAssertion(TSHParser.MinimumIdAssertionContext ctx)
      Visit a parse tree produced by the MinimumIdAssertion labeled alternative in TSHParser.assertionType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitMinimumIdAssertion in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitValidateProfileAssertion

      public T visitValidateProfileAssertion(TSHParser.ValidateProfileAssertionContext ctx)
      Visit a parse tree produced by the ValidateProfileAssertion labeled alternative in TSHParser.assertionType().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitValidateProfileAssertion in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNumberList

      public T visitNumberList(TSHParser.NumberListContext ctx)
      Visit a parse tree produced by TSHParser.numberList().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitNumberList in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitVariable

      public T visitVariable(TSHParser.VariableContext ctx)
      Visit a parse tree produced by TSHParser.variable().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitVariable in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFhirPath

      public T visitFhirPath(TSHParser.FhirPathContext ctx)
      Visit a parse tree produced by TSHParser.fhirPath().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFhirPath in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFixture

      public T visitFixture(TSHParser.FixtureContext ctx)
      Visit a parse tree produced by TSHParser.fixture().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFixture in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFixtureProperty

      public T visitFixtureProperty(TSHParser.FixturePropertyContext ctx)
      Visit a parse tree produced by TSHParser.fixtureProperty().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFixtureProperty in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitId

      public T visitId(TSHParser.IdContext ctx)
      Visit a parse tree produced by TSHParser.id().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitId in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTitle

      public T visitTitle(TSHParser.TitleContext ctx)
      Visit a parse tree produced by TSHParser.title().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitTitle in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDescription

      public T visitDescription(TSHParser.DescriptionContext ctx)
      Visit a parse tree produced by TSHParser.description().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDescription in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitStatus

      public T visitStatus(TSHParser.StatusContext ctx)
      Visit a parse tree produced by TSHParser.status().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitStatus in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitUrl

      public T visitUrl(TSHParser.UrlContext ctx)
      Visit a parse tree produced by TSHParser.url().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitUrl in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitName

      public T visitName(TSHParser.NameContext ctx)
      Visit a parse tree produced by TSHParser.name().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitName in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBool

      public T visitBool(TSHParser.BoolContext ctx)
      Visit a parse tree produced by TSHParser.bool().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitBool in interface TSHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result