Initial import of 4.x module.

This commit is contained in:
Erik C. Thauvin 2016-07-23 15:37:07 -07:00
parent af67f93887
commit b4d2df93d3
8 changed files with 193 additions and 0 deletions

20
sample.txt Normal file
View file

@ -0,0 +1,20 @@
package demo
/**
* This class supports greeting people by name.
*
* @property name The name of the person to be greeted.
*/
class Greeter(val name: String) {
/**
* Prints the greeting to the standard output.
*/
fun greet() {
println("Hello $name!")
}
}
fun main(args: Array<String>) {
Greeter(args[0]).greet()
}