net.sf.tomp.xtcl
Class XTCompiler

java.lang.Object
  extended by net.sf.tomp.xtcl.CompilerBase
      extended by net.sf.tomp.xtcl.XTCompiler
All Implemented Interfaces:
Compiler

public class XTCompiler
extends CompilerBase

Reads the commands from the underlying CommandLineReader, within a Context and produces a Command (usually a Sequence)

Author:
tomp

Constructor Summary
XTCompiler()
           
 
Method Summary
 Command compile(java.lang.String[] cl, CommandLineReader clr)
          The main compile method.
 
Methods inherited from class net.sf.tomp.xtcl.CompilerBase
assertWholeLineRead, compile, compile, compile, compile, compileByNextCompiler, getContext, getNextCompiler, setContext, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTCompiler

public XTCompiler()
Method Detail

compile

public Command compile(java.lang.String[] cl,
                       CommandLineReader clr)
                throws java.lang.Exception
The main compile method.
Compiles commands from a String[] followed by a CommandLineReader into a command Sequence

Parameters:
cl - String[] - array with one input line parsed into tokens
clr - CommandLineReader - the sources for compilation first the String[], then the CLR
Returns:
DOCUMENT ME!
Throws:
java.lang.Exception - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!


Copyright © 2004-2005 Masaryk University in Brno, Faculty of Informatics, Czech Republic. All Rights Reserved.