Class VerilogEvent
- java.lang.Object
-
- ru.ispras.verilog.parser.model.basis.VerilogEvent
-
public final class VerilogEvent extends java.lang.Object
VerilogEvent
represents events.
-
-
Constructor Summary
Constructors Constructor Description VerilogEvent()
Creates an event.VerilogEvent(VerilogEvent other)
Creates a copy of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VerilogEvent
clone()
VerilogEdge
getEdge()
Returns the edge of the event.VerilogExpression
getExpression()
Returns the expression of the event.void
setEdge(VerilogEdge edge)
Sets the edge of the event.void
setExpression(VerilogExpression expression)
Sets the expression of the event.java.lang.String
toString()
-
-
-
Constructor Detail
-
VerilogEvent
public VerilogEvent()
Creates an event.
-
VerilogEvent
public VerilogEvent(VerilogEvent other)
Creates a copy of the event.- Parameters:
other
- the event to be copied.
-
-
Method Detail
-
getEdge
public VerilogEdge getEdge()
Returns the edge of the event.- Returns:
- the event edge.
-
setEdge
public void setEdge(VerilogEdge edge)
Sets the edge of the event.- Parameters:
edge
- the edge to set.
-
getExpression
public VerilogExpression getExpression()
Returns the expression of the event.- Returns:
- the event expression.
-
setExpression
public void setExpression(VerilogExpression expression)
Sets the expression of the event.- Parameters:
expression
- the expression to be set.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
clone
public VerilogEvent clone()
- Overrides:
clone
in classjava.lang.Object
-
-