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 Summary
Constructors Constructor Description SymbolTable() -
Method Summary
Modifier and Type Method Description voidclear()java.util.Map<java.lang.String,java.lang.String>getClassTagIds()java.lang.String[]getInterfaces()java.util.List<FieldDescriptor>getScriptFields()java.util.List<MethodDescriptor>getScriptMethods()java.lang.StringgetSuperclassName()voidsetInterfaces(java.lang.String[] interfaces)voidsetSuperclassName(java.lang.String superclass)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
idattribute. Theidis the key, and the fully-qualified class name of the tag is the value.
-
getScriptFields
- Returns:
- a list of
FieldDescriptorsfor fields defined in <script> tags.
-
getScriptMethods
- Returns:
- a list of
MethodDescriptorsfor methods defined in <script> tags.
-
setInterfaces
public void setInterfaces(java.lang.String[] interfaces) -
clear
public void clear()
-