예제 #1
0
 private void Init(EXPR pExpr)
 {
     if (pExpr == null)
     {
         m_pList    = null;
         m_pCurrent = null;
     }
     else if (pExpr.isLIST())
     {
         m_pList    = pExpr.asLIST();
         m_pCurrent = m_pList.GetOptionalElement();
     }
     else
     {
         m_pList    = null;
         m_pCurrent = pExpr;
     }
 }
예제 #2
0
 private void Init(EXPR pExpr)
 {
     if (pExpr == null)
     {
         _pList = null;
         _pCurrent = null;
     }
     else if (pExpr.isLIST())
     {
         _pList = pExpr.asLIST();
         _pCurrent = _pList.GetOptionalElement();
     }
     else
     {
         _pList = null;
         _pCurrent = pExpr;
     }
 }