|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.javascript.rhino.jstype.SimpleSlot com.google.javascript.jscomp.SymbolTable.Symbol
public static final class SymbolTable.Symbol
Method Summary | |
---|---|
SymbolTable.Reference |
defineReferenceAt(Node n)
|
SymbolTable.Reference |
getDeclaration()
Gets the declaration of this symbol. |
Node |
getDeclarationNode()
|
FunctionType |
getFunctionType()
|
JSDocInfo |
getJSDocInfo()
Gets the JSDoc for this slot. |
SymbolTable.SymbolScope |
getPropertyScope()
|
String |
getSourceFileName()
|
boolean |
inExterns()
|
boolean |
inGlobalScope()
|
boolean |
isDocOnlyParameter()
Whether this is a variable that's only in JSDoc. |
boolean |
isLexicalVariable()
Whether this is a variable in a lexical scope. |
boolean |
isProperty()
Whether this is a property of another variable. |
String |
toString()
|
Methods inherited from class com.google.javascript.rhino.jstype.SimpleSlot |
---|
getName, getType, isTypeInferred |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public SymbolTable.Reference getDeclaration()
StaticSlot
getDeclaration
in interface StaticSlot<JSType>
getDeclaration
in class SimpleSlot
public FunctionType getFunctionType()
public SymbolTable.Reference defineReferenceAt(Node n)
public boolean inGlobalScope()
public boolean inExterns()
public Node getDeclarationNode()
public String getSourceFileName()
public SymbolTable.SymbolScope getPropertyScope()
public JSDocInfo getJSDocInfo()
StaticSlot
getJSDocInfo
in interface StaticSlot<JSType>
getJSDocInfo
in class SimpleSlot
public boolean isProperty()
public boolean isLexicalVariable()
public boolean isDocOnlyParameter()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |