
public class JsNameOf extends JsExpression
| Constructor and Description |
|---|
JsNameOf(SourceInfo info,
HasName node) |
JsNameOf(SourceInfo info,
JsName name) |
| Modifier and Type | Method and Description |
|---|---|
NodeKind |
getKind() |
JsName |
getName() |
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 |
traverse(JsVisitor visitor,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
isLeaf, makeStmtgetSourceInfo, setSourceInfo, toSource, toSource, toStringpublic JsNameOf(SourceInfo info, HasName node)
public JsNameOf(SourceInfo info, JsName name)
public JsName getName()
public boolean hasSideEffects()
JsExpressionhasSideEffects in class JsExpressionpublic boolean isDefinitelyNotNull()
JsExpressionisDefinitelyNotNull in class JsExpressionpublic boolean isDefinitelyNull()
JsExpressionisDefinitelyNull in class JsExpressionpublic void traverse(JsVisitor visitor, JsContext ctx)
JsVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.