Created
July 26, 2018 09:53
-
-
Save manuelleduc/abcc9c1e4d85fae02401c30f7279b87c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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