Uses of Record Class
org.clafer.frontend.ModelFiles
Packages that use ModelFiles
Package
Description
This package provides the Java frontend of Clafer: a port of the Clafer
compiler that reads
.cfr models without the Haskell compiler.-
Uses of ModelFiles in org.clafer.frontend
Methods in org.clafer.frontend that return ModelFilesModifier and TypeMethodDescriptionToIr.Result.files()Returns the value of thefilesrecord component.static ModelFilesA model in one file, whose imports are not read: its text and options.static ModelFilesReads a model and the files it imports, local files and URLs.static ModelFilesModelFiles.read(String path, List<String> commandLineImports, Function<String, Optional<String>> open) Reads a model and the local files it imports, taking the text of a file fromopenwhere it has one, e.g., a document open in an editor, and from disk otherwise.static ModelFilesModelFiles.read(String path, List<String> commandLineImports, Function<String, Optional<String>> open, ModelFiles.ImportOptions restrictions) Reads a model and the files it imports, as the compiler does (Import.readModel).Methods in org.clafer.frontend with parameters of type ModelFilesModifier and TypeMethodDescriptionstatic ToIr.ResultToIr.toIr(ModelFiles files) Builds the explicit IR of the files of a model: their concatenation, with their options combined.Constructors in org.clafer.frontend with parameters of type ModelFilesModifierConstructorDescriptionResult(Ir.Model model, List<Diagnostic> diagnostics, List<String> errors, Optional<Scopes> scopes, ModelFiles files, Names names) Creates an instance of aResultrecord class.