ix.util.lisp
Class Interpreter.Literal

java.lang.Object
  extended by ix.util.lisp.Interpreter.Expr
      extended by ix.util.lisp.Interpreter.Literal
Enclosing class:
Interpreter

public static class Interpreter.Literal
extends Interpreter.Expr

A reference to an object that is treated as a literal. The value of this expression is simply that object.


Field Summary
(package private)  java.lang.Object value
           
 
Fields inherited from class ix.util.lisp.Interpreter.Expr
description
 
Constructor Summary
Interpreter.Literal(java.lang.Object value)
           
 
Method Summary
protected  java.lang.Object _evalIn(Interpreter.Env env)
          Implements this expression's semantics.
 java.lang.Object evalIn(Interpreter.Env env)
          Provides public access to this expression's semantics.
 Expression externalForm()
          Returns a representation of this expression that can be understood by the reflection and XML utilities.
 
Methods inherited from class ix.util.lisp.Interpreter.Expr
evalArgs, externalForm, makeExprArray, makeVarArray, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

java.lang.Object value
Constructor Detail

Interpreter.Literal

public Interpreter.Literal(java.lang.Object value)
Method Detail

evalIn

public java.lang.Object evalIn(Interpreter.Env env)
Description copied from class: Interpreter.Expr
Provides public access to this expression's semantics. This method typically wraps some debugging support around a call to Interpreter.Expr._evalIn(Interpreter.Env).

Overrides:
evalIn in class Interpreter.Expr

_evalIn

protected java.lang.Object _evalIn(Interpreter.Env env)
Description copied from class: Interpreter.Expr
Implements this expression's semantics.

Note that this method is usually not called directly. Instead, call Interpreter.Expr.evalIn(Interpreter.Env).

Specified by:
_evalIn in class Interpreter.Expr

externalForm

public Expression externalForm()
Description copied from class: Interpreter.Expr
Returns a representation of this expression that can be understood by the reflection and XML utilities.

Specified by:
externalForm in class Interpreter.Expr
See Also:
IScript