Codebase list ohcount / upstream/4.0.0 test / expected_dir / groovy1.groovy
upstream/4.0.0

Tree @upstream/4.0.0 (Download .tar.gz)

groovy1.groovy @upstream/4.0.0raw · 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	*/