# Snapshot report for `src/parser/__tests__/parser-spec.js`

The actual snapshot is saved in `parser-spec.js.snap`.

Generated by [AVA](https://ava.li).

## compiles exports

> Snapshot 1

    {
      Type: 'Program',
      meta: {},
      params: [
        {
          Type: 'Export',
          meta: {},
          params: [
            {
              Type: 'ImmutableDeclaration',
              meta: {},
              params: [
                {
                  Type: 'Constant',
                  meta: {},
                  params: [],
                  range: [
                    {
                      col: 27,
                      line: 1,
                      sourceLine: 'export const answer: i32 = 42;',
                    },
                    {
                      col: 27,
                      line: 1,
                      sourceLine: 'export const answer: i32 = 42;',
                    },
                  ],
                  toString: Function toString {},
                  type: 'i32',
                  value: '42',
                },
              ],
              range: [
                {
                  col: 7,
                  line: 1,
                  sourceLine: 'export const answer: i32 = 42;',
                },
                {
                  col: 29,
                  line: 1,
                  sourceLine: 'export const answer: i32 = 42;',
                },
              ],
              toString: Function toString {},
              type: 'i32',
              value: 'answer',
            },
          ],
          range: [
            {
              col: 0,
              line: 1,
              sourceLine: 'export const answer: i32 = 42;',
            },
            {
              col: 29,
              line: 1,
              sourceLine: 'export const answer: i32 = 42;',
            },
          ],
          toString: Function toString {},
          type: null,
          value: 'export',
        },
      ],
      range: [
        {
          col: 0,
          line: 1,
          sourceLine: 'export const answer: i32 = 42;',
        },
        {
          col: 0,
          line: 1,
          sourceLine: 'export const answer: i32 = 42;',
        },
      ],
      toString: Function toString {},
      type: null,
      value: 'ROOT_NODE',
    }

## compiles globals

> Snapshot 1

    {
      Type: 'Program',
      meta: {},
      params: [
        {
          Type: 'ImmutableDeclaration',
          meta: {},
          params: [
            {
              Type: 'Constant',
              meta: {},
              params: [],
              range: [
                {
                  col: 20,
                  line: 1,
                  sourceLine: 'const answer: i32 = 42;',
                },
                {
                  col: 20,
                  line: 1,
                  sourceLine: 'const answer: i32 = 42;',
                },
              ],
              toString: Function toString {},
              type: 'i32',
              value: '42',
            },
          ],
          range: [
            {
              col: 0,
              line: 1,
              sourceLine: 'const answer: i32 = 42;',
            },
            {
              col: 22,
              line: 1,
              sourceLine: 'const answer: i32 = 42;',
            },
          ],
          toString: Function toString {},
          type: 'i32',
          value: 'answer',
        },
      ],
      range: [
        {
          col: 0,
          line: 1,
          sourceLine: 'const answer: i32 = 42;',
        },
        {
          col: 0,
          line: 1,
          sourceLine: 'const answer: i32 = 42;',
        },
      ],
      toString: Function toString {},
      type: null,
      value: 'ROOT_NODE',
    }

## the most basic of modules in wasm

> Snapshot 1

    {
      Type: 'Program',
      meta: {},
      params: [],
      range: [
        undefined,
        undefined,
      ],
      toString: Function toString {},
      type: null,
      value: 'ROOT_NODE',
    }
