MCPcopy Create free account
hub / github.com/apache/fory / FbsField

Class FbsField

compiler/fory_compiler/frontend/fbs/ast.py:46–54  ·  view source on GitHub ↗

A field declaration in a table or struct.

Source from the content-addressed store, hash-verified

44
45@dataclass
46class 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

Callers 1

parse_fieldMethod · 0.90

Calls 1

fieldFunction · 0.50

Tested by

no test coverage detected