aboutsummaryrefslogtreecommitdiff
path: root/compilador/astree/unit.py
blob: 8ffdf19762981d2ed6a6e0e462ea4b50cdc43786 (plain)
1
2
3
4
5
6
7
8
9
from dataclasses import dataclass
from typing import List

from astree.decl import Decl

# A single compilation unit, representing all of the members of a namespace.
@dataclass
class Unit:
    decls: List[Decl]