Skip to content

Instantly share code, notes, and snippets.

@manuelleduc
Created July 26, 2018 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manuelleduc/abcc9c1e4d85fae02401c30f7279b87c to your computer and use it in GitHub Desktop.
Save manuelleduc/abcc9c1e4d85fae02401c30f7279b87c to your computer and use it in GitHub Desktop.
package fr.mleduc.simplelanguage.revisitor.model.stmt.expr;
import com.oracle.truffle.api.nodes.NodeInfo;
import fr.mleduc.simplelanguage.revisitor.model.stmt.Stmt;
@NodeInfo(description = "function-body")
public class FunctionBody extends Expr {
@Child
private Stmt bodyNode;
public FunctionBody(Stmt bodyNode) {
this.bodyNode = bodyNode;
}
public Stmt getBodyNode() {
return bodyNode;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment