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);
 }
 public override void CaseAHexConstExp(AHexConstExp node)
 {
     InAHexConstExp(node);
     if (node.GetHexLiteral() != null)
     {
         node.GetHexLiteral().Apply(this);
     }
     OutAHexConstExp(node);
 }
 public override void CaseAHexConstExp(AHexConstExp node)
 {
     Value += node.GetHexLiteral().Text;
 }