summaryrefslogtreecommitdiff
path: root/tools/libdol2asm/types/empty.py
blob: ffd0611bc65a671a6bb78ddb4da061376b8065ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from dataclasses import dataclass, field
from .base import *

@dataclass(frozen=True,eq=True)
class EmptyType(Type):
    def __hash__(self):
        return hash("EMPTY")
        
    def type(self,
             specialize_templates: bool = False,
             without_template: bool = False) -> str:
        return ""