C# Class Linguist.Language

Datei anzeigen Open project: jesse99/Linguist

Public Methods

Method Description
GetClassificationSpans ( SnapshotSpan span ) : IList
GetCommentClassification ( ClassificationSpan original ) : ClassificationSpan
GetStringClassification ( ClassificationSpan original ) : ClassificationSpan
Language ( string name, Regex glob, IClassificationType>.List elements ) : System

Private Methods

Method Description
DoValidateRegex ( string name, string expr ) : bool

Method Details

GetClassificationSpans() public method

public GetClassificationSpans ( SnapshotSpan span ) : IList
span SnapshotSpan
return IList

GetCommentClassification() public method

public GetCommentClassification ( ClassificationSpan original ) : ClassificationSpan
original ClassificationSpan
return ClassificationSpan

GetStringClassification() public method

public GetStringClassification ( ClassificationSpan original ) : ClassificationSpan
original ClassificationSpan
return ClassificationSpan

Language() public method

public Language ( string name, Regex glob, IClassificationType>.List elements ) : System
name string
glob System.Text.RegularExpressions.Regex
elements IClassificationType>.List
return System