|
||||||||||
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.LogicalTerm
public class LogicalTerm
This class represents a logical_term node in a syntax tree of a script.
Constructor Summary | |
---|---|
LogicalTerm(LogicalFactor factor)
Constructor for the rule logical_term ::= logical_factor |
|
LogicalTerm(LogicalTerm term,
LogicalFactor factor)
Constructor for the rule logical_term ::= logical_term && logical_factor. |
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 LogicalTerm(LogicalFactor factor)
factor
- the logical_factor node to drop down to in the syntax tree.public LogicalTerm(LogicalTerm term, LogicalFactor factor)
term
- the logical_term to evaluate.factor
- the logical_factor 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 |