> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt
> Use this file to discover all available pages before exploring further.

# policyModifierGeneration

> v0.20.5

> **policyModifierGeneration**(`configPath`, `outputFile`, `filePaths`): `void`

Defined in: [src/codeGeneration/code-modification-script.ts:62](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/codeGeneration/code-modification-script.ts#L62)

Processes a policy configuration file and injects modifiers into matching Solidity files

## Parameters

| Parameter    | Type        | Description                                                    |
| ------------ | ----------- | -------------------------------------------------------------- |
| `configPath` | `string`    | Path to the policy JSON configuration file                     |
| `outputFile` | `string`    | The directory and name of the file to create for the modifiers |
| `filePaths`  | `string`\[] | Array of Solidity file paths to process                        |

## Returns

`void`
