public static List<Diagnostic> traverse(ParseContext context, SchemaNode CST) {
        List<Diagnostic> diagnostics = new ArrayList<>();
        traverse(context, CST, diagnostics, false);
        return diagnostics;
    }
ResolverTraversal
Traversing the CST after initial parsing step and inheritance has been resolved to resolve symbol references etc.
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/schemadocument/resolvers/ResolverTraversal.java