tree: a60407d644d261b19887c065b20ec7105344d275
  1. mojom/
  2. BUILD.gn
  3. check_stable_mojom_compatibility.py
  4. check_stable_mojom_compatibility_unittest.py
  5. const_unittest.py
  6. enum_unittest.py
  7. feature_unittest.py
  8. mojom_format.py
  9. mojom_parser.py
  10. mojom_parser_test_case.py
  11. mojom_parser_unittest.py
  12. README.md
  13. stable_attribute_unittest.py
  14. union_unittest.py
  15. version_compatibility_unittest.py
mojo/public/tools/mojom/README.md

The Mojom Parser

The Mojom format is an interface definition language (IDL) for describing interprocess communication (IPC) messages and data types for use with the low-level cross-platform Mojo IPC library.

This directory consists of a mojom Python module, its tests, and supporting command-line tools. The Python module implements the parser used by the command-line tools and exposes an API to help external bindings generators emit useful code from the parser's outputs.

TODO(crbug.com/40122045): Fill out this documentation once the library and tools have stabilized.