예제 #1
0
 public virtual void CaseAParenthetical(AParenthetical node)
 {
     DefaultCase(node);
 }
예제 #2
0
 public virtual void OutAParenthetical(AParenthetical node)
 {
     DefaultOut(node);
 }
예제 #3
0
 public override void CaseAParenthetical(AParenthetical node)
 {
     InAParenthetical(node);
     if(node.GetOperatorClosingParenthesis() != null)
     {
     node.GetOperatorClosingParenthesis().Apply(this);
     }
     if(node.GetNewline() != null)
     {
     node.GetNewline().Apply(this);
     }
     if(node.GetExpression() != null)
     {
     node.GetExpression().Apply(this);
     }
     if(node.GetOperatorOpeningParenthesis() != null)
     {
     node.GetOperatorOpeningParenthesis().Apply(this);
     }
     OutAParenthetical(node);
 }
예제 #4
0
 public virtual void InAParenthetical(AParenthetical node)
 {
     DefaultIn(node);
 }
예제 #5
0
 ArrayList New125()
 {
     ArrayList nodeList = new ArrayList();
     ArrayList nodeArrayList4 = (ArrayList) Pop();
     ArrayList nodeArrayList3 = (ArrayList) Pop();
     ArrayList nodeArrayList2 = (ArrayList) Pop();
     ArrayList nodeArrayList1 = (ArrayList) Pop();
     TOperatorOpeningParenthesis toperatoropeningparenthesisNode2 = (TOperatorOpeningParenthesis)nodeArrayList1[0];
     PExpression pexpressionNode3 = (PExpression)nodeArrayList2[0];
     TNewline tnewlineNode4 = (TNewline)nodeArrayList3[0];
     TOperatorClosingParenthesis toperatorclosingparenthesisNode5 = (TOperatorClosingParenthesis)nodeArrayList4[0];
     AParenthetical pparentheticalNode1 = new AParenthetical (
       toperatoropeningparenthesisNode2,
       pexpressionNode3,
       tnewlineNode4,
       toperatorclosingparenthesisNode5
     );
     nodeList.Add(pparentheticalNode1);
     return nodeList;
 }