public abstract class JExpression extends JNode implements HasType
Constructor and Description |
---|
JExpression(SourceInfo info) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
hasSideEffects() |
JReturnStatement |
makeReturnStatement()
Returns a return statement that returns this expression.
|
JExpressionStatement |
makeStatement()
Returns a statement that executes this expression.
|
getSourceInfo, setSourceInfo, toSource, toString, traverse
public JExpression(SourceInfo info)
public abstract boolean hasSideEffects()
public final JExpressionStatement makeStatement()
public final JReturnStatement makeReturnStatement()
Copyright © 2018. All rights reserved.