public override void CaseAIntConstExp(AIntConstExp node)
 {
     if (folding)
         value = int.Parse(node.GetIntegerLiteral().Text);
 }
 public override void OutAIntConstExp(AIntConstExp node)
 {
     value = int.Parse(node.GetIntegerLiteral().Text);
     base.OutAIntConstExp(node);
 }
 public override void CaseAIntConstExp(AIntConstExp node)
 {
     InAIntConstExp(node);
     if (node.GetIntegerLiteral() != null)
     {
         node.GetIntegerLiteral().Apply(this);
     }
     OutAIntConstExp(node);
 }
 public override void OutAIntConstExp(AIntConstExp node)
 {
     int i = int.Parse(node.GetIntegerLiteral().Text);
     data.ExpTypes[node] = new ANamedType(new TIdentifier(i < 256 && i >= 0 ? "byte" : "int"), null);
     base.OutAIntConstExp(node);
 }
 public override void CaseAIntConstExp(AIntConstExp node)
 {
     Write(node.GetIntegerLiteral().Text);
 }
 public override void OutAIntConstExp(AIntConstExp node)
 {
     if (foldIntegerConstants)
     {
         integerConstant = int.Parse(node.GetIntegerLiteral().Text);
     }
 }
 public override void CaseAIntConstExp(AIntConstExp node)
 {
     Value += node.GetIntegerLiteral().Text;
 }