diff options
author | Alexandra Dima <alexandra.dima@jetbrains.com> | 2019-07-24 16:57:44 +0200 |
---|---|---|
committer | Samvel Abrahamyan <samvel1024@gmail.com> | 2019-10-12 14:33:11 +0200 |
commit | 8138acf4911b668b3b15c19fd51c4f5e6aadc083 (patch) | |
tree | 8ce53d3b1f5707a7fe0a3826693f3050b8038b84 /main/api/src/mill/api/BspCompileArguments.scala | |
parent | 0b4bcbbfabe06d549d95efb427e75356287398fb (diff) | |
download | mill-8138acf4911b668b3b15c19fd51c4f5e6aadc083.tar.gz mill-8138acf4911b668b3b15c19fd51c4f5e6aadc083.tar.bz2 mill-8138acf4911b668b3b15c19fd51c4f5e6aadc083.zip |
Added docstrigs and comments. Also cleaned unused imports. Changd the printStream connected to the compilation logger sent to the mill evaluator from Bsp from System.out (might interfere with the lsp communication ) to the outputstream of the evaluator's logger.
Diffstat (limited to 'main/api/src/mill/api/BspCompileArguments.scala')
-rw-r--r-- | main/api/src/mill/api/BspCompileArguments.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/api/src/mill/api/BspCompileArguments.scala b/main/api/src/mill/api/BspCompileArguments.scala index 1af45a61..73586cc8 100644 --- a/main/api/src/mill/api/BspCompileArguments.scala +++ b/main/api/src/mill/api/BspCompileArguments.scala @@ -1,8 +1,17 @@ package mill.api +/** + * Data structure to represent Bsp client-specified + * compilation arguments + */ class BspCompileArguments { var arguments: Seq[String] = Seq.empty[String] + /** + * Return the compilation arguments specified by the + * Bsp client, which may or may not be found in the + * compiler options of any module from the build file. + */ def args: Seq[String] = { arguments } |