Compiler
760 sites
Security covered
This module offers an API for creating and managing compiler plugins. It defines attributes, base classes, interfaces, and managers to facilitate the development of custom compilers within Drupal.
Introduction
This module provides an API for defining and working with compiler plugins.
On its own, this module does nothing useful out of the box; check this module's ecosystem for projects that define or make use of compiler plugins.
API
This module exposes the following API:
- An attribute (or annotation) used to define compiler plugins.
- A base class for compiler plugins.
- An interface for compiler plugins.
- A compiler plugin manager service,
plugin.manager.compiler. - A file-based source code input for compilers.
- A direct source code input for compilers.