public static function getNameByConstant($constant)
    {
        switch ($constant) {
            case self::IDENTIFIER:
                return 'identifier';
            break;

            case self::BOOLEAN:
                return 'boolean';
            break;

            case self::INTEGER:
                return 'integer';
            break;

            case self::FLOAT:
                return 'float';
            break;

            case self::STRING:
                return 'string';
            break;

            case self::POINT:
                return 'point';
            break;

            case self::PAIR:
                return 'pair';
            break;

            case self::DIRECTED_PAIR:
                return 'directedPair';
            break;

            case self::DURATION:
                return 'duration';
            break;

            case self::FILE:
                return 'file';
            break;

            case self::URI:
                return 'uri';
            break;

            case self::INT_OR_IDENTIFIER:
                return 'intOrIdentifier';
            break;

            case self::COORDS:
                return 'coords';
            break;

            default:
                return false;
            break;
        }
    }