@quenk/wml 2.11.4 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -250,11 +250,12 @@ export declare class Node {
250
250
  }
251
251
  export declare class Widget {
252
252
  open: Constructor;
253
+ typeArgs: Type[];
253
254
  attributes: Attribute[];
254
255
  children: Child[];
255
256
  close: Constructor;
256
257
  type: string;
257
- constructor(open: Constructor, attributes: Attribute[], children: Child[], close: Constructor);
258
+ constructor(open: Constructor, typeArgs: Type[], attributes: Attribute[], children: Child[], close: Constructor);
258
259
  }
259
260
  export declare class Attribute {
260
261
  namespace: UnqualifiedIdentifier;
@@ -330,7 +331,7 @@ export declare class Characters {
330
331
  type: string;
331
332
  constructor(value: string, location: Location);
332
333
  }
333
- export declare type Expression = IfThenExpression | BinaryExpression | UnaryExpression | TypeAssertion | ViewConstruction | FunApplication | ConstructExpression | CallExpression | MemberExpression | ReadExpression | FunctionExpression | Literal | ContextProperty | Constructor | Identifier | ContextVariable;
334
+ export declare type Expression = IfThenExpression | BinaryExpression | UnaryExpression | ViewConstruction | FunApplication | ConstructExpression | CallExpression | MemberExpression | ReadExpression | FunctionExpression | Literal | ContextProperty | Constructor | Identifier | ContextVariable;
334
335
  export declare class IfThenExpression {
335
336
  condition: Expression;
336
337
  iftrue: Expression;
@@ -353,12 +354,6 @@ export declare class UnaryExpression {
353
354
  type: string;
354
355
  constructor(operator: string, expression: Expression);
355
356
  }
356
- export declare class TypeAssertion {
357
- target: Type;
358
- expression: Expression;
359
- type: string;
360
- constructor(target: Type, expression: Expression);
361
- }
362
357
  export declare class ViewConstruction {
363
358
  expression: Expression;
364
359
  location: Location;
@@ -375,10 +370,11 @@ export declare class FunApplication {
375
370
  }
376
371
  export declare class ConstructExpression {
377
372
  cons: Constructor;
373
+ typeArgs: Type[];
378
374
  args: Expression[];
379
375
  location: Location;
380
376
  type: string;
381
- constructor(cons: Constructor, args: Expression[], location: Location);
377
+ constructor(cons: Constructor, typeArgs: Type[], args: Expression[], location: Location);
382
378
  }
383
379
  export declare class CallExpression {
384
380
  target: Expression;
@@ -392,10 +388,10 @@ export declare class CallExpression {
392
388
  * MemberExpression
393
389
  */
394
390
  export declare class MemberExpression {
395
- target: Expression;
396
- member: UnqualifiedIdentifier | StringLiteral;
391
+ head: Expression;
392
+ tail: UnqualifiedIdentifier | UnqualifiedConstructor | StringLiteral;
397
393
  location: Location;
398
- constructor(target: Expression, member: UnqualifiedIdentifier | StringLiteral, location: Location);
394
+ constructor(head: Expression, tail: UnqualifiedIdentifier | UnqualifiedConstructor | StringLiteral, location: Location);
399
395
  }
400
396
  export declare class ReadExpression {
401
397
  target: Expression;