class NewSchemaLoader : Closeable, Loader, NewProfileLoader
Load proto files and their transitive dependencies and parse them. Keep track of which files were loaded from where so that we can use that information later when deciding what to generate.
NewSchemaLoader(fs: FileSystem)
Load proto files and their transitive dependencies and parse them. Keep track of which files were loaded from where so that we can use that information later when deciding what to generate. |
lateinit var sourcePathFiles: List<ProtoFile>
Subset of the schema that was loaded from the source path. |
fun close(): Unit |
|
fun initRoots(sourcePath: List<Location>, protoPath: List<Location> = listOf()): Unit
Initialize the WireRun.sourcePath and WireRun.protoPath from which files are loaded. |
|
fun load(path: String): ProtoFile |
|
fun loadProfile(name: String, schema: Schema): Profile |
|
fun loadSchema(): Schema |