gnu.expr
Class QuoteExp
java.lang.Object
   gnu.mapping.Procedure
gnu.mapping.Procedure
       gnu.mapping.Procedure0
gnu.mapping.Procedure0
           gnu.expr.Expression
gnu.expr.Expression
               gnu.expr.QuoteExp
gnu.expr.QuoteExp
- All Implemented Interfaces: 
- Named, Printable
- public class QuoteExp 
- extends Expression
An Expression that evaluates to a constant value.
 
 
| Constructor Summary | 
| QuoteExp(java.lang.Object val)
 | 
 
 
| Methods inherited from class gnu.expr.Expression | 
| apply, apply0, compile, compileButFirst, compileNotePosition, compileWithPosition, compileWithPosition, eval, getColumn, getFile, getFlag, getFlags, getLine, makeWhile, match0, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, walkChildren | 
 
 
| Methods inherited from class gnu.mapping.Procedure | 
| apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
undefined_exp
public static QuoteExp undefined_exp
voidExp
public static QuoteExp voidExp
trueExp
public static QuoteExp trueExp
falseExp
public static QuoteExp falseExp
nullExp
public static QuoteExp nullExp
QuoteExp
public QuoteExp(java.lang.Object val)
getValue
public final java.lang.Object getValue()
- 
 
getType
public final Type getType()
- Description copied from class: Expression
- Return the Type used to represent the values of this Expression.
 
- 
- Overrides:
- getTypein class- Expression
 
- 
 
getInstance
public static QuoteExp getInstance(java.lang.Object value)
- 
 
eval
public java.lang.Object eval(Environment env)
- 
- Overrides:
- evalin class- Expression
 
- 
 
compile
public void compile(Compilation comp,
                    Target target)
- 
- Specified by:
- compilein class- Expression
 
- 
 
walk
protected Expression walk(ExpWalker walker)
- 
- Overrides:
- walkin class- Expression
 
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- Procedure
 
- 
 
print
public void print(OutPort out)
- 
- Specified by:
- printin class- Expression
 
-