public static final class SymbolTable.Symbol extends SimpleSlot
| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
java.lang.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()
Gets the value of the property property.
|
java.lang.String |
toString() |
getName, getType, isTypeInferredpublic SymbolTable.Reference getDeclaration()
StaticSlotgetDeclaration in interface StaticSlot<JSType>getDeclaration in class SimpleSlotpublic FunctionType getFunctionType()
public SymbolTable.Reference defineReferenceAt(Node n)
public boolean inGlobalScope()
public boolean inExterns()
public Node getDeclarationNode()
public java.lang.String getSourceFileName()
public SymbolTable.SymbolScope getPropertyScope()
public JSDocInfo getJSDocInfo()
StaticSlotgetJSDocInfo in interface StaticSlot<JSType>getJSDocInfo in class SimpleSlotpublic boolean isProperty()
public boolean isLexicalVariable()
public boolean isDocOnlyParameter()
public java.lang.String toString()
toString in class java.lang.Object