Class TPHBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
org.fhirfrog.frog.tph.grammar.TPHBaseVisitor<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>, TPHVisitor<T>
Direct Known Subclasses:
TPHASTBuilder

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

    • TPHBaseVisitor

      public TPHBaseVisitor()
  • Method Details

    • visitDoc

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

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

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

      public T visitTestPlan(TPHParser.TestPlanContext ctx)
      Visit a parse tree produced by TPHParser.testPlan().

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

      Specified by:
      visitTestPlan in interface TPHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTpMetadata

      public T visitTpMetadata(TPHParser.TpMetadataContext ctx)
      Visit a parse tree produced by TPHParser.tpMetadata().

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

      Specified by:
      visitTpMetadata in interface TPHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTestCase

      public T visitTestCase(TPHParser.TestCaseContext ctx)
      Visit a parse tree produced by TPHParser.testCase().

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

      Specified by:
      visitTestCase in interface TPHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTestCaseProperty

      public T visitTestCaseProperty(TPHParser.TestCasePropertyContext ctx)
      Visit a parse tree produced by TPHParser.testCaseProperty().

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

      Specified by:
      visitTestCaseProperty in interface TPHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitSequence

      public T visitSequence(TPHParser.SequenceContext ctx)
      Visit a parse tree produced by TPHParser.sequence().

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

      Specified by:
      visitSequence in interface TPHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDepends

      public T visitDepends(TPHParser.DependsContext ctx)
      Visit a parse tree produced by TPHParser.depends().

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

      Specified by:
      visitDepends in interface TPHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitRun

      public T visitRun(TPHParser.RunContext ctx)
      Visit a parse tree produced by TPHParser.run().

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

      Specified by:
      visitRun in interface TPHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitTestData

      public T visitTestData(TPHParser.TestDataContext ctx)
      Visit a parse tree produced by TPHParser.testData().

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public T visitVersion(TPHParser.VersionContext ctx)
      Visit a parse tree produced by TPHParser.version().

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

      Specified by:
      visitVersion in interface TPHVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitReference

      public T visitReference(TPHParser.ReferenceContext ctx)
      Visit a parse tree produced by TPHParser.reference().

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

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

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

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

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