public RangeExprNode() { IntNode defaultStep = new IntNode(); defaultStep.value = "1"; StepNode = defaultStep; }
void Number(out Node node) { node = null; String localvalue = String.Empty; if (la.kind == 14) { Get(); localvalue = "-"; } if (la.kind == 2) { Get(); node = new IntNode() { value = localvalue + t.val }; } else if (la.kind == 3) { Get(); node = new DoubleNode() { value = localvalue + t.val }; } else SynErr(81); }