Comparing version 6.0.0-next.3.42 to 6.0.0-next.3.43
@@ -8,4 +8,3 @@ export { attrTag, attrTags } from "./common/attr-tag"; | ||
export { forIn, forInBy, forOf, forOfBy, forTo, forToBy } from "./html/for"; | ||
export { debug } from "./html/serializer"; | ||
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, setTagVar, tryContent, write, writeEffect, writeExistingScope, writeScope, writeTrailers, } from "./html/writer"; |
import type { Boundary } from "./writer"; | ||
export declare function debug(obj: WeakKey, file: string, loc: string | 0, vars?: Record<string, string>): WeakKey; | ||
export declare function setDebugInfo(obj: WeakKey, file: string, loc: string | 0, vars?: Record<string, string>): void; | ||
export declare class Serializer { | ||
@@ -4,0 +4,0 @@ #private; |
@@ -37,3 +37,4 @@ import { type $Global, type Accessor, type Falsy, ResumeSymbol } from "../common/types"; | ||
export declare function resumeSingleNodeConditional(cb: () => void | number, scopeId: number, accessor: Accessor, onlyChild?: 1): void; | ||
export declare function writeScope(scopeId: number, partialScope: PartialScope): ScopeInternals; | ||
declare let writeScope: (scopeId: number, partialScope: PartialScope) => ScopeInternals; | ||
export { writeScope }; | ||
export declare function writeExistingScope(scope: ScopeInternals): ScopeInternals; | ||
@@ -123,2 +124,1 @@ export declare function ensureScopeWithId(scopeId: number): PartialScope; | ||
export declare function offTick(cb: QueueCallback): void; | ||
export {}; |
@@ -70,2 +70,3 @@ import { types as t } from "@marko/compiler"; | ||
export declare function getScopeAccessorLiteral(binding: Binding): t.StringLiteral | t.NumericLiteral; | ||
export declare function getScopeAccessor(binding: Binding): string; | ||
export declare function getReadReplacement(node: t.Identifier | t.MemberExpression): t.Node | undefined; | ||
@@ -72,0 +73,0 @@ export interface ReferencedExtra extends t.NodeExtra { |
@@ -38,3 +38,3 @@ import { types as t } from "@marko/compiler"; | ||
export declare function setForceResumeScope(section: Section): void; | ||
export declare const getSerializedScopeProperties: (section: Section) => Map<t.StringLiteral | t.NumericLiteral, t.Expression>; | ||
export declare function setSerializedProperty(section: Section, key: string, value: t.Expression): void; | ||
export declare const getHTMLSectionStatements: (section: Section) => t.Statement[]; | ||
@@ -41,0 +41,0 @@ export declare function getSignal(section: Section, referencedBindings: ReferencedBindings, name?: string): Signal; |
import { types as t } from "@marko/compiler"; | ||
export declare function isValidPropertyIdentifier(name: string): boolean; | ||
export declare function toPropertyName(name: string): t.Identifier | t.StringLiteral | t.NumericLiteral; | ||
@@ -3,0 +4,0 @@ export declare function toObjectProperty(name: string, value: t.Expression): t.ObjectProperty; |
{ | ||
"name": "marko", | ||
"version": "6.0.0-next.3.42", | ||
"version": "6.0.0-next.3.43", | ||
"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
1109083
31650