C# Class Nexus.Client.Games.Fallout3.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
Show file 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