@barefootjs/go-template 0.17.1 → 0.18.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.
- package/dist/adapter/expr/url-builder.d.ts.map +1 -1
- package/dist/adapter/go-template-adapter.d.ts +134 -14
- package/dist/adapter/go-template-adapter.d.ts.map +1 -1
- package/dist/adapter/index.js +228 -82
- package/dist/adapter/lib/go-naming.d.ts +23 -0
- package/dist/adapter/lib/go-naming.d.ts.map +1 -1
- package/dist/adapter/type/type-codegen.d.ts +5 -1
- package/dist/adapter/type/type-codegen.d.ts.map +1 -1
- package/dist/adapter/value/parsed-literal-to-go.d.ts +13 -4
- package/dist/adapter/value/parsed-literal-to-go.d.ts.map +1 -1
- package/dist/build.js +228 -82
- package/dist/conformance-pins.d.ts +12 -0
- package/dist/conformance-pins.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +247 -82
- package/package.json +3 -3
- package/src/__tests__/go-template-adapter.test.ts +388 -145
- package/src/__tests__/lowering-plugin.test.ts +56 -0
- package/src/adapter/expr/url-builder.ts +14 -3
- package/src/adapter/go-template-adapter.ts +511 -109
- package/src/adapter/lib/go-naming.ts +29 -0
- package/src/adapter/type/type-codegen.ts +22 -3
- package/src/adapter/value/parsed-literal-to-go.ts +82 -9
- package/src/conformance-pins.ts +135 -0
- package/src/index.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url-builder.d.ts","sourceRoot":"","sources":["../../../src/adapter/expr/url-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAEL,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"url-builder.d.ts","sourceRoot":"","sources":["../../../src/adapter/expr/url-builder.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAEL,KAAK,UAAU,EAIhB,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAkDvD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,aAAa,EAClB,MAAM,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,UAAU,GACrB,MAAM,GAAG,IAAI,CAmBf"}
|
|
@@ -48,11 +48,36 @@ export declare class GoTemplateAdapter extends BaseAdapter implements ParsedExpr
|
|
|
48
48
|
* wrapper's synthetic scalar field) instead of `.`. Innermost last.
|
|
49
49
|
*/
|
|
50
50
|
private loopScalarItemStack;
|
|
51
|
+
/**
|
|
52
|
+
* Per-loop: true when the loop body IS a single component
|
|
53
|
+
* (`loop.childComponent`), i.e. the range iterates the `.{Name}s` wrapper
|
|
54
|
+
* slice and `.` inside the body is a wrapper struct that embeds the child's
|
|
55
|
+
* Props. False for a component merely nested inside an element item
|
|
56
|
+
* (`<li><Badge/></li>`, #2130), where `.` is the raw datum and the child's
|
|
57
|
+
* props live on the PARENT's once-per-slot instance (`$.{Name}SlotN`).
|
|
58
|
+
* Innermost last.
|
|
59
|
+
*/
|
|
60
|
+
private loopWrapperStack;
|
|
51
61
|
private loopVarRefCount;
|
|
52
62
|
/** Stack of destructure-param binding maps (binding name → Go accessor on the
|
|
53
|
-
* range var, e.g. `id` → `$__bf_item0.Id`, `rest` → `$__bf_item0
|
|
54
|
-
*
|
|
63
|
+
* range var, e.g. `id` → `$__bf_item0.Id`, `rest` → `$__bf_item0`, an
|
|
64
|
+
* array-rest → `(bf_slice $__bf_item0 1)`, a nested/index path →
|
|
65
|
+
* `(index $__bf_item0.Cells 0)`). Innermost last. Lets `.map(({ id, ...rest
|
|
66
|
+
* })` / `.map(([k, v]) =>` / nested-path destructure resolve instead of
|
|
67
|
+
* BF104 (#2087 Phase B — see `buildDestructureBindingMap`). */
|
|
55
68
|
private loopBindingStack;
|
|
69
|
+
/**
|
|
70
|
+
* Stack of object-rest exclude-key maps, parallel to `loopBindingStack`
|
|
71
|
+
* (same push/pop points, innermost last). Only object-rest bindings appear
|
|
72
|
+
* here — keyed by binding name, each entry carries the PARENT accessor
|
|
73
|
+
* (same value as `loopBindingStack`'s entry for that name) plus the sibling
|
|
74
|
+
* keys the destructure pattern already pulled out. `emitSpread` consults
|
|
75
|
+
* this for a `{...rest}` spread onto an intrinsic element, so the residual
|
|
76
|
+
* omits exactly the keys the pattern destructured — member reads
|
|
77
|
+
* (`rest.flag`) don't need it and keep resolving through `loopBindingStack`
|
|
78
|
+
* alone (#2087 Phase B).
|
|
79
|
+
*/
|
|
80
|
+
private loopRestExcludeStack;
|
|
56
81
|
/**
|
|
57
82
|
* Cross-component child shapes, keyed by child component name. Populated via
|
|
58
83
|
* `registerChildComponentShape` before the parent's `generateTypes`, so the
|
|
@@ -91,11 +116,23 @@ export declare class GoTemplateAdapter extends BaseAdapter implements ParsedExpr
|
|
|
91
116
|
private generateScriptRegistrations;
|
|
92
117
|
/**
|
|
93
118
|
* Register a child component's shape (see `childComponentShapes`). Call once
|
|
94
|
-
* per known child IR before the parent's `generateTypes`. Idempotent.
|
|
119
|
+
* per known child IR before the parent's `generateTypes`. Idempotent. Takes
|
|
120
|
+
* only the IR's `metadata` so orchestrators that never build the full IR
|
|
121
|
+
* (the CLI's cross-file shape pre-pass, #2131) can register from a bare
|
|
122
|
+
* analyzer pass — a full `ComponentIR` still satisfies it structurally.
|
|
95
123
|
*/
|
|
96
|
-
registerChildComponentShape(ir: ComponentIR): void;
|
|
124
|
+
registerChildComponentShape(ir: Pick<ComponentIR, 'metadata'>): void;
|
|
97
125
|
/** Go field name for a `useContext` consumer (the capitalized local binding). */
|
|
98
126
|
private contextFieldName;
|
|
127
|
+
/**
|
|
128
|
+
* True when `node` is (or is a member access rooted in) a `useContext`
|
|
129
|
+
* local with an object-shaped `createContext` default — see `member()`'s
|
|
130
|
+
* `bf_get` branch. Recurses through non-computed member chains: once a
|
|
131
|
+
* chain is rooted in a map, every further `.property` down the chain reads
|
|
132
|
+
* off an `interface{}` value with no static struct to fall back to, so it
|
|
133
|
+
* stays map-rooted for `bf_get` too.
|
|
134
|
+
*/
|
|
135
|
+
private isMapRootedContextChain;
|
|
99
136
|
/** Go type for a context-consumer field, from its `createContext` default's type. */
|
|
100
137
|
private contextConsumerGoType;
|
|
101
138
|
/** Go literal for a context-consumer's default value (the `createContext` arg). */
|
|
@@ -110,8 +147,12 @@ export declare class GoTemplateAdapter extends BaseAdapter implements ParsedExpr
|
|
|
110
147
|
* analyzer's structured properties (no definition-string parsing). Both the
|
|
111
148
|
* struct emitter and the object-literal baker consume it, so a baked literal
|
|
112
149
|
* can't name a field the struct lacks. A non-Go-identifier source key
|
|
113
|
-
* (`"data-
|
|
114
|
-
*
|
|
150
|
+
* (`"data-priority"`, a numeric key) still gets a field via
|
|
151
|
+
* `goFieldNameForKey`'s segment-splitting PascalCase (#2087 Phase B —
|
|
152
|
+
* `rest-destructure-object-spread-in-map`'s `'data-priority'` residual key
|
|
153
|
+
* needs a real field to bake into, or the whole literal defers to nil); a
|
|
154
|
+
* dedup guard drops a later key that sanitizes to a Go name already taken
|
|
155
|
+
* (rare, but two fields can't share one Go identifier).
|
|
115
156
|
*/
|
|
116
157
|
private structFieldsFor;
|
|
117
158
|
/**
|
|
@@ -214,10 +255,57 @@ export declare class GoTemplateAdapter extends BaseAdapter implements ParsedExpr
|
|
|
214
255
|
private collectStaticChildInstancesRecursive;
|
|
215
256
|
/**
|
|
216
257
|
* Extend the active provider-context map with one `<Ctx.Provider value>`. A
|
|
217
|
-
* string/number/boolean literal value is lowered to a Go literal
|
|
218
|
-
*
|
|
258
|
+
* string/number/boolean literal value is lowered to a Go literal. An
|
|
259
|
+
* OBJECT-LITERAL value (#2087's chart shape — `value={{ config: props.config
|
|
260
|
+
* ?? {} }}`) lowers to a `map[string]interface{}` Go expression via
|
|
261
|
+
* `providerObjectValueToGoMap` when every member is a supported shape; any
|
|
262
|
+
* other shape (including a partially-supported object literal) is skipped —
|
|
263
|
+
* the descendant consumer keeps its `createContext` default, unchanged from
|
|
264
|
+
* before this method understood objects at all.
|
|
219
265
|
*/
|
|
220
266
|
private extendProviderContext;
|
|
267
|
+
/**
|
|
268
|
+
* Lower a `<Ctx.Provider value={{ … }}>` object literal to a Go
|
|
269
|
+
* `map[string]interface{}{…}` expression, for binding into a static child's
|
|
270
|
+
* context-consumer field (`emitStaticChildInstances`). Keys keep their
|
|
271
|
+
* SOURCE (JS-cased) names — the consumer reads them back via `bf_get`
|
|
272
|
+
* (`member()`), which is case-tolerant (`getFieldValue`, bf.go), so casing
|
|
273
|
+
* doesn't have to match a capitalized Go field.
|
|
274
|
+
*
|
|
275
|
+
* Every member must lower through `lowerProviderMapMemberValue` for the
|
|
276
|
+
* WHOLE object to lower — a single unsupported member (a getter, a
|
|
277
|
+
* function, an expression outside the narrow surface below) fails the
|
|
278
|
+
* whole value and returns `null`, exactly like the pre-#2087 refusal (the
|
|
279
|
+
* consumer then keeps its `createContext` default).
|
|
280
|
+
*/
|
|
281
|
+
private providerObjectValueToGoMap;
|
|
282
|
+
/**
|
|
283
|
+
* Lower one member VALUE of a provider object literal to a Go expression.
|
|
284
|
+
* Supports:
|
|
285
|
+
* - a pure literal / nested literal array-or-object (same machinery
|
|
286
|
+
* `objectLiteralToGoMap` uses for an inline object passed to a child's
|
|
287
|
+
* optional object prop);
|
|
288
|
+
* - `props.<X> ?? {}` (#2087's exact chart shape) — an optional prop with
|
|
289
|
+
* an empty-object fallback. The referenced prop's OWN Go field is
|
|
290
|
+
* `interface{}` (a `Record<string, X>` type-alias prop never becomes a
|
|
291
|
+
* named Go struct — see `typeInfoToGo`'s `interface` case — so it can't
|
|
292
|
+
* be typed `map[string]interface{}` without risking an unrelated
|
|
293
|
+
* `ui/compat.lock.json` diff across every other `interface{}`-typed
|
|
294
|
+
* prop). Recovering the caller-supplied map goes through the runtime's
|
|
295
|
+
* `bf.AsMap` normalizer rather than a bare
|
|
296
|
+
* `.(map[string]interface{})` type assertion: an `interface{}` field
|
|
297
|
+
* can legally hold ANY string-keyed map kind — a Go handler modelling
|
|
298
|
+
* `Record<string, string>` naturally passes `map[string]string` — and
|
|
299
|
+
* the single-type assertion would silently drop those values (#2111
|
|
300
|
+
* review). `bf.AsMap` returns nil for nil / typed-nil / non-map
|
|
301
|
+
* values, so the emitted fallback still lands on a real, empty map,
|
|
302
|
+
* matching JS `??`'s "assign the real value when present, else `{}`"
|
|
303
|
+
* semantics.
|
|
304
|
+
* Anything else (a getter/callback member, an unresolvable expression)
|
|
305
|
+
* returns `null`, failing the WHOLE containing object (see
|
|
306
|
+
* `providerObjectValueToGoMap`).
|
|
307
|
+
*/
|
|
308
|
+
private lowerProviderMapMemberValue;
|
|
221
309
|
/**
|
|
222
310
|
* Convert a template literal's parsed parts into a `string`-typed Go
|
|
223
311
|
* expression in `NewXxxProps` scope (destructured prop refs → `in.FieldName`),
|
|
@@ -403,7 +491,9 @@ export declare class GoTemplateAdapter extends BaseAdapter implements ParsedExpr
|
|
|
403
491
|
kind: 'arrow';
|
|
404
492
|
}>, restArgs: ParsedExpr[], emit: (e: ParsedExpr) => string): string;
|
|
405
493
|
arrayMethod(method: ArrayMethod, object: ParsedExpr, args: ParsedExpr[], emit: (e: ParsedExpr) => string): string;
|
|
406
|
-
flatMethod(object: ParsedExpr, depth: FlatDepth
|
|
494
|
+
flatMethod(object: ParsedExpr, depth: FlatDepth | {
|
|
495
|
+
expr: ParsedExpr;
|
|
496
|
+
}, emit: (e: ParsedExpr) => string): string;
|
|
407
497
|
unsupported(raw: string, _reason: string): string;
|
|
408
498
|
/**
|
|
409
499
|
* Extract field name and negation from a simple predicate.
|
|
@@ -539,11 +629,43 @@ export declare class GoTemplateAdapter extends BaseAdapter implements ParsedExpr
|
|
|
539
629
|
private convertConditionToGo;
|
|
540
630
|
private renderConditionExpr;
|
|
541
631
|
/**
|
|
542
|
-
*
|
|
543
|
-
*
|
|
544
|
-
*
|
|
632
|
+
* Walk a destructure binding's structured `segments` path (#2087 Phase A) into
|
|
633
|
+
* a Go accessor over `base`. A `field` step appends `.<GoFieldName>` — dot
|
|
634
|
+
* access resolves against a struct field OR a map key (Go template's
|
|
635
|
+
* `evalField` supports both), and `goFieldNameForKey` produces a valid Go
|
|
636
|
+
* identifier regardless of whether the SOURCE key was one (`cells` → `Cells`,
|
|
637
|
+
* `data-priority` → `DataPriority`) — Go dot-syntax only requires the EMITTED
|
|
638
|
+
* name to be a legal identifier, not the original JS key. An `index` step
|
|
639
|
+
* has no dot-notation form, so it wraps in Go's `index` builtin
|
|
640
|
+
* (`(index <acc> N)`); the wrap also parenthesises the whole accessor so a
|
|
641
|
+
* following step or an outer composition (`len (...)`) can't swallow it as
|
|
642
|
+
* extra call arguments.
|
|
643
|
+
*/
|
|
644
|
+
private buildSegmentAccessor;
|
|
645
|
+
/**
|
|
646
|
+
* Map each destructure binding to its Go accessor on the range var (#2087
|
|
647
|
+
* Phase B — `isLowerableLoopDestructure` admits every shape below):
|
|
648
|
+
*
|
|
649
|
+
* - fixed binding (any depth): the FULL `segments` path over the range var
|
|
650
|
+
* (`id` → `$item.Id`, `head` in `cells: [head]` → `(index $item.Cells 0)`,
|
|
651
|
+
* `k` in `[k, v]` → `(index $item 0)`).
|
|
652
|
+
* - array-rest (`[first, ...tail]`): the PARENT `segments` prefix wrapped in
|
|
653
|
+
* `bf_slice` (`tail` → `(bf_slice $item 1)`) — this IS the binding's whole
|
|
654
|
+
* value, so it composes correctly both bare and under `.length` (`len
|
|
655
|
+
* (bf_slice $item 1)`, via the `member()` emitter's generic `len <obj>`
|
|
656
|
+
* arm).
|
|
657
|
+
* - object-rest (`{ id, ...rest }`): the bare PARENT accessor, so a member
|
|
658
|
+
* read (`rest.flag`) renders `$item.Flag` — the simplest lowering that
|
|
659
|
+
* keeps the already-green `rest-destructure-object-in-map` fixture byte-
|
|
660
|
+
* exact. A `{...rest}` SPREAD needs the residual (item minus the
|
|
661
|
+
* destructured siblings), which this map alone can't express; that case
|
|
662
|
+
* is tracked separately in the returned `restExcludes` map and consumed
|
|
663
|
+
* by `emitSpread`'s `bf_omit` lowering, not through this binding value.
|
|
545
664
|
*/
|
|
546
665
|
private buildDestructureBindingMap;
|
|
666
|
+
/** Innermost-first lookup mirroring `loopBindingStack`'s search in
|
|
667
|
+
* `identifier()`, but over the object-rest exclude-key side table. */
|
|
668
|
+
private lookupRestExclude;
|
|
547
669
|
renderLoop(loop: IRLoop): string;
|
|
548
670
|
/**
|
|
549
671
|
* Per-item `<!--bf-loop-i-->` / `<!--bf-loop-i:KEY-->` start marker emitted
|
|
@@ -552,8 +674,6 @@ export declare class GoTemplateAdapter extends BaseAdapter implements ParsedExpr
|
|
|
552
674
|
* `mapArrayAnchored` can hydrate items that render no element.
|
|
553
675
|
*/
|
|
554
676
|
private loopItemMarker;
|
|
555
|
-
/** Find the first component child in a list of nodes. */
|
|
556
|
-
private findChildComponent;
|
|
557
677
|
/**
|
|
558
678
|
* When `comp`'s JSX children contain template actions (nested components,
|
|
559
679
|
* dynamic text) — i.e. none of the static bake paths in
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"go-template-adapter.d.ts","sourceRoot":"","sources":["../../src/adapter/go-template-adapter.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAIpE,OAAO,KAAK,EACV,WAAW,EACX,MAAM,EACN,SAAS,EACT,MAAM,EACN,YAAY,EACZ,aAAa,EACb,MAAM,EAEN,WAAW,EACX,UAAU,EACV,MAAM,EAKN,aAAa,EAEb,UAAU,EACV,qBAAqB,EAGrB,SAAS,EACT,YAAY,EACZ,aAAa,EACb,UAAU,EACV,OAAO,EAEP,yBAAyB,
|
|
1
|
+
{"version":3,"file":"go-template-adapter.d.ts","sourceRoot":"","sources":["../../src/adapter/go-template-adapter.ts"],"names":[],"mappings":"AAAA,oEAAoE;AAIpE,OAAO,KAAK,EACV,WAAW,EACX,MAAM,EACN,SAAS,EACT,MAAM,EACN,YAAY,EACZ,aAAa,EACb,MAAM,EAEN,WAAW,EACX,UAAU,EACV,MAAM,EAKN,aAAa,EA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