Creates a new file with the specified content and options.
The file name with an optional relative path, relative to the output directory.
The generated content of the new file.
Optional
options: CreateFileOptionsOptional settings for file generation.
Returns the associated Langium document, if known.
The associated LangiumDocument
, or undefined
if not available.
Returns the relative path of the Langium document within the determined workspace.
See getWorkspaceURI.
If DSL file is outside of all workspace directories, filename with extension (basename) is returned.
/
is used on all platforms as directory separator.
The relative path as a string, if the workspace URI could be determined, filename with extension or undefined
otherwise.
Returns the workspace URI corresponding to the Langium document URI.
The URI will be selected from a list of known workspace URIs.
The workspace URI
if it could be determined, or undefined
otherwise.
Manages code generation for a specific model.
Provides: