Skip to content

Dsc processor plugin

dsc_processor_plugin

Plugin for parsing DSCs.

IDscProcessorPlugin

Plugin for parsing DSCs.

do_transform

do_transform(
    dsc: DscParser, thebuilder: UefiBuilder
) -> int

Does the transform on a DSC.

Parameters:

Name Type Description Default
dsc DscParser

the in-memory model of the DSC

required
thebuilder UefiBuilder

UefiBuild object for env information

required

Returns:

Type Description
int

0 or NonZero for success or failure

get_level

get_level(thebuilder: UefiBuilder) -> int

Gets the level that this transform operates at.

Parameters:

Name Type Description Default
thebuilder UefiBuilder

UefiBuild object for env information

required

Returns:

Type Description
int

the level