gnu.expr
Class BeginExp
- Named, Printable
This class represents a sequence of Expressions.
The expressions are evaluated for their side-effects,
and the value of the last Expression is the result.
A BeginExp may optionally have "compilation options"
which can be used to control various compile-time
aspects of Kawa, such as warning messages.
apply, apply0, compile, compile, compileButFirst, compileNotePosition, compileWithPosition, compileWithPosition, eval, eval, getColumn, getFile, getFlag, getFlags, getLine, getType, makeWhile, match0, print, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, walk, walkChildren |
apply, apply, apply0, apply1, apply2, apply3, apply4, applyN, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, numArgs, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString |
BeginExp
public BeginExp()
canonicalize
public static final Expression canonicalize(Expression exp)
Simplifies BeginExp.
(In the future, nested BeginExps may be "flattened" as well.)
getExpressions
public final Expression[] getExpressions()
setCompileOptions
public void setCompileOptions(Vector options)
setExpressions
public final void setExpressions(Expression[] exps)