Class Tokenized<TToken>
Provides read-only view over TokenList
Inheritance
System.Object
Tokenized<TToken>
Implements
System.Collections.Generic.IEnumerable<TToken>
System.Collections.IEnumerable
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)
Namespace: Azos.CodeAnalysis
Assembly: Azos.dll
Syntax
public class Tokenized<TToken> : IEnumerable<TToken>, IEnumerable where TToken : Token
Type Parameters
Name | Description |
---|---|
TToken |
Constructors
Tokenized(TokenList<TToken>)
Declaration
public Tokenized(TokenList<TToken> list)
Parameters
Type | Name | Description |
---|---|---|
TokenList<TToken> | list |
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Declaration
public TToken this[int idx] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | idx |
Property Value
Type | Description |
---|---|
TToken |
Methods
GetEnumerator()
Declaration
public IEnumerator<TToken> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<TToken> |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable