C# 클래스 Nexus.Client.ModManagement.Scripting.XmlScript.CPL.CPLConverter

파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
CPLConverter ( ICplParserFactory p_pftParserFactory ) : System

A simple constructor that initializes the ICplParserFactory to use.

ConditionToCpl ( ICondition p_cndCondition ) : string

Converts the given ICondition into CPL.

CplToCondition ( string p_strCplCode ) : ICondition

Converts the given CPL into a ICondition.

보호된 메소드들

메소드 설명
BuildCompositeCondition ( ITree p_astCPL ) : ICondition
GenerateCpl ( ICondition p_cndCondition ) : string

비공개 메소드들

메소드 설명
GenerateAst ( string p_strCplCode ) : ITree

Parses the given CPL into an AST.

메소드 상세

BuildCompositeCondition() 보호된 메소드

protected BuildCompositeCondition ( ITree p_astCPL ) : ICondition
p_astCPL ITree
리턴 ICondition

CPLConverter() 공개 메소드

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

ConditionToCpl() 공개 메소드

Converts the given ICondition into CPL.
public ConditionToCpl ( ICondition p_cndCondition ) : string
p_cndCondition ICondition The condition to convert.
리턴 string

CplToCondition() 공개 메소드

Converts the given CPL into a ICondition.
Thrown if the given CPL is invalid.
public CplToCondition ( string p_strCplCode ) : ICondition
p_strCplCode string The CPL to convert.
리턴 ICondition

GenerateCpl() 보호된 메소드

protected GenerateCpl ( ICondition p_cndCondition ) : string
p_cndCondition ICondition
리턴 string