InvokeBreak() private method

private InvokeBreak ( CodeObject bre ) : void
bre Scorpio.CodeDom.CodeObject
return void
示例#1
0
 private void InvokeBreak(CodeObject bre)
 {
     m_Break = true;
     if (!SupportBreak())
     {
         if (m_parent == null)
         {
             throw new ExecutionException(m_script, "当前模块不支持break语法");
         }
         m_parent.InvokeBreak(bre);
     }
 }
示例#2
0
 private void InvokeBreak(CodeObject bre)
 {
     m_Break = true;
     if (!SupportBreak())
     {
         if (m_parent == null)
         {
             throw new ExecutionException("this block is not support break");
         }
         m_parent.InvokeBreak(bre);
     }
 }