Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/SLRootNode.java @ 15776:111bf82514ca
SL: adding NodeInfo.descriptions to SL statements
author | Christian Wirth <christian.wirth@oracle.com> |
---|---|
date | Mon, 19 May 2014 18:59:04 +0200 |
parents | a08b8694f556 |
children | 997899955e72 |
comparison
equal
deleted
inserted
replaced
15775:4293efaaab76 | 15776:111bf82514ca |
---|---|
31 * The root of all SL execution trees. It is a Truffle requirement that the tree root extends the | 31 * The root of all SL execution trees. It is a Truffle requirement that the tree root extends the |
32 * class {@link RootNode}. This class is used for both builtin and user-defined functions. For | 32 * class {@link RootNode}. This class is used for both builtin and user-defined functions. For |
33 * builtin functions, the {@link #bodyNode} is a subclass of {@link SLBuiltinNode}. For user-defined | 33 * builtin functions, the {@link #bodyNode} is a subclass of {@link SLBuiltinNode}. For user-defined |
34 * functions, the {@link #bodyNode} is a {@link SLFunctionBodyNode}. | 34 * functions, the {@link #bodyNode} is a {@link SLFunctionBodyNode}. |
35 */ | 35 */ |
36 @NodeInfo(language = "Simple Language", description = "The root of all Simple Language execution trees") | |
36 public final class SLRootNode extends RootNode { | 37 public final class SLRootNode extends RootNode { |
37 | 38 |
38 /** The function body that is executed, and specialized during execution. */ | 39 /** The function body that is executed, and specialized during execution. */ |
39 @Child private SLExpressionNode bodyNode; | 40 @Child private SLExpressionNode bodyNode; |
40 | 41 |