2using System.Collections.Generic;
37 get {
return new string[] {
"ceil" }; }
74 if (Math.Truncate(d) != d)
77 else if (Obj is Complex z)
80 if (Math.Truncate(d) != d)
84 if (Math.Truncate(d) != d)
Class managing a script expression.
override PatternMatchResult PatternMatch(IElement CheckAgainst, Dictionary< string, IElement > AlreadyFound)
Performs a pattern match operation.
override string FunctionName
Name of the function
override string[] Aliases
Optional aliases. If there are no aliases for the function, null is returned.
Ceiling(ScriptNode Argument, int Start, int Length, Expression Expression)
Ceiling(x)
override IElement EvaluateScalar(double Argument, Variables Variables)
Evaluates the function on a scalar argument.
override IElement EvaluateScalar(Complex Argument, Variables Variables)
Evaluates the function on a scalar argument.
Base class for funcions of one scalar variable.
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
int Length
Length of expression covered by node.
virtual PatternMatchResult PatternMatch(IElement CheckAgainst, Dictionary< string, IElement > AlreadyFound)
Performs a pattern match operation.
int Start
Start position in script expression.
Basic interface for all types of elements.
object AssociatedObjectValue
Associated object value.
PatternMatchResult
Status result of a pattern matching operation.