Package org.openrewrite.groovy
Class GroovyParserVisitor
java.lang.Object
org.openrewrite.groovy.GroovyParserVisitor
See the language syntax reference.
-
Constructor Summary
ConstructorsConstructorDescriptionGroovyParserVisitor(Path sourcePath, @Nullable org.openrewrite.FileAttributes fileAttributes, org.openrewrite.internal.EncodingDetectingInputStream source, org.openrewrite.java.internal.JavaTypeCache typeCache, org.openrewrite.ExecutionContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionvisit(org.codehaus.groovy.control.SourceUnit unit, org.codehaus.groovy.ast.ModuleNode ast)
-
Constructor Details
-
GroovyParserVisitor
public GroovyParserVisitor(Path sourcePath, @Nullable org.openrewrite.FileAttributes fileAttributes, org.openrewrite.internal.EncodingDetectingInputStream source, org.openrewrite.java.internal.JavaTypeCache typeCache, org.openrewrite.ExecutionContext ctx)
-
-
Method Details
-
visit
public G.CompilationUnit visit(org.codehaus.groovy.control.SourceUnit unit, org.codehaus.groovy.ast.ModuleNode ast) throws GroovyParsingException - Throws:
GroovyParsingException
-