Types specified in the import statement
Current schema
File location for current schema
Both the collection of all type definitions, and the collection of imported type definitions
Filter the types loaded from a schema, first by relevant types, then by the types specified in the import statement.
Types specified in the import statement
All definitions from a schema
Filtered collection of type definitions
Filter relevant definitions from schema
All definitions from a schema
Relevant type definitions
Main entry point. Recursively process all import statement in a schema
File path to the initial schema file
Single bundled schema with all imported types
Parse a single import line and extract imported types and schema filename
Import line
Processed import line
Parse a schema and analyze all import lines
Schema to parse
Array with collection of imports per import line (file)
Read a schema file from disk
Filename
File contents
Recursively process all schema files. Keeps track of both the filtered type definitions, and all type definitions, because they might be needed in post-processing (to add missing types)