Class TokenStream.StreamTokenEnum
This class implements enumerator which uses its own algorithm for extracting data from input stream. Algorithm is a little faster than used in TokenStream class, but it does not support multi-symbols tokens splitter.
Inheritance
System.Object
TokenStream.StreamTokenEnum
Implements
System.Collections.IEnumerator
System.IDisposable
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.HTMLUI.Base
Assembly: Syncfusion.HTMLUI.Base.dll
Syntax
protected class StreamTokenEnum : IEnumerator, IDisposable
Constructors
StreamTokenEnum(TokenStream)
Constructor with specified parent.
Declaration
public StreamTokenEnum(TokenStream parent)
Parameters
Type | Name | Description |
---|---|---|
TokenStream | parent |
Properties
Current
Returns current token.
Declaration
public object Current { get; }
Property Value
Type |
---|
System.Object |
Methods
Dispose()
Clears all resources.
Declaration
public void Dispose()
Finalize()
Destructor. Disposes all resources.
Declaration
protected void Finalize()
MoveNext()
NOTE : newline - is one token
Declaration
public bool MoveNext()
Returns
Type |
---|
System.Boolean |
Reset()
At the beginning Of Enumeration, clears the buffer.
Declaration
public void Reset()
Implements
System.Collections.IEnumerator
System.IDisposable