net.sf.arise.piji
Interface Expression

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractNode

public interface Expression
extends java.io.Serializable

A super-interface for a Scheme expression.

Author:
Kjetil Valstadsve

Method Summary
 java.lang.Object evaluate(Context context)
          Evaluates this expression in a given scheme context
 java.lang.String toSchemeString()
          Returns this expression in a string form
 

Method Detail

evaluate

public java.lang.Object evaluate(Context context)
                          throws java.lang.Throwable
Evaluates this expression in a given scheme context

Parameters:
context - The context to evaluate in
Returns:
The result of the evaluation
Throws:
java.lang.Throwable - iff the evaluation goes awry

toSchemeString

public java.lang.String toSchemeString()
Returns this expression in a string form

Returns:
This expression in a string form


All code and documentation is

Copyright (c) : 2000-2003 Kjetil Valstadsve & Maja S. Bratseth