24 this.Predicate =
null;
332 public object Tag {
get;
set; }
367 return this.
Encapsulate((ICollection<IElement>)Elements, Node);
378 if (Elements.Count != 3)
432 StringBuilder sb =
new StringBuilder();
442 return sb.ToString();
450 Typed.Predicate.Equals(this.
Predicate) &&
451 Typed.Object.Equals(this.
Object);
457 int Result = this.
Subject.GetHashCode();
458 Result ^= Result << 5 ^ this.
Predicate.GetHashCode();
459 Result ^= Result << 5 ^ this.
Object.GetHashCode();
480 int i = this.
Subject.CompareTo(T.Subject);
484 i = this.
Predicate.CompareTo(T.Predicate);
488 return this.
Object.CompareTo(T.Object);
504 case 2:
return this.
Object;
505 default:
return null;
Represents a byte[] literal.
Represents a bool literal.
Represents a dateTime literal.
Represents a decimal literal.
Represents a double literal.
Represents a Duration literal.
Represents a 16-bit integer literal.
Represents a 32-bit integer literal.
Represents a 64-bit integer literal.
Represents a 8-bit integer literal.
Represents an integer literal of undefined size.
Represents a float literal.
Represents a string literal.
Represents a time literal.
Represents a 16-bit unsigned integer literal.
Represents a 32-bit unsigned integer literal.
Represents a 64-bit unsigned integer literal.
Represents a 8-bit unsigned integer literal.
Abstract base class for semantic elements.
Set of semantic elements.
static ISemanticLiteral EncapsulateLiteral(object Value)
Encapsulates an object as a semantic literal.
static readonly SemanticElements Instance
Instance reference to the set of semantic elements.
static ISemanticElement Encapsulate(object Value)
Encapsulates an object as a semantic element.
Implements a semantic triple.
SemanticTriple()
Implements a semantic triple.
IElement Encapsulate(ChunkedList< IElement > Elements, ScriptNode Node)
Encapsulates a set of elements into a similar structure as that provided by the current element.
override bool Equals(object obj)
object Tag
Property used by processor, to tag information to an element.
SemanticTriple(ISemanticElement Subject, Uri Predicate, long Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, int Object)
Implements a semantic triple.
ISemanticElement Predicate
Predicate element
bool IsScalar
If the element represents a scalar value.
SemanticTriple(ISemanticElement Subject, Uri Predicate, DateTime Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, ushort Object)
Implements a semantic triple.
override int GetHashCode()
SemanticTriple(ISemanticElement Subject, Uri Predicate, decimal Object)
Implements a semantic triple.
object ElementValue
Underlying element value represented by the semantic element.
SemanticTriple(ISemanticElement Subject, Uri Predicate, double Object)
Implements a semantic triple.
IElement Encapsulate(ICollection< IElement > Elements, ScriptNode Node)
Encapsulates a set of elements into a similar structure as that provided by the current element.
virtual bool TryConvertTo(Type DesiredType, out object Value)
Converts the value to a .NET type.
SemanticTriple(ISemanticElement Subject, Uri Predicate, string Object)
Implements a semantic triple.
ISemanticElement Subject
Subject element
SemanticTriple(ISemanticElement Subject, Uri Predicate, uint Object)
Implements a semantic triple.
override string ToString()
object AssociatedObjectValue
Associated object value.
SemanticTriple(ISemanticElement Subject, ISemanticElement Predicate, ISemanticElement Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, Uri Object)
Implements a semantic triple.
ISemanticElement Object
Object element
SemanticTriple(ISemanticElement Subject, Uri Predicate, short Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, ISemanticElement Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, byte Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, object Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, Duration Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, bool Object)
Implements a semantic triple.
ISet AssociatedSet
Associated Set.
bool IsLiteral
If element is a literal.
int CompareTo(object obj)
Compares the current instance with another object of the same type and returns an integer that indica...
SemanticTriple(ISemanticElement Subject, Uri Predicate, sbyte Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, ulong Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, byte[] Object)
Implements a semantic triple.
ICollection< IElement > ChildElements
An enumeration of child elements. If the element is a scalar, this property will return null.
SemanticTriple(ISemanticElement Subject, Uri Predicate, float Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, BigInteger Object)
Implements a semantic triple.
SemanticTriple(ISemanticElement Subject, Uri Predicate, TimeSpan Object)
Implements a semantic triple.
A chunked list is a linked list of chunks of objects of type T .
Base class for all nodes in a parsed script tree.
Interface for semantic nodes.
bool IsLiteral
If element is a literal.
Interface for semantic triples.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
Basic interface for all types of sets.
Represents a duration value, as defined by the xsd:duration data type: http://www....