Dotty Documentation

0.4.0-bin-SNAPSHOT

object CommandLineParser
extends Object

A simple (overly so) command line parser. !!! This needs a thorough test suite to make sure quoting is done correctly and portably.

[-] Constructors

[-] Members

[+] private object DoubleQuoted
[+] class ParseException
[+] private class QuotedExtractor
[+] private object SingleQuoted
[+] @sharable private val Word : Regex
[+] private def argument ( in: String ) : Either [ String, ( String, String ) ]
[+] @tailrec private def commandLine ( in: String , accum: List [ String ] ) : Either [ String, ( List [ String ], String ) ]
[+] def tokenize ( line: String ) : List [ String ]
[+] def tokenize ( line: String , errorFn: String => Unit ) : List [ String ]