Esempio n. 1
0
 public override void CaseAHexConstExp(AHexConstExp node)
 {
     int i = Convert.ToInt32(node.GetHexLiteral().Text.Substring(2), 16);
     AIntConstExp intConst = new AIntConstExp(new TIntegerLiteral(i.ToString(), node.GetHexLiteral().Line, node.GetHexLiteral().Pos));
     node.ReplaceBy(intConst);
     intConst.Apply(this);
 }