Package org.openrewrite.hcl
Class HclParser
java.lang.Object
org.openrewrite.hcl.HclParser
- All Implemented Interfaces:
org.openrewrite.Parser
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.openrewrite.Parser
org.openrewrite.Parser.Input -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic HclParser.Builderbuilder()Stream<org.openrewrite.SourceFile>parseInputs(Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) sourcePathFromSourceText(Path prefix, String sourceCode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.Parser
accept, acceptedInputs, getCharset, parse, parse, parse, reset
-
Method Details
-
parseInputs
public Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) - Specified by:
parseInputsin interfaceorg.openrewrite.Parser
-
accept
- Specified by:
acceptin interfaceorg.openrewrite.Parser
-
sourcePathFromSourceText
- Specified by:
sourcePathFromSourceTextin interfaceorg.openrewrite.Parser
-
builder
-