Class Parser.Input

java.lang.Object
org.openrewrite.Parser.Input
Enclosing interface:
Parser

public static class Parser.Input extends Object
A source input. path may be a synthetic path and not represent a resolvable path on disk, as is the case when parsing sources from BigQuery (we have a relative path from the original GitHub repository and the sources, but don't have these sources on disk).

Nevertheless, this class is a generalization that applies well enough to paths that are resolvable on disk, where the file has been pre-read into memory.