C# Class GammaJul.ReSharper.ForTea.Psi.T4LanguageService

Inheritance: LanguageService
Afficher le fichier Open project: MrJul/ForTea

Méthodes publiques

Méthode Description
CreateFilteringLexer ( ILexer lexer ) : ILexer

Creates a lexer that filters tokens that have no meaning.

CreateParser ( ILexer lexer, IPsiModule module, IPsiSourceFile sourceFile ) : IParser

Creates a parser for a given PSI source file.

FindTypeDeclarations ( IFile file ) : IEnumerable
GetPrimaryLexerFactory ( ) : ILexerFactory

Gets a factory capable of creating T4 lexers.

T4LanguageService ( [ t4Language, [ directiveInfoManager, [ constantValueService, [ t4Environment ) : System.Collections.Generic

Initializes a new instance of the T4LanguageService class.

Method Details

CreateFilteringLexer() public méthode

Creates a lexer that filters tokens that have no meaning.
public CreateFilteringLexer ( ILexer lexer ) : ILexer
lexer ILexer The base lexer.
Résultat ILexer

CreateParser() public méthode

Creates a parser for a given PSI source file.
public CreateParser ( ILexer lexer, IPsiModule module, IPsiSourceFile sourceFile ) : IParser
lexer ILexer The lexer that the parser will use.
module IPsiModule The module owning the source file.
sourceFile IPsiSourceFile The source file.
Résultat IParser

FindTypeDeclarations() public méthode

public FindTypeDeclarations ( IFile file ) : IEnumerable
file IFile
Résultat IEnumerable

GetPrimaryLexerFactory() public méthode

Gets a factory capable of creating T4 lexers.
public GetPrimaryLexerFactory ( ) : ILexerFactory
Résultat ILexerFactory

T4LanguageService() public méthode

Initializes a new instance of the T4LanguageService class.
public T4LanguageService ( [ t4Language, [ directiveInfoManager, [ constantValueService, [ t4Environment ) : System.Collections.Generic
t4Language [ The T4 language.
directiveInfoManager [ An instance of .
constantValueService [ The constant value service.
t4Environment [ An object describing the environment for T4 files.
Résultat System.Collections.Generic