rasmus.interpreter.parser
Class ScriptElement
java.lang.Object
rasmus.interpreter.parser.ScriptElement
public class ScriptElement
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE_BODY
public static final int TYPE_BODY
- See Also:
- Constant Field Values
TYPE_ASSIGNMENT
public static final int TYPE_ASSIGNMENT
- See Also:
- Constant Field Values
TYPE_CALL
public static final int TYPE_CALL
- See Also:
- Constant Field Values
TYPE_PARAMETER
public static final int TYPE_PARAMETER
- See Also:
- Constant Field Values
TYPE_STRING
public static final int TYPE_STRING
- See Also:
- Constant Field Values
TYPE_NUMBER
public static final int TYPE_NUMBER
- See Also:
- Constant Field Values
TYPE_IDENTIFIER
public static final int TYPE_IDENTIFIER
- See Also:
- Constant Field Values
TYPE_UNIT
public static final int TYPE_UNIT
- See Also:
- Constant Field Values
ScriptElement
public ScriptElement(int type,
java.lang.Object value)
ScriptElement
public ScriptElement(int type)
getElements
public java.util.List<ScriptElement> getElements()
getValue
public java.lang.Object getValue()
getType
public int getType()
add
public void add(ScriptElement element)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toXML
public java.lang.String toXML()