C# 클래스 GammaJul.ReSharper.ForTea.Psi.T4LanguageService

상속: LanguageService
파일 보기 프로젝트 열기: MrJul/ForTea

공개 메소드들

메소드 설명
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.

메소드 상세

CreateFilteringLexer() 공개 메소드

Creates a lexer that filters tokens that have no meaning.
public CreateFilteringLexer ( ILexer lexer ) : ILexer
lexer ILexer The base lexer.
리턴 ILexer

CreateParser() 공개 메소드

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.
리턴 IParser

FindTypeDeclarations() 공개 메소드

public FindTypeDeclarations ( IFile file ) : IEnumerable
file IFile
리턴 IEnumerable

GetPrimaryLexerFactory() 공개 메소드

Gets a factory capable of creating T4 lexers.
public GetPrimaryLexerFactory ( ) : ILexerFactory
리턴 ILexerFactory

T4LanguageService() 공개 메소드

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.
리턴 System.Collections.Generic