MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / __init__

Method __init__

py/generate_bidi.py:1034–1041  ·  view source on GitHub ↗

Initialize parser with CDDL file path.

(self, cddl_path: str)

Source from the content-addressed store, hash-verified

1032 """Parse CDDL specification files."""
1033
1034 def __init__(self, cddl_path: str):
1035 """Initialize parser with CDDL file path."""
1036 self.cddl_path = Path(cddl_path)
1037 self.content = ""
1038 self.modules: dict[str, CddlModule] = {}
1039 self.definitions: dict[str, str] = {}
1040 self.event_names: set[str] = set() # Names of definitions that are events
1041 self._read_file()
1042
1043 def _read_file(self) -> None:
1044 """Read and preprocess CDDL file."""

Callers

nothing calls this directly

Calls 2

_read_fileMethod · 0.95
PathClass · 0.85

Tested by

no test coverage detected