Package org.openrewrite.protobuf
Class ProtoParser
java.lang.Object
org.openrewrite.protobuf.ProtoParser
- All Implemented Interfaces:
org.openrewrite.Parser<Proto.Document>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.Parser
org.openrewrite.Parser.Input -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanparseInputs(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, parse, parse, reset
-
Constructor Details
-
ProtoParser
public ProtoParser()
-
-
Method Details
-
parseInputs
public List<Proto.Document> parseInputs(Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) - Specified by:
parseInputsin interfaceorg.openrewrite.Parser<Proto.Document>
-
parse
- Specified by:
parsein interfaceorg.openrewrite.Parser<Proto.Document>
-
accept
- Specified by:
acceptin interfaceorg.openrewrite.Parser<Proto.Document>
-
sourcePathFromSourceText
- Specified by:
sourcePathFromSourceTextin interfaceorg.openrewrite.Parser<Proto.Document>
-