Class UnknownToken


  • public class UnknownToken
    extends Token
    This is a token that reports its type as "unknown." Otherwise, this class is identical to its parent class. The constant named unknown (defined in the Constants class) is an instance of this token.
    Since:
    Ptolemy II 2.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    See Also:
    Constants
    Pt.AcceptedRating:
    Red (wbwu)
    Pt.ProposedRating:
    Yellow (yuhong)
    • Constructor Detail

      • UnknownToken

        public UnknownToken()
    • Method Detail

      • getType

        public Type getType()
        Return the type of this token.
        Overrides:
        getType in class Token
        Returns:
        BaseType.UNKNOWN.