File tree Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Expand file tree Collapse file tree 4 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -1750,5 +1750,8 @@ export class FederatedApp extends App {
17501750 * port.
17511751 */
17521752export class RemoteFederatePort {
1753- constructor ( public federateID : number , public portID : number ) { }
1753+ constructor (
1754+ public federateID : number ,
1755+ public portID : number
1756+ ) { }
17541757}
Original file line number Diff line number Diff line change @@ -58,7 +58,10 @@ export abstract class MultiPort<T> extends Trigger implements MultiRead<T> {
5858 * @param container the reactor that will contain the new instance
5959 * @param width the number of channels of newly created instance
6060 */
61- constructor ( private readonly container : Reactor , width : number ) {
61+ constructor (
62+ private readonly container : Reactor ,
63+ width : number
64+ ) {
6265 super ( container ) ;
6366 this . _channels = new Array < IOPort < T > > ( width ) ;
6467 this . _width = width ;
Original file line number Diff line number Diff line change @@ -43,7 +43,10 @@ export class TimeValue {
4343 * @param seconds Number of seconds in the interval.
4444 * @param nanoseconds Remaining number of nanoseconds (defaults to zero).
4545 */
46- constructor ( protected seconds : number , protected nanoseconds : number = 0 ) {
46+ constructor (
47+ protected seconds : number ,
48+ protected nanoseconds : number = 0
49+ ) {
4750 if (
4851 ! Number . isInteger ( seconds ) ||
4952 ! Number . isInteger ( nanoseconds ) ||
@@ -361,7 +364,10 @@ export class Tag {
361364 * @param timeSinceEpoch Time elapsed since Epoch.
362365 * @param microstep Superdense time index.
363366 */
364- constructor ( timeSinceEpoch : TimeValue , readonly microstep : number = 0 ) {
367+ constructor (
368+ timeSinceEpoch : TimeValue ,
369+ readonly microstep : number = 0
370+ ) {
365371 if ( ! Number . isInteger ( microstep ) ) {
366372 throw new Error ( "Microstep must be integer." ) ;
367373 }
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ export class SingleEvent<T> extends Reactor {
2727
2828 t1 : Timer = new Timer ( this , 0 , 0 ) ;
2929
30- constructor ( parent : Reactor , private readonly payload : Parameter < T > ) {
30+ constructor (
31+ parent : Reactor ,
32+ private readonly payload : Parameter < T >
33+ ) {
3134 super ( parent ) ;
3235 this . addReaction (
3336 [ this . t1 ] ,
You can’t perform that action at this time.
0 commit comments