Class TokenParser.Token
Token class holds parsed token info along with an array of attributes
Inheritance
System.Object
System.Collections.Hashtable
TokenParser.Token
Implements
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.ICloneable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
Inherited Members
System.Collections.Hashtable.Add(System.Object, System.Object)
System.Collections.Hashtable.Clear()
System.Collections.Hashtable.Clone()
System.Collections.Hashtable.Contains(System.Object)
System.Collections.Hashtable.ContainsKey(System.Object)
System.Collections.Hashtable.ContainsValue(System.Object)
System.Collections.Hashtable.CopyTo(System.Array, System.Int32)
System.Collections.Hashtable.GetEnumerator()
System.Collections.Hashtable.GetHash(System.Object)
System.Collections.Hashtable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Collections.Hashtable.KeyEquals(System.Object, System.Object)
System.Collections.Hashtable.OnDeserialization(System.Object)
System.Collections.Hashtable.Remove(System.Object)
System.Collections.Hashtable.Synchronized(System.Collections.Hashtable)
System.Collections.Hashtable.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Hashtable.comparer
System.Collections.Hashtable.Count
System.Collections.Hashtable.EqualityComparer
System.Collections.Hashtable.hcp
System.Collections.Hashtable.IsFixedSize
System.Collections.Hashtable.IsReadOnly
System.Collections.Hashtable.IsSynchronized
System.Collections.Hashtable.Item[System.Object]
System.Collections.Hashtable.Keys
System.Collections.Hashtable.SyncRoot
System.Collections.Hashtable.Values
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: Azos.Text
Assembly: Azos.dll
Syntax
public class Token : Hashtable, IDictionary, ICollection, IEnumerable, ICloneable, IDeserializationCallback, ISerializable
Constructors
Token(Boolean, String)
Declaration
public Token(bool simple, string content)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | simple | |
System.String | content |
Properties
Content
A string representing whole token body, in between open and close chars
Declaration
public string Content { get; }
Property Value
Type | Description |
---|---|
System.String |
IsSimpleText
True if a token represents literal text that gets embedded in response as is
Declaration
public bool IsSimpleText { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item[String]
Declaration
public string this[string key] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | key |
Property Value
Type | Description |
---|---|
System.String |
Name
A string representing token name - first identifier within token content
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.ICloneable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable