Package org.fhirfrog.frog.tph
Class TPHASTBuilder
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Object>,TPHVisitor<Object>
ANTLR visitor that builds AST from parse tree.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byTPHParser.testCase().Visit a parse tree produced byTPHParser.testPlan().Methods inherited from class org.fhirfrog.frog.tph.grammar.TPHBaseVisitor
visitDepends, visitDescription, visitDoc, visitId, visitName, visitReference, visitRun, visitSequence, visitStatus, visitTestCaseProperty, visitTestData, visitTitle, visitTpMetadata, visitUrl, visitVersionMethods 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
-
TPHASTBuilder
public TPHASTBuilder()
-
-
Method Details
-
visitTestPlan
Description copied from class:TPHBaseVisitorVisit a parse tree produced byTPHParser.testPlan().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestPlanin interfaceTPHVisitor<Object>- Overrides:
visitTestPlanin classTPHBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTestCase
Description copied from class:TPHBaseVisitorVisit a parse tree produced byTPHParser.testCase().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTestCasein interfaceTPHVisitor<Object>- Overrides:
visitTestCasein classTPHBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-