* /jADT/src/site/apt/index.apt
*/
public class Usage {
public Function sampleFunction() {
// START SNIPPET: sampleFunction
Function sampleFunction = _Function(_Int(), "addTwo",
asList(_Arg(_Int(), "x"), _Arg(_Int(), "y")),
asList(_Return(_Add(_Variable("x"), _Variable("y")))));
// END SNIPPET: sampleFunction
return sampleFunction;