Codebase list ohcount / 85104d5a-b71d-4620-9315-33d4daf34104/main test / expected_dir / groovy1.groovy
85104d5a-b71d-4620-9315-33d4daf34104/main

Tree @85104d5a-b71d-4620-9315-33d4daf34104/main (Download .tar.gz)

groovy1.groovy @85104d5a-b71d-4620-9315-33d4daf34104/mainraw · history · blame

1
2
3
4
5
6
7
8
9
groovy	comment	//hello.groovy
groovy	code	println "hello, world"
groovy	code	for (arg in this.args ) {
groovy	code	  println "Argument:" + arg;
groovy	code	}
groovy	comment	// this is a comment
groovy	comment	/* a block comment, commenting out an alternative to above:
groovy	comment	this.args.each{ arg -> println "hello, ${arg}"}
groovy	comment	*/