exports[`test attr-es2015.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 50,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var avatar = \'219b77f9d21de75e81851b6b886057c7\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 4,
        "line": 3,
      },
    },
    "type": "class",
    "val": "avatar-div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 15,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 88,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 16,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "style",
    "type": "attribute",
    "val": "\`background-image: url(https://www.gravatar.com/avatar/\${avatar})\`",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 89,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 88,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attr-es2015.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test attribute-invalid-expression.pug 1`] = `
Object {
  "code": "PUG:SYNTAX_ERROR",
  "column": 5,
  "line": 2,
  "msg": "Syntax Error: Unterminated string constant",
}
`;

exports[`test attrs.js.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var id = 5",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "function answer() { return 42; }",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 2,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/user/\' + id",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 23,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'button\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 37,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 2,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/user/\' + id",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 27,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'button\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 45,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "meta",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 6,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "key",
    "type": "attribute",
    "val": "\'answer\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 20,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "answer()",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 34,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 2,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "[\'class1\', \'class2\']",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 31,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 2,
        "line": 7,
      },
    },
    "type": "class",
    "val": "tag-class",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 12,
        "line": 7,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 13,
        "line": 7,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "[\'class1\', \'class2\']",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 41,
        "line": 7,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 2,
        "line": 9,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/user/\' + id",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 22,
        "line": 9,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'button\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 36,
        "line": 9,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 2,
        "line": 10,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/user/\' + id",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 26,
        "line": 10,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'button\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 44,
        "line": 10,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "tag",
    "val": "meta",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 5,
        "line": 11,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 6,
        "line": 11,
      },
    },
    "mustEscape": true,
    "name": "key",
    "type": "attribute",
    "val": "\'answer\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 19,
        "line": 11,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "answer()",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 33,
        "line": 11,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 2,
        "line": 12,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "[\'class1\', \'class2\']",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 31,
        "line": 12,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 2,
        "line": 13,
      },
    },
    "type": "class",
    "val": "tag-class",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 12,
        "line": 13,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 13,
        "line": 13,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "[\'class1\', \'class2\']",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 41,
        "line": 13,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 4,
        "line": 15,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 5,
        "line": 15,
      },
    },
    "mustEscape": true,
    "name": "id",
    "type": "attribute",
    "val": "id",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 10,
        "line": 15,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 11,
        "line": 15,
      },
    },
    "type": "&attributes",
    "val": "{foo: \'bar\'}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var bar = null",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 4,
        "line": 17,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 5,
        "line": 17,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "null",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 14,
        "line": 17,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 21,
        "line": 17,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 47,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 22,
        "line": 17,
      },
    },
    "type": "&attributes",
    "val": "{baz: \'baz\'}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.js.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test attrs.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/contact\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 18,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 20,
        "line": 1,
      },
    },
    "type": "text",
    "val": "contact",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/save\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 15,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 16,
        "line": 2,
      },
    },
    "type": "class",
    "val": "button",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 24,
        "line": 2,
      },
    },
    "type": "text",
    "val": "save",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 8,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "baz",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 16,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\'foo, bar, baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 24,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 29,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\'((foo))\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 18,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "(1) ? 1 : 0",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 35,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "select",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "option",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 9,
        "line": 7,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 10,
        "line": 7,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 23,
        "line": 7,
      },
    },
    "mustEscape": true,
    "name": "selected",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 31,
        "line": 7,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 33,
        "line": 7,
      },
    },
    "type": "text",
    "val": "Foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "option",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 9,
        "line": 8,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 10,
        "line": 8,
      },
    },
    "mustEscape": true,
    "name": "selected",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 20,
        "line": 8,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 31,
        "line": 8,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 33,
        "line": 8,
      },
    },
    "type": "text",
    "val": "Bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 9,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\"class:\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 15,
        "line": 9,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 6,
        "line": 10,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 7,
        "line": 10,
      },
    },
    "mustEscape": true,
    "name": "pattern",
    "type": "attribute",
    "val": "\'\\\\S+\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 21,
        "line": 10,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 12,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/contact\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 18,
        "line": 12,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 20,
        "line": 12,
      },
    },
    "type": "text",
    "val": "contact",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 13,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 13,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/save\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 15,
        "line": 13,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 16,
        "line": 13,
      },
    },
    "type": "class",
    "val": "button",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 24,
        "line": 13,
      },
    },
    "type": "text",
    "val": "save",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 14,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 14,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 7,
        "line": 14,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 11,
        "line": 14,
      },
    },
    "mustEscape": true,
    "name": "baz",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 14,
        "line": 14,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 15,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 15,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\'foo, bar, baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 23,
        "line": 15,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 28,
        "line": 15,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 16,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 16,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\'((foo))\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 17,
        "line": 16,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "(1) ? 1 : 0",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 34,
        "line": 16,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "tag",
    "val": "select",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 18,
      },
    },
    "type": "tag",
    "val": "option",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 9,
        "line": 18,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 10,
        "line": 18,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 22,
        "line": 18,
      },
    },
    "mustEscape": true,
    "name": "selected",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 30,
        "line": 18,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 32,
        "line": 18,
      },
    },
    "type": "text",
    "val": "Foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "option",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 9,
        "line": 19,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 10,
        "line": 19,
      },
    },
    "mustEscape": true,
    "name": "selected",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 19,
        "line": 19,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 30,
        "line": 19,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 32,
        "line": 19,
      },
    },
    "type": "text",
    "val": "Bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 20,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 20,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\"class:\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 15,
        "line": 20,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 6,
        "line": 21,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 7,
        "line": 21,
      },
    },
    "mustEscape": true,
    "name": "pattern",
    "type": "attribute",
    "val": "\'\\\\S+\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 21,
        "line": 21,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 22,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 22,
      },
    },
    "mustEscape": true,
    "name": "terse",
    "type": "attribute",
    "val": "\"true\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 17,
        "line": 22,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 23,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 23,
      },
    },
    "mustEscape": true,
    "name": "date",
    "type": "attribute",
    "val": "new Date(0)",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 21,
        "line": 23,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 25,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 25,
      },
    },
    "mustEscape": true,
    "name": "abc",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 26,
      },
    },
    "mustEscape": true,
    "name": "def",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 8,
        "line": 26,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 27,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 27,
      },
    },
    "mustEscape": true,
    "name": "abc",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 28,
      },
    },
    "mustEscape": true,
    "name": "def",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 8,
        "line": 28,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 29,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 29,
      },
    },
    "mustEscape": true,
    "name": "abc",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 30,
      },
    },
    "mustEscape": true,
    "name": "def",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 6,
        "line": 30,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 31,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 31,
      },
    },
    "mustEscape": true,
    "name": "abc",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 32,
      },
    },
    "mustEscape": true,
    "name": "def",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 7,
        "line": 32,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 33,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 33,
      },
    },
    "mustEscape": true,
    "name": "abc",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 34,
      },
    },
    "mustEscape": true,
    "name": "def",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 6,
        "line": 34,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 35,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 35,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 35,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 35,
      },
    },
    "mustEscape": true,
    "name": "abc",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 5,
        "line": 36,
      },
    },
    "mustEscape": true,
    "name": "def",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 8,
        "line": 36,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 38,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 38,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 38,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 38,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var attrs = {foo: \'bar\', bar: \'<baz>\'}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 4,
        "line": 40,
      },
    },
    "type": "&attributes",
    "val": "attrs",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 42,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 42,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 42,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 42,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 13,
        "line": 42,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "\"bar\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 24,
        "line": 42,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 43,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 43,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 2,
        "line": 43,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 3,
        "line": 43,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 13,
        "line": 43,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 24,
        "line": 43,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test attrs.unescaped.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text/x-template\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 30,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 6,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 7,
        "line": 2,
      },
    },
    "mustEscape": false,
    "name": "id",
    "type": "attribute",
    "val": "\'user-<%= user.id %>\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 32,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 8,
        "line": 3,
      },
    },
    "type": "text",
    "val": "<%= user.title %>",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 25,
        "line": 3,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 25,
        "line": 3,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs.unescaped.pug",
      "start": Object {
        "column": 25,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test attrs-data.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var user = { name: \'tobi\' }",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 4,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 5,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "data-user",
    "type": "attribute",
    "val": "user",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 19,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 4,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "data-items",
    "type": "attribute",
    "val": "[1,2,3]",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 23,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 4,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "data-username",
    "type": "attribute",
    "val": "\'tobi\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 25,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 4,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "data-escaped",
    "type": "attribute",
    "val": "{message: \"Let\'s rock!\"}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 42,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 4,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 60,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "data-ampersand",
    "type": "attribute",
    "val": "{message: \"a quote: &quot; this & that\"}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 61,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 60,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 4,
        "line": 7,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 5,
        "line": 7,
      },
    },
    "mustEscape": true,
    "name": "data-epoc",
    "type": "attribute",
    "val": "new Date(0)",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 26,
        "line": 7,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/attrs-data.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test basic.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 8,
        "line": 3,
      },
    },
    "type": "text",
    "val": "Title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/basic.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test blanks.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 6,
        "line": 4,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 6,
        "line": 6,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 6,
        "line": 8,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blanks.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test block-code.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "blockcode",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 2,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "list = [\"uno\", \"dos\", \"tres\",",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "text",
    "val": "        \"cuatro\", \"cinco\", \"seis\"];",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 38,
        "line": 3,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 70,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "comment",
    "val": " Without a block, the element is accepted and no code is generated",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "blockcode",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "code": "list",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "each",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "blockcode",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 4,
        "line": 7,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 5,
        "line": 8,
      },
    },
    "type": "text",
    "val": "string = item.charAt(0)",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 5,
        "line": 10,
      },
    },
    "type": "text",
    "val": "  .toUpperCase() +",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 5,
        "line": 11,
      },
    },
    "type": "text",
    "val": "item.slice(1);",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 19,
        "line": 11,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 5,
        "line": 12,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "string",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-code.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test block-expansion.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 5,
        "line": 2,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 7,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'#\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 17,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 19,
        "line": 2,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 7,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 8,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 9,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'#\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 17,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 19,
        "line": 3,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.pug",
      "start": Object {
        "column": 6,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test block-expansion.shorthands.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 5,
        "line": 2,
      },
    },
    "type": "class",
    "val": "list-item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 15,
        "line": 2,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 17,
        "line": 2,
      },
    },
    "type": "class",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 21,
        "line": 2,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 23,
        "line": 2,
      },
    },
    "type": "id",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 28,
        "line": 2,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 31,
        "line": 2,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/block-expansion.shorthands.pug",
      "start": Object {
        "column": 31,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test blockquote.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "figure",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "blockquote",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 123,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 7,
        "line": 3,
      },
    },
    "type": "text",
    "val": "Try to define yourself by what you do, and you&#8217;ll burnout every time. You are. That is enough. I rest in that.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "figcaption",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 47,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 14,
        "line": 4,
      },
    },
    "type": "text",
    "val": "from @thefray at 1:43pm on May 10",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 47,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 47,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 47,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blockquote.pug",
      "start": Object {
        "column": 47,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test blocks-in-blocks.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 48,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "./auxiliary/blocks-in-blocks-layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 6,
        "line": 4,
      },
    },
    "type": "text",
    "val": "Page 2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test blocks-in-if.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 49,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "comment",
    "val": " see https://github.com/pugjs/pug/issues/1589",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var ajax = true",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "if( ajax )",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "comment",
    "val": " return only contents if ajax requests",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 5,
        "line": 7,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "contents",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 9,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 11,
        "line": 8,
      },
    },
    "type": "text",
    "val": "ajax contents",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "else",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 5,
        "line": 11,
      },
    },
    "type": "comment",
    "val": " return all html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 5,
        "line": 12,
      },
    },
    "type": "doctype",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 5,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 9,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "indent",
    "val": 12,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 13,
        "line": 15,
      },
    },
    "type": "tag",
    "val": "meta",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 17,
        "line": 15,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 19,
        "line": 15,
      },
    },
    "mustEscape": true,
    "name": "charset",
    "type": "attribute",
    "val": "\'utf8\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 34,
        "line": 15,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 13,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 19,
        "line": 16,
      },
    },
    "type": "text",
    "val": "sample",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 13,
        "line": 17,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "indent",
    "val": 16,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 17,
        "line": 18,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "contents",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "indent",
    "val": 20,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 21,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 23,
        "line": 19,
      },
    },
    "type": "text",
    "val": "all contetns",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/blocks-in-if.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test case.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var friends = 1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "case",
    "val": "friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "when",
    "val": "0",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 15,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 17,
        "line": 5,
      },
    },
    "type": "text",
    "val": "you have no friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "type": "when",
    "val": "1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 13,
        "line": 6,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 15,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 17,
        "line": 6,
      },
    },
    "type": "text",
    "val": "you have a friend",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 7,
        "line": 7,
      },
    },
    "type": "default",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 14,
        "line": 7,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 16,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 18,
        "line": 7,
      },
    },
    "type": "text",
    "val": "you have ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 27,
        "line": 7,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 37,
        "line": 7,
      },
    },
    "type": "text",
    "val": " friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 5,
        "line": 8,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var friends = 0",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "case",
    "val": "friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 7,
        "line": 10,
      },
    },
    "type": "when",
    "val": "0",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 7,
        "line": 11,
      },
    },
    "type": "when",
    "val": "1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 9,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 11,
        "line": 12,
      },
    },
    "type": "text",
    "val": "you have very few friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 7,
        "line": 13,
      },
    },
    "type": "default",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 9,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 11,
        "line": 14,
      },
    },
    "type": "text",
    "val": "you have ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 20,
        "line": 14,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 30,
        "line": 14,
      },
    },
    "type": "text",
    "val": " friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 5,
        "line": 16,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var friend = \'Tim:G\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 5,
        "line": 17,
      },
    },
    "type": "case",
    "val": "friend",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 7,
        "line": 18,
      },
    },
    "type": "when",
    "val": "\'Tim:G\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 19,
        "line": 18,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 24,
        "line": 18,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 26,
        "line": 18,
      },
    },
    "type": "text",
    "val": "Friend is a string",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 7,
        "line": 19,
      },
    },
    "type": "when",
    "val": "{tim: \'g\'}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 22,
        "line": 19,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 24,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 26,
        "line": 19,
      },
    },
    "type": "text",
    "val": "Friend is an object",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test case-blocks.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var friends = 1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "case",
    "val": "friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "when",
    "val": "0",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 11,
        "line": 6,
      },
    },
    "type": "text",
    "val": "you have no friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 7,
        "line": 7,
      },
    },
    "type": "when",
    "val": "1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 9,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 11,
        "line": 8,
      },
    },
    "type": "text",
    "val": "you have a friend",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 7,
        "line": 9,
      },
    },
    "type": "default",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 9,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 11,
        "line": 10,
      },
    },
    "type": "text",
    "val": "you have ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 20,
        "line": 10,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 30,
        "line": 10,
      },
    },
    "type": "text",
    "val": " friends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 38,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 38,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 38,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 38,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/case-blocks.pug",
      "start": Object {
        "column": 38,
        "line": 10,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test case-with-invalid-expression.pug 1`] = `
Object {
  "code": "PUG:SYNTAX_ERROR",
  "column": 22,
  "line": 1,
  "msg": "Syntax Error: Unexpected token",
}
`;

