Comparing version 6.0.0-next.3.32 to 6.0.0-next.3.33
@@ -10,2 +10,2 @@ export { attrTag, attrTags } from "./common/attr-tag"; | ||
export { createTemplate } from "./html/template"; | ||
export { $global, ensureScopeWithId, fork, getScopeById, markResumeNode, nextScopeId, nextTagId, nodeRef, peekNextScope, register, resumeClosestBranch, resumeConditional, resumeForIn, resumeForOf, resumeForTo, resumeSingleNodeConditional, resumeSingleNodeForIn, resumeSingleNodeForOf, resumeSingleNodeForTo, tryContent, write, writeEffect, writeExistingScope, writeScope, writeTrailers, } from "./html/writer"; | ||
export { $global, ensureScopeWithId, fork, getScopeById, markResumeNode, nextScopeId, nextTagId, nodeRef, peekNextScope, register, resumeClosestBranch, resumeConditional, resumeForIn, resumeForOf, resumeForTo, resumeSingleNodeConditional, resumeSingleNodeForIn, resumeSingleNodeForOf, resumeSingleNodeForTo, setTagVar, tryContent, write, writeEffect, writeExistingScope, writeScope, writeTrailers, } from "./html/writer"; |
@@ -7,3 +7,3 @@ import type { Accessor } from "../common/types"; | ||
} | ||
export declare function dynamicTagInput(scopeId: number, accessor: Accessor, tag: unknown | string | ServerRenderer | BodyContentObject, input: Record<string, unknown>, content?: () => void, tagVar?: unknown): undefined; | ||
export declare function dynamicTagInput(scopeId: number, accessor: Accessor, tag: unknown | string | ServerRenderer | BodyContentObject, input: Record<string, unknown>, content?: () => void): undefined; | ||
export declare function dynamicTagArgs(scopeId: number, accessor: Accessor, tag: unknown | string | ServerRenderer | BodyContentObject, args: unknown[]): undefined; | ||
@@ -10,0 +10,0 @@ declare let getDynamicRenderer: (value: any) => string | ServerRenderer | undefined; |
@@ -19,2 +19,3 @@ import { type $Global, type Accessor, type Falsy, ResumeSymbol } from "../common/types"; | ||
export declare function withContext(key: PropertyKey, value: unknown, cb: () => void): void; | ||
export declare function setTagVar(parentScopeId: number, childScope: PartialScope, registryId: string): void; | ||
export declare function register<T extends WeakKey>(val: T, id: string, scopeId?: number): T; | ||
@@ -21,0 +22,0 @@ export declare function nextTagId(): string; |
import { types as t } from "@marko/compiler"; | ||
import { type Tag } from "@marko/compiler/babel-utils"; | ||
declare const returnId: (section: import("../util/sections").Section) => t.Identifier | undefined; | ||
export { returnId }; | ||
declare const getSectionReturnValueIdentifier: (section: import("../util/sections").Section) => t.Identifier | undefined; | ||
export { getSectionReturnValueIdentifier }; | ||
declare const _default: Tag; | ||
export default _default; |
@@ -11,1 +11,4 @@ import type { types as t } from "@marko/compiler"; | ||
}>; | ||
export declare function isControlFlowTag(tag: t.NodePath): tag is t.NodePath<t.MarkoTag & { | ||
name: t.StringLiteral; | ||
}>; |
@@ -59,4 +59,4 @@ import { types as t } from "@marko/compiler"; | ||
export declare function addHTMLEffectCall(section: Section, referencedBindings?: ReferencedBindings): void; | ||
export declare function writeHTMLResumeStatements(path: t.NodePath<t.MarkoTagBody | t.Program>, tagVarIdentifier?: t.Identifier): void; | ||
export declare function writeHTMLResumeStatements(path: t.NodePath<t.MarkoTagBody | t.Program>): void; | ||
export declare function getSetup(section: Section): t.Identifier | undefined; | ||
export declare function replaceRegisteredFunctionNode(node: t.Node): t.CallExpression | t.ClassPrivateProperty | t.ClassProperty | t.VariableDeclaration | t.Identifier | t.ObjectProperty | undefined; |
{ | ||
"name": "marko", | ||
"version": "6.0.0-next.3.32", | ||
"version": "6.0.0-next.3.33", | ||
"description": "Optimized runtime for Marko templates.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
1109325
31583