C# Class Nexus.Client.Games.Fallout3.Scripting.XmlScript.CPL.FO3CplConverter

A converter that translates CPL to and from an ICondition,
Inheritance: Nexus.Client.ModManagement.Scripting.XmlScript.CPL.CPLConverter
Mostra file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
FO3CplConverter ( ICplParserFactory p_pftParserFactory ) : System

A simple constructor that initializes the ICplParserFactory to use.

Protected Methods

Method Description
BuildCompositeCondition ( ITree p_astCPL ) : ICondition

Builds an ICondition representing the given CPL.

GenerateCpl ( ICondition p_cndCondition ) : string

Generates the CPL representing to given ICondition.

Method Details

BuildCompositeCondition() protected method

Builds an ICondition representing the given CPL.
protected BuildCompositeCondition ( ITree p_astCPL ) : ICondition
p_astCPL ITree The CPL abstract syntax tree for which to create an .
return ICondition

FO3CplConverter() public method

A simple constructor that initializes the ICplParserFactory to use.
public FO3CplConverter ( ICplParserFactory p_pftParserFactory ) : System
p_pftParserFactory ICplParserFactory The to use to create the /// parser to use to build the AST.
return System

GenerateCpl() protected method

Generates the CPL representing to given ICondition.
protected GenerateCpl ( ICondition p_cndCondition ) : string
p_cndCondition ICondition The to translate into CPL.
return string