C# Class Nexus.Client.ModManagement.Scripting.XmlScript.CPL.BaseCplParserFactory

Creates CPL parsers.
Inheritance: ICplParserFactory
Exibir arquivo Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
CreateLexer ( string p_strCode, ErrorTracker p_ertErrorTracker ) : AntlrLexerBase

Creates a CPL lexer for the given code, using the given error tracker.

CreateParser ( string p_strCode, ErrorTracker p_ertErrorTracker ) : AntlrParserBase

Creates a CPL parser for the given code, using the given error tracker.

Method Details

CreateLexer() public method

Creates a CPL lexer for the given code, using the given error tracker.
public CreateLexer ( string p_strCode, ErrorTracker p_ertErrorTracker ) : AntlrLexerBase
p_strCode string The code be lexed.
p_ertErrorTracker Nexus.Client.Util.Antlr.ErrorTracker The error tracker to use to log /// lexing errors.
return Nexus.Client.Util.Antlr.AntlrLexerBase

CreateParser() public method

Creates a CPL parser for the given code, using the given error tracker.
public CreateParser ( string p_strCode, ErrorTracker p_ertErrorTracker ) : AntlrParserBase
p_strCode string The code be parsed.
p_ertErrorTracker Nexus.Client.Util.Antlr.ErrorTracker The error tracker to use to log /// parsing errors.
return Nexus.Client.Util.Antlr.AntlrParserBase