@glimmer/wire-format

  • Version 0.88.1
  • Published
  • 35 kB
  • 2 dependencies
  • MIT license

Install

npm i @glimmer/wire-format
yarn add @glimmer/wire-format
pnpm add @glimmer/wire-format

Overview

Overview not available.

Index

Variables

variable SexpOpcodes

const SexpOpcodes: {
readonly Append: 1;
readonly TrustingAppend: 2;
readonly Comment: 3;
readonly Modifier: 4;
readonly StrictModifier: 5;
readonly Block: 6;
readonly StrictBlock: 7;
readonly Component: 8;
readonly OpenElement: 10;
readonly OpenElementWithSplat: 11;
readonly FlushElement: 12;
readonly CloseElement: 13;
readonly StaticAttr: 14;
readonly DynamicAttr: 15;
readonly ComponentAttr: 16;
readonly AttrSplat: 17;
readonly Yield: 18;
readonly DynamicArg: 20;
readonly StaticArg: 21;
readonly TrustingDynamicAttr: 22;
readonly TrustingComponentAttr: 23;
readonly StaticComponentAttr: 24;
readonly Debugger: 26;
readonly Undefined: 27;
readonly Call: 28;
readonly Concat: 29;
readonly GetSymbol: 30;
readonly GetLexicalSymbol: 32;
readonly GetStrictKeyword: 31;
readonly GetFreeAsComponentOrHelperHeadOrThisFallback: 34;
readonly GetFreeAsComponentOrHelperHead: 35;
readonly GetFreeAsHelperHeadOrThisFallback: 36;
readonly GetFreeAsDeprecatedHelperHeadOrThisFallback: 99;
readonly GetFreeAsHelperHead: 37;
readonly GetFreeAsModifierHead: 38;
readonly GetFreeAsComponentHead: 39;
readonly InElement: 40;
readonly If: 41;
readonly Each: 42;
readonly With: 43;
readonly Let: 44;
readonly WithDynamicVars: 45;
readonly InvokeComponent: 46;
readonly HasBlock: 48;
readonly HasBlockParams: 49;
readonly Curry: 50;
readonly Not: 51;
readonly IfInline: 52;
readonly GetDynamicVar: 53;
readonly Log: 54;
};

    variable VariableResolutionContext

    const VariableResolutionContext: {
    readonly Strict: 0;
    readonly AmbiguousAppend: 1;
    readonly AmbiguousAppendInvoke: 2;
    readonly AmbiguousInvoke: 3;
    readonly ResolveAsCallHead: 5;
    readonly ResolveAsModifierHead: 6;
    readonly ResolveAsComponentHead: 7;
    };

      variable WellKnownAttrNames

      const WellKnownAttrNames: {
      readonly class: 0;
      readonly id: 1;
      readonly value: 2;
      readonly name: 3;
      readonly type: 4;
      readonly style: 5;
      readonly href: 6;
      };

        variable WellKnownTagNames

        const WellKnownTagNames: {
        readonly div: 0;
        readonly span: 1;
        readonly p: 2;
        readonly a: 3;
        };

          Functions

          function getStringFromValue

          getStringFromValue: (expr: Expressions.StringValue) => string;

            function is

            is: <T>(variant: number) => (value: any) => value is T;

              function isArgument

              isArgument: (val: Statement) => val is Statements.Argument;

                function isAttribute

                isAttribute: (val: Statement) => val is Statements.Attribute;

                  function isFlushElement

                  isFlushElement: (value: any) => value is Statements.FlushElement;

                    function isGet

                    isGet: (value: any) => value is Expressions.GetSymbol;

                      function isHelper

                      isHelper: (expr: Expression) => expr is Expressions.Helper;

                        function isStringLiteral

                        isStringLiteral: (expr: Expression) => expr is Expressions.StringValue;

                          Type Aliases

                          type VariableResolutionContext

                          type resolution =
                          | AmbiguousAppendInvokeResolution
                          | AmbiguousAppendResolution
                          | AmbiguousInvokeResolution
                          | ResolveAsCallHeadResolution
                          | ResolveAsComponentHeadResolution
                          | ResolveAsModifierHeadResolution
                          | StrictResolution;

                            Package Files (1)

                            Dependencies (2)

                            Dev Dependencies (5)

                            Peer Dependencies (0)

                            No peer dependencies.

                            Badge

                            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@glimmer/wire-format.

                            • Markdown
                              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@glimmer/wire-format)
                            • HTML
                              <a href="https://www.jsdocs.io/package/@glimmer/wire-format"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>