org.jplate.foundation.gof.interpreter
Interface ContextInterpreterIfc<C>

Type Parameters:
C - A context to use when interpreting. The context may be useful for maintaining interpreter state, etc.

public interface ContextInterpreterIfc<C>

Defines an Interpreter. Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language," p243 Design Patterns - Elements of Reusable Object-Oriented Software.

Modifications:
    $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $
    $Revision: 479 $
    $Author: sfloess $
    $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/foundation/gof/interpreter/ContextInterpreterIfc.java $
    


Method Summary
 void interpret(C context)
          Requests interpretation using context in processing.
 

Method Detail

interpret

void interpret(C context)
               throws InterpreterException
Requests interpretation using context in processing.

Parameters:
context - An object to use when interpreting.
Throws:
InterpreterException - If any problems arise interpreting.