org.pz.platypus
Class SymbolsList
java.lang.Object
org.pz.platypus.SymbolsList
public class SymbolsList
- extends java.lang.Object
Contains a list of symbols that are used in Platypus. These symbols are loaded from
a configuration file in $PLATYPUS_HOME/config into this SymbolList. In turn, the list
is loaded into the CommandTable, where the Platypus parser will use the symbols.
- Author:
- alb
Field Summary |
private GDD |
gdd
|
private java.util.ArrayList<java.lang.String> |
symbolsList
|
Method Summary |
(package private) java.util.List<java.lang.String> |
getList()
|
void |
load()
|
(package private) void |
loadLine(java.lang.String symbolName)
Loads an individual symbol from the file into the list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gdd
private GDD gdd
symbolsList
private java.util.ArrayList<java.lang.String> symbolsList
SymbolsList
public SymbolsList(GDD Gdd)
load
public void load()
loadLine
void loadLine(java.lang.String symbolName)
- Loads an individual symbol from the file into the list. Symbols whose names do not begin
with a [ are ignored.
- Parameters:
symbolName
- the symbol as found in the configuration file
getList
java.util.List<java.lang.String> getList()
Copyright © 2008-10 Pacific Data Works LLC