RCLCode.grm
|
// FILE. . . . . /home/hak/ilt/src/ilog/rcl/RCLCode.grm // EDIT BY . . . Hassan Ait-Kaci // ON MACHINE. . Latitude407.Ilog.Biz // STARTED ON. . Wed May 3 14:38:02 2006 // Last modified on Wed May 03 14:39:15 2006 by hak %import java.io.PrintStream; %import ilog.language.tools.Misc; %{ long start; boolean quiet = true; PrintStream out = System.out; void setStart () { start = System.currentTimeMillis(); } void setQuiet (boolean flag) { quiet = flag; } void setOutputStream (PrintStream stream) { out = stream; } /* * A function to show what happened. */ void showXml () { out.println("*** Total parsing time = " +(System.currentTimeMillis()-start) +" ms"); if (!quiet) { errorManager().tallyErrors(); if (Misc.askYesNo("*** Do you want to see the XML serialization")) { out.println(); currentNode().xmlify(); out.println(); } } } %}
This file was generated on Wed May 03 20:59:55 PDT 2006 from file RCLCode.grm
by the ilog.language.tools.Hilite Java tool written by Hassan Aït-Kaci