Skip to content

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

ParameterTypeDescription
sourcestringThe source code text to scan
_fileName?string-

Returns

readonly EntitlementMatch[]

All entitlement matches found