Script runtime exception.
Class managing a script expression.
ScriptNode RightOperand
Right operand.
ScriptNode LeftOperand
Left operand.
Base class for binary scalar operators.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
int Start
Start position in script expression.
PhysicalQuantity ToPhysicalQuantity()
Converts underlying object to a physical quantity.
double Magnitude
Magnitude
override IElement EvaluateScalar(IElement Operand1, IElement Operand2, Variables Variables)
Evaluates the operator on scalar operands.
CreateMeasurement(ScriptNode Operand1, ScriptNode Operand2, int Start, int Length, Expression Expression)
Creates a measurement.
static bool TryConvert(double From, Unit FromUnit, Unit ToUnit, out double To)
Tries to convert a magnitude in one unit to a magnitude in another.
static readonly Unit Empty
Empty unit.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
Interface for objects that can be represented as a physical quantity.