From: Petra M. <pe...@cs...> - 2004-02-19 05:14:00
|
Hi all, the ZML has changed slightly in CVS. Operator templates now use an inheritance hierarchy for Operator and Operand. This is more consistent with other parts of the schema, and allows stronger typing within the Java AST. This has changed the XML format from: <OptempPara ...> <Operand/> <Word>*</Word> <Operand/> </OptempPara> to <OptempPara ...> <Operand/> <Operator><Word>*</Word></Operator> <Operand/> </OptempPara> Changes to the Z AST classes: - method getWordOrOperand() in OptempPara has renamed to getOper() and now contains a List of Oper - Oper is a new abstract class; the base class of Operand and Operator - Operator is a new class, containing a Word (which is of type String) Petra |