@classmethod
def make_operand(cls, value):
    """Create an operand token."""
    if value.startswith('"'):
        subtype = cls.TEXT
    elif value.startswith('#'):
        subtype = cls.ERROR
    elif value in ('TRUE', 'FALSE'):
        subtype = cls.LOGICAL
    else:
        try:
            float(value)
            subtype = cls.NUMBER
        except ValueError:
            subtype = cls.RANGE
    return cls(value, cls.OPERAND, subtype)
