C# 클래스 Pegasus.Package.PegasusLanguageService

Implements a LanguageService for Pegasus grammars.
상속: Microsoft.VisualStudio.Package.LanguageService
파일 보기 프로젝트 열기: otac0n/Pegasus 1 사용 예제들

공개 메소드들

메소드 설명
GetFormatFilterList ( ) : string

Returns a list of file extension filters suitable for a Save As dialog box.

GetLanguagePreferences ( ) : Microsoft.VisualStudio.Package.LanguagePreferences

Returns a LanguagePreferences object for this language service.

GetScanner ( IVsTextLines buffer ) : IScanner

Returns a single instantiation of a parser.

ParseSource ( Microsoft.VisualStudio.Package.ParseRequest req ) : Microsoft.VisualStudio.Package.AuthoringScope

Parses the source based on the specified ParseRequest object.

메소드 상세

GetFormatFilterList() 공개 메소드

Returns a list of file extension filters suitable for a Save As dialog box.
public GetFormatFilterList ( ) : string
리턴 string

GetLanguagePreferences() 공개 메소드

Returns a LanguagePreferences object for this language service.
public GetLanguagePreferences ( ) : Microsoft.VisualStudio.Package.LanguagePreferences
리턴 Microsoft.VisualStudio.Package.LanguagePreferences

GetScanner() 공개 메소드

Returns a single instantiation of a parser.
public GetScanner ( IVsTextLines buffer ) : IScanner
buffer IVsTextLines An representing the lines of source to parse.
리턴 IScanner

ParseSource() 공개 메소드

Parses the source based on the specified ParseRequest object.
public ParseSource ( Microsoft.VisualStudio.Package.ParseRequest req ) : Microsoft.VisualStudio.Package.AuthoringScope
req Microsoft.VisualStudio.Package.ParseRequest The describing how to parse the source file.
리턴 Microsoft.VisualStudio.Package.AuthoringScope