public final class VerilogEventControl
extends java.lang.Object
VerilogEventControl
represents event control constructs.Constructor and Description |
---|
VerilogEventControl()
Creates an event control.
|
VerilogEventControl(VerilogEventControl other)
Creates a copy of the event control.
|
Modifier and Type | Method and Description |
---|---|
VerilogEventControl |
clone() |
VerilogDelay |
getDelay()
Returns the delay of the delay-based control.
|
java.util.List<VerilogEvent> |
getEvents()
Returns the events of the event-based control.
|
VerilogExpression |
getRepeat()
Returns the repetition number of the event-based control.
|
boolean |
isDelays()
Checks whether the control is delay-based.
|
boolean |
isEmpty()
Checks whether the control is absent.
|
boolean |
isEvents()
Checks whether the control is event-based.
|
boolean |
isRepeat()
Checks whether the control is event-based and has the repeat construct.
|
void |
setDelay(VerilogDelay delay)
Sets the delay of the delay-based control.
|
void |
setEvents(java.util.List<VerilogEvent> events)
Sets the events of the event-based control.
|
void |
setRepeat(VerilogExpression repeat)
Sets the number of repetitions of the event-based control.
|
void |
setRepeatEvents(VerilogRepeatEvents repeatEvents)
Sets the number of repetitions and the events of the event-based control.
|
java.lang.String |
toString() |
public VerilogEventControl()
public VerilogEventControl(VerilogEventControl other)
other
- the event control to be copied.public boolean isDelays()
true
iff the control is delay-based.public boolean isEvents()
true
iff the control is event-based.public boolean isRepeat()
true
iff the control is event-based and has the repeat construct.public boolean isEmpty()
true
iff the control is absent.public VerilogDelay getDelay()
public void setDelay(VerilogDelay delay)
delay
- the delay to be set.public java.util.List<VerilogEvent> getEvents()
public void setEvents(java.util.List<VerilogEvent> events)
events
- the events to be set.public VerilogExpression getRepeat()
public void setRepeat(VerilogExpression repeat)
repeat
- the repetition number to be set.public void setRepeatEvents(VerilogRepeatEvents repeatEvents)
repeatEvents
- the repeat events construct.public java.lang.String toString()
toString
in class java.lang.Object
public VerilogEventControl clone()
clone
in class java.lang.Object