IPrimitive<T> Interface
Expression component which contains child expression components of type T.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
public interface IPrimitive<T> : IPrimitive
where T : IPrimitive
Public Interface IPrimitive(Of T As IPrimitive)
Inherits IPrimitive
generic<typename T>
where T : IPrimitive
public interface class IPrimitive : IPrimitive
type IPrimitive<'T when 'T : IPrimitive> =
interface
interface IPrimitive
end
- Implements
- IPrimitive
Type Parameters
- T
- Type of the child expression component.
ArgsCount |
Number of children of the expression component. Can get values:
- "0" - for the Operand;
- "1" - for the Bracket;
- "1" or "2" - for the Operator;
- More then "1" or equal - for the Function.
(Inherited from IPrimitive) |
Items |
Child items of the expression component.
|
Text |
Text value of the expression component.
(Inherited from IPrimitive) |
Type |
Type of the expression component.
(Inherited from IPrimitive) |
ToRevertedList |
Retrieves the list of primitives in reverse order. It is guaranteed that recursion is not used.
This method may be a bit slower than ToTermsList() and the resulting list has reverted order of items
but it does not use recursion which prevents from StackOverflowException.
This method is strongly recommended for complex expressions.
|
ToTermsList |
Converts the expression component to a list of terms in straight order.
|