@orkestrel/guide 0.0.24 → 0.0.26

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.
@@ -538,7 +538,7 @@ export declare interface Drift {
538
538
  /**
539
539
  * Lists the compared sites a {@link Drift} can describe.
540
540
  */
541
- export declare const DRIFT_CATEGORIES: readonly ("summary" | "example")[];
541
+ export declare const DRIFT_CATEGORIES: readonly ("example" | "summary")[];
542
542
 
543
543
  /**
544
544
  * Represents the compared site one disagreement came from.
@@ -560,7 +560,7 @@ export declare type DriftCategory = (typeof DRIFT_CATEGORIES)[number];
560
560
  */
561
561
  export declare const driftShape: ObjectShape< {
562
562
  key: StringShape;
563
- category: LiteralShape<readonly ("summary" | "example")[]>;
563
+ category: LiteralShape<readonly ("example" | "summary")[]>;
564
564
  guide: OptionalShape<StringShape>;
565
565
  source: OptionalShape<StringShape>;
566
566
  }, false>;
@@ -596,7 +596,7 @@ export declare function escapeRegExp(value: string): string;
596
596
  * and refused by another. Comment and template payload is excluded before reflection, and `enum`
597
597
  * is outside this population rather than forbidden by general package policy.
598
598
  */
599
- export declare const EXPORT_KEYWORDS: readonly ("function" | "type" | "interface" | "const" | "class")[];
599
+ export declare const EXPORT_KEYWORDS: readonly ("class" | "const" | "function" | "interface" | "type")[];
600
600
 
601
601
  /**
602
602
  * Represents the declaration keyword a documented / exported symbol carries — the reflected
@@ -2704,6 +2704,41 @@ export declare interface SourceOptions {
2704
2704
  readonly module: GuideModule;
2705
2705
  }
2706
2706
 
2707
+ /** Represents one parenthesis frame in the source projector's lexical stack. */
2708
+ export declare interface SourceParenthesis {
2709
+ readonly role: string;
2710
+ readonly phase: string;
2711
+ readonly binding: boolean;
2712
+ readonly previous: SourceParenthesis | undefined;
2713
+ }
2714
+
2715
+ /** Represents the immutable continuation of a source-character projection. */
2716
+ export declare interface SourceProjection {
2717
+ readonly offset: number;
2718
+ readonly start: number;
2719
+ readonly token: number;
2720
+ readonly mode: string;
2721
+ readonly escaped: boolean;
2722
+ readonly regex: boolean;
2723
+ readonly operand: boolean;
2724
+ readonly member: boolean;
2725
+ readonly role: string | undefined;
2726
+ readonly restricted: string | undefined;
2727
+ readonly separated: boolean;
2728
+ readonly block: boolean;
2729
+ readonly line: boolean;
2730
+ readonly jsdoc: boolean;
2731
+ readonly present: boolean;
2732
+ readonly parentheses: SourceParenthesis | undefined;
2733
+ readonly templates: SourceTemplate | undefined;
2734
+ }
2735
+
2736
+ /** Represents one template frame in the source projector's lexical stack. */
2737
+ export declare interface SourceTemplate {
2738
+ readonly depth: number;
2739
+ readonly previous: SourceTemplate | undefined;
2740
+ }
2741
+
2707
2742
  /**
2708
2743
  * Splices `replacement` into `source` over the region `span` addresses, and returns the result.
2709
2744
  * The text before the region and the text after it travel byte for byte, so a rewrite that
@@ -2766,7 +2801,7 @@ export declare interface SurfaceSymbol {
2766
2801
  */
2767
2802
  export declare const surfaceSymbolShape: ObjectShape< {
2768
2803
  name: StringShape;
2769
- keyword: LiteralShape<readonly ("function" | "type" | "interface" | "const" | "class")[]>;
2804
+ keyword: LiteralShape<readonly ("class" | "const" | "function" | "interface" | "type")[]>;
2770
2805
  summary: OptionalShape<StringShape>;
2771
2806
  }, false>;
2772
2807
 
@@ -538,7 +538,7 @@ export declare interface Drift {
538
538
  /**
539
539
  * Lists the compared sites a {@link Drift} can describe.
540
540
  */
541
- export declare const DRIFT_CATEGORIES: readonly ("summary" | "example")[];
541
+ export declare const DRIFT_CATEGORIES: readonly ("example" | "summary")[];
542
542
 
543
543
  /**
544
544
  * Represents the compared site one disagreement came from.
@@ -560,7 +560,7 @@ export declare type DriftCategory = (typeof DRIFT_CATEGORIES)[number];
560
560
  */
561
561
  export declare const driftShape: ObjectShape< {
562
562
  key: StringShape;
563
- category: LiteralShape<readonly ("summary" | "example")[]>;
563
+ category: LiteralShape<readonly ("example" | "summary")[]>;
564
564
  guide: OptionalShape<StringShape>;
565
565
  source: OptionalShape<StringShape>;
566
566
  }, false>;
@@ -596,7 +596,7 @@ export declare function escapeRegExp(value: string): string;
596
596
  * and refused by another. Comment and template payload is excluded before reflection, and `enum`
597
597
  * is outside this population rather than forbidden by general package policy.
598
598
  */
599
- export declare const EXPORT_KEYWORDS: readonly ("function" | "type" | "interface" | "const" | "class")[];
599
+ export declare const EXPORT_KEYWORDS: readonly ("class" | "const" | "function" | "interface" | "type")[];
600
600
 
601
601
  /**
602
602
  * Represents the declaration keyword a documented / exported symbol carries — the reflected
@@ -2704,6 +2704,41 @@ export declare interface SourceOptions {
2704
2704
  readonly module: GuideModule;
2705
2705
  }
2706
2706
 
2707
+ /** Represents one parenthesis frame in the source projector's lexical stack. */
2708
+ export declare interface SourceParenthesis {
2709
+ readonly role: string;
2710
+ readonly phase: string;
2711
+ readonly binding: boolean;
2712
+ readonly previous: SourceParenthesis | undefined;
2713
+ }
2714
+
2715
+ /** Represents the immutable continuation of a source-character projection. */
2716
+ export declare interface SourceProjection {
2717
+ readonly offset: number;
2718
+ readonly start: number;
2719
+ readonly token: number;
2720
+ readonly mode: string;
2721
+ readonly escaped: boolean;
2722
+ readonly regex: boolean;
2723
+ readonly operand: boolean;
2724
+ readonly member: boolean;
2725
+ readonly role: string | undefined;
2726
+ readonly restricted: string | undefined;
2727
+ readonly separated: boolean;
2728
+ readonly block: boolean;
2729
+ readonly line: boolean;
2730
+ readonly jsdoc: boolean;
2731
+ readonly present: boolean;
2732
+ readonly parentheses: SourceParenthesis | undefined;
2733
+ readonly templates: SourceTemplate | undefined;
2734
+ }
2735
+
2736
+ /** Represents one template frame in the source projector's lexical stack. */
2737
+ export declare interface SourceTemplate {
2738
+ readonly depth: number;
2739
+ readonly previous: SourceTemplate | undefined;
2740
+ }
2741
+
2707
2742
  /**
2708
2743
  * Splices `replacement` into `source` over the region `span` addresses, and returns the result.
2709
2744
  * The text before the region and the text after it travel byte for byte, so a rewrite that
@@ -2766,7 +2801,7 @@ export declare interface SurfaceSymbol {
2766
2801
  */
2767
2802
  export declare const surfaceSymbolShape: ObjectShape< {
2768
2803
  name: StringShape;
2769
- keyword: LiteralShape<readonly ("function" | "type" | "interface" | "const" | "class")[]>;
2804
+ keyword: LiteralShape<readonly ("class" | "const" | "function" | "interface" | "type")[]>;
2770
2805
  summary: OptionalShape<StringShape>;
2771
2806
  }, false>;
2772
2807