C# Class Nexus.Client.Games.Skyrim.Scripting.XmlScript.CPL.Controls.SKYRIMCplHighlightingStrategy

The highlighting strategy for the Skyrim variant of the Conditional Pattern Language.
This is used to highilight CPL in the editor.
Inheritance: Nexus.Client.ModManagement.Scripting.XmlScript.CPL.Controls.CplHighlightingStrategy
Datei anzeigen Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
SKYRIMCplHighlightingStrategy ( ICplParserFactory p_cpfLexerFactory ) : Nexus.Client.ModManagement.Scripting.XmlScript.CPL

A simple construstor that sets the ICplParserFactory to use.

Protected Methods

Method Description
GetTokenClass ( int p_intTokenType ) : TokenClass

Determines the token class of the given token type.

Method Details

GetTokenClass() protected method

Determines the token class of the given token type.
protected GetTokenClass ( int p_intTokenType ) : TokenClass
p_intTokenType int The token type to classify.
return TokenClass

SKYRIMCplHighlightingStrategy() public method

A simple construstor that sets the ICplParserFactory to use.
public SKYRIMCplHighlightingStrategy ( ICplParserFactory p_cpfLexerFactory ) : Nexus.Client.ModManagement.Scripting.XmlScript.CPL
p_cpfLexerFactory ICplParserFactory The factory to use to create the CPL lexer used to highlight the code.
return Nexus.Client.ModManagement.Scripting.XmlScript.CPL