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) { Value += node.GetHexLiteral().Text; }