public static final class SymbolTable.Symbol extends SimpleSlot
Type | Property and Description |
---|---|
boolean |
is
Whether this is a property of another variable.
|
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() |
String |
getSourceFileName() |
JSDocInfo.Visibility |
getVisibility() |
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() |
getName, getType, isTypeInferred
public SymbolTable.Reference getDeclaration()
StaticTypedSlot
getDeclaration
in interface StaticTypedSlot<JSType>
getDeclaration
in interface StaticSlot
getDeclaration
in class SimpleSlot
public FunctionType getFunctionType()
public SymbolTable.Reference defineReferenceAt(Node n)
public Node getDeclarationNode()
public 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()
Copyright © 2009-2016 Google. All Rights Reserved.