Package org.openrewrite.hcl.format
Class TabsAndIndentsVisitor<P>
java.lang.Object
org.openrewrite.TreeVisitor<Hcl,P>
org.openrewrite.hcl.HclVisitor<P>
org.openrewrite.hcl.HclIsoVisitor<P>
org.openrewrite.hcl.format.TabsAndIndentsVisitor<P>
-
Constructor Summary
ConstructorsConstructorDescriptionTabsAndIndentsVisitor(TabsAndIndentsStyle style, @Nullable org.openrewrite.Tree stopAfter) -
Method Summary
Modifier and TypeMethodDescription@Nullable Hcl@Nullable Hcl@Nullable Hcl@Nullable HclvisitAttribute(Hcl.Attribute attribute, P p) <H extends Hcl>
HclContainer<H>visitContainer(HclContainer<H> container, HclContainer.Location loc, P p) <T> HclRightPadded<T>visitRightPadded(@Nullable HclRightPadded<T> right, HclRightPadded.Location loc, P p) visitSpace(Space space, Space.Location loc, P p) Methods inherited from class org.openrewrite.hcl.HclIsoVisitor
visitAttributeAccess, visitBinary, visitBlock, visitBodyContent, visitConditional, visitConfigFile, visitEmpty, visitExpression, visitForIntro, visitForObject, visitForTuple, visitFunctionCall, visitHeredocTemplate, visitIdentifier, visitIndex, visitIndexPosition, visitLiteral, visitObjectValue, visitParentheses, visitQuotedTemplate, visitSplat, visitSplatOperator, visitTemplateInterpolation, visitTuple, visitUnary, visitVariableExpressionMethods inherited from class org.openrewrite.hcl.HclVisitor
autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, visitLeftPaddedMethods inherited from class org.openrewrite.TreeVisitor
adapt, collect, collect, defaultValue, doAfterVisit, getAfterVisit, getCursor, isAdaptableTo, noop, reduce, reduce, reduce, setCursor, stopAfterPreVisit, updateCursor, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitorTreeType
-
Constructor Details
-
TabsAndIndentsVisitor
-
TabsAndIndentsVisitor
public TabsAndIndentsVisitor(TabsAndIndentsStyle style, @Nullable @Nullable org.openrewrite.Tree stopAfter)
-
-
Method Details
-
visit
-
preVisit
-
visitSpace
- Overrides:
visitSpacein classHclVisitor<P>
-
visitRightPadded
public <T> HclRightPadded<T> visitRightPadded(@Nullable @Nullable HclRightPadded<T> right, HclRightPadded.Location loc, P p) - Overrides:
visitRightPaddedin classHclVisitor<P>
-
visitContainer
public <H extends Hcl> HclContainer<H> visitContainer(HclContainer<H> container, HclContainer.Location loc, P p) - Overrides:
visitContainerin classHclVisitor<P>
-
visitAttribute
- Overrides:
visitAttributein classHclIsoVisitor<P>
-
postVisit
-
visit
-