Class Hcl.ConfigFile

java.lang.Object
org.openrewrite.hcl.tree.Hcl.ConfigFile
All Implemented Interfaces:
Hcl, org.openrewrite.SourceFile, org.openrewrite.Tree
Enclosing interface:
Hcl

public static class Hcl.ConfigFile extends Object implements Hcl, org.openrewrite.SourceFile
  • Constructor Details

    • ConfigFile

      public ConfigFile()
  • Method Details

    • getCharset

      public Charset getCharset()
      Specified by:
      getCharset in interface org.openrewrite.SourceFile
    • withCharset

      public org.openrewrite.SourceFile withCharset(Charset charset)
      Specified by:
      withCharset in interface org.openrewrite.SourceFile
    • getCoordinates

      public CoordinateBuilder.ConfigFile getCoordinates()
    • acceptHcl

      public <P> Hcl acceptHcl(HclVisitor<P> v, P p)
      Specified by:
      acceptHcl in interface Hcl
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • printer

      public <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor)
      Specified by:
      printer in interface org.openrewrite.SourceFile
      Specified by:
      printer in interface org.openrewrite.Tree