Package ptolemy.domains.coroutine.kernel
Class ControlExitToken
- java.lang.Object
-
- ptolemy.data.Token
-
- ptolemy.domains.coroutine.kernel.ControlToken
-
- ptolemy.domains.coroutine.kernel.ControlExitToken
-
public class ControlExitToken extends ControlToken
- Since:
- Ptolemy II 11.0
- Version:
- $Id$
- Author:
- shaver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ControlExitToken.ControlType
static class
ControlExitToken.ExitLocation
-
Nested classes/interfaces inherited from class ptolemy.domains.coroutine.kernel.ControlToken
ControlToken.Location
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ControlExitToken
Exit(ControlExitToken.ExitLocation l)
static ControlExitToken
ExitToken(java.lang.String etS)
ControlExitToken.ExitLocation
getLocation()
boolean
isEntry()
boolean
isExit()
boolean
isLocation()
boolean
isSuspend()
boolean
isTerminate()
static ControlExitToken
Suspend()
static ControlExitToken
Terminate()
java.lang.String
toString()
Return the value of this token as a string that can be parsed by the expression language to recover a token with the same value.-
Methods inherited from class ptolemy.data.Token
add, addReverse, divide, divideReverse, getType, isCloseTo, isCloseTo, isEqualTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, zero, zeroReturnType
-
-
-
-
Method Detail
-
ExitToken
public static ControlExitToken ExitToken(java.lang.String etS)
-
Terminate
public static ControlExitToken Terminate()
-
Suspend
public static ControlExitToken Suspend()
-
Exit
public static ControlExitToken Exit(ControlExitToken.ExitLocation l)
-
isEntry
public boolean isEntry()
- Specified by:
isEntry
in classControlToken
-
isExit
public boolean isExit()
- Specified by:
isExit
in classControlToken
-
isSuspend
public boolean isSuspend()
-
isTerminate
public boolean isTerminate()
-
isLocation
public boolean isLocation()
-
getLocation
public ControlExitToken.ExitLocation getLocation()
-
toString
public java.lang.String toString()
Description copied from class:Token
Return the value of this token as a string that can be parsed by the expression language to recover a token with the same value. This method should be overridden by derived classes. In this base class, return the String "present" to indicate that an event is present. If this token isToken.NIL
then return "nil"
-
-