예제 #1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        #region IAcceptOperandVisitor Members

        void IAcceptOperandVisitor.AcceptVisitor(OperandVisitorBase visitor)
        {
            if (m_Method == null)               // the statements belong to host method until the anonymous method is created
            {
                visitor.VisitStatementBlock(m_Statements);
            }
        }
예제 #2
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        #region IAcceptOperandVisitor Members

        void IAcceptOperandVisitor.AcceptVisitor(OperandVisitorBase visitor)
        {
            visitor.VisitOperand(ref m_Target);
            visitor.VisitOperandArray(m_IndexArguments);
            visitor.VisitOperand(ref m_Value);
        }
예제 #3
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        #region IAcceptOperandVisitor Members

        void IAcceptOperandVisitor.AcceptVisitor(OperandVisitorBase visitor)
        {
            visitor.VisitOperand(ref m_Array);
            visitor.VisitOperand(ref m_Index);
        }
예제 #4
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        void IAcceptOperandVisitor.AcceptVisitor(OperandVisitorBase visitor)
        {
            visitor.VisitOperand(ref m_Target);
        }