diff options
Diffstat (limited to 'test/files/cli')
-rw-r--r-- | test/files/cli/test1/Main.check.scalaint | 57 | ||||
-rw-r--r-- | test/files/cli/test2/Main.check.scala_api | 17 | ||||
-rw-r--r-- | test/files/cli/test2/Main.check.scalaint | 57 | ||||
-rw-r--r-- | test/files/cli/test3/Main.check.scala_api | 21 | ||||
-rw-r--r-- | test/files/cli/test3/Main.check.scalaint | 57 |
5 files changed, 68 insertions, 141 deletions
diff --git a/test/files/cli/test1/Main.check.scalaint b/test/files/cli/test1/Main.check.scalaint index 78ea0a424e..78ddab22d7 100644 --- a/test/files/cli/test1/Main.check.scalaint +++ b/test/files/cli/test1/Main.check.scalaint @@ -1,50 +1,13 @@ -scalaint: unknown option: '-cpp' -Usage: scalaint <options | source files> -where possible options include: - -doc Generate documentation - -g Generate debugging info - -nowarn Generate no warnings - -noassert Generate no assertions and assumptions - -verbose Output messages about what the compiler is doing - -classpath <path> Specify where to find user class files - -sourcepath <path> Specify where to find input source files - -bootclasspath <path> Override location of bootstrap class files - -extdirs <dirs> Override location of installed extensions - -d <directory> Specify where to place generated class files - -encoding <encoding> Specify character encoding used by source files - -windowtitle <windowtitle> Specify window title of generated HTML documentation - -documenttitle <documenttitle> Specify document title of generated HTML documentation - -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc) - -migrate Assist in migrating from Scala version 1.0 - -debug Output debugging messages - -statistics Print compiler statistics - -explaintypes Explain type errors in more detail - -resident Compiler stays resident, files to compile are read from standard input - -uniqid Print identifiers with unique names (debugging option) - -printtypes Print tree types (debugging option) - -prompt Display a prompt after each error (debugging option) - -noimports Compile without any implicit imports - -nopredefs Compile without any implicit predefined values - -skip:<phase> Skip <phase> - -check:<phase> Check the tree at start of <phase> - -print:<phase> Print out program after <phase> - -printer:<printer> Printer to use (text,html) - -printfile <file> Specify file in which to print trees - -graph:<phase> Graph the program after <phase> - -browse:<phase> Browse the abstract syntax tree after <phase> - -stop:<phase> Stop after phase <phase> - -log:<phase> Log operations in <phase> - -version Print product version and exit - -help Print a synopsis of standard options - -Xinline Perform inlining when possible - -Xcloselim Perform closure elimination - -Xdce Perform dead code elimination - -Xshowcls <class> Show class info - -Xshowobj <object> Show object info - -Xshowicode Print the generated ICode - -Xgadt enable gadt for classes - -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo,dump) - -Xgenerics Use generic Java types +unknown option: '-cpp' +scala [ <compiler-option> | -howtorun:how ]... [<torun> <arguments>] + +<compiler-option>'s are as for scalac; see scalac -help. +<torun>, if present, is an object or script file to run. +If no <torun> is present, run an interactive interpreter. +-howtorun allows explicitly specifying how to run <torun>: + script: it is a script file + object: it is an object name + guess: (the default) try to guess This is an interpreter for Scala. diff --git a/test/files/cli/test2/Main.check.scala_api b/test/files/cli/test2/Main.check.scala_api new file mode 100644 index 0000000000..1df1a7fb32 --- /dev/null +++ b/test/files/cli/test2/Main.check.scala_api @@ -0,0 +1,17 @@ +|-- all-classes.html +|-- index.html +|-- modules.html +|-- root-content.html +|-- script.js +|-- style.css +|-- test1 +| `-- Main$object.html +|-- test1$content.html +|-- test1$package.html +|-- test2 +| `-- Main$object.html +|-- test2$content.html +`-- test2$package.html + + +2 directories, 12 files diff --git a/test/files/cli/test2/Main.check.scalaint b/test/files/cli/test2/Main.check.scalaint index e9f2bc743d..e01f2b77ee 100644 --- a/test/files/cli/test2/Main.check.scalaint +++ b/test/files/cli/test2/Main.check.scalaint @@ -1,50 +1,13 @@ -scalaint: unknown option: '-cpp' -Usage: scalaint <options | source files> -where possible options include: - -doc Generate documentation - -g Generate debugging info - -nowarn Generate no warnings - -noassert Generate no assertions and assumptions - -verbose Output messages about what the compiler is doing - -classpath <path> Specify where to find user class files - -sourcepath <path> Specify where to find input source files - -bootclasspath <path> Override location of bootstrap class files - -extdirs <dirs> Override location of installed extensions - -d <directory> Specify where to place generated class files - -encoding <encoding> Specify character encoding used by source files - -windowtitle <windowtitle> Specify window title of generated HTML documentation - -documenttitle <documenttitle> Specify document title of generated HTML documentation - -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc) - -migrate Assist in migrating from Scala version 1.0 - -debug Output debugging messages - -statistics Print compiler statistics - -explaintypes Explain type errors in more detail - -resident Compiler stays resident, files to compile are read from standard input - -uniqid Print identifiers with unique names (debugging option) - -printtypes Print tree types (debugging option) - -prompt Display a prompt after each error (debugging option) - -noimports Compile without any implicit imports - -nopredefs Compile without any implicit predefined values - -skip:<phase> Skip <phase> - -check:<phase> Check the tree at start of <phase> - -print:<phase> Print out program after <phase> - -printer:<printer> Printer to use (text,html) - -printfile <file> Specify file in which to print trees - -graph:<phase> Graph the program after <phase> - -browse:<phase> Browse the abstract syntax tree after <phase> - -stop:<phase> Stop after phase <phase> - -log:<phase> Log operations in <phase> - -version Print product version and exit - -help Print a synopsis of standard options - -Xinline Perform inlining when possible - -Xcloselim Perform closure elimination - -Xdce Perform dead code elimination - -Xshowcls <class> Show class info - -Xshowobj <object> Show object info - -Xshowicode Print the generated ICode - -Xgadt enable gadt for classes - -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo,dump) - -Xgenerics Use generic Java types +unknown option: '-cpp' +scala [ <compiler-option> | -howtorun:how ]... [<torun> <arguments>] + +<compiler-option>'s are as for scalac; see scalac -help. +<torun>, if present, is an object or script file to run. +If no <torun> is present, run an interactive interpreter. +-howtorun allows explicitly specifying how to run <torun>: + script: it is a script file + object: it is an object name + guess: (the default) try to guess This is an interpreter for Scala. diff --git a/test/files/cli/test3/Main.check.scala_api b/test/files/cli/test3/Main.check.scala_api new file mode 100644 index 0000000000..e65cebac24 --- /dev/null +++ b/test/files/cli/test3/Main.check.scala_api @@ -0,0 +1,21 @@ +|-- all-classes.html +|-- index.html +|-- modules.html +|-- root-content.html +|-- script.js +|-- style.css +|-- test1 +| `-- Main$object.html +|-- test1$content.html +|-- test1$package.html +|-- test2 +| `-- Main$object.html +|-- test2$content.html +|-- test2$package.html +|-- test3 +| `-- Main$object.html +|-- test3$content.html +`-- test3$package.html + + +3 directories, 15 files diff --git a/test/files/cli/test3/Main.check.scalaint b/test/files/cli/test3/Main.check.scalaint index ac14f5f315..7beaa665ae 100644 --- a/test/files/cli/test3/Main.check.scalaint +++ b/test/files/cli/test3/Main.check.scalaint @@ -1,50 +1,13 @@ -scalaint: unknown option: '-cpp' -Usage: scalaint <options | source files> -where possible options include: - -doc Generate documentation - -g Generate debugging info - -nowarn Generate no warnings - -noassert Generate no assertions and assumptions - -verbose Output messages about what the compiler is doing - -classpath <path> Specify where to find user class files - -sourcepath <path> Specify where to find input source files - -bootclasspath <path> Override location of bootstrap class files - -extdirs <dirs> Override location of installed extensions - -d <directory> Specify where to place generated class files - -encoding <encoding> Specify character encoding used by source files - -windowtitle <windowtitle> Specify window title of generated HTML documentation - -documenttitle <documenttitle> Specify document title of generated HTML documentation - -target:<target> Specify which backend to use (jvm-1.5,jvm-1.4,msil,cldc) - -migrate Assist in migrating from Scala version 1.0 - -debug Output debugging messages - -statistics Print compiler statistics - -explaintypes Explain type errors in more detail - -resident Compiler stays resident, files to compile are read from standard input - -uniqid Print identifiers with unique names (debugging option) - -printtypes Print tree types (debugging option) - -prompt Display a prompt after each error (debugging option) - -noimports Compile without any implicit imports - -nopredefs Compile without any implicit predefined values - -skip:<phase> Skip <phase> - -check:<phase> Check the tree at start of <phase> - -print:<phase> Print out program after <phase> - -printer:<printer> Printer to use (text,html) - -printfile <file> Specify file in which to print trees - -graph:<phase> Graph the program after <phase> - -browse:<phase> Browse the abstract syntax tree after <phase> - -stop:<phase> Stop after phase <phase> - -log:<phase> Log operations in <phase> - -version Print product version and exit - -help Print a synopsis of standard options - -Xinline Perform inlining when possible - -Xcloselim Perform closure elimination - -Xdce Perform dead code elimination - -Xshowcls <class> Show class info - -Xshowobj <object> Show object info - -Xshowicode Print the generated ICode - -Xgadt enable gadt for classes - -Xlinearizer:<Xlinearizer> Linearizer to use (normal,dfs,rpo,dump) - -Xgenerics Use generic Java types +unknown option: '-cpp' +scala [ <compiler-option> | -howtorun:how ]... [<torun> <arguments>] + +<compiler-option>'s are as for scalac; see scalac -help. +<torun>, if present, is an object or script file to run. +If no <torun> is present, run an interactive interpreter. +-howtorun allows explicitly specifying how to run <torun>: + script: it is a script file + object: it is an object name + guess: (the default) try to guess This is an interpreter for Scala. |