Function: scanSource()
ts
function scanSource(source, fileName?): readonly EntitlementMatch[];Defined in: packages/core/src/introspection/EntitlementScanner.ts:330
Scan source text for entitlement patterns.
Parameters
| Parameter | Type | Description |
|---|---|---|
source | string | The source code text to scan |
fileName? | string | File name for reporting (optional) |
Returns
readonly EntitlementMatch[]
All entitlement matches found