TokenToExpression
ptolemy.actor.lib.conversions.TokenToExpression

This actor reads a token from the input port and outputs a string token whose value is an expression that can be parsed to yield the input token. For example, if the input is itself a string token, the output will be a new string token whose value is the value of the input string token surrounded by double quotation marks. The input data type is undeclared, so this actor can accept any input. If the input known to be absent, this actor outputs a string "absent".

Author(s): Steve Neuendorffer, Haiyang Zheng
Version:$Id: TokenToExpression.java,v 1.22 2006/04/05 07:54:55 hyzheng Exp $
Pt.Proposed Rating:Yellow (neuendor)
Pt.Accepted Rating:Red (liuj)