exports[`test case-with-no-expression.pug 1`] = `
Object {
  "code": "PUG:NO_CASE_EXPRESSION",
  "column": 5,
  "line": 1,
  "msg": "missing expression for case",
}
`;

exports[`test classes.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 2,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "[\'foo\', \'bar\', \'baz\']",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 30,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 2,
        "line": 5,
      },
    },
    "type": "class",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 6,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 18,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 19,
        "line": 5,
      },
    },
    "type": "class",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 2,
        "line": 9,
      },
    },
    "type": "class",
    "val": "foo-bar_baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 2,
        "line": 11,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 3,
        "line": 11,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "{foo: true, bar: false, baz: true}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 43,
        "line": 11,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 2,
        "line": 13,
      },
    },
    "type": "class",
    "val": "-foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 2,
        "line": 14,
      },
    },
    "type": "class",
    "val": "3foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test classes-empty.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 2,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 11,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 2,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "null",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 13,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 2,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "undefined",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 18,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/classes-empty.pug",
      "start": Object {
        "column": 19,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test code.conditionals.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "if (true)",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "else",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "if (true) {",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 8,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "} else {",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 10,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "if",
    "val": "true",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 14,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 15,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 15,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 16,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 18,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 18,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "if",
    "val": "!(true)",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 21,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 21,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 23,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 23,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "if",
    "val": "\'nested\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 26,
      },
    },
    "type": "if",
    "val": "\'works\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 5,
        "line": 27,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 7,
        "line": 27,
      },
    },
    "type": "text",
    "val": "yay",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "comment",
    "val": " allow empty blocks",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 30,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 30,
      },
    },
    "type": "if",
    "val": "false",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 32,
      },
    },
    "type": "class",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "if",
    "val": "true",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 34,
      },
    },
    "type": "class",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 35,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 35,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "class",
    "val": "bing",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 38,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 38,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 38,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 38,
      },
    },
    "type": "if",
    "val": "false",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 39,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 39,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 39,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 39,
      },
    },
    "type": "class",
    "val": "bing",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "else-if",
    "val": "false",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 41,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 41,
      },
    },
    "type": "class",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 42,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 42,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 1,
        "line": 43,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 3,
        "line": 43,
      },
    },
    "type": "class",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 7,
        "line": 43,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.conditionals.pug",
      "start": Object {
        "column": 7,
        "line": 43,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test code.escape.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.escape.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.escape.pug",
      "start": Object {
        "column": 2,
        "line": 1,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "\'<script>\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.escape.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.escape.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.escape.pug",
      "start": Object {
        "column": 2,
        "line": 2,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "\'<script>\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.escape.pug",
      "start": Object {
        "column": 15,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test code.iteration.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var items = [1,2,3]",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "items.forEach(function(item){",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "})",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var items = [1,2,3]",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "items",
    "key": "i",
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "type": "each",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 5,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 7,
        "line": 13,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 8,
        "line": 13,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'item-\' + i",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 25,
        "line": 13,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 26,
        "line": 13,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "items",
    "key": "i",
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 3,
        "line": 16,
      },
    },
    "type": "each",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 5,
        "line": 17,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 7,
        "line": 17,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "items",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 3,
        "line": 20,
      },
    },
    "type": "each",
    "val": "$item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 5,
        "line": 21,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 7,
        "line": 21,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "$item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var nums = [1, 2, 3]",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var letters = [\'a\', \'b\', \'c\']",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "letters",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 3,
        "line": 27,
      },
    },
    "type": "each",
    "val": "l",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 28,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "code": "nums",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 5,
        "line": 28,
      },
    },
    "type": "each",
    "val": "n",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 7,
        "line": 29,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 10,
        "line": 29,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "n",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 14,
        "line": 29,
      },
    },
    "type": "text",
    "val": ": ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 16,
        "line": 29,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "l",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var count = 1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 66,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var counter = function() { return [count++, count++, count++] }",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "counter()",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 3,
        "line": 34,
      },
    },
    "type": "each",
    "val": "n",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 35,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 5,
        "line": 35,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 8,
        "line": 35,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "n",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.iteration.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test code.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 1,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "null",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 2,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "undefined",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 3,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "\'\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 4,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "0",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 5,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "false",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "null",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 11,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 7,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "undefined",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 16,
        "line": 7,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 8,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\'\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 9,
        "line": 8,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 9,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "0",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 8,
        "line": 9,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 2,
        "line": 10,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "false",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 12,
        "line": 10,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/code.pug",
      "start": Object {
        "column": 13,
        "line": 10,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test comments.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "comment",
    "val": " foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "comment",
    "val": " bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 6,
        "line": 5,
      },
    },
    "type": "text",
    "val": "one",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "comment",
    "val": " baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 6,
        "line": 7,
      },
    },
    "type": "text",
    "val": "two",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "comment",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "type": "text",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 11,
      },
    },
    "type": "text",
    "val": "  li foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "comment",
    "val": " block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 9,
        "line": 13,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 14,
      },
    },
    "type": "text",
    "val": "// inline follow",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 15,
      },
    },
    "type": "text",
    "val": "li three",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "comment",
    "val": " block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 9,
        "line": 17,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 18,
      },
    },
    "type": "text",
    "val": "// inline followed by tags",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 19,
      },
    },
    "type": "text",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 20,
      },
    },
    "type": "text",
    "val": "  li four",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "comment",
    "val": "if IE lt 9",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 13,
        "line": 22,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 23,
      },
    },
    "type": "text",
    "val": "// inline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 24,
      },
    },
    "type": "text",
    "val": "script(src=\'/lame.js\')",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 25,
      },
    },
    "type": "text",
    "val": "// end-inline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 3,
        "line": 27,
      },
    },
    "type": "text",
    "val": "five",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "class",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 6,
        "line": 29,
      },
    },
    "type": "text",
    "val": "// not a comment",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.pug",
      "start": Object {
        "column": 22,
        "line": 29,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test comments.source.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "comment",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 4,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "s/s.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "comment",
    "val": " test/cases/comments.source.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "comment",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 4,
        "line": 6,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "text",
    "val": "test/cases/comments.source.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "text",
    "val": "when",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "text",
    "val": "()",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments.source.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test comments-in-case.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "doctype",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 3,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 4,
        "line": 4,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var s = \'this\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 4,
        "line": 5,
      },
    },
    "type": "case",
    "val": "s",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 5,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 6,
        "line": 6,
      },
    },
    "type": "comment",
    "val": " Comment",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 6,
        "line": 7,
      },
    },
    "type": "when",
    "val": "\'this\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 7,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 8,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 10,
        "line": 8,
      },
    },
    "type": "text",
    "val": "It\'s this!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 6,
        "line": 9,
      },
    },
    "type": "when",
    "val": "\'that\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 7,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 10,
        "line": 10,
      },
    },
    "type": "text",
    "val": "It\'s that!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 20,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 20,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 20,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 20,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/comments-in-case.pug",
      "start": Object {
        "column": 20,
        "line": 10,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test default-with-expression.pug 1`] = `
Object {
  "code": "PUG:DEFAULT_WITH_EXPRESSION",
  "column": 8,
  "line": 1,
  "msg": "default should not have an expression",
}
`;

