public class ExprStmt extends Stmt
| Constructor and Description |
|---|
ExprStmt(Expr body)
Construct an
ExprStmt which evaluates the body expression. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toLLVM()
Generate the LLVM code that should be executed to execute this statement.
|
public ExprStmt(Expr body)
ExprStmt which evaluates the body expression.body - the expression to evalute (for its side effects)