Package coneforest.psylla.core
Interface PsyEvaluable
-
- All Superinterfaces:
PsyConvertableToName
,PsyConvertableToString
,PsyObject
- All Known Subinterfaces:
PsyStringy
- All Known Implementing Classes:
PsyCommand
,PsyFileReader
,PsyName
,PsyReader
,PsyString
,PsyStringReader
public interface PsyEvaluable extends PsyObject
A representation of Ψ-evaluable
, a type of objects that can be interpreted as the program.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
eval(Interpreter interpreter)
Evaluate this object in the context of given interpreter.-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
-
-
-
Method Detail
-
eval
void eval(Interpreter interpreter) throws PsyException
Evaluate this object in the context of given interpreter.- Parameters:
interpreter
- an interpreter.- Throws:
PsyException
- when an error occurs durind evaluation of this object.
-
-