|
kiama 0.9.0 API
|
|
kiama/example/til/Main.scala]
trait
Main
extends AnyRef| Method Summary | |
def
|
main
(args : scala.Array[java.lang.String]) : Unit
Accept file name arguments and process them one-by-one by
passing a reader on the file to process. The resulting
value is printed.
|
abstract def
|
process
(reader : java.io.Reader) : Any
Process the file given by the argument reader and return
some useful result.
|
def
|
test
[T](str : java.lang.String, result : T) : Unit
Try to process a string and expect a given result. Return a
JUnit test case result.
|
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
def
main(args : scala.Array[java.lang.String]) : Unit
abstract
def
process(reader : java.io.Reader) : Any
def
test[T](str : java.lang.String, result : T) : Unit
|
kiama 0.9.0 API
|
|