A field declaration in a table or struct.
| 44 | |
| 45 | @dataclass |
| 46 | class FbsField: |
| 47 | """A field declaration in a table or struct.""" |
| 48 | |
| 49 | name: str |
| 50 | field_type: FbsTypeRef |
| 51 | default: Optional[object] = None |
| 52 | attributes: Dict[str, object] = field(default_factory=dict) |
| 53 | line: int = 0 |
| 54 | column: int = 0 |
| 55 | |
| 56 | |
| 57 | @dataclass |