示例#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);
        }