[introspect] Extract struct array extents from comments.
PiperOrigin-RevId: 687254268 Change-Id: Ia70dca073eaa4a99c60f76b7c69c730856193512
This commit is contained in:
committed by
Copybara-Service
parent
43a7493d17
commit
62c0ef4262
@@ -234,6 +234,7 @@ class StructFieldDecl:
|
||||
'AnonymousUnionDecl',
|
||||
]
|
||||
doc: str
|
||||
array_extent: Optional[Tuple[Union[str, int], ...]] = None
|
||||
|
||||
def __str__(self):
|
||||
return self.type.decl(self.name)
|
||||
|
||||
Reference in New Issue
Block a user