diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2021-11-08 17:27:01 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-19 22:35:08 +0000 |
commit | 2ed50141c9c9e7d6c177bb5bd21ef13f90ced5ef (patch) | |
tree | 6f56ab61a69e9d0f34da0613c0d1c044c12f0f7d /buildscripts/idl/idl/syntax.py | |
parent | bf6aa01aac1bb2e51f5d77ef8b710a18e5e03282 (diff) | |
download | mongo-2ed50141c9c9e7d6c177bb5bd21ef13f90ced5ef.tar.gz |
SERVER-61580 Add support for extraData to enums
Diffstat (limited to 'buildscripts/idl/idl/syntax.py')
-rw-r--r-- | buildscripts/idl/idl/syntax.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildscripts/idl/idl/syntax.py b/buildscripts/idl/idl/syntax.py index dbc02937631..8558f725c37 100644 --- a/buildscripts/idl/idl/syntax.py +++ b/buildscripts/idl/idl/syntax.py @@ -663,7 +663,9 @@ class EnumValue(common.SourceLocation): # type: (str, int, int) -> None """Construct an Enum.""" self.name = None # type: str + self.description = None # type: str self.value = None # type: str + self.extra_data = None # type: Dict[str, Any] super(EnumValue, self).__init__(file_name, line, column) |