Class VerilogDelay
- java.lang.Object
-
- ru.ispras.verilog.parser.model.basis.VerilogDelay
-
public final class VerilogDelay extends java.lang.Object
VerilogDelay
represents the abstract syntax of the delay.
-
-
Constructor Summary
Constructors Constructor Description VerilogDelay()
Creates an empty delay object.VerilogDelay(VerilogDelay other)
Creates a copy of the delay object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDelay(VerilogMinTypMax delay)
Adds a delay value to the list.VerilogDelay
clone()
java.util.List<VerilogMinTypMax>
getDelays()
Returns the list of expressions representing delay values.boolean
isSpecified()
Checks whether the delay is specified (i.e.java.lang.String
toString()
-
-
-
Constructor Detail
-
VerilogDelay
public VerilogDelay()
Creates an empty delay object.
-
VerilogDelay
public VerilogDelay(VerilogDelay other)
Creates a copy of the delay object.- Parameters:
other
- the delay object to be copied.
-
-
Method Detail
-
isSpecified
public boolean isSpecified()
Checks whether the delay is specified (i.e. the list of delays is not empty).- Returns:
true
iff the delay is specified.
-
getDelays
public java.util.List<VerilogMinTypMax> getDelays()
Returns the list of expressions representing delay values.- Returns:
- the list of delays.
-
addDelay
public void addDelay(VerilogMinTypMax delay)
Adds a delay value to the list.- Parameters:
delay
- the delay value to be added.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
clone
public VerilogDelay clone()
- Overrides:
clone
in classjava.lang.Object
-
-