Package org.openrewrite.hcl.tree
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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptiondefault <R extends org.openrewrite.Tree,P>
Raccept(org.openrewrite.TreeVisitor<R, P> v, P p) default <P> @Nullable HclacceptHcl(HclVisitor<P> v, P p) default <P> booleanisAcceptable(org.openrewrite.TreeVisitor<?, P> v, P p) <H extends Hcl>
HwithPrefix(Space prefix) Methods inherited from interface org.openrewrite.Tree
cast, getId, getJacksonPolymorphicTypeTag, getMarkers, isScope, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed, safeCast, withId, withMarkers
-
Method Details
-
accept
default <R extends org.openrewrite.Tree,P> R accept(org.openrewrite.TreeVisitor<R, P> v, P p) - Specified by:
acceptin interfaceorg.openrewrite.Tree
-
acceptHcl
-
isAcceptable
default <P> boolean isAcceptable(org.openrewrite.TreeVisitor<?, P> v, P p) - Specified by:
isAcceptablein interfaceorg.openrewrite.Tree
-
getPrefix
Space getPrefix() -
withPrefix
-