// Identify self public override void Identify(ref string szData) { szData += "<Program>"; m_pDeclarations.Identify(ref szData); m_pStmtList.Identify(ref szData); szData += "</Program>"; }
// Identify self public override void Identify(ref string szData) { szData += "<"; szData += "CompoundStatement"; szData += ">"; if (m_pStmtList != null) { m_pStmtList.Identify(ref szData); } szData += "</"; szData += "CompoundStatement"; szData += ">"; }
// Identify self public override void Identify(ref string szData) { if (m_bIsDefaultCase) { szData += "<"; szData += "DEFAULT"; szData += ">"; } else { szData += "<"; szData += "CASEStatement"; szData += ">"; } if (m_pExpression != null) { m_pExpression.Identify(ref szData); } if (m_pStatementList != null) { m_pStatementList.Identify(ref szData); } if (m_bIsDefaultCase) { szData += "</"; szData += "DEFAULT"; szData += ">"; } else { szData += "</"; szData += "CASEStatement"; szData += ">"; } }