Ejemplo n.º 1
0
 public override void ExitInnerBlock( Command command, Thread thread, Scope scope )
 {
     if ( new TLBit( command.ParamExpression.Evaluate( scope ) ).Value )
         thread.EnterBlock( command.InnerBlock );
     else
         thread.Advance();
 }
Ejemplo n.º 2
0
        public override void Execute( Command command, Thread thread, Scope scope )
        {
            TLSub sub = scope[ command.Identifier ] as TLSub;

            command.InnerBlock = sub.Block;
            thread.EnterBlock( command.InnerBlock, true, new Scope( sub.Scope ) );
        }
Ejemplo n.º 3
0
 public override void Execute( Command command, Thread thread, Scope scope )
 {
     command.InnerBlock = new Block( Command.Parse( File.ReadAllText( command.Identifier + ".tl" ) ) );
     thread.EnterBlock( command.InnerBlock, true );
 }
Ejemplo n.º 4
0
 public override void Execute( Command command, Thread thread, Scope scope )
 {
     thread.EnterBlock( command.InnerBlock );
 }