
public final class JsNumericEntry extends JsExpression
| Constructor and Description |
|---|
JsNumericEntry(SourceInfo info,
String key,
int value) |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
NodeKind |
getKind() |
int |
getValue() |
boolean |
hasSideEffects()
Determines whether the expression can cause side effects.
|
boolean |
isDefinitelyNotNull()
True if the target expression is definitely not null.
|
boolean |
isDefinitelyNull()
True if the target expression is definitely null.
|
void |
setValue(int value) |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
isLeaf, makeStmtgetSourceInfo, setSourceInfo, toSource, toSource, toStringpublic JsNumericEntry(SourceInfo info, String key, int value)
public String getKey()
public int getValue()
public boolean hasSideEffects()
JsExpressionhasSideEffects in class JsExpressionpublic boolean isDefinitelyNotNull()
JsExpressionisDefinitelyNotNull in class JsExpressionpublic boolean isDefinitelyNull()
JsExpressionisDefinitelyNull in class JsExpressionpublic void setValue(int value)
public void traverse(JsVisitor v, JsContext ctx)
JsVisitablev - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.