public class RunParser
extends java.lang.Object
main
method that dynamically loads any CopperParser
object, using its
default constructor, and invokes its CopperParser.parse(Reader, String)
method. Full command-line syntax is
java RunParser parser-class-name [-v] [-f input-file]
If -f
is specified, the parser will read from the given file instead of from standard input.
If -v
is specified, any exceptions thrown will have their full stack trace displayed instead of just their
message.Constructor and Description |
---|
RunParser() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |