Package jaxx.compiler

Class SymbolTable

java.lang.Object
jaxx.compiler.SymbolTable

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

    • SymbolTable

      public SymbolTable()
  • Method Details

    • getSuperclassName

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

      public java.lang.String[] getInterfaces()
    • setSuperclassName

      public void setSuperclassName​(java.lang.String superclass)
    • getClassTagIds

      public java.util.Map<java.lang.String,​java.lang.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 java.util.List<FieldDescriptor> getScriptFields()
      Returns:
      a list of FieldDescriptors for fields defined in <script> tags.
    • getScriptMethods

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

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

      public void clear()