C# Class ICSharpCode.NRefactory.ParserFactory

Static helper class that constructs lexer and parser objects.
Exibir arquivo Open project: jbuedel/AgentRalphPlugin

Public Methods

Method Description
CreateLexer ( SupportedLanguage language, TextReader textReader ) : Parser.ILexer
CreateParser ( SupportedLanguage language, TextReader textReader ) : IParser
CreateParser ( string fileName ) : IParser
CreateParser ( string fileName, Encoding encoding ) : IParser

Method Details

CreateLexer() public static method

public static CreateLexer ( SupportedLanguage language, TextReader textReader ) : Parser.ILexer
language SupportedLanguage
textReader TextReader
return Parser.ILexer

CreateParser() public static method

public static CreateParser ( SupportedLanguage language, TextReader textReader ) : IParser
language SupportedLanguage
textReader TextReader
return IParser

CreateParser() public static method

public static CreateParser ( string fileName ) : IParser
fileName string
return IParser

CreateParser() public static method

public static CreateParser ( string fileName, Encoding encoding ) : IParser
fileName string
encoding Encoding
return IParser