public MeasuredFunction() : base("measured", RequirementType.Measured) { Parameters.Add(new VariableDefinitionExpression("when")); Parameters.Add(new VariableDefinitionExpression("format")); DefaultParameters["when"] = AlwaysTrueFunction.CreateAlwaysTrueFunctionCall(); DefaultParameters["format"] = new StringConstantExpression("raw"); }
protected override ExpressionBase GenerateEmptyResult() { return(AlwaysTrueFunction.CreateAlwaysTrueFunctionCall()); }