|
||||||||||
| 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.ConstantLeftArithExpr
public final class ConstantLeftArithExpr
This class implements an arithmetic expression with a constant integer value for the left hand side. This expression always returns one result.
IntegerTools| Constructor Summary | |
|---|---|
ConstantLeftArithExpr(java.lang.String s,
java.lang.Integer a,
Expr<?> 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 ConstantLeftArithExpr(java.lang.String s,
java.lang.Integer a,
Expr<?> b)
s - the arithmetic symbol to make an expression fora - the left hand side integerb - the right hand side expression, which should return a single
result| 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 | |||||||||