def type_(printer, ast):
    """Prints "[const|meta|...] type"."""
    prefixes_str = ''.join(map(lambda prefix: f'{prefix} ', ast["prefixes"]))
    type_id_str = printer.ast_to_string(ast["typeId"])
    return f'{prefixes_str}{type_id_str}'