예제 #1
0
 public virtual void InAOctalConstExp(AOctalConstExp node)
 {
     DefaultIn(node);
 }
예제 #2
0
 public virtual void OutAOctalConstExp(AOctalConstExp node)
 {
     DefaultOut(node);
 }
예제 #3
0
 public override void CaseAOctalConstExp(AOctalConstExp node)
 {
     InAOctalConstExp(node);
     if (node.GetOctalLiteral() != null)
     {
         node.GetOctalLiteral().Apply(this);
     }
     OutAOctalConstExp(node);
 }
예제 #4
0
 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;
 }