public final class JsNullLiteral extends JsValueLiteral
Modifier and Type | Field and Description |
---|---|
static JsNullLiteral |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
NodeKind |
getKind() |
boolean |
isBooleanFalse() |
boolean |
isBooleanTrue() |
boolean |
isDefinitelyNull()
True if the target expression is definitely null.
|
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
hasSideEffects, isLeaf
isInternable
makeStmt
getSourceInfo, setSourceInfo, toSource, toSource, toString
public static final JsNullLiteral INSTANCE
public boolean isBooleanFalse()
public boolean isBooleanTrue()
public boolean isDefinitelyNull()
JsExpression
isDefinitelyNull
in class JsExpression
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
v
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.