Interface IterraformVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by terraformParser.
Namespace: GCore.Antlr.Grammers.Terraform
Assembly: Terraform.dll
Syntax
public interface IterraformVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitArgument(terraformParser.ArgumentContext)
Visit a parse tree produced by argument().
Declaration
Result VisitArgument(terraformParser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.ArgumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlock(terraformParser.BlockContext)
Visit a parse tree produced by block().
Declaration
Result VisitBlock(terraformParser.BlockContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.BlockContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlockbody(terraformParser.BlockbodyContext)
Visit a parse tree produced by blockbody().
Declaration
Result VisitBlockbody(terraformParser.BlockbodyContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.BlockbodyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBlocktype(terraformParser.BlocktypeContext)
Visit a parse tree produced by blocktype().
Declaration
Result VisitBlocktype(terraformParser.BlocktypeContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.BlocktypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitData(terraformParser.DataContext)
Visit a parse tree produced by data().
Declaration
Result VisitData(terraformParser.DataContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.DataContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExpression(terraformParser.ExpressionContext)
Visit a parse tree produced by expression().
Declaration
Result VisitExpression(terraformParser.ExpressionContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.ExpressionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFile_(terraformParser.File_Context)
Visit a parse tree produced by file_().
Declaration
Result VisitFile_(terraformParser.File_Context context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.File_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFiledecl(terraformParser.FiledeclContext)
Visit a parse tree produced by filedecl().
Declaration
Result VisitFiledecl(terraformParser.FiledeclContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.FiledeclContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitForloop(terraformParser.ForloopContext)
Visit a parse tree produced by forloop().
Declaration
Result VisitForloop(terraformParser.ForloopContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.ForloopContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionarguments(terraformParser.FunctionargumentsContext)
Visit a parse tree produced by functionarguments().
Declaration
Result VisitFunctionarguments(terraformParser.FunctionargumentsContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.FunctionargumentsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctioncall(terraformParser.FunctioncallContext)
Visit a parse tree produced by functioncall().
Declaration
Result VisitFunctioncall(terraformParser.FunctioncallContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.FunctioncallContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunctionname(terraformParser.FunctionnameContext)
Visit a parse tree produced by functionname().
Declaration
Result VisitFunctionname(terraformParser.FunctionnameContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.FunctionnameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifier(terraformParser.IdentifierContext)
Visit a parse tree produced by identifier().
Declaration
Result VisitIdentifier(terraformParser.IdentifierContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.IdentifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdentifierchain(terraformParser.IdentifierchainContext)
Visit a parse tree produced by identifierchain().
Declaration
Result VisitIdentifierchain(terraformParser.IdentifierchainContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.IdentifierchainContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIndex(terraformParser.IndexContext)
Visit a parse tree produced by index().
Declaration
Result VisitIndex(terraformParser.IndexContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.IndexContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInline_index(terraformParser.Inline_indexContext)
Visit a parse tree produced by inline_index().
Declaration
Result VisitInline_index(terraformParser.Inline_indexContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.Inline_indexContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLabel(terraformParser.LabelContext)
Visit a parse tree produced by label().
Declaration
Result VisitLabel(terraformParser.LabelContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.LabelContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitList_(terraformParser.List_Context)
Visit a parse tree produced by list_().
Declaration
Result VisitList_(terraformParser.List_Context context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.List_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLocal(terraformParser.LocalContext)
Visit a parse tree produced by local().
Declaration
Result VisitLocal(terraformParser.LocalContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.LocalContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMap_(terraformParser.Map_Context)
Visit a parse tree produced by map_().
Declaration
Result VisitMap_(terraformParser.Map_Context context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.Map_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitModule(terraformParser.ModuleContext)
Visit a parse tree produced by module().
Declaration
Result VisitModule(terraformParser.ModuleContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.ModuleContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitName(terraformParser.NameContext)
Visit a parse tree produced by name().
Declaration
Result VisitName(terraformParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.NameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNumber(terraformParser.NumberContext)
Visit a parse tree produced by number().
Declaration
Result VisitNumber(terraformParser.NumberContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.NumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOperator_(terraformParser.Operator_Context)
Visit a parse tree produced by operator_().
Declaration
Result VisitOperator_(terraformParser.Operator_Context context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.Operator_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOutput(terraformParser.OutputContext)
Visit a parse tree produced by output().
Declaration
Result VisitOutput(terraformParser.OutputContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.OutputContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProvider(terraformParser.ProviderContext)
Visit a parse tree produced by provider().
Declaration
Result VisitProvider(terraformParser.ProviderContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.ProviderContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitResource(terraformParser.ResourceContext)
Visit a parse tree produced by resource().
Declaration
Result VisitResource(terraformParser.ResourceContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.ResourceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitResourcetype(terraformParser.ResourcetypeContext)
Visit a parse tree produced by resourcetype().
Declaration
Result VisitResourcetype(terraformParser.ResourcetypeContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.ResourcetypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSection(terraformParser.SectionContext)
Visit a parse tree produced by section().
Declaration
Result VisitSection(terraformParser.SectionContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.SectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSigned_number(terraformParser.Signed_numberContext)
Visit a parse tree produced by signed_number().
Declaration
Result VisitSigned_number(terraformParser.Signed_numberContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.Signed_numberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitString(terraformParser.StringContext)
Visit a parse tree produced by
Declaration
Result VisitString(terraformParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.StringContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTerraform(terraformParser.TerraformContext)
Visit a parse tree produced by terraform().
Declaration
Result VisitTerraform(terraformParser.TerraformContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.TerraformContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVal(terraformParser.ValContext)
Visit a parse tree produced by val().
Declaration
Result VisitVal(terraformParser.ValContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.ValContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariable(terraformParser.VariableContext)
Visit a parse tree produced by variable().
Declaration
Result VisitVariable(terraformParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
terraformParser.VariableContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |