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) |
boolean |
equals(java.lang.Object o) |
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() |
JSDocInfo.Visibility |
getVisibility() |
int |
hashCode() |
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, getScope, getType, isTypeInferred
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SymbolTable.Reference getDeclaration()
StaticTypedSlot
getDeclaration
in interface StaticTypedSlot
getDeclaration
in interface StaticSlot
getDeclaration
in class SimpleSlot
public FunctionType getFunctionType()
public SymbolTable.Reference defineReferenceAt(Node n)
public Node getDeclarationNode()
public java.lang.String getSourceFileName()
public SymbolTable.SymbolScope getPropertyScope()
public JSDocInfo getJSDocInfo()
StaticSlot
getJSDocInfo
in interface StaticSlot
getJSDocInfo
in class SimpleSlot
@Nullable public JSDocInfo.Visibility getVisibility()
public boolean isProperty()
public boolean isLexicalVariable()
public boolean isDocOnlyParameter()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009-2018 Google. All Rights Reserved.