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 | - |
Returns
readonly EntitlementMatch[]
All entitlement matches found