void NumericConstant(ref ExpressionNode node) { string s = null; NumericConstantString(ref s); node = NumericConstantNode.Create(this, s); }
void Datum(ref ConstantNode node) { ExpressionNode enode = null; string s = null, signString = ""; if (la.kind == 7) { StringConstant(ref enode); node = enode as ConstantNode; } else if (la.kind == 1) { Get(); node = new StringConstantNode(t.val); } else if (StartOf(10)) { if (LaIsSign) { Expect(10); signString = t.val; } NumericConstantString(ref s); node = NumericConstantNode.Create(this, signString + s); } else { SynErr(71); } }
internal override void Visit(NumericConstantNode node) { }