public RangeExprNode() { IntNode defaultStep = new IntNode(); defaultStep.value = "1"; StepNode = defaultStep; stepoperator = ProtoCore.DSASM.RangeStepOperator.stepsize; }
void num(out Node node) { node = null; String localvalue = String.Empty; if (la.kind == 38) { 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(67); }