Package org.omegahat.Environment.Interpreter

The different evaluators, evaluator group managers and interfaces controlling the interactive language.

See:
          Description

Interface Summary
DynamicFieldAccessInt This is a very special interface the mereley flags the interpreter to pass field access expressions directly to a specific routine in the implementing class.
DynamicMethodAccessInt This is entirely analgous to the interface DynamicFieldAccessInt.
EvaluationListener Classes implement this interface if they intend to be notified by one of the interpreting evaluators in this package before the interpreter starts to evaluate an expression.
Evaluator A basic interface that an object implements to be considered an evaluator in the current Omegahat language.
ManagedEvaluatorInt A basic interface that an object implements that allows it to be placed under the "control" of an EvaluatorManager object.
OmegahatCastClass Trivial interface used to indicate that a class has been compiled to implement a cast operation in the interpreted language.
SubEvaluationListener Classes implement this interface if they want to be notified of each recursive subevaluation during the evaluation of an expression.
 

Class Summary
BasicEvaluator The standard low-level evaluator used in the interactive Omegahat language from which most of the others are derived.
CastFunctionCall This class is used to invoke interpreted calls to methods in a class other than the source object's own class, implemented by dynamically generating byte-code to perform the call.
EvaluationEvent The class of objects passed to EvaluationListener and SubEvaluationListener objects.
EvaluatorManager This class is intended to manage multiple evaluators in the cases where they are loosely connected evaluators being used for interactive and background jobs evaluators running in different threads processing sub-tasks of an overall task.
GUIHelpEvaluator This evaluator adds an interactive GUI-based help system using the JavaHelp tools.
InteractiveEvaluator This is the default evaluator used for an interactive Omegahat session, providing functionality for serializing objects, returning prompt strings, and handling input as an InputConsumer.
InterruptButton Simple GUI window used to allow the user to interrupt the currently running Omegahat expression.
Options A collection of property name-value pairs containing String values that provide access to some evaluator-related properties and a general table into which arbitrary options can be added and retrieved by other objects.
SignallableEvaluator This is a version of the evaluator that is capable of catching UNIX-style interrupts (Ctrl-C, for example).
Task This class represents a task for the Evaluator.
TaskQueue This class is used to represent a queue of tasks for an Evaluator object.
TaskQueueEvaluator An early and untested version of an evaluator that works by processing elements in its TaskQueue rather than being signalled using the InputConsumer listener mechanism as in the regular evaluator classes.
TracingEvaluator This evaluator offers the built-in ability to display a trace of the evaluation of the different top-level tasks in terms of the steps through the expression tree.
UserClassEvaluator This evaluator provides initial support for user-level interpreted classes org.omegahat.Environment.Language.UserClasses.
UtilityEvaluator This provides some simple utility methods which act like functions for the interactive user due to the implicit this in the Omegahat language.
 

Exception Summary
EndSourceInputException Exception object used to signal that the act of source'ing expressions from a stream failed unexpectedly or was explicitly terminated using the endSource() method.
EvaluationException This is an exception which is thrown when evaluating an expression or function causes an exception to be thrown in Java.
 

Package org.omegahat.Environment.Interpreter Description

The different evaluators, evaluator group managers and interfaces controlling the interactive language.