Skip to content
This repository has been archived by the owner on Apr 19, 2022. It is now read-only.

Latest commit

 

History

History
54 lines (32 loc) · 1.53 KB

compiler_sanitizer.arraywrapper.md

File metadata and controls

54 lines (32 loc) · 1.53 KB

indicative-compilercompiler/sanitizerArrayWrapper

Class: ArrayWrapper

Wraps an array of SanitizationsRunner and executes them based upon the length of an data array at runtime.

Hierarchy

  • ArrayWrapper

Index

Constructors

Methods

Constructors

constructor

+ new ArrayWrapper(field: string, index: string, childSanitizations: SanitizationsRunner‹› | ArrayWrapper‹›[], dotPath: string[]): ArrayWrapper

Parameters:

Name Type
field string
index string
childSanitizations SanitizationsRunner‹› | ArrayWrapper‹›[]
dotPath string[]

Returns: ArrayWrapper

Methods

exec

exec(data: SanitizationDataRoot, config: unknown): void

Execute series of sanitizations for values inside an array

Parameters:

Name Type
data SanitizationDataRoot
config unknown

Returns: void