|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.syntax.Syntax
org.millscript.millscript.syntax.PostfixSyntax
org.millscript.millscript.syntax.SimplePostfixSyntax
org.millscript.millscript.syntax.AssignSyntax
public final class AssignSyntax
This class implements := syntax.
<expr> := <expr>
The right hand side expression can be any expression that returns a single result, while the left hand side can be:
AssignExpr| Constructor Summary | |
|---|---|
AssignSyntax()
|
|
| Method Summary | |
|---|---|
Expr |
simple(Expr lhs,
Expr rhs)
Returns the expression for this simple postfix syntax, which is made by combining the left and right hand side expressions. |
| Methods inherited from class org.millscript.millscript.syntax.SimplePostfixSyntax |
|---|
postfix |
| Methods inherited from class org.millscript.millscript.syntax.PostfixSyntax |
|---|
getPrecedence, setPrec |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssignSyntax()
| Method Detail |
|---|
public Expr simple(Expr lhs,
Expr rhs)
SimplePostfixSyntax
lhs - the expression on the left hand side of this syntaxrhs - the expression on the right hand side of this syntax
SimplePostfixSyntax.simple(org.millscript.millscript.expr.Expr, org.millscript.millscript.expr.Expr)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||