public static class Expression.Application extends Expression
Function
.Expression.Application, Expression.Binary, Expression.Block, Expression.Const, Expression.Ident, Expression.IfExp, Expression.LambdaExp, Expression.Tuple, Expression.Unary
Modifier and Type | Field and Description |
---|---|
Expression |
aparam
Represents the application of 'fun' to 'aparam'.
|
Expression |
fun
Represents the application of 'fun' to 'aparam'.
|
Constructor and Description |
---|
Application(Expression fun,
Expression aparam) |
Modifier and Type | Method and Description |
---|---|
void |
appendSB(java.lang.StringBuffer sb)
The use of a StringBuffer, sb, gives linear complexity when
printing large Values; also see
Expression.toString() . |
int |
n()
n(), the numerical code (tag) of a subclass of Expression,
for example, for switch-ing.
|
defer, error, eval, toString
public final Expression fun
public final Expression aparam
public Application(Expression fun, Expression aparam)
public int n()
Expression
n
in class Expression
public void appendSB(java.lang.StringBuffer sb)
Expression
Expression.toString()
.appendSB
in class Expression