public virtual void InAOctalConstExp(AOctalConstExp node)
 {
     DefaultIn(node);
 }
 public virtual void OutAOctalConstExp(AOctalConstExp node)
 {
     DefaultOut(node);
 }
 public override void CaseAOctalConstExp(AOctalConstExp node)
 {
     InAOctalConstExp(node);
     if (node.GetOctalLiteral() != null)
     {
         node.GetOctalLiteral().Apply(this);
     }
     OutAOctalConstExp(node);
 }
 public virtual void CaseAOctalConstExp(AOctalConstExp node)
 {
     DefaultCase(node);
 }
示例#5
0
 public override void CaseAOctalConstExp(AOctalConstExp node)
 {
     int i = Convert.ToInt32(node.GetOctalLiteral().Text.Substring(1), 8);
     AIntConstExp intConst = new AIntConstExp(new TIntegerLiteral(i.ToString(), node.GetOctalLiteral().Line, node.GetOctalLiteral().Pos));
     node.ReplaceBy(intConst);
     intConst.Apply(this);
 }
示例#6
0
 ArrayList New329()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TOctalLiteral toctalliteralNode2 = (TOctalLiteral)nodeArrayList1[0];
     AOctalConstExp pexpNode1 = new AOctalConstExp (
       toctalliteralNode2
     );
     nodeList.Add(pexpNode1);
     return nodeList;
 }
 public override void CaseAOctalConstExp(AOctalConstExp node)
 {
     Value += node.GetOctalLiteral().Text;
 }