ix.util.lisp
Class Interpreter.If

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

public static class Interpreter.If
extends Interpreter.Expr

A simple conditional expression.


Field Summary
(package private)  Interpreter.Expr ifFalse
           
(package private)  Interpreter.Expr ifTrue
           
(package private)  Interpreter.Expr test
           
 
Fields inherited from class ix.util.lisp.Interpreter.Expr
description
 
Constructor Summary
Interpreter.If(Interpreter.Expr test, Interpreter.Expr ifTrue, Interpreter.Expr ifFalse)
           
 
Method Summary
protected  java.lang.Object _evalIn(Interpreter.Env env)
          Implements 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, evalIn, externalForm, makeExprArray, makeVarArray, setDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

test

Interpreter.Expr test

ifTrue

Interpreter.Expr ifTrue

ifFalse

Interpreter.Expr ifFalse
Constructor Detail

Interpreter.If

public Interpreter.If(Interpreter.Expr test,
                      Interpreter.Expr ifTrue,
                      Interpreter.Expr ifFalse)
Method Detail

_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