|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norecess.citkit.tir.expressions.SequenceETIR
public class SequenceETIR
The TIR for a sequence of expressions.
| Constructor Summary | |
|---|---|
SequenceETIR(IPosition position,
java.util.List<ExpressionTIR> expressions)
Constructs a sequence of expressions. |
|
SequenceETIR(java.util.List<ExpressionTIR> expressions)
Basic construcotr. |
|
| Method Summary | ||
|---|---|---|
|
accept(ExpressionTIRVisitor<T> visitor)
Implements the visitor pattern with ExpressionTIRVisitor. |
|
boolean |
equals(java.lang.Object o)
|
|
ExpressionTIR |
getExpression(int index)
|
|
java.util.List<? extends ExpressionTIR> |
getExpressions()
Returns the list of expressions in the sequence. |
|
IPosition |
getPosition()
Retrieves the position of the code that generated the AST. |
|
HobbesType |
getType()
Retrieves the type of the expression. |
|
int |
hashCode()
|
|
java.util.Iterator<ExpressionTIR> |
iterator()
|
|
java.lang.String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SequenceETIR(IPosition position,
java.util.List<ExpressionTIR> expressions)
position - the position of the sequence.expressions - the list of expression in the sequence.public SequenceETIR(java.util.List<ExpressionTIR> expressions)
expressions - the expressions of the sequence.| Method Detail |
|---|
public java.util.List<? extends ExpressionTIR> getExpressions()
getExpressions in interface ISequenceETIRpublic HobbesType getType()
ExpressionTIR
getType in interface ExpressionTIRpublic ExpressionTIR getExpression(int index)
getExpression in interface ISequenceETIRpublic <T> T accept(ExpressionTIRVisitor<T> visitor)
ExpressionTIRExpressionTIRVisitor.
accept in interface ExpressionTIRvisitor - the visitor object.
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic IPosition getPosition()
getPosition in interface HobbesTIRpublic java.util.Iterator<ExpressionTIR> iterator()
iterator in interface java.lang.Iterable<ExpressionTIR>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||