Class TSHBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,TSHVisitor<T>
- Direct Known Subclasses:
TSHCompiler
TSHVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byTSHParser.action().Visit a parse tree produced byTSHParser.alias().Visit a parse tree produced byTSHParser.assertion().Visit a parse tree produced byTSHParser.bool().Visit a parse tree produced by theContentTypeEqualslabeled alternative inTSHParser.assertionType().Visit a parse tree produced byTSHParser.description().Visit a parse tree produced byTSHParser.doc().Visit a parse tree produced byTSHParser.entity().Visit a parse tree produced by theExpressionAssertionlabeled alternative inTSHParser.assertionType().Visit a parse tree produced byTSHParser.fhirPath().Visit a parse tree produced byTSHParser.fixture().Visit a parse tree produced byTSHParser.fixtureProperty().Visit a parse tree produced byTSHParser.id().Visit a parse tree produced by theMinimumIdAssertionlabeled alternative inTSHParser.assertionType().Visit a parse tree produced byTSHParser.name().Visit a parse tree produced byTSHParser.numberList().Visit a parse tree produced byTSHParser.operation().Visit a parse tree produced byTSHParser.operationType().Visit a parse tree produced by theResourceEqualslabeled alternative inTSHParser.assertionType().Visit a parse tree produced byTSHParser.resourceId().Visit a parse tree produced byTSHParser.resourceType().Visit a parse tree produced by theResponseCodeEqualslabeled alternative inTSHParser.assertionType().Visit a parse tree produced by theResponseCodeInlabeled alternative inTSHParser.assertionType().Visit a parse tree produced byTSHParser.setup().Visit a parse tree produced byTSHParser.status().Visit a parse tree produced byTSHParser.teardown().Visit a parse tree produced byTSHParser.test().Visit a parse tree produced byTSHParser.testScript().Visit a parse tree produced byTSHParser.title().Visit a parse tree produced byTSHParser.tsMetadata().Visit a parse tree produced byTSHParser.url().Visit a parse tree produced by theValidateProfileAssertionlabeled alternative inTSHParser.assertionType().Visit a parse tree produced byTSHParser.variable().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
TSHBaseVisitor
public TSHBaseVisitor()
-
-
Method Details
-
visitDoc
Visit a parse tree produced byTSHParser.doc().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDocin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEntity
Visit a parse tree produced byTSHParser.entity().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEntityin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAlias
Visit a parse tree produced byTSHParser.alias().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAliasin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestScript
Visit a parse tree produced byTSHParser.testScript().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestScriptin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTsMetadata
Visit a parse tree produced byTSHParser.tsMetadata().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTsMetadatain interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetup
Visit a parse tree produced byTSHParser.setup().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetupin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTest
Visit a parse tree produced byTSHParser.test().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTeardown
Visit a parse tree produced byTSHParser.teardown().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTeardownin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAction
Visit a parse tree produced byTSHParser.action().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitActionin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOperation
Visit a parse tree produced byTSHParser.operation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOperationin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceId
Visit a parse tree produced byTSHParser.resourceId().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourceIdin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOperationType
Visit a parse tree produced byTSHParser.operationType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitOperationTypein interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceType
Visit a parse tree produced byTSHParser.resourceType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourceTypein interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAssertion
Visit a parse tree produced byTSHParser.assertion().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAssertionin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResponseCodeEquals
Visit a parse tree produced by theResponseCodeEqualslabeled alternative inTSHParser.assertionType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResponseCodeEqualsin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResponseCodeIn
Visit a parse tree produced by theResponseCodeInlabeled alternative inTSHParser.assertionType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResponseCodeInin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitResourceEquals
Visit a parse tree produced by theResourceEqualslabeled alternative inTSHParser.assertionType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitResourceEqualsin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitContentTypeEquals
Visit a parse tree produced by theContentTypeEqualslabeled alternative inTSHParser.assertionType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitContentTypeEqualsin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionAssertion
Visit a parse tree produced by theExpressionAssertionlabeled alternative inTSHParser.assertionType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExpressionAssertionin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMinimumIdAssertion
Visit a parse tree produced by theMinimumIdAssertionlabeled alternative inTSHParser.assertionType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMinimumIdAssertionin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValidateProfileAssertion
Visit a parse tree produced by theValidateProfileAssertionlabeled alternative inTSHParser.assertionType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitValidateProfileAssertionin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumberList
Visit a parse tree produced byTSHParser.numberList().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNumberListin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariable
Visit a parse tree produced byTSHParser.variable().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitVariablein interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFhirPath
Visit a parse tree produced byTSHParser.fhirPath().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFhirPathin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFixture
Visit a parse tree produced byTSHParser.fixture().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFixturein interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFixtureProperty
Visit a parse tree produced byTSHParser.fixtureProperty().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFixturePropertyin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitId
Visit a parse tree produced byTSHParser.id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTitle
Visit a parse tree produced byTSHParser.title().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTitlein interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDescription
Visit a parse tree produced byTSHParser.description().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDescriptionin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatus
Visit a parse tree produced byTSHParser.status().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatusin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUrl
Visit a parse tree produced byTSHParser.url().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUrlin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitName
Visit a parse tree produced byTSHParser.name().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNamein interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBool
Visit a parse tree produced byTSHParser.bool().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBoolin interfaceTSHVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-