public Template(TemplateOperator op, Template left, Template right) { this.op = op; this.left = left; this.right = right; this.value = 0; }
/* * public Template(string templateString) * { * this.op = TemplateOperator.None; * this.value = 1; * this.left = null; * this.right = null; * }*/ /* * public Template(TemplateOperator op) * { * this.op = op; * this.value = 0; * this.left = null; * this.right = null; * } */ public Template(int v) { Debug.Assert(v > 0); this.op = TemplateOperator.None; this.value = v; this.left = null; this.right = null; }
/* public Template(string templateString) { this.op = TemplateOperator.None; this.value = 1; this.left = null; this.right = null; }*/ /* public Template(TemplateOperator op) { this.op = op; this.value = 0; this.left = null; this.right = null; } */ public Template(int v) { Debug.Assert(v > 0); this.op = TemplateOperator.None; this.value = v; this.left = null; this.right = null; }
public TemplateCondition(string left, TemplateOperator oprt, string right) { this.Left = left; this.Oprt = oprt; this.Right = right.Replace("\\_", " "); }