|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.upb.hni.vmagic.VhdlElement
de.upb.hni.vmagic.expression.Expression
de.upb.hni.vmagic.expression.Primary
de.upb.hni.vmagic.expression.Aggregate
public class Aggregate
Aggregate.
Nested Class Summary | |
---|---|
static class |
Aggregate.ElementAssociation
An ElementAssociation associates choices with and expression. |
Constructor Summary | |
---|---|
Aggregate()
Creates an empty aggregate. |
|
Aggregate(Expression... expressions)
Creates an aggregate that contains the given expressions. |
|
Aggregate(java.util.List<Expression> expressions)
Creates an aggregate that contains the given expressions. |
Method Summary | |
---|---|
Aggregate.ElementAssociation |
createAssociation(Expression expression)
Creates a new positional element association and adds it to this aggregate. |
Aggregate.ElementAssociation |
createAssociation(Expression expression,
Choice... choices)
Creates a new named element association and adds it to this aggregate. |
Aggregate.ElementAssociation |
createAssociation(Expression expression,
java.util.List<Choice> choices)
Creates a new named element association and adds it to this aggregate. |
java.util.List<Aggregate.ElementAssociation> |
getAssociations()
Returns the associations. |
SubtypeIndication |
getType()
Returns the type of this expression. |
static Aggregate |
OTHERS(Expression expression)
Creates a new aggregate of the type "(others => expression)". |
Methods inherited from class de.upb.hni.vmagic.expression.Primary |
---|
getPrecedence |
Methods inherited from class de.upb.hni.vmagic.VhdlElement |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Aggregate()
public Aggregate(Expression... expressions)
expressions
- the epxressionspublic Aggregate(java.util.List<Expression> expressions)
expressions
- the epxressionsMethod Detail |
---|
public java.util.List<Aggregate.ElementAssociation> getAssociations()
public Aggregate.ElementAssociation createAssociation(Expression expression)
expression
- the expression
public Aggregate.ElementAssociation createAssociation(Expression expression, java.util.List<Choice> choices)
expression
- the expressionchoices
- the choices
public Aggregate.ElementAssociation createAssociation(Expression expression, Choice... choices)
expression
- the expressionchoices
- the choices
public SubtypeIndication getType()
Expression
getType
in class Expression
public static Aggregate OTHERS(Expression expression)
expression
- the expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |