Package org.nuiton.jaxx.compiler
Class SymbolTable
- java.lang.Object
-
- org.nuiton.jaxx.compiler.SymbolTable
-
public class SymbolTable extends Object
Symbol table constructed during the first pass of compilation.
-
-
Constructor Summary
Constructors Constructor Description SymbolTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Map<String,String>getClassTagIds()String[]getInterfaces()List<FieldDescriptor>getScriptFields()List<MethodDescriptor>getScriptMethods()StringgetSuperclassName()voidsetInterfaces(String[] interfaces)voidsetSuperclassName(String superclass)
-
-
-
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
idattribute. Theidis the key, and the fully-qualified class name of the tag is the value.
-
getScriptFields
public List<FieldDescriptor> getScriptFields()
- Returns:
- a list of
FieldDescriptorsfor fields defined in <script> tags.
-
getScriptMethods
public List<MethodDescriptor> getScriptMethods()
- Returns:
- a list of
MethodDescriptorsfor methods defined in <script> tags.
-
setInterfaces
public void setInterfaces(String[] interfaces)
-
clear
public void clear()
-
-