exports[`test doctype.custom.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.custom.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "doctype",
    "val": "custom stuff",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.custom.pug",
      "start": Object {
        "column": 21,
        "line": 1,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test doctype.default.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "doctype",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 8,
        "line": 4,
      },
    },
    "type": "text",
    "val": "Title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 13,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 13,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.default.pug",
      "start": Object {
        "column": 13,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test doctype.keyword.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.keyword.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "doctype",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/doctype.keyword.pug",
      "start": Object {
        "column": 13,
        "line": 1,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test each.else.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var users = []",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "users",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "each",
    "val": "user",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "user.name",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 8,
        "line": 8,
      },
    },
    "type": "text",
    "val": "no users!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 70,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var users = [{ name: \'tobi\', friends: [\'loki\'] }, { name: \'loki\' }]",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "if",
    "val": "users",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "code": "users",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 15,
      },
    },
    "type": "each",
    "val": "user",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 7,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 9,
        "line": 16,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "user.name",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 17,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 7,
        "line": 18,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 10,
        "line": 18,
      },
    },
    "type": "text",
    "val": "no users!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var user = { name: \'tobi\', age: 10 }",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "user",
    "key": "key",
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 23,
      },
    },
    "type": "each",
    "val": "val",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 24,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 8,
        "line": 24,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "key",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 14,
        "line": 24,
      },
    },
    "type": "text",
    "val": ": ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 16,
        "line": 24,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "val",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 25,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 26,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 8,
        "line": 26,
      },
    },
    "type": "text",
    "val": "user has no details!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 28,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 28,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 28,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var user = {}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 30,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 30,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "user",
    "key": "key",
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 31,
      },
    },
    "type": "each",
    "val": "prop",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 32,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 8,
        "line": 32,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "key",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 14,
        "line": 32,
      },
    },
    "type": "text",
    "val": ": ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 16,
        "line": 32,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "val",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 33,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 34,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 8,
        "line": 34,
      },
    },
    "type": "text",
    "val": "user has no details!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var user = Object.create(null)",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 37,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 37,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 37,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 37,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "user.name = \'tobi\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 39,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 39,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 39,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 39,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "user",
    "key": "key",
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 40,
      },
    },
    "type": "each",
    "val": "val",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 41,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 41,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 8,
        "line": 41,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "key",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 14,
        "line": 41,
      },
    },
    "type": "text",
    "val": ": ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 16,
        "line": 41,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "val",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 42,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 3,
        "line": 42,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 43,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 5,
        "line": 43,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 8,
        "line": 43,
      },
    },
    "type": "text",
    "val": "user has no details!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/each.else.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test else-with-condition.pug 1`] = `
Object {
  "code": "PUG:ELSE_CONDITION",
  "column": 6,
  "line": 3,
  "msg": "\`else\` cannot have a condition, perhaps you meant \`else if\`",
}
`;

exports[`test escape-chars.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-chars.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-chars.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-chars.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-chars.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "var re = /\\d+/;",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-chars.pug",
      "start": Object {
        "column": 18,
        "line": 2,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-chars.pug",
      "start": Object {
        "column": 18,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test escape-test.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "doctype",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 9,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 15,
        "line": 4,
      },
    },
    "type": "text",
    "val": "escape-test",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "textarea",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 12,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 108,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 13,
        "line": 7,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var txt = \'<param name=\"flashvars\" value=\"a=&quot;value_a&quot;&b=&quot;value_b&quot;&c=3\"/>\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 15,
        "line": 8,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "txt",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escape-test.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test escaping-class-attribute.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 4,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 5,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "attr",
    "type": "attribute",
    "val": "\"<%= bar %>\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 22,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 4,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 5,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\"<%= bar %>\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 23,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 4,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "mustEscape": false,
    "name": "attr",
    "type": "attribute",
    "val": "\"<%= bar %>\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 23,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 4,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "mustEscape": false,
    "name": "class",
    "type": "attribute",
    "val": "\"<%= bar %>\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 24,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 4,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "mustEscape": false,
    "name": "class",
    "type": "attribute",
    "val": "\"<%= bar %> lol rofl\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 33,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 4,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "mustEscape": false,
    "name": "class",
    "type": "attribute",
    "val": "\"<%= bar %> lol rofl <%= lmao %>\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 45,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/escaping-class-attribute.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test extends-no-path.pug 1`] = `
Object {
  "code": "PUG:NO_EXTENDS_PATH",
  "column": 8,
  "line": 1,
  "msg": "missing path for extends",
}
`;

exports[`test filter-in-include.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filter-in-include.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filter-in-include.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "./auxiliary/filter-in-include.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filter-in-include.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filter-in-include.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.coffeescript.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text/javascript\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 30,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "filter",
    "val": "coffee-script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 17,
        "line": 2,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "text",
    "val": "regexp = /\\n/",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 18,
        "line": 3,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "filter",
    "val": "coffee-script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 17,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 18,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "minify",
    "type": "attribute",
    "val": "true",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 29,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 30,
        "line": 4,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "text",
    "val": "math =",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "text",
    "val": "  square: (value) -> value * value",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 39,
        "line": 6,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 39,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.coffeescript.pug",
      "start": Object {
        "column": 39,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.custom.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "filter",
    "val": "custom",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 12,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "opt",
    "type": "attribute",
    "val": "\'val\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 23,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "num",
    "type": "attribute",
    "val": "2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 28,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 29,
        "line": 3,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "text",
    "val": "Line 1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "text",
    "val": "Line 2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 7,
        "line": 7,
      },
    },
    "type": "text",
    "val": "Line 4",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 13,
        "line": 7,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 13,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 13,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.custom.pug",
      "start": Object {
        "column": 13,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.include.custom.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "pre",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 14,
        "line": 4,
      },
    },
    "type": "filter",
    "val": "custom",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 21,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 22,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "opt",
    "type": "attribute",
    "val": "\'val\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 32,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "num",
    "type": "attribute",
    "val": "2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 37,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 65,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 39,
        "line": 4,
      },
    },
    "type": "path",
    "val": "filters.include.custom.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.custom.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.include.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 12,
        "line": 3,
      },
    },
    "type": "filter",
    "val": "markdown-it",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 25,
        "line": 3,
      },
    },
    "type": "path",
    "val": "some.md",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 14,
        "line": 5,
      },
    },
    "type": "filter",
    "val": "coffee-script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 28,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 29,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "minify",
    "type": "attribute",
    "val": "true",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 40,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 70,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 42,
        "line": 5,
      },
    },
    "type": "path",
    "val": "include-filter-coffee.coffee",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 7,
        "line": 7,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 14,
        "line": 7,
      },
    },
    "type": "filter",
    "val": "cdata",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 20,
        "line": 7,
      },
    },
    "type": "filter",
    "val": "coffee-script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 34,
        "line": 7,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 47,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 35,
        "line": 7,
      },
    },
    "mustEscape": true,
    "name": "minify",
    "type": "attribute",
    "val": "false",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 48,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 47,
        "line": 7,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 77,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 49,
        "line": 7,
      },
    },
    "type": "path",
    "val": "include-filter-coffee.coffee",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.include.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.inline.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.inline.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.inline.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "type": "text",
    "val": "before ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.inline.pug",
      "start": Object {
        "column": 10,
        "line": 1,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.inline.pug",
      "start": Object {
        "column": 12,
        "line": 1,
      },
    },
    "type": "filter",
    "val": "cdata",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.inline.pug",
      "start": Object {
        "column": 19,
        "line": 1,
      },
    },
    "type": "text",
    "val": "inside",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.inline.pug",
      "start": Object {
        "column": 25,
        "line": 1,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.inline.pug",
      "start": Object {
        "column": 26,
        "line": 1,
      },
    },
    "type": "text",
    "val": " after",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.inline.pug",
      "start": Object {
        "column": 32,
        "line": 1,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.less.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "style",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 10,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 11,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\"text/css\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 26,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "filter",
    "val": "less",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 12,
        "line": 4,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "text",
    "val": "@pad: 15px;",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "text",
    "val": "body {",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 9,
        "line": 7,
      },
    },
    "type": "text",
    "val": "  padding: @pad;",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 9,
        "line": 8,
      },
    },
    "type": "text",
    "val": "}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 10,
        "line": 8,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 10,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 10,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 10,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.less.pug",
      "start": Object {
        "column": 10,
        "line": 8,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.markdown.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "filter",
    "val": "markdown-it",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 17,
        "line": 3,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "text",
    "val": "This is _some_ awesome **markdown**",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "text",
    "val": "whoop.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.markdown.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.nested.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "filter",
    "val": "cdata",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "filter",
    "val": "uglify-js",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 19,
        "line": 2,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "text",
    "val": "(function() {",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "text",
    "val": "  console.log(\'test\')",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "text",
    "val": "})()",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "filter",
    "val": "cdata",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 9,
        "line": 7,
      },
    },
    "type": "filter",
    "val": "uglify-js",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 19,
        "line": 7,
      },
    },
    "type": "filter",
    "val": "coffee-script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 33,
        "line": 7,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 5,
        "line": 8,
      },
    },
    "type": "text",
    "val": "(->",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "text",
    "val": "  console.log \'test\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 5,
        "line": 10,
      },
    },
    "type": "text",
    "val": ")()",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.nested.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.stylus.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "style",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 10,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 11,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\"text/css\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 26,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "filter",
    "val": "stylus",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 14,
        "line": 4,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "text",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "text",
    "val": "  padding: 50px",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 24,
        "line": 6,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.stylus.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters.verbatim.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 1,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 2,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "filter",
    "val": "verbatim",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 12,
        "line": 3,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "text",
    "val": "filters are applied at compile time",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "text",
    "val": "with no #[b interpolation] at #{all}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 41,
        "line": 5,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 41,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 41,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters.verbatim.pug",
      "start": Object {
        "column": 41,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test filters-empty.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var users = [{ name: \'tobi\', age: 2 }]",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "fb:users",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "code": "users",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "each",
    "val": "user",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "fb:user",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 12,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "age",
    "type": "attribute",
    "val": "user.age",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 25,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "type": "filter",
    "val": "cdata",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/filters-empty.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test html.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var version = 1449104952939",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "text-html",
    "val": "<ul>",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "text-html",
    "val": "<li>foo</li>",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "text-html",
    "val": "<li>bar</li>",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "text-html",
    "val": "<li>baz</li>",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "text-html",
    "val": "</ul>",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "text-html",
    "val": "<!--build:js /js/app.min.js?v=",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 31,
        "line": 9,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "version",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 41,
        "line": 9,
      },
    },
    "type": "text-html",
    "val": "-->",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "text-html",
    "val": "<!--endbuild-->",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "type": "text",
    "val": "You can <em>embed</em> html as well.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 2,
        "line": 13,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 59,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 4,
        "line": 13,
      },
    },
    "type": "text-html",
    "val": "<strong>Even</strong> as the body of a block expansion.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test html5.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "doctype",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 6,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 7,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'checkbox\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 24,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "checked",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 31,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 6,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 7,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'checkbox\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 24,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "checked",
    "type": "attribute",
    "val": "true",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 36,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 6,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'checkbox\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 24,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "checked",
    "type": "attribute",
    "val": "false",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 37,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/html5.pug",
      "start": Object {
        "column": 38,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include.script.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "id",
    "val": "pet-template",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 20,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 21,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text/x-template\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 43,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 11,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/pet.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.script.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include.yield.nested.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/yield-nested.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "text",
    "val": "some content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "text",
    "val": "and some more",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include.yield.nested.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include-extends-from-root.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-from-root.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-from-root.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "/auxiliary/extends-from-root.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-from-root.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-from-root.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include-extends-of-common-template.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-of-common-template.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-of-common-template.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "auxiliary/extends-empty-block-1.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-of-common-template.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-of-common-template.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-of-common-template.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/extends-empty-block-2.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-of-common-template.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-of-common-template.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include-extends-relative.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-relative.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 48,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-relative.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "../cases/auxiliary/extends-relative.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-relative.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-extends-relative.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include-filter-no-path.pug 1`] = `
Object {
  "code": "PUG:NO_INCLUDE_PATH",
  "column": 12,
  "line": 1,
  "msg": "missing path for include",
}
`;

