Class LexemConfigsKeeper
Represents a class that helps to keeps the configuration of Config lexems that is used to search configuration for some token.
Inheritance
System.Object
LexemConfigsKeeper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Edit.Implementation.Config
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class LexemConfigsKeeper
Constructors
LexemConfigsKeeper(IConfigLexem)
Initializes a new instance of the LexemConfigsKeeper class.
Declaration
public LexemConfigsKeeper(IConfigLexem parentLexem)
Parameters
Type | Name | Description |
---|---|---|
IConfigLexem | parentLexem | Owner of the LexemConfigsKeeper. |
Methods
GetConfigs(String)
Gets the lexem configuration of the specified token.
Declaration
public IList GetConfigs(string token)
Parameters
Type | Name | Description |
---|---|---|
System.String | token | Token, configuration is needed for. |
Returns
Type | Description |
---|---|
System.Collections.IList | Lexem configuration for given token. |
Remarks
Search process is entirely based on rules, specified by owner lexem configuration. If owner is complex, search is done within it`s sub-lexems first, then it is done for its parent and so on. If there is no appropriate configuration for given token found, languages configuration is used, or the configuration of the first parent with "OnlyLocalSubLexems" set to true.