public final class JNumericEntry extends JExpression
would
Constructor and Description |
---|
JNumericEntry(SourceInfo info,
String key,
int value) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
JType |
getType()
Returns the type of this expression.
|
int |
getValue() |
boolean |
hasSideEffects() |
void |
setValue(int value) |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JNumericEntry(SourceInfo info, String key, int value)
public String getKey()
public JType getType()
HasType
public int getValue()
public boolean hasSideEffects()
hasSideEffects
in class JExpression
public void setValue(int value)
public void traverse(JVisitor visitor, Context ctx)
JVisitable
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.