exports[`test include-filter-no-path-2.pug 1`] = `
Object {
  "code": "PUG:NO_INCLUDE_PATH",
  "column": 12,
  "line": 1,
  "msg": "missing path for include",
}
`;

exports[`test include-filter-no-space.pug 1`] = `
Object {
  "code": "PUG:UNEXPECTED_TEXT",
  "column": 14,
  "line": 1,
  "msg": "unexpected text \"foo.£\"",
}
`;

exports[`test include-no-path.pug 1`] = `
Object {
  "code": "PUG:NO_INCLUDE_PATH",
  "column": 8,
  "line": 1,
  "msg": "missing path for include",
}
`;

exports[`test include-only-text.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 15,
        "line": 4,
      },
    },
    "type": "path",
    "val": "include-only-text-body.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "em",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 12,
        "line": 5,
      },
    },
    "type": "text",
    "val": "hello world",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include-only-text-body.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text-body.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "type": "text",
    "val": "The message is \"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text-body.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text-body.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "yield",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text-body.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text-body.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "text",
    "val": "\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text-body.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-only-text-body.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include-with-text.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 11,
        "line": 2,
      },
    },
    "type": "path",
    "val": "include-with-text-head.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 11,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 12,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/caustic.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 29,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 11,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 12,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/app.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 25,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test include-with-text-head.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 10,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text/javascript\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 32,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 33,
        "line": 2,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 34,
        "line": 2,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "text",
    "val": "alert(\'hello world\');",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 26,
        "line": 3,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 26,
        "line": 3,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/include-with-text-head.pug",
      "start": Object {
        "column": 26,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test includes.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/mixins.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 11,
        "line": 7,
      },
    },
    "type": "path",
    "val": "auxiliary/smile.html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 11,
        "line": 8,
      },
    },
    "type": "path",
    "val": "auxiliary/escapes.html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 9,
        "line": 9,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 10,
        "line": 9,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\"text/javascript\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 32,
        "line": 9,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 5,
        "line": 10,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 12,
        "line": 10,
      },
    },
    "type": "filter",
    "val": "verbatim",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 22,
        "line": 10,
      },
    },
    "type": "path",
    "val": "auxiliary/includable.js",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test includes-with-ext-js.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "pre",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "code",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "path",
    "val": "javascript-new-lines.js",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/includes-with-ext-js.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inconsistent-indentation.pug 1`] = `
Object {
  "code": "PUG:INCONSISTENT_INDENTATION",
  "column": 1,
  "line": 4,
  "msg": "Inconsistent indentation. Expecting either 2 or 6 spaces/tabs.",
}
`;

exports[`test inheritance.alert-dialog.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/dialog.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 6,
        "line": 5,
      },
    },
    "type": "text",
    "val": "Alert!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "text",
    "val": "I\'m an alert!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.alert-dialog.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inheritance.defaults.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 13,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 14,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 29,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 14,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'keymaster.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 32,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 13,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 14,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'caustic.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 30,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 31,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 31,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 31,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.defaults.pug",
      "start": Object {
        "column": 31,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inheritance.extend.include.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/layout.include.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 10,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 25,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "h2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 6,
        "line": 8,
      },
    },
    "type": "text",
    "val": "Page",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "text",
    "val": "Some content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "window-content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "h2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 6,
        "line": 12,
      },
    },
    "type": "text",
    "val": "Awesome",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 3,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 5,
        "line": 13,
      },
    },
    "type": "text",
    "val": "Now we can extend included blocks!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.include.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inheritance.extend.mixins.block.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 52,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "type": "path",
    "val": "auxiliary/inheritance.extend.mixin.block.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "text",
    "val": "Hello World!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.block.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inheritance.extend.mixins.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "title",
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "mixin",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "if",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "args": "\"The meaning of life\"",
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "type": "call",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 5,
        "line": 11,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 7,
        "line": 11,
      },
    },
    "type": "text",
    "val": "Foo bar baz!",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.mixins.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inheritance.extend.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 10,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 25,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "h2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 6,
        "line": 8,
      },
    },
    "type": "text",
    "val": "Page",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "text",
    "val": "Some content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inheritance.extend.recursive.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 59,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "/auxiliary/inheritance.extend.recursive-parent.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "parent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "h4",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 8,
        "line": 4,
      },
    },
    "type": "text",
    "val": "child",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 13,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.recursive.pug",
      "start": Object {
        "column": 13,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inheritance.extend.whitespace.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 10,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 25,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "h2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 6,
        "line": 12,
      },
    },
    "type": "text",
    "val": "Page",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 3,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 5,
        "line": 13,
      },
    },
    "type": "text",
    "val": "Some content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.extend.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inheritance.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "auxiliary/layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 10,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 25,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "h2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 6,
        "line": 8,
      },
    },
    "type": "text",
    "val": "Page",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "text",
    "val": "Some content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inheritance.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inline-block-comment.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 15,
        "line": 1,
      },
    },
    "type": "comment",
    "val": " Main content goes here",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "mode": "append",
    "type": "block",
    "val": "content",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 16,
        "line": 2,
      },
    },
    "type": "comment",
    "val": " adding something to content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "mode": "prepend",
    "type": "block",
    "val": "content",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 60,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 17,
        "line": 3,
      },
    },
    "type": "comment",
    "val": " adding something to other end of content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-block-comment.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test inline-tag.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "type": "text",
    "val": "bing ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 10,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "strong",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 17,
        "line": 1,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 20,
        "line": 1,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 21,
        "line": 1,
      },
    },
    "type": "text",
    "val": " bong",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 2,
        "line": 3,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "text",
    "val": "bing",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "strong",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 12,
        "line": 5,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 15,
        "line": 5,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 16,
        "line": 5,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "strong",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 11,
        "line": 6,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "\'[foo]\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 20,
        "line": 6,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 21,
        "line": 6,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 7,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var foo = \'foo]\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 23,
        "line": 7,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 24,
        "line": 7,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "text",
    "val": "bong",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 11,
      },
    },
    "type": "text",
    "val": "bing",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 12,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 12,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 7,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "strong",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 14,
        "line": 12,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 17,
        "line": 12,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 18,
        "line": 12,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 13,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 13,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 7,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "strong",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 13,
        "line": 13,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "\'[foo]\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 22,
        "line": 13,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 23,
        "line": 13,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 14,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 14,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 7,
        "line": 14,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var foo = \'foo]\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 25,
        "line": 14,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 26,
        "line": 14,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 5,
        "line": 15,
      },
    },
    "type": "text",
    "val": "bong",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 2,
        "line": 17,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 17,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 18,
      },
    },
    "type": "text",
    "val": "#[strong escaped]",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 3,
        "line": 19,
      },
    },
    "type": "text",
    "val": "#[",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 6,
        "line": 19,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 8,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "strong",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 15,
        "line": 19,
      },
    },
    "type": "text",
    "val": "escaped",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 22,
        "line": 19,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 23,
        "line": 19,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 23,
        "line": 19,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/inline-tag.pug",
      "start": Object {
        "column": 23,
        "line": 19,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test intepolated-elements.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 5,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 6,
        "line": 1,
      },
    },
    "type": "class",
    "val": "rho",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 10,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 11,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'#\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 21,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'rho--modifier\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 42,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 60,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 44,
        "line": 1,
      },
    },
    "type": "text",
    "val": "with inline link",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 61,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 60,
        "line": 1,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 61,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 61,
        "line": 1,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "Some text ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 13,
        "line": 2,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 15,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 16,
        "line": 2,
      },
    },
    "type": "class",
    "val": "rho",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 20,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 21,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'#\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 52,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 31,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'rho--modifier\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 53,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 52,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 54,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 53,
        "line": 2,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 54,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 54,
        "line": 2,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "text",
    "val": "Some text ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 15,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 16,
        "line": 3,
      },
    },
    "type": "class",
    "val": "rho",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 20,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 21,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'#\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 52,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 31,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'rho--modifier\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 53,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 52,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 70,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 54,
        "line": 3,
      },
    },
    "type": "text",
    "val": "with inline link",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 71,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 70,
        "line": 3,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 71,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 71,
        "line": 3,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 71,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/intepolated-elements.pug",
      "start": Object {
        "column": 71,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test interpolated-call.pug 1`] = `
Object {
  "code": "PUG:BRACKET_MISMATCH",
  "column": 11,
  "line": 5,
  "msg": "Mismatched Bracket: ]",
}
`;

