<entity name="exp" class="VisualSim.actor.lib.Expression">
<port name="in" class="VisualSim.actor.TypedIOPort">
<property name="input"/>
</port>
</entity>
The type is polymorphic, with the only constraint that the types of the inputs must all be less than (in the type order) the type of the output. What this means (loosely) is that the types of the input tokens can be converted losslessly into tokens with the type of the output. If this is not the case, then the types of the output ports must be set manually.
Field Detail |
public TypedIOPort output
public StringAttribute expression