示例#1
0
 public override void ToPrecedenceFreeEPL(
     TextWriter writer,
     ExprNodeRenderableFlags flags)
 {
     writer.Write("*/");
     ChildNodes[0].ToEPL(writer, ExprPrecedenceEnum.MINIMUM, flags);
 }
示例#2
0
 public override void ToEPL(
     TextWriter writer,
     ExprPrecedenceEnum parentPrecedence,
     ExprNodeRenderableFlags flags)
 {
     inner.ToEPL(writer, parentPrecedence, flags);
 }
示例#3
0
 public void ToEPL(
     TextWriter writer,
     ExprPrecedenceEnum parentPrecedence,
     ExprNodeRenderableFlags flags)
 {
     ProcToEPL(writer, parentPrecedence, flags);
 }
 public override void ToPrecedenceFreeEPL(
     TextWriter writer,
     ExprNodeRenderableFlags flags)
 {
     writer.Write("context.");
     writer.Write(PropertyName);
 }
 public override void ToPrecedenceFreeEPL(
     TextWriter writer,
     ExprNodeRenderableFlags flags)
 {
     writer.Write(StreamName);
     if (isWildcard) {
         writer.Write(".*");
     }
 }
示例#6
0
        public override void ToPrecedenceFreeEPL(
            TextWriter writer,
            ExprNodeRenderableFlags flags)
        {
            if (ChildNodes.Length != 0) {
                ChildNodes[0].ToEPL(writer, Precedence, flags);
                writer.Write(" ");
            }

            writer.Write(CronOperator.GetSyntax());
        }
示例#7
0
 public virtual void ToEPL(
     TextWriter writer,
     ExprPrecedenceEnum parentPrecedence,
     ExprNodeRenderableFlags flags)
 {
     if (Precedence.GetLevel() < parentPrecedence.GetLevel()) {
         writer.Write("(");
         ToPrecedenceFreeEPL(writer, flags);
         writer.Write(")");
     }
     else {
         ToPrecedenceFreeEPL(writer, flags);
     }
 }
示例#8
0
        public override void ToPrecedenceFreeEPL(
            TextWriter writer,
            ExprNodeRenderableFlags flags)
        {
            writer.Write(ParameterName);
            writer.Write(":");
            if (ChildNodes.Length > 1) {
                writer.Write("(");
            }

            ExprNodeUtilityPrint.ToExpressionStringParameterList(ChildNodes, writer);
            if (ChildNodes.Length > 1) {
                writer.Write(")");
            }
        }
示例#9
0
        public override void ToPrecedenceFreeEPL(
            TextWriter writer,
            ExprNodeRenderableFlags flags)
        {
            var delimiter = "";

            writer.Write('[');

            foreach (var expr in ChildNodes) {
                writer.Write(delimiter);
                expr.ToEPL(writer, ExprPrecedenceEnum.MINIMUM, flags);
                delimiter = ",";
            }

            writer.Write(']');
        }
示例#10
0
 public static String ToExpressionStringMinPrecedence(ExprNode expression, ExprNodeRenderableFlags flags) {
     var writer = new StringWriter();
     expression.ToEPL(writer, ExprPrecedenceEnum.MINIMUM, flags);
     return writer.ToString();
 }
示例#11
0
 public abstract void ToPrecedenceFreeEPL(
     TextWriter writer,
     ExprNodeRenderableFlags flags);
示例#12
0
 public override void ToPrecedenceFreeEPL(
     TextWriter writer,
     ExprNodeRenderableFlags flags)
 {
     writer.Write(returnTypeName);
 }
示例#13
0
 public void ToEPL(TextWriter writer,
     ExprPrecedenceEnum parentPrecedence,
     ExprNodeRenderableFlags flags)
 {
     writer.Write("underlying-stream-0");
 }
示例#14
0
 public override void ToPrecedenceFreeEPL(
     TextWriter writer,
     ExprNodeRenderableFlags flags)
 {
     ExprNodeUtilityPrint.ToExpressionStringWFunctionName("grouping_id", ChildNodes, writer);
 }
示例#15
0
 public override void ToPrecedenceFreeEPL(
     TextWriter writer,
     ExprNodeRenderableFlags flags)
 {
     writer.Write("current_evaluation_context()");
 }
示例#16
0
 public void ToEPL(TextWriter writer,
     ExprPrecedenceEnum parentPrecedence,
     ExprNodeRenderableFlags flags)
 {
     writer.Write(GetType().GetSimpleName());
 }
示例#17
0
 public override void ToPrecedenceFreeEPL(
     TextWriter writer,
     ExprNodeRenderableFlags flags)
 {
     inner.ToEPL(writer, ExprPrecedenceEnum.MINIMUM, flags);
 }