C# Class Nexus.Client.Games.FalloutNV.Scripting.XmlScript.CPL.Controls.FONVCplHighlightingStrategy

The highlighting strategy for the Fallout: New Vegas 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
FONVCplHighlightingStrategy ( 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

FONVCplHighlightingStrategy() public method

A simple construstor that sets the ICplParserFactory to use.
public FONVCplHighlightingStrategy ( 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

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