Class Workspace
java.lang.Object
org.ek9lang.compiler.Workspace
Designed to represent one or more source files that are part of a workspace.
Needs to become thread safe, especially around parsing.
This is because when a user is typing via lsp mode - this will get triggered over and over.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
addSource
(CompilableSource source) boolean
isSourcePresent
(String fileName) removeSource
(String fileName) removeSource
(Path path) Remove some source code from the work space.
-
Constructor Details
-
Workspace
public Workspace() -
Workspace
-
-
Method Details
-
addSource
-
addSource
-
addSource
-
addSource
-
isSourcePresent
-
getSource
-
getSource
-
removeSource
Remove some source code from the work space. Maybe a file has been deleted or renamed. -
removeSource
-
getSources
-
getSourceFileBaseDirectory
-