menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class LexemParser.LexemParserEnumerator - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class LexemParser.LexemParserEnumerator

    Reprsents a class that provides enumerator for lexem parser that is used to make lexem parsing of the file, based on some starting stack.

    Inheritance
    System.Object
    LexemParser.LexemParserEnumerator
    Implements
    System.Collections.IEnumerator
    ILexemEnumeratorParserInfo
    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.Parser
    Assembly: Syncfusion.Edit.Windows.dll
    Syntax
    public class LexemParserEnumerator : IEnumerator, ILexemEnumeratorParserInfo

    Constructors

    LexemParserEnumerator(ConfigStack, LexemParser)

    Initializes a new instance of the LexemParser.LexemParserEnumerator class.

    Declaration
    public LexemParserEnumerator(ConfigStack stack, LexemParser parser)
    Parameters
    Type Name Description
    ConfigStack stack

    Stack, that will be used as start point for parsing.

    LexemParser parser

    Parser instance.

    Properties

    Current

    Gets the current lexem.

    Declaration
    public object Current { get; }
    Property Value
    Type
    System.Object

    CurrentPosition

    Gets the current stream position.

    Declaration
    public long CurrentPosition { get; }
    Property Value
    Type
    System.Int64

    CurrentStack

    Gets the currently opened lexem.

    Declaration
    public ConfigStack CurrentStack { get; }
    Property Value
    Type
    ConfigStack

    Methods

    MoveNext()

    Moves to the next level.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    System.Boolean

    True if moved successfully, false if end of the stream reached.

    Reset()

    Initializes enumerator and parser by initial parameters.

    Declaration
    public void Reset()

    Implements

    System.Collections.IEnumerator
    ILexemEnumeratorParserInfo
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved