Interface HCLParserVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
HCLParserBaseVisitor,HclParserVisitor
public interface HCLParserVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
HCLParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byHCLParser.arguments().Visit a parse tree produced byHCLParser.arithmeticOperator().Visit a parse tree produced byHCLParser.attribute().Visit a parse tree produced by theAttributeAccessExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced byHCLParser.attrSplat().Visit a parse tree produced byHCLParser.binaryOp().Visit a parse tree produced byHCLParser.binaryOperator().Visit a parse tree produced byHCLParser.block().Visit a parse tree produced byHCLParser.blockExpr().Visit a parse tree produced byHCLParser.blockLabel().Visit a parse tree produced byHCLParser.body().Visit a parse tree produced byHCLParser.bodyContent().Visit a parse tree produced byHCLParser.collectionValue().Visit a parse tree produced by theCollectionValueExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced byHCLParser.compareOperator().Visit a parse tree produced by theConditionalExpressionlabeled alternative inHCLParser.expression().Visit a parse tree produced byHCLParser.configFile().Visit a parse tree produced by theExpressionTermlabeled alternative inHCLParser.expression().Visit a parse tree produced byHCLParser.forCond().Visit a parse tree produced byHCLParser.forExpr().Visit a parse tree produced by theForExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced byHCLParser.forIntro().Visit a parse tree produced byHCLParser.forObjectExpr().Visit a parse tree produced byHCLParser.forTupleExpr().Visit a parse tree produced byHCLParser.fullSplat().Visit a parse tree produced byHCLParser.functionCall().Visit a parse tree produced by theFunctionCallExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced byHCLParser.getAttr().Visit a parse tree produced by theHeredoclabeled alternative inHCLParser.templateExpr().Visit a parse tree produced byHCLParser.heredocLiteral().Visit a parse tree produced byHCLParser.heredocTemplatePart().Visit a parse tree produced byHCLParser.index().Visit a parse tree produced by theIndexAccessExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced by theLiteralExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced byHCLParser.literalValue().Visit a parse tree produced byHCLParser.logicOperator().Visit a parse tree produced byHCLParser.object().Visit a parse tree produced byHCLParser.objectelem().Visit a parse tree produced byHCLParser.operation().Visit a parse tree produced by theOperationExpressionlabeled alternative inHCLParser.expression().Visit a parse tree produced by theParentheticalExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced by theQuotedTemplatelabeled alternative inHCLParser.templateExpr().Visit a parse tree produced byHCLParser.quotedTemplatePart().Visit a parse tree produced byHCLParser.splat().Visit a parse tree produced by theSplatExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced byHCLParser.stringLiteral().Visit a parse tree produced by theTemplateExpressionlabeled alternative inHCLParser.exprTerm().Visit a parse tree produced byHCLParser.templateInterpolation().Visit a parse tree produced byHCLParser.tuple().Visit a parse tree produced byHCLParser.unaryOp().Visit a parse tree produced byHCLParser.variableExpr().Visit a parse tree produced by theVariableExpressionlabeled alternative inHCLParser.exprTerm().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitConfigFile
Visit a parse tree produced byHCLParser.configFile().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBody
Visit a parse tree produced byHCLParser.body().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBodyContent
Visit a parse tree produced byHCLParser.bodyContent().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttribute
Visit a parse tree produced byHCLParser.attribute().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlock
Visit a parse tree produced byHCLParser.block().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockLabel
Visit a parse tree produced byHCLParser.blockLabel().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOperationExpression
Visit a parse tree produced by theOperationExpressionlabeled alternative inHCLParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditionalExpression
Visit a parse tree produced by theConditionalExpressionlabeled alternative inHCLParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpressionTerm
Visit a parse tree produced by theExpressionTermlabeled alternative inHCLParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitParentheticalExpression
Visit a parse tree produced by theParentheticalExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttributeAccessExpression
Visit a parse tree produced by theAttributeAccessExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression
Visit a parse tree produced by theLiteralExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTemplateExpression
Visit a parse tree produced by theTemplateExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableExpression
Visit a parse tree produced by theVariableExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSplatExpression
Visit a parse tree produced by theSplatExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexAccessExpression
Visit a parse tree produced by theIndexAccessExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForExpression
Visit a parse tree produced by theForExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCallExpression
Visit a parse tree produced by theFunctionCallExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionValueExpression
Visit a parse tree produced by theCollectionValueExpressionlabeled alternative inHCLParser.exprTerm().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBlockExpr
Visit a parse tree produced byHCLParser.blockExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLiteralValue
Visit a parse tree produced byHCLParser.literalValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCollectionValue
Visit a parse tree produced byHCLParser.collectionValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTuple
Visit a parse tree produced byHCLParser.tuple().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObject
Visit a parse tree produced byHCLParser.object().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectelem
Visit a parse tree produced byHCLParser.objectelem().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForExpr
Visit a parse tree produced byHCLParser.forExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForTupleExpr
Visit a parse tree produced byHCLParser.forTupleExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForObjectExpr
Visit a parse tree produced byHCLParser.forObjectExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForIntro
Visit a parse tree produced byHCLParser.forIntro().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForCond
Visit a parse tree produced byHCLParser.forCond().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableExpr
Visit a parse tree produced byHCLParser.variableExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFunctionCall
Visit a parse tree produced byHCLParser.functionCall().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byHCLParser.arguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndex
Visit a parse tree produced byHCLParser.index().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGetAttr
Visit a parse tree produced byHCLParser.getAttr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSplat
Visit a parse tree produced byHCLParser.splat().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAttrSplat
Visit a parse tree produced byHCLParser.attrSplat().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFullSplat
Visit a parse tree produced byHCLParser.fullSplat().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOperation
Visit a parse tree produced byHCLParser.operation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnaryOp
Visit a parse tree produced byHCLParser.unaryOp().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryOp
Visit a parse tree produced byHCLParser.binaryOp().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBinaryOperator
Visit a parse tree produced byHCLParser.binaryOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompareOperator
Visit a parse tree produced byHCLParser.compareOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArithmeticOperator
Visit a parse tree produced byHCLParser.arithmeticOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLogicOperator
Visit a parse tree produced byHCLParser.logicOperator().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeredoc
Visit a parse tree produced by theHeredoclabeled alternative inHCLParser.templateExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuotedTemplate
Visit a parse tree produced by theQuotedTemplatelabeled alternative inHCLParser.templateExpr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeredocTemplatePart
Visit a parse tree produced byHCLParser.heredocTemplatePart().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitHeredocLiteral
Visit a parse tree produced byHCLParser.heredocLiteral().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuotedTemplatePart
Visit a parse tree produced byHCLParser.quotedTemplatePart().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStringLiteral
Visit a parse tree produced byHCLParser.stringLiteral().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTemplateInterpolation
Visit a parse tree produced byHCLParser.templateInterpolation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-