Class SymbolTable


  • public class SymbolTable
    extends Object
    Symbol table constructed during the first pass of compilation.
    • Constructor Detail

      • SymbolTable

        public SymbolTable()
    • Method Detail

      • getSuperclassName

        public String getSuperclassName()
        Returns:
        the fully-qualified name of the superclass of the class described by this symbol table.
      • getInterfaces

        public String[] getInterfaces()
      • setSuperclassName

        public void setSuperclassName​(String superclass)
      • getClassTagIds

        public Map<String,​String> getClassTagIds()
        Returns:
        a map of IDs to class names. Each entry in the map corresponds to a class tag with an id attribute. The id is the key, and the fully-qualified class name of the tag is the value.
      • getScriptFields

        public List<FieldDescriptor> getScriptFields()
        Returns:
        a list of FieldDescriptors for fields defined in <script> tags.
      • getScriptMethods

        public List<MethodDescriptor> getScriptMethods()
        Returns:
        a list of MethodDescriptors for methods defined in <script> tags.
      • setInterfaces

        public void setInterfaces​(String[] interfaces)
      • clear

        public void clear()