com.google.javascript.jscomp
Class SymbolTable.Symbol

java.lang.Object
  extended by com.google.javascript.rhino.jstype.SimpleSlot
      extended by com.google.javascript.jscomp.SymbolTable.Symbol
All Implemented Interfaces:
StaticSlot<JSType>
Enclosing class:
SymbolTable

public static final class SymbolTable.Symbol
extends SimpleSlot


Method Summary
 SymbolTable.Reference getDeclaration()
          Gets the declaration of this symbol.
 Node getDeclarationNode()
           
 String getSourceFileName()
           
 boolean inExterns()
           
 boolean inGlobalScope()
           
 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

getDeclaration

public SymbolTable.Reference getDeclaration()
Description copied from interface: StaticSlot
Gets the declaration of this symbol. May not exist.

Specified by:
getDeclaration in interface StaticSlot<JSType>
Overrides:
getDeclaration in class SimpleSlot

inGlobalScope

public boolean inGlobalScope()

inExterns

public boolean inExterns()

getDeclarationNode

public Node getDeclarationNode()

getSourceFileName

public String getSourceFileName()

toString

public String toString()
Overrides:
toString in class Object