Class LexemWrapper
Represents a class that provides Lexem wrapping that are used in autoformatting.
Inheritance
System.Object
LexemWrapper
Implements
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.Utils.AutoFormatting
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class LexemWrapper : ILexemWrapper
Constructors
LexemWrapper(ILexem, ConfigStack)
Initializes a new instance of the LexemWrapper class.
Declaration
public LexemWrapper(ILexem lexem, ConfigStack stack)
Parameters
Type | Name | Description |
---|---|---|
ILexem | lexem | Lexem to create wrapper for. |
ConfigStack | stack |
LexemWrapper(String, IConfigLexem, ConfigStack)
Initializes a new instance of the LexemWrapper class.
Declaration
public LexemWrapper(string text, IConfigLexem config, ConfigStack stack)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | Text of the lexem. |
IConfigLexem | config | Configuration of the lexem. |
ConfigStack | stack | Configuration stack of the lexem. |
Properties
Config
Gets the configuration of the lexem.
Declaration
public IConfigLexem Config { get; }
Property Value
Type |
---|
IConfigLexem |
Stack
Gets the configuration stack of the lexem.
Declaration
public ConfigStack Stack { get; }
Property Value
Type |
---|
ConfigStack |
Text
Gets the text of the lexem.
Declaration
public string Text { get; }
Property Value
Type |
---|
System.String |