|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.expr.Expr<A>
org.millscript.millscript.expr.UnaryOpExpr<UnaryOpAction>
org.millscript.millscript.expr.ConstantRightArithExpr
public final class ConstantRightArithExpr
This class implements an arithmetic expression. This expression always returns one result.
IntegerTools| Constructor Summary | |
|---|---|
ConstantRightArithExpr(java.lang.String s,
Expr<?> a,
java.lang.Integer b)
Creates a new arithmetic expression for the specified symbol and left and right hand side expressions. |
|
| Method Summary | |
|---|---|
UnaryOpAction |
newAction(Action a)
Compiles this expression into an action. |
| Methods inherited from class org.millscript.millscript.expr.UnaryOpExpr |
|---|
compileIt, resolve |
| Methods inherited from class org.millscript.millscript.expr.Expr |
|---|
arity, compile, isIntegerExpr, resolveList, setLineNumber, setOrigin, show, show |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConstantRightArithExpr(java.lang.String s,
Expr<?> a,
java.lang.Integer b)
s - the arithmetic symbol to make an expression fora - the left hand side expression, which should return a single
resultb - the right hand side integer| Method Detail |
|---|
public UnaryOpAction newAction(Action a)
UnaryOpExpr
newAction in class UnaryOpExpr<UnaryOpAction>a - the compiled single expression
Action for this expressionUnaryOpExpr.newAction(org.millscript.millscript.action.Action)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||