Skip to main content

Crate dw_parser

Crate dw_parser 

Source
Expand description

PDK DataWeave (DW) to PEL Parser Library

Provides functionality for parsing DataWeave expressions into PEL.

§Primary types

  • pel::InputContext: Input context containing inputs (e.g. payload, attributes) and DW functions (e.g. substringBefore, fromBase64) for compiling the expression.
  • pel::CompilationResult: Contains the compiled PEL expression if compile was successful or error messages upon failure.

Modules§

pel
PEL Parser Library

Functions§

dw2pel
Transform a DataWeave expression to PEL (Policy Expression Language) so it can be consumed by the PDK.