Esempio n. 1
0
 public ExpressionContext(JScriptBuilder builder, BlockStatement e)
     : this(builder)
 {
     _op = OperatorInfo.Block;
 }
Esempio n. 2
0
 public Completion ExecuteBlockStatement(BlockStatement blockStatement)
 {
     return ExecuteStatementList(blockStatement.Body);
 }
Esempio n. 3
0
        private void EmitBlockStatement(BlockStatement block)
        {
            EnterBlock();

            using (var ex = new ExpressionContext(this, block))
            {

                foreach (var s in block.Body)
                {
                    Emit(s);
                }
            }

            LeaveBlock();
        }