public class JsName extends Object implements Serializable
Constructor and Description |
---|
JsName(JsScope enclosing,
String ident,
String shortIdent) |
Modifier and Type | Method and Description |
---|---|
JsScope |
getEnclosing() |
String |
getIdent() |
JsName |
getNamespace() |
String |
getShortIdent() |
JsNode |
getStaticRef() |
boolean |
isObfuscatable() |
JsNameRef |
makeQualifiedRef(SourceInfo sourceInfo,
JsExpression qualifier) |
JsNameRef |
makeRef(SourceInfo sourceInfo) |
void |
setNamespace(JsName namespace) |
void |
setShortIdent(String shortIdent) |
void |
setStaticRef(JsNode node)
Should never be called except on immutable stuff.
|
void |
setUnobfuscatable() |
String |
toString() |
public JsScope getEnclosing()
public String getIdent()
public String getShortIdent()
public JsNode getStaticRef()
public boolean isObfuscatable()
public JsNameRef makeRef(SourceInfo sourceInfo)
public JsNameRef makeQualifiedRef(SourceInfo sourceInfo, JsExpression qualifier)
public void setUnobfuscatable()
public void setShortIdent(String shortIdent)
public JsName getNamespace()
public void setNamespace(JsName namespace)
public void setStaticRef(JsNode node)
Copyright © 2018. All rights reserved.