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 classControlExitToken.ControlTypestatic classControlExitToken.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 ControlExitTokenExit(ControlExitToken.ExitLocation l)static ControlExitTokenExitToken(java.lang.String etS)ControlExitToken.ExitLocationgetLocation()booleanisEntry()booleanisExit()booleanisLocation()booleanisSuspend()booleanisTerminate()static ControlExitTokenSuspend()static ControlExitTokenTerminate()java.lang.StringtoString()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:
 isEntryin classControlToken
 
- 
isExit
public boolean isExit()
- Specified by:
 isExitin 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:TokenReturn 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.NILthen return "nil" 
 - 
 
 -