Lines Matching refs:Params
355 // Define a Params class to pass parameters.
357 class Params {
358 // Singleton mode. Ensure that there is only one Params instance.
359 static singleton_: Params;
361 // Method for obtaining the Params instance.
363 if (!Params.singleton_) {
364 Params.singleton_ = new Params(0);
366 return Params.singleton_;
381 // Use the Params instance as the storage attribute.
382 storage: Params = Params.instance();
396 // Define a buildText function that receives a Params parameter and constructs a Column component.
398 function buildText(params: Params) {
405 private textNode: BuilderNode<[Params]> | null = null;
417 this.textNode.build(wrapBuilder<[Params]>(buildText), new Params(this.index));
426 // Use the Params instance as the storage attribute.
427 storage: Params = Params.instance();
459 // Use the Params instance as the storage attribute.
460 storage: Params = Params.instance();