C# Class ExamplesFx.ColorCode.LanguageRule

Defines a single rule for a language. For instance a language rule might define string literals for a given language.
Show file Open project: MarcosMeli/ExamplesFx

Public Methods

Method Description
LanguageRule ( string regex, string>.IDictionary captures ) : System

Initializes a new instance of the LanguageRule class.

Method Details

LanguageRule() public method

Initializes a new instance of the LanguageRule class.
public LanguageRule ( string regex, string>.IDictionary captures ) : System
regex string The regular expression that defines what the language rule matches and captures.
captures string>.IDictionary The scope indices and names of the regular expression's captures.
return System