exports[`test interpolated-mixin.pug 1`] = `
Array [
  Object {
    "args": "url",
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "mixin",
    "val": "linkit",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 4,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 5,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "url",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 13,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 14,
        "line": 2,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "url",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "text",
    "val": "This also works ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 19,
        "line": 4,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "args": "\'http://www.bing.com\'",
    "loc": Object {
      "end": Object {
        "column": 51,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 21,
        "line": 4,
      },
    },
    "type": "call",
    "val": "linkit",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 52,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 51,
        "line": 4,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 70,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 52,
        "line": 4,
      },
    },
    "type": "text",
    "val": " so hurrah for Pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 70,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolated-mixin.pug",
      "start": Object {
        "column": 70,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test interpolation.escape.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var id = 42;",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "text",
    "val": "some",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "text",
    "val": "#{text}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "text",
    "val": "here",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 5,
        "line": 7,
      },
    },
    "type": "text",
    "val": "My ID ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 11,
        "line": 7,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "\"is {\" + id + \"}\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 31,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/interpolation.escape.pug",
      "start": Object {
        "column": 31,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test invalid-class-name-1.pug 1`] = `
Object {
  "code": "PUG:INVALID_CLASS_NAME",
  "column": 1,
  "line": 1,
  "msg": "Class names must contain at least one letter or underscore.",
}
`;

exports[`test invalid-class-name-2.pug 1`] = `
Object {
  "code": "PUG:INVALID_CLASS_NAME",
  "column": 1,
  "line": 1,
  "msg": "Class names must contain at least one letter or underscore.",
}
`;

exports[`test invalid-class-name-3.pug 1`] = `
Object {
  "code": "PUG:INVALID_CLASS_NAME",
  "column": 1,
  "line": 1,
  "msg": "\"ä\" is not a valid class name.  Class names can only contain \"_\", \"-\", a-z and 0-9, and must contain at least one of \"_\", or a-z",
}
`;

exports[`test invalid-id.pug 1`] = `
Object {
  "code": "PUG:INVALID_ID",
  "column": 1,
  "line": 1,
  "msg": "\"ä\" is not a valid ID.",
}
`;

exports[`test layout.append.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "../fixtures/append/app-layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "append",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 10,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'foo.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 22,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 10,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'bar.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 22,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test layout.append.without-block.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 56,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "../fixtures/append-without-block/app-layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "append",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 10,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'foo.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 22,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 10,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'bar.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 22,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.append.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test layout.multi.append.prepend.block.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 60,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "../fixtures/multi-append-prepend-block/redefine.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "mode": "append",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 1,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 2,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "class",
    "val": "first",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 9,
        "line": 4,
      },
    },
    "type": "class",
    "val": "append",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 17,
        "line": 4,
      },
    },
    "type": "text",
    "val": "Something appended to content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "mode": "prepend",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 1,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 2,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "class",
    "val": "first",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 9,
        "line": 7,
      },
    },
    "type": "class",
    "val": "prepend",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 48,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 18,
        "line": 7,
      },
    },
    "type": "text",
    "val": "Something prepended to content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "mode": "append",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 1,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 2,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "type": "class",
    "val": "last",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "class",
    "val": "append",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 16,
        "line": 10,
      },
    },
    "type": "text",
    "val": "Last append must be most last",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "mode": "prepend",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "indent",
    "val": 1,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 2,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 3,
        "line": 13,
      },
    },
    "type": "class",
    "val": "last",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 8,
        "line": 13,
      },
    },
    "type": "class",
    "val": "prepend",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 48,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 17,
        "line": 13,
      },
    },
    "type": "text",
    "val": "Last prepend must appear at top",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "mode": "append",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "indent",
    "val": 1,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 2,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 8,
        "line": 16,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 9,
        "line": 16,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 24,
        "line": 16,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "mode": "prepend",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "indent",
    "val": 1,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 2,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 8,
        "line": 19,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 9,
        "line": 19,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'foo.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 21,
        "line": 19,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.multi.append.prepend.block.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test layout.prepend.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "../fixtures/prepend/app-layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "prepend",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 10,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'foo.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 22,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 10,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'bar.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 22,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test layout.prepend.without-block.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 57,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "path",
    "val": "../fixtures/prepend-without-block/app-layout.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "mode": "prepend",
    "type": "block",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 10,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'foo.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 22,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 10,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'bar.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 22,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/layout.prepend.without-block.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test malformed-each.pug 1`] = `
Object {
  "code": "PUG:MALFORMED_EACH",
  "column": 5,
  "line": 1,
  "msg": "malformed each",
}
`;

exports[`test malformed-extend.pug 1`] = `
Object {
  "code": "PUG:MALFORMED_EXTENDS",
  "column": 7,
  "line": 1,
  "msg": "malformed extends",
}
`;

exports[`test malformed-include.pug 1`] = `
Object {
  "code": "PUG:MALFORMED_INCLUDE",
  "column": 8,
  "line": 1,
  "msg": "malformed include",
}
`;

exports[`test mismatched-inline-tag.pug 1`] = `
Object {
  "code": "PUG:NO_END_BRACKET",
  "column": 14,
  "line": 2,
  "msg": "End of line was reached with no closing bracket for interpolation.",
}
`;

exports[`test mismatched-tag-interpolation.pug 1`] = `
Object {
  "code": "PUG:NO_END_BRACKET",
  "column": 1,
  "line": 3,
  "msg": "The end of the string reached with no closing bracket } found.",
}
`;

exports[`test mixin.attrs.pug 1`] = `
Array [
  Object {
    "args": "title",
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "mixin",
    "val": "centered",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 6,
        "line": 2,
      },
    },
    "type": "class",
    "val": "centered",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 15,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 16,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "id",
    "type": "attribute",
    "val": "attributes.id",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 32,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "if (title)",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 9,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 10,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "attributes.class",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 32,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 33,
        "line": 4,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "if (attributes.href)",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 7,
        "line": 7,
      },
    },
    "type": "class",
    "val": "footer",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 9,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 10,
        "line": 8,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 11,
        "line": 8,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "attributes.href",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 31,
        "line": 8,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 33,
        "line": 8,
      },
    },
    "type": "text",
    "val": "Back",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "title",
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "mixin",
    "val": "main",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 11,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 6,
        "line": 11,
      },
    },
    "type": "class",
    "val": "stretch",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": "title",
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 12,
      },
    },
    "type": "call",
    "val": "centered",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 21,
        "line": 12,
      },
    },
    "type": "class",
    "val": "highlight",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 54,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 31,
        "line": 12,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 7,
        "line": 13,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "mixin",
    "val": "bottom",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 6,
        "line": 16,
      },
    },
    "type": "class",
    "val": "bottom",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 13,
        "line": 16,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 17,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 20,
      },
    },
    "type": "call",
    "val": "centered",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 12,
        "line": 20,
      },
    },
    "type": "id",
    "val": "First",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 19,
        "line": 20,
      },
    },
    "type": "text",
    "val": "Hello World",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "\'Section 1\'",
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 21,
      },
    },
    "type": "call",
    "val": "centered",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 25,
        "line": 21,
      },
    },
    "type": "id",
    "val": "Second",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 22,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 7,
        "line": 22,
      },
    },
    "type": "text",
    "val": "Some important content.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "\'Section 2\'",
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 23,
      },
    },
    "type": "call",
    "val": "centered",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 25,
        "line": 23,
      },
    },
    "type": "id",
    "val": "Third",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 31,
        "line": 23,
      },
    },
    "type": "class",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 35,
        "line": 23,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 52,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 36,
        "line": 23,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'menu.html\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 65,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 54,
        "line": 23,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 66,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 65,
        "line": 23,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 24,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 7,
        "line": 24,
      },
    },
    "type": "text",
    "val": "Even more important content.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "\'Section 3\'",
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 25,
      },
    },
    "type": "call",
    "val": "main",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 21,
        "line": 25,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 22,
        "line": 25,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'#\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 30,
        "line": 25,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 26,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 7,
        "line": 26,
      },
    },
    "type": "text",
    "val": "Last content.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 27,
      },
    },
    "type": "call",
    "val": "bottom",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 10,
        "line": 27,
      },
    },
    "type": "class",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 14,
        "line": 27,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 15,
        "line": 27,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 28,
        "line": 27,
      },
    },
    "mustEscape": true,
    "name": "name",
    "type": "attribute",
    "val": "\'end\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 49,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 40,
        "line": 27,
      },
    },
    "mustEscape": true,
    "name": "id",
    "type": "attribute",
    "val": "\'Last\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 66,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 51,
        "line": 27,
      },
    },
    "mustEscape": true,
    "name": "data-attr",
    "type": "attribute",
    "val": "\'baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 67,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 66,
        "line": 27,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 28,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 28,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 7,
        "line": 28,
      },
    },
    "type": "text",
    "val": "Some final words.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 29,
      },
    },
    "type": "call",
    "val": "bottom",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 10,
        "line": 29,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 11,
        "line": 29,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "[\'class1\', \'class2\']",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 37,
        "line": 29,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "mixin",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 32,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 6,
        "line": 32,
      },
    },
    "type": "class",
    "val": "thing",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 12,
        "line": 32,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 13,
        "line": 32,
      },
    },
    "mustEscape": true,
    "name": "attr1",
    "type": "attribute",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 26,
        "line": 32,
      },
    },
    "mustEscape": true,
    "name": "attr2",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 37,
        "line": 32,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 61,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 38,
        "line": 32,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var val = \'<biz>\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 35,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 35,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var classes = [\'foo\', \'bar\']",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 36,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 6,
        "line": 36,
      },
    },
    "mustEscape": true,
    "name": "attr3",
    "type": "attribute",
    "val": "\'baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 18,
        "line": 36,
      },
    },
    "mustEscape": true,
    "name": "data-foo",
    "type": "attribute",
    "val": "val",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 31,
        "line": 36,
      },
    },
    "mustEscape": false,
    "name": "data-bar",
    "type": "attribute",
    "val": "val",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 58,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 45,
        "line": 36,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "classes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 59,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 58,
        "line": 36,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 65,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 59,
        "line": 36,
      },
    },
    "type": "class",
    "val": "thunk",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 38,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 38,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 38,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 38,
      },
    },
    "type": "comment",
    "val": " Regression test for #1424",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 39,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 39,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "work",
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 39,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 39,
      },
    },
    "type": "mixin",
    "val": "work_filmstrip_item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 40,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 6,
        "line": 40,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 29,
        "line": 40,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "work",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 41,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "\'work\'",
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 41,
      },
    },
    "type": "call",
    "val": "work_filmstrip_item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 29,
        "line": 41,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 54,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 30,
        "line": 41,
      },
    },
    "mustEscape": true,
    "name": "data-profile",
    "type": "attribute",
    "val": "\'profile\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 82,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 56,
        "line": 41,
      },
    },
    "mustEscape": true,
    "name": "data-creator-name",
    "type": "attribute",
    "val": "\'name\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 83,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 82,
        "line": 41,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 43,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "arg1, arg2, arg3, arg4",
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 43,
      },
    },
    "type": "mixin",
    "val": "my-mixin",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 44,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 4,
        "line": 44,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "arg1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 45,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 45,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 45,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 45,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 45,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 4,
        "line": 45,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "arg2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 46,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 46,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 46,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 46,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 46,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 4,
        "line": 46,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "arg3",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 47,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 47,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 47,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 47,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 47,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 4,
        "line": 47,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "arg4",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 49,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 49,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 49,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 49,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 49,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 5,
        "line": 49,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 50,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 50,
      },
    },
    "mustEscape": true,
    "name": "attr3",
    "type": "attribute",
    "val": "\"qux\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 51,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 3,
        "line": 51,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\"baz\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 52,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 52,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 54,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 54,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "
\'1\',
      \'2\',
  \'3\',
      \'4\'
",
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 59,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 54,
      },
    },
    "type": "call",
    "val": "my-mixin",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 60,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 60,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 60,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.attrs.pug",
      "start": Object {
        "column": 1,
        "line": 60,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixin.block-tag-behaviour.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "name",
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "mixin",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "section",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 10,
        "line": 3,
      },
    },
    "type": "class",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "name",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": "\'Foo\'",
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "call",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 20,
        "line": 9,
      },
    },
    "type": ":",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 22,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 24,
        "line": 9,
      },
    },
    "type": "text",
    "val": "I\'m article foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "name",
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "mixin",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "section",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 10,
        "line": 12,
      },
    },
    "type": "class",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 5,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 7,
        "line": 13,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "name",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 5,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 7,
        "line": 15,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 3,
        "line": 18,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": "\'Something\'",
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 5,
        "line": 19,
      },
    },
    "type": "call",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 26,
        "line": 19,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 27,
        "line": 19,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 7,
        "line": 20,
      },
    },
    "type": "text",
    "val": "I\'m a much longer",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 7,
        "line": 21,
      },
    },
    "type": "text",
    "val": "text-only article,",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 7,
        "line": 22,
      },
    },
    "type": "text",
    "val": "but you can still",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 7,
        "line": 23,
      },
    },
    "type": "text",
    "val": "inline html tags",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 7,
        "line": 24,
      },
    },
    "type": "text",
    "val": "in me if you want.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 25,
        "line": 24,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 25,
        "line": 24,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 25,
        "line": 24,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.block-tag-behaviour.pug",
      "start": Object {
        "column": 25,
        "line": 24,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixin.blocks.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "method, action",
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "mixin",
    "val": "form",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "form",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 8,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "method",
    "type": "attribute",
    "val": "method",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 23,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "action",
    "type": "attribute",
    "val": "action",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 36,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var csrf_token_from_somewhere = \'hey\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 10,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 11,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'hidden\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 26,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "name",
    "type": "attribute",
    "val": "\'_csrf\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 71,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 40,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "csrf_token_from_somewhere",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 72,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 71,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 7,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": "\'GET\', \'/search\'",
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 11,
      },
    },
    "type": "call",
    "val": "form",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 7,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 12,
        "line": 12,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 13,
        "line": 12,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 26,
        "line": 12,
      },
    },
    "mustEscape": true,
    "name": "name",
    "type": "attribute",
    "val": "\'query\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 60,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 40,
        "line": 12,
      },
    },
    "mustEscape": true,
    "name": "placeholder",
    "type": "attribute",
    "val": "\'Search\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 61,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 60,
        "line": 12,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 7,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 12,
        "line": 13,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 13,
        "line": 13,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'submit\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 28,
        "line": 13,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "\'Search\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 42,
        "line": 13,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": "\'POST\', \'/search\'",
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 17,
      },
    },
    "type": "call",
    "val": "form",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 7,
        "line": 18,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 12,
        "line": 18,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 13,
        "line": 18,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 26,
        "line": 18,
      },
    },
    "mustEscape": true,
    "name": "name",
    "type": "attribute",
    "val": "\'query\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 60,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 40,
        "line": 18,
      },
    },
    "mustEscape": true,
    "name": "placeholder",
    "type": "attribute",
    "val": "\'Search\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 61,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 60,
        "line": 18,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 7,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 12,
        "line": 19,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 13,
        "line": 19,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'submit\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 28,
        "line": 19,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "\'Search\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 42,
        "line": 19,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 22,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": "\'POST\', \'/search\'",
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 23,
      },
    },
    "type": "call",
    "val": "form",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "mixin",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 26,
      },
    },
    "type": "id",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 27,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "mixin",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 30,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 30,
      },
    },
    "type": "id",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 31,
      },
    },
    "type": "call",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 7,
        "line": 32,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 35,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 35,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 35,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 35,
      },
    },
    "type": "text",
    "val": "one",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 36,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 36,
      },
    },
    "type": "text",
    "val": "two",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 37,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 37,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 37,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 3,
        "line": 37,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 37,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 37,
      },
    },
    "type": "text",
    "val": "three",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "mixin",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 41,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 5,
        "line": 41,
      },
    },
    "type": "id",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 42,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 9,
        "line": 42,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "",
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "call",
    "val": "baz",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 7,
        "line": 44,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "\'123\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.blocks.pug",
      "start": Object {
        "column": 14,
        "line": 44,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixin.merge.pug 1`] = `
Array [
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "mixin",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 4,
        "line": 2,
      },
    },
    "type": "class",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 32,
        "line": 2,
      },
    },
    "type": "text",
    "val": "One",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 4,
        "line": 3,
      },
    },
    "type": "class",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 8,
        "line": 3,
      },
    },
    "type": "class",
    "val": "quux",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 37,
        "line": 3,
      },
    },
    "type": "text",
    "val": "Two",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 4,
        "line": 4,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 28,
        "line": 4,
      },
    },
    "type": "text",
    "val": "Three",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 4,
        "line": 5,
      },
    },
    "type": "class",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 8,
        "line": 5,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 31,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 32,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\"baz\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 43,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 49,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 45,
        "line": 5,
      },
    },
    "type": "text",
    "val": "Four",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 7,
        "line": 8,
      },
    },
    "type": "class",
    "val": "hello",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 7,
        "line": 9,
      },
    },
    "type": "id",
    "val": "world",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 7,
        "line": 10,
      },
    },
    "type": "class",
    "val": "hello",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 13,
        "line": 10,
      },
    },
    "type": "id",
    "val": "world",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 11,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 7,
        "line": 11,
      },
    },
    "type": "class",
    "val": "hello",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 13,
        "line": 11,
      },
    },
    "type": "class",
    "val": "world",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 7,
        "line": 12,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 8,
        "line": 12,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\"hello\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 21,
        "line": 12,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 13,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 7,
        "line": 13,
      },
    },
    "type": "class",
    "val": "hello",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 13,
        "line": 13,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 14,
        "line": 13,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "\"world\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 27,
        "line": 13,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 14,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 3,
        "line": 15,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 7,
        "line": 15,
      },
    },
    "type": "&attributes",
    "val": "{class: \"hello\"}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 36,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin.merge.pug",
      "start": Object {
        "column": 36,
        "line": 15,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixin-at-end-of-file.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "./auxiliary/mixin-at-end-of-file.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "",
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "call",
    "val": "slide",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "text",
    "val": "some awesome content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-at-end-of-file.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixin-block-with-space.pug 1`] = `
Array [
  Object {
    "args": "id",
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "mixin",
    "val": "m",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "",
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "call",
    "val": "m",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 5,
        "line": 6,
      },
    },
    "type": "text",
    "val": "This text should appear",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 28,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-block-with-space.pug",
      "start": Object {
        "column": 28,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixin-hoist.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "mixin",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 5,
        "line": 7,
      },
    },
    "type": "call",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-hoist.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixin-via-include.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 65,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-via-include.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "comment",
    "val": " regression test for https://github.com/pugjs/pug/issues/1435",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-via-include.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-via-include.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 38,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-via-include.pug",
      "start": Object {
        "column": 9,
        "line": 3,
      },
    },
    "type": "path",
    "val": "../fixtures/mixin-include.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-via-include.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-via-include.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "call",
    "val": "bang",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixin-via-include.pug",
      "start": Object {
        "column": 6,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixins.pug 1`] = `
Array [
  Object {
    "args": "title, str",
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "mixin",
    "val": "comment",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "class",
    "val": "comment",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "h2",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 7,
        "line": 3,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 6,
        "line": 4,
      },
    },
    "type": "class",
    "val": "body",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 11,
        "line": 4,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "str",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "title, str",
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "mixin",
    "val": "comment",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "class",
    "val": "comment",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "h2",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 7,
        "line": 9,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 5,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 6,
        "line": 10,
      },
    },
    "type": "class",
    "val": "body",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 11,
        "line": 10,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "str",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "id",
    "val": "user",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 3,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 6,
        "line": 13,
      },
    },
    "type": "text",
    "val": "Tobi",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 3,
        "line": 14,
      },
    },
    "type": "class",
    "val": "comments",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "args": "\'This\',
            ((\'is regular, javascript\'))",
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 5,
        "line": 15,
      },
    },
    "type": "call",
    "val": "comment",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "mixin",
    "val": "list",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 3,
        "line": 19,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 5,
        "line": 20,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 8,
        "line": 20,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 5,
        "line": 21,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 8,
        "line": 21,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 5,
        "line": 22,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 8,
        "line": 22,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 24,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "args": "",
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 3,
        "line": 25,
      },
    },
    "type": "call",
    "val": "list",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "",
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 3,
        "line": 26,
      },
    },
    "type": "call",
    "val": "list",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 28,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "str",
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 28,
      },
    },
    "type": "mixin",
    "val": "foobar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 3,
        "line": 29,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 6,
        "line": 29,
      },
    },
    "type": "id",
    "val": "interpolation",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 20,
        "line": 29,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "str + \'interpolated\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "outdent",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var suffix = \"bar\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "\'This is \'",
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "type": "call",
    "val": "#{\'foo\' + suffix}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixins.rest-args.pug 1`] = `
Array [
  Object {
    "args": "tag, ...items",
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "mixin",
    "val": "list",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "interpolation",
    "val": "tag",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "code": "items",
    "key": null,
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "each",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 9,
        "line": 4,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": "\'ul\', 1, 2, 3, 4",
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "call",
    "val": "list",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins.rest-args.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test mixins-unused.pug 1`] = `
Array [
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins-unused.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "mixin",
    "val": "never-called",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins-unused.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins-unused.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "class",
    "val": "wtf",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 51,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins-unused.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "text",
    "val": "This isn\'t something we ever want to output",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins-unused.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins-unused.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/mixins-unused.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test multi-line-interpolation.pug 1`] = `
Object {
  "code": "PUG:NO_END_BRACKET",
  "column": 65,
  "line": 2,
  "msg": "End of line was reached with no closing bracket for interpolation.",
}
`;

exports[`test namespaces.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/namespaces.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "fb:user:role",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/namespaces.pug",
      "start": Object {
        "column": 14,
        "line": 1,
      },
    },
    "type": "text",
    "val": "Something",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/namespaces.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/namespaces.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/namespaces.pug",
      "start": Object {
        "column": 4,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/namespaces.pug",
      "start": Object {
        "column": 5,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "fb:foo",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/namespaces.pug",
      "start": Object {
        "column": 17,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/namespaces.pug",
      "start": Object {
        "column": 18,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test nesting.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 6,
        "line": 2,
      },
    },
    "type": "text",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 6,
        "line": 3,
      },
    },
    "type": "text",
    "val": "b",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 12,
        "line": 6,
      },
    },
    "type": "text",
    "val": "c",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 9,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 12,
        "line": 7,
      },
    },
    "type": "text",
    "val": "d",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 6,
        "line": 8,
      },
    },
    "type": "text",
    "val": "e",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 7,
        "line": 8,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/nesting.pug",
      "start": Object {
        "column": 7,
        "line": 8,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test old-prefixed-each.pug 1`] = `
Object {
  "code": "PUG:MALFORMED_EACH",
  "column": 3,
  "line": 2,
  "msg": "Pug each and for should no longer be prefixed with a dash (\"-\"). They are pug keywords and not part of JavaScript.",
}
`;

exports[`test open-interpolation.pug 1`] = `
Object {
  "code": "PUG:NO_END_BRACKET",
  "column": 54,
  "line": 1,
  "msg": "End of line was reached with no closing bracket for interpolation.",
}
`;

exports[`test pipeless-comments.pug 1`] = `
Array [
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "comment",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "     .foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "text",
    "val": "	.bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "text",
    "val": ".hey",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-comments.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test pipeless-filters.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "filter",
    "val": "markdown-it",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 13,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "    code sample",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "text",
    "val": "# Heading",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 12,
        "line": 4,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-filters.pug",
      "start": Object {
        "column": 12,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test pipeless-tag.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "pre",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 4,
        "line": 1,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 5,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "  what",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "text",
    "val": "is ",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 6,
        "line": 3,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "\'going\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 16,
        "line": 3,
      },
    },
    "type": "text",
    "val": " ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 17,
        "line": 3,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 21,
        "line": 3,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "\'on\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 28,
        "line": 3,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 29,
        "line": 3,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 29,
        "line": 3,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pipeless-tag.pug",
      "start": Object {
        "column": 29,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test pre.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "pre",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 4,
        "line": 1,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 5,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "pre",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "code",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 7,
        "line": 7,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 8,
        "line": 7,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 5,
        "line": 8,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 5,
        "line": 10,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/pre.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test quotes.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/quotes.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/quotes.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "type": "text",
    "val": "\"foo\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/quotes.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/quotes.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/quotes.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/quotes.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test regression.784.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.784.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var url = \'http://www.google.com\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.784.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.784.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "class",
    "val": "url",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 57,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.784.pug",
      "start": Object {
        "column": 6,
        "line": 2,
      },
    },
    "mustEscape": true,
    "type": "interpolated-code",
    "val": "url.replace(\'http://\', \'\').replace(/^www\\./, \'\')",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 57,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.784.pug",
      "start": Object {
        "column": 57,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test regression.1794.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "extends",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 37,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 9,
        "line": 1,
      },
    },
    "type": "path",
    "val": "./auxiliary/1794-extends.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "mode": "replace",
    "type": "block",
    "val": "content",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 11,
        "line": 4,
      },
    },
    "type": "path",
    "val": "./auxiliary/1794-include.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 39,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/regression.1794.pug",
      "start": Object {
        "column": 39,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test script.whitespace.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "if (foo) {",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "text",
    "val": "  ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "text",
    "val": "  bar();",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "text",
    "val": "}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 4,
        "line": 6,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/script.whitespace.pug",
      "start": Object {
        "column": 4,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test scripts.non-js.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "id",
    "val": "user-template",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 21,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 22,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text/template\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 42,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "id",
    "val": "user",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "h1",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 8,
        "line": 3,
      },
    },
    "type": "text",
    "val": "<%= user.name %>",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "text",
    "val": "<%= user.description %>",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "type": "id",
    "val": "user-template",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 21,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 22,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text/template\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 42,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 43,
        "line": 6,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 44,
        "line": 6,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "text",
    "val": "if (foo) {",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "text",
    "val": "  bar();",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "text",
    "val": "}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 4,
        "line": 9,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.non-js.pug",
      "start": Object {
        "column": 4,
        "line": 9,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test scripts.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "text",
    "val": "if (foo) {",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "text",
    "val": "  bar();",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "text",
    "val": "}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 4,
        "line": 4,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "\'foo()\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 8,
        "line": 6,
      },
    },
    "type": "text",
    "val": "foo()",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/scripts.pug",
      "start": Object {
        "column": 4,
        "line": 8,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test self-closing-html.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "doctype",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "br",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "slash",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/self-closing-html.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test single-period.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/single-period.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "span",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/single-period.pug",
      "start": Object {
        "column": 6,
        "line": 1,
      },
    },
    "type": "text",
    "val": ".",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/single-period.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test source.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "audio",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 8,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "preload",
    "type": "attribute",
    "val": "\'auto\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 35,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 25,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "autobuffer",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 37,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "controls",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 45,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "source",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 11,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 12,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 21,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "source",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 11,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 12,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 21,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 22,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 22,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/source.pug",
      "start": Object {
        "column": 22,
        "line": 4,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test styles.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "style",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 10,
        "line": 3,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 11,
        "line": 3,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "text",
    "val": "body {",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "text",
    "val": "  padding: 50px;",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "type": "text",
    "val": "}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 8,
        "line": 6,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 8,
        "line": 8,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 43,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 9,
        "line": 8,
      },
    },
    "mustEscape": true,
    "name": "style",
    "type": "attribute",
    "val": "\'color:red;background:green\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 43,
        "line": 8,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 8,
        "line": 9,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 50,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 9,
        "line": 9,
      },
    },
    "mustEscape": true,
    "name": "style",
    "type": "attribute",
    "val": "{color: \'red\', background: \'green\'}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 51,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 50,
        "line": 9,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 58,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 8,
        "line": 10,
      },
    },
    "type": "&attributes",
    "val": "{style: \'color:red;background:green\'}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 11,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 65,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 8,
        "line": 11,
      },
    },
    "type": "&attributes",
    "val": "{style: {color: \'red\', background: \'green\'}}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 12,
      },
    },
    "type": "mixin",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 7,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 10,
        "line": 13,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "outdent",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 14,
      },
    },
    "type": "call",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 9,
        "line": 14,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 44,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 10,
        "line": 14,
      },
    },
    "mustEscape": true,
    "name": "style",
    "type": "attribute",
    "val": "\'color:red;background:green\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 44,
        "line": 14,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 15,
      },
    },
    "type": "call",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 9,
        "line": 15,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 51,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 10,
        "line": 15,
      },
    },
    "mustEscape": true,
    "name": "style",
    "type": "attribute",
    "val": "{color: \'red\', background: \'green\'}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 52,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 51,
        "line": 15,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 16,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var bg = \'green\';",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 17,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 8,
        "line": 17,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 45,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 9,
        "line": 17,
      },
    },
    "mustEscape": true,
    "name": "style",
    "type": "attribute",
    "val": "{color: \'red\', background: bg}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 45,
        "line": 17,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 18,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 60,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 8,
        "line": 18,
      },
    },
    "type": "&attributes",
    "val": "{style: {color: \'red\', background: bg}}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 5,
        "line": 19,
      },
    },
    "type": "call",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 9,
        "line": 19,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 10,
        "line": 19,
      },
    },
    "mustEscape": true,
    "name": "style",
    "type": "attribute",
    "val": "{color: \'red\', background: bg}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 47,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 46,
        "line": 19,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/styles.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test tag.interpolation.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var tag = \'p\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var foo = \'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "interpolation",
    "val": "tag",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 8,
        "line": 5,
      },
    },
    "type": "text",
    "val": "value",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "interpolation",
    "val": "tag",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 8,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "foo",
    "type": "attribute",
    "val": "\'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 17,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 19,
        "line": 6,
      },
    },
    "type": "text",
    "val": "value",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "interpolation",
    "val": "foo ? \'a\' : \'li\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 20,
        "line": 7,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 21,
        "line": 7,
      },
    },
    "mustEscape": true,
    "name": "something",
    "type": "attribute",
    "val": true,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 30,
        "line": 7,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 32,
        "line": 7,
      },
    },
    "type": "text",
    "val": "here",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "args": "icon",
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "mixin",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 5,
        "line": 11,
      },
    },
    "type": "if",
    "val": "attributes.href",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 7,
        "line": 12,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 8,
        "line": 12,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 9,
        "line": 13,
      },
    },
    "type": "tag",
    "val": "img",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 12,
        "line": 13,
      },
    },
    "type": "class",
    "val": "icon",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 17,
        "line": 13,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 18,
        "line": 13,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "icon",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 26,
        "line": 13,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 9,
        "line": 14,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 5,
        "line": 15,
      },
    },
    "type": "else",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 7,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "span",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 11,
        "line": 16,
      },
    },
    "type": "&attributes",
    "val": "attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "indent",
    "val": 8,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 9,
        "line": 17,
      },
    },
    "type": "tag",
    "val": "img",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 12,
        "line": 17,
      },
    },
    "type": "class",
    "val": "icon",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 17,
        "line": 17,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 18,
        "line": 17,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "icon",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 26,
        "line": 17,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 9,
        "line": 18,
      },
    },
    "type": "mixin-block",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "args": "\'contact\'",
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 3,
        "line": 21,
      },
    },
    "type": "call",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 20,
        "line": 21,
      },
    },
    "type": "text",
    "val": "Contact",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 22,
      },
    },
    "type": "newline",
  },
  Object {
    "args": null,
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 3,
        "line": 22,
      },
    },
    "type": "call",
    "val": "item",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 8,
        "line": 22,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 9,
        "line": 22,
      },
    },
    "mustEscape": true,
    "name": "href",
    "type": "attribute",
    "val": "\'/contact\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 25,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 24,
        "line": 22,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 22,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 26,
        "line": 22,
      },
    },
    "type": "text",
    "val": "Contact",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag.interpolation.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test tag-blocks.pug 1`] = `
Array [
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 42,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "comment",
    "val": " we should not get blocks within blocks",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "div",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "text",
    "val": "We have sent an e-mail to ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 31,
        "line": 3,
      },
    },
    "type": "start-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 33,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "strong",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 57,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 39,
        "line": 3,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "this.props.email",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 58,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 57,
        "line": 3,
      },
    },
    "type": "end-pug-interpolation",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 96,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 58,
        "line": 3,
      },
    },
    "type": "text",
    "val": ".  Please click the link in the e-mail",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "\'  \'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 36,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "text",
    "val": "to confirm your e-mail address.",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tag-blocks.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test tags.self-closing.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 6,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "\'baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 16,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 6,
        "line": 5,
      },
    },
    "type": "slash",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 6,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "\'baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 16,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 17,
        "line": 6,
      },
    },
    "type": "slash",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 7,
        "line": 7,
      },
    },
    "type": "text",
    "val": "/",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "tag",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 6,
        "line": 8,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 7,
        "line": 8,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "\'baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 16,
        "line": 8,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 19,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 18,
        "line": 8,
      },
    },
    "type": "text",
    "val": "/",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "interpolation",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 11,
        "line": 9,
      },
    },
    "type": "slash",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 10,
      },
    },
    "type": "interpolation",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 11,
        "line": 10,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 12,
        "line": 10,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "\'baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 21,
        "line": 10,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 22,
        "line": 10,
      },
    },
    "type": "slash",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 11,
      },
    },
    "type": "interpolation",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 12,
        "line": 11,
      },
    },
    "type": "text",
    "val": "/",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 12,
      },
    },
    "type": "interpolation",
    "val": "\'foo\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 11,
        "line": 12,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 12,
        "line": 12,
      },
    },
    "mustEscape": true,
    "name": "bar",
    "type": "attribute",
    "val": "\'baz\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 21,
        "line": 12,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 24,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 23,
        "line": 12,
      },
    },
    "type": "text",
    "val": "/",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 13,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 41,
        "line": 13,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 13,
      },
    },
    "type": "comment",
    "val": " can have a single space after them",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "img",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 6,
        "line": 14,
      },
    },
    "type": "text",
    "val": " ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 15,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 15,
      },
    },
    "type": "comment",
    "val": " can have lots of white space after them",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 16,
      },
    },
    "type": "tag",
    "val": "img",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 7,
        "line": 16,
      },
    },
    "type": "text",
    "val": "   ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 3,
        "line": 17,
      },
    },
    "type": "interpolation",
    "val": "
    \'foo\'
  ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 4,
        "line": 19,
      },
    },
    "type": "slash",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/tags.self-closing.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test template.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text/x-template\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 30,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "h2",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 8,
        "line": 3,
      },
    },
    "type": "text",
    "val": "{{title}}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "text",
    "val": "{{description}}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 7,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 8,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text/x-template\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 30,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 31,
        "line": 6,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 32,
        "line": 6,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 3,
        "line": 7,
      },
    },
    "type": "text",
    "val": "article",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 3,
        "line": 8,
      },
    },
    "type": "text",
    "val": "  h2 {{title}}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 3,
        "line": 9,
      },
    },
    "type": "text",
    "val": "  p {{description}}",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 22,
        "line": 9,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/template.pug",
      "start": Object {
        "column": 22,
        "line": 9,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test text.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "option",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 7,
        "line": 1,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 8,
        "line": 1,
      },
    },
    "mustEscape": true,
    "name": "value",
    "type": "attribute",
    "val": "\'\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 16,
        "line": 1,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 34,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 18,
        "line": 1,
      },
    },
    "type": "text",
    "val": "-- (selected) --",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 2,
        "line": 5,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 7,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 7,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 8,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 8,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 5,
        "line": 8,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 9,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 9,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 5,
        "line": 9,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 10,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 10,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 4,
        "line": 10,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 11,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 11,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 4,
        "line": 11,
      },
    },
    "type": "text",
    "val": " ",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 12,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 12,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 5,
        "line": 12,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 14,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 2,
        "line": 14,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 14,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 14,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 15,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 15,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 16,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 16,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 17,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 17,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 18,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 18,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 18,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 19,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 19,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 19,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 20,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 20,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 21,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 21,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 23,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 23,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 2,
        "line": 23,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 24,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 24,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 25,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 25,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 26,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 26,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 27,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 27,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 27,
      },
    },
    "type": "text",
    "val": "bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 28,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 28,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 28,
      },
    },
    "type": "text",
    "val": "baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 29,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 29,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 30,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 30,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 30,
      },
    },
    "type": "tag",
    "val": "pre",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 31,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 31,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 5,
        "line": 31,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 32,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 32,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 5,
        "line": 32,
      },
    },
    "type": "text",
    "val": "  bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 33,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 33,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 5,
        "line": 33,
      },
    },
    "type": "text",
    "val": "    baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 34,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 34,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 5,
        "line": 34,
      },
    },
    "type": "text",
    "val": ".",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 36,
      },
    },
    "type": "tag",
    "val": "pre",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 4,
        "line": 36,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 36,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 5,
        "line": 36,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 37,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 37,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 38,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 38,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 38,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 38,
      },
    },
    "type": "text",
    "val": "  bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 39,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 39,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 39,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 39,
      },
    },
    "type": "text",
    "val": "    baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 40,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 40,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 40,
      },
    },
    "type": "text",
    "val": ".",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 41,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 41,
      },
    },
    "type": "text",
    "val": "",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 41,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 41,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 42,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 42,
      },
    },
    "type": "dot",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 42,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 2,
        "line": 42,
      },
    },
    "type": "start-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 43,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 43,
      },
    },
    "type": "text",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 44,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 44,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 44,
      },
    },
    "type": "text",
    "val": "  bar",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 45,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 45,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 45,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 45,
      },
    },
    "type": "text",
    "val": "    baz",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 46,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 1,
        "line": 46,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 46,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 3,
        "line": 46,
      },
    },
    "type": "text",
    "val": ".",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 46,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 4,
        "line": 46,
      },
    },
    "type": "end-pipeless-text",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 4,
        "line": 46,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text.pug",
      "start": Object {
        "column": 4,
        "line": 46,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test text-block.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "label",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 7,
        "line": 2,
      },
    },
    "type": "text",
    "val": "Username:",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 8,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 9,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 22,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "name",
    "type": "attribute",
    "val": "\'user[name]\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 39,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 6,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "label",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 16,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "text",
    "val": "Password:",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 3,
        "line": 6,
      },
    },
    "type": "tag",
    "val": "input",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 8,
        "line": 6,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 20,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 9,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "type",
    "type": "attribute",
    "val": "\'text\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 39,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 22,
        "line": 6,
      },
    },
    "mustEscape": true,
    "name": "name",
    "type": "attribute",
    "val": "\'user[pass]\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 39,
        "line": 6,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 40,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 40,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/text-block.pug",
      "start": Object {
        "column": 40,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test utf8bom.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/utf8bom.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "p",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/utf8bom.pug",
      "start": Object {
        "column": 3,
        "line": 1,
      },
    },
    "type": "text",
    "val": "\"foo\"",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/utf8bom.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/utf8bom.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test vars.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 18,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var foo = \'bar\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var list = [1,2,3]",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 2,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "a",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 2,
        "line": 3,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "class",
    "type": "attribute",
    "val": "list",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 21,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 15,
        "line": 3,
      },
    },
    "mustEscape": true,
    "name": "id",
    "type": "attribute",
    "val": "foo",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 21,
        "line": 3,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 22,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/vars.pug",
      "start": Object {
        "column": 22,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test when-with-no-expression.pug 1`] = `
Object {
  "code": "PUG:NO_WHEN_EXPRESSION",
  "column": 5,
  "line": 1,
  "msg": "missing expression for when",
}
`;

exports[`test while.pug 1`] = `
Array [
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "var x = 1;",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "ul",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 15,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "while",
    "val": "x < 10",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "buffer": false,
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 5,
        "line": 4,
      },
    },
    "mustEscape": false,
    "type": "code",
    "val": "x++;",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "li",
  },
  Object {
    "buffer": true,
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "mustEscape": true,
    "type": "code",
    "val": "x",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/while.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test while-with-no-expression.pug 1`] = `
Object {
  "code": "PUG:NO_WHILE_EXPRESSION",
  "column": 6,
  "line": 1,
  "msg": "missing expression for while",
}
`;

exports[`test xml.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "doctype",
    "val": "xml",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "category",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 10,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "term",
    "type": "attribute",
    "val": "\'some term\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 26,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 27,
        "line": 2,
      },
    },
    "type": "slash",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "tag",
    "val": "link",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 6,
        "line": 3,
      },
    },
    "type": "text",
    "val": "http://google.com",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 23,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/xml.pug",
      "start": Object {
        "column": 23,
        "line": 3,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test yield.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "path",
    "val": "yield-head.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 13,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 14,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/caustic.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 31,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 14,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/app.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 27,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test yield-before-conditional.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 46,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "path",
    "val": "yield-before-conditional-head.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 7,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 13,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 14,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/caustic.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 31,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 13,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 7,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 14,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 13,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 14,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/app.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 28,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 27,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test yield-before-conditional-head.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 10,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 26,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "yield",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "if",
    "val": "false",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 11,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 5,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 11,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 31,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 12,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/jquery.ui.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 32,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 31,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-before-conditional-head.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test yield-head.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 9,
        "line": 2,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 10,
        "line": 2,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 26,
        "line": 2,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 3,
        "line": 3,
      },
    },
    "type": "yield",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 9,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 10,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/jquery.ui.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 29,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-head.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test yield-title.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "html",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "body",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 12,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "include",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 33,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 13,
        "line": 3,
      },
    },
    "type": "path",
    "val": "yield-title-head.pug",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 7,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "indent",
    "val": 6,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 17,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 9,
        "line": 4,
      },
    },
    "type": "text",
    "val": "My Title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "eos",
  },
]
`;

exports[`test yield-title-head.pug 1`] = `
Array [
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 1,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 1,
        "line": 1,
      },
    },
    "type": "tag",
    "val": "head",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 1,
        "line": 2,
      },
    },
    "type": "indent",
    "val": 2,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 8,
        "line": 2,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 3,
        "line": 2,
      },
    },
    "type": "tag",
    "val": "title",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 5,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 1,
        "line": 3,
      },
    },
    "type": "indent",
    "val": 4,
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 3,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 5,
        "line": 3,
      },
    },
    "type": "yield",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 1,
        "line": 4,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 3,
        "line": 4,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 9,
        "line": 4,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 26,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 10,
        "line": 4,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/jquery.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 27,
        "line": 4,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 26,
        "line": 4,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 3,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 1,
        "line": 5,
      },
    },
    "type": "newline",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 9,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 3,
        "line": 5,
      },
    },
    "type": "tag",
    "val": "script",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 10,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 9,
        "line": 5,
      },
    },
    "type": "start-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 29,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 10,
        "line": 5,
      },
    },
    "mustEscape": true,
    "name": "src",
    "type": "attribute",
    "val": "\'/jquery.ui.js\'",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 30,
        "line": 5,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 29,
        "line": 5,
      },
    },
    "type": "end-attributes",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "outdent",
  },
  Object {
    "loc": Object {
      "end": Object {
        "column": 1,
        "line": 6,
      },
      "filename": "<basedir>/packages/pug-lexer/test/cases/yield-title-head.pug",
      "start": Object {
        "column": 1,
        "line": 6,
      },
    },
    "type": "eos",
  },
]
`;
