Interface Hcl

All Superinterfaces:
org.openrewrite.Tree
All Known Subinterfaces:
BodyContent, CollectionValue, Expression, Label
All Known Implementing Classes:
Hcl.Attribute, Hcl.AttributeAccess, Hcl.Binary, Hcl.Block, Hcl.Conditional, Hcl.ConfigFile, Hcl.Empty, Hcl.ForIntro, Hcl.ForObject, Hcl.ForTuple, Hcl.FunctionCall, Hcl.HeredocTemplate, Hcl.Identifier, Hcl.Index, Hcl.Index.Position, Hcl.Literal, Hcl.ObjectValue, Hcl.Parentheses, Hcl.QuotedTemplate, Hcl.Splat, Hcl.Splat.Operator, Hcl.TemplateInterpolation, Hcl.Tuple, Hcl.Unary, Hcl.VariableExpression

public interface Hcl extends org.openrewrite.Tree
  • Method Details

    • accept

      default <R extends org.openrewrite.Tree, P> R accept(org.openrewrite.TreeVisitor<R,P> v, P p)
      Specified by:
      accept in interface org.openrewrite.Tree
    • acceptHcl

      @Nullable default <P> @Nullable Hcl acceptHcl(HclVisitor<P> v, P p)
    • isAcceptable

      default <P> boolean isAcceptable(org.openrewrite.TreeVisitor<?,P> v, P p)
      Specified by:
      isAcceptable in interface org.openrewrite.Tree
    • getPrefix

      Space getPrefix()
    • withPrefix

      <H extends Hcl> H withPrefix(Space prefix)