|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjcaas.script_nodes.AbstractInterpretable
jcaas.script_nodes.LogicalExpression
public class LogicalExpression
This class represents a logical_exp node in a syntax tree of a script.
| Constructor Summary | |
|---|---|
LogicalExpression(LogicalExpression exp,
LogicalTerm term)
Constructor for when logical_exp ::= logical_exp || logical_term. |
|
LogicalExpression(LogicalTerm term)
Constructor for when logical_exp ::= logical_term. |
|
| Method Summary | |
|---|---|
void |
interpret(Context c)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogicalExpression(LogicalTerm term)
term - the logical_term to drop down to in the syntax tree.
public LogicalExpression(LogicalExpression exp,
LogicalTerm term)
exp - the logical_exp to evaluate.term - the logical_term to evaluate.| Method Detail |
|---|
public void interpret(Context c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||