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(); }
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 ) ); }
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 ); }
public override void Execute( Command command, Thread thread, Scope scope ) { thread.EnterBlock( command.InnerBlock ); }