public class BeginExp extends Expression
SourceLocator.Simple applyMethodExpression, flags, NEXT_AVAIL_FLAG, noExpressions, type, VALIDATED applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey nameKey | Constructor and Description |
|---|
BeginExp () |
BeginExp (Expression[] ex) |
BeginExp (Expression exp0,
Expression exp1) |
| Modifier and Type | Method and Description |
|---|---|
void |
add (Expression exp) |
void |
apply (CallContext ctx)
Evaluate the expression.
|
protected Type |
calculateType () |
static Expression |
canonicalize (Expression exp)
Simplifies BeginExp.
|
static Expression |
canonicalize (Expression[] exps) |
void |
compile (Compilation comp,
Target target) |
int |
getExpressionCount () |
Expression[] |
getExpressions () |
protected boolean |
mustCompile () |
void |
popOptions (Compilation comp) |
void |
print (gnu.kawa.io.OutPort out) |
void |
pushOptions (Compilation comp) |
void |
setCompileOptions (java.util.Vector options) |
void |
setExpressions (Expression[] exps) |
protected <R,D> R |
visit (ExpVisitor<R,D> visitor,
D d) |
protected <R,D> void |
visitChildren (ExpVisitor<R,D> visitor,
D d) |
applyMethodExpression, checkLiteralKeyword, compile, compile, compileWithPosition, compileWithPosition, deepCopy, deepCopy, deepCopy, deepCopy, eval, eval, getColumnNumber, getEndColumn, getEndLine, getFileName, getFlag, getFlags, getLineNumber, getPublicId, getStartColumn, getStartLine, getSystemId, getType, getTypeRaw, isSingleValue, isStableSourceLocation, makeWhile, maybeSetLine, neverReturns, numArgs, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, setLine, setLocation, setType, side_effects, toString, validateApply, valueIfConstant apply0, apply1, apply2, apply3, apply4, applyL, applyN, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic BeginExp()
public BeginExp(Expression[] ex)
public BeginExp(Expression exp0, Expression exp1)
public static final Expression canonicalize(Expression exp)
public static final Expression canonicalize(Expression[] exps)
public final void add(Expression exp)
public final Expression[] getExpressions()
public final int getExpressionCount()
public final void setExpressions(Expression[] exps)
public void setCompileOptions(java.util.Vector options)
protected boolean mustCompile()
mustCompile in class Expression public void apply(CallContext ctx) throws java.lang.Throwable
Expression apply in class Expression java.lang.Throwablepublic void pushOptions(Compilation comp)
public void popOptions(Compilation comp)
public void compile(Compilation comp, Target target)
compile in class Expression protected <R,D> R visit(ExpVisitor<R,D> visitor, D d)
visit in class Expression protected <R,D> void visitChildren(ExpVisitor<R,D> visitor, D d)
visitChildren in class Expression public void print(gnu.kawa.io.OutPort out)
print in class Expression protected Type calculateType()
calculateType in class Expression