Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/detectors/angular-detector.ts
Angular Detector
Methods
| Method | Signature | Returns |
|---|---|---|
detectComponents | detectComponents(entities: Entity[]) | DetectedAngularComponent[] |
detectServices | detectServices(entities: Entity[]) | DetectedAngularService[] |
getComponentSummary | getComponentSummary(component: DetectedAngularComponent) | string |
Where it refuses work
AngularDetectorstops the work with an early return when/templateUrl\s*:/.test(code).AngularDetectorstops the work with an early return when/template\s*:/.test(code).AngularDetectorstops the work with an early return when/styleUrls?\s*:/.test(code).AngularDetectorstops the work with an early return when/styles\s*:/.test(code).AngularDetectorstops the work with an early return when/FormGroup|FormControl|FormArray|FormBuilder/.test(code).AngularDetectorstops the work with an early return when/\[\(ngModel\)\]|ngModel/.test(code).
Was this page helpful?