Package org.openrewrite.groovy
Class GroovyParser
java.lang.Object
org.openrewrite.groovy.GroovyParser
- All Implemented Interfaces:
org.openrewrite.Parser
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.openrewrite.Parser
org.openrewrite.Parser.Input -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GroovyParser.Builderbuilder()static GroovyParser.Builderbuilder(GroovyParser.Builder base) Stream<org.openrewrite.SourceFile> Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sources, @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) reset()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, requirePrintEqualsInput
-
Constructor Details
-
GroovyParser
public GroovyParser()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceorg.openrewrite.Parser
-
parseInputs
public Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sources, @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) - Specified by:
parseInputsin interfaceorg.openrewrite.Parser
-
accept
- Specified by:
acceptin interfaceorg.openrewrite.Parser
-
reset
- Specified by:
resetin interfaceorg.openrewrite.Parser
-
sourcePathFromSourceText
- Specified by:
sourcePathFromSourceTextin interfaceorg.openrewrite.Parser
-
builder
-
builder
-