Processors
→ classes representing LCE Processors
- located in
typescript/src/core/processors- all files end with
.processor.ts - may export one or more processor classes each
- all files end with
Notes for creating new processors:
- each processor class must inherit from
Processor- only the
executionConditionhas to be specified preChildrenProcessingandpostChildrenProcessingmethods have empty default implementations and can be overridden as needed
- only the
- use
CodeCoordinateUtilsto retrieve code coordinates from an ESLint node - use functions of
processor.utils.tsfor easier handling of the used data structures - use utility functions from
type.utils.tsto process type information