├── .gitignore ├── .travis.yml ├── History.md ├── LICENSE ├── README.md ├── index.js ├── package.json └── test ├── cases ├── attr-es2015.expected.json ├── attr-es2015.pug ├── attrs-data.expected.json ├── attrs-data.pug ├── attrs.expected.json ├── attrs.js.expected.json ├── attrs.js.pug ├── attrs.pug ├── attrs.unescaped.expected.json ├── attrs.unescaped.pug ├── basic.expected.json ├── basic.pug ├── blanks.expected.json ├── blanks.pug ├── block-code.expected.json ├── block-code.pug ├── block-expansion.expected.json ├── block-expansion.pug ├── block-expansion.shorthands.expected.json ├── block-expansion.shorthands.pug ├── blockquote.expected.json ├── blockquote.pug ├── blocks-in-blocks.expected.json ├── blocks-in-blocks.pug ├── blocks-in-if.expected.json ├── blocks-in-if.pug ├── case-blocks.expected.json ├── case-blocks.pug ├── case.expected.json ├── case.pug ├── classes-empty.expected.json ├── classes-empty.pug ├── classes.expected.json ├── classes.pug ├── code.conditionals.expected.json ├── code.conditionals.pug ├── code.escape.expected.json ├── code.escape.pug ├── code.expected.json ├── code.iteration.expected.json ├── code.iteration.pug ├── code.pug ├── comments-in-case.expected.json ├── comments-in-case.pug ├── comments.expected.json ├── comments.pug ├── comments.source.expected.json ├── comments.source.pug ├── doctype.custom.expected.json ├── doctype.custom.pug ├── doctype.default.expected.json ├── doctype.default.pug ├── doctype.keyword.expected.json ├── doctype.keyword.pug ├── each.else.expected.json ├── each.else.pug ├── escape-chars.expected.json ├── escape-chars.pug ├── escape-test.expected.json ├── escape-test.pug ├── escaping-class-attribute.expected.json ├── escaping-class-attribute.pug ├── filter-in-include.expected.json ├── filter-in-include.pug ├── filters-empty.expected.json ├── filters-empty.pug ├── filters.coffeescript.expected.json ├── filters.coffeescript.pug ├── filters.custom.expected.json ├── filters.custom.pug ├── filters.include.custom.expected.json ├── filters.include.custom.pug ├── filters.include.expected.json ├── filters.include.pug ├── filters.inline.expected.json ├── filters.inline.pug ├── filters.less.expected.json ├── filters.less.pug ├── filters.markdown.expected.json ├── filters.markdown.pug ├── filters.nested.expected.json ├── filters.nested.pug ├── filters.stylus.expected.json ├── filters.stylus.pug ├── html.expected.json ├── html.pug ├── html5.expected.json ├── html5.pug ├── include-extends-from-root.expected.json ├── include-extends-from-root.pug ├── include-extends-of-common-template.expected.json ├── include-extends-of-common-template.pug ├── include-extends-relative.expected.json ├── include-extends-relative.pug ├── include-only-text-body.expected.json ├── include-only-text-body.pug ├── include-only-text.expected.json ├── include-only-text.pug ├── include-with-text-head.expected.json ├── include-with-text-head.pug ├── include-with-text.expected.json ├── include-with-text.pug ├── include.script.expected.json ├── include.script.pug ├── include.yield.nested.expected.json ├── include.yield.nested.pug ├── includes-with-ext-js.expected.json ├── includes-with-ext-js.pug ├── includes.expected.json ├── includes.pug ├── inheritance.alert-dialog.expected.json ├── inheritance.alert-dialog.pug ├── inheritance.defaults.expected.json ├── inheritance.defaults.pug ├── inheritance.expected.json ├── inheritance.extend.expected.json ├── inheritance.extend.include.expected.json ├── inheritance.extend.include.pug ├── inheritance.extend.mixins.block.expected.json ├── inheritance.extend.mixins.block.pug ├── inheritance.extend.mixins.expected.json ├── inheritance.extend.mixins.pug ├── inheritance.extend.pug ├── inheritance.extend.recursive.expected.json ├── inheritance.extend.recursive.pug ├── inheritance.extend.whitespace.expected.json ├── inheritance.extend.whitespace.pug ├── inheritance.pug ├── inline-block-comment.expected.json ├── inline-block-comment.pug ├── inline-tag.expected.json ├── inline-tag.pug ├── intepolated-elements.expected.json ├── intepolated-elements.pug ├── interpolated-mixin.expected.json ├── interpolated-mixin.pug ├── interpolation.escape.expected.json ├── interpolation.escape.pug ├── javascript-new-lines.js ├── layout.append.expected.json ├── layout.append.pug ├── layout.append.without-block.expected.json ├── layout.append.without-block.pug ├── layout.multi.append.prepend.block.expected.json ├── layout.multi.append.prepend.block.pug ├── layout.prepend.expected.json ├── layout.prepend.pug ├── layout.prepend.without-block.expected.json ├── layout.prepend.without-block.pug ├── mixin-at-end-of-file.expected.json ├── mixin-at-end-of-file.pug ├── mixin-block-with-space.expected.json ├── mixin-block-with-space.pug ├── mixin-hoist.expected.json ├── mixin-hoist.pug ├── mixin-via-include.expected.json ├── mixin-via-include.pug ├── mixin.attrs.expected.json ├── mixin.attrs.pug ├── mixin.block-tag-behaviour.expected.json ├── mixin.block-tag-behaviour.pug ├── mixin.blocks.expected.json ├── mixin.blocks.pug ├── mixin.merge.expected.json ├── mixin.merge.pug ├── mixins-unused.expected.json ├── mixins-unused.pug ├── mixins.expected.json ├── mixins.pug ├── mixins.rest-args.expected.json ├── mixins.rest-args.pug ├── namespaces.expected.json ├── namespaces.pug ├── nesting.expected.json ├── nesting.pug ├── pipeless-comments.expected.json ├── pipeless-comments.pug ├── pipeless-filters.expected.json ├── pipeless-filters.pug ├── pipeless-tag.expected.json ├── pipeless-tag.pug ├── pre.expected.json ├── pre.pug ├── quotes.expected.json ├── quotes.pug ├── regression.1794.expected.json ├── regression.1794.pug ├── regression.784.expected.json ├── regression.784.pug ├── script.whitespace.expected.json ├── script.whitespace.pug ├── scripts.expected.json ├── scripts.non-js.expected.json ├── scripts.non-js.pug ├── scripts.pug ├── self-closing-html.expected.json ├── self-closing-html.pug ├── single-period.expected.json ├── single-period.pug ├── source.expected.json ├── source.pug ├── styles.expected.json ├── styles.pug ├── tag-blocks.expected.json ├── tag-blocks.pug ├── tag.interpolation.expected.json ├── tag.interpolation.pug ├── tags.self-closing.expected.json ├── tags.self-closing.pug ├── template.expected.json ├── template.pug ├── text-block.expected.json ├── text-block.pug ├── text.expected.json ├── text.pug ├── utf8bom.expected.json ├── utf8bom.pug ├── vars.expected.json ├── vars.pug ├── while.expected.json ├── while.pug ├── xml.expected.json ├── xml.pug ├── yield-before-conditional-head.expected.json ├── yield-before-conditional-head.pug ├── yield-before-conditional.expected.json ├── yield-before-conditional.pug ├── yield-head.expected.json ├── yield-head.pug ├── yield-title-head.expected.json ├── yield-title-head.pug ├── yield-title.expected.json ├── yield-title.pug ├── yield.expected.json └── yield.pug ├── check-lexer-functions.js ├── errors ├── attribute-invalid-expression.json ├── attribute-invalid-expression.pug ├── case-with-invalid-expression.json ├── case-with-invalid-expression.pug ├── case-with-no-expression.json ├── case-with-no-expression.pug ├── default-with-expression.json ├── default-with-expression.pug ├── else-with-condition.json ├── else-with-condition.pug ├── extends-no-path.json ├── extends-no-path.pug ├── include-filter-no-path-2.json ├── include-filter-no-path-2.pug ├── include-filter-no-path.json ├── include-filter-no-path.pug ├── include-filter-no-space.json ├── include-filter-no-space.pug ├── include-no-path.json ├── include-no-path.pug ├── inconsistent-indentation.json ├── inconsistent-indentation.pug ├── interpolated-call.json ├── interpolated-call.pug ├── invalid-class-name-1.json ├── invalid-class-name-1.pug ├── invalid-class-name-2.json ├── invalid-class-name-2.pug ├── invalid-class-name-3.json ├── invalid-class-name-3.pug ├── invalid-id.json ├── invalid-id.pug ├── malformed-each.json ├── malformed-each.pug ├── malformed-extend.json ├── malformed-extend.pug ├── malformed-include.json ├── malformed-include.pug ├── mismatched-inline-tag.json ├── mismatched-inline-tag.pug ├── mismatched-tag-interpolation.json ├── mismatched-tag-interpolation.pug ├── multi-line-interpolation.json ├── multi-line-interpolation.pug ├── old-prefixed-each.json ├── old-prefixed-each.pug ├── open-interpolation.json ├── open-interpolation.pug ├── when-with-no-expression.json ├── when-with-no-expression.pug ├── while-with-no-expression.json └── while-with-no-expression.pug ├── index.js └── update-test-cases.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/.travis.yml -------------------------------------------------------------------------------- /History.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/History.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/package.json -------------------------------------------------------------------------------- /test/cases/attr-es2015.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attr-es2015.expected.json -------------------------------------------------------------------------------- /test/cases/attr-es2015.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attr-es2015.pug -------------------------------------------------------------------------------- /test/cases/attrs-data.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attrs-data.expected.json -------------------------------------------------------------------------------- /test/cases/attrs-data.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attrs-data.pug -------------------------------------------------------------------------------- /test/cases/attrs.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attrs.expected.json -------------------------------------------------------------------------------- /test/cases/attrs.js.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attrs.js.expected.json -------------------------------------------------------------------------------- /test/cases/attrs.js.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attrs.js.pug -------------------------------------------------------------------------------- /test/cases/attrs.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attrs.pug -------------------------------------------------------------------------------- /test/cases/attrs.unescaped.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attrs.unescaped.expected.json -------------------------------------------------------------------------------- /test/cases/attrs.unescaped.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/attrs.unescaped.pug -------------------------------------------------------------------------------- /test/cases/basic.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/basic.expected.json -------------------------------------------------------------------------------- /test/cases/basic.pug: -------------------------------------------------------------------------------- 1 | html 2 | body 3 | h1 Title -------------------------------------------------------------------------------- /test/cases/blanks.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/blanks.expected.json -------------------------------------------------------------------------------- /test/cases/blanks.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/blanks.pug -------------------------------------------------------------------------------- /test/cases/block-code.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/block-code.expected.json -------------------------------------------------------------------------------- /test/cases/block-code.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/block-code.pug -------------------------------------------------------------------------------- /test/cases/block-expansion.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/block-expansion.expected.json -------------------------------------------------------------------------------- /test/cases/block-expansion.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/block-expansion.pug -------------------------------------------------------------------------------- /test/cases/block-expansion.shorthands.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/block-expansion.shorthands.expected.json -------------------------------------------------------------------------------- /test/cases/block-expansion.shorthands.pug: -------------------------------------------------------------------------------- 1 | ul 2 | li.list-item: .foo: #bar baz -------------------------------------------------------------------------------- /test/cases/blockquote.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/blockquote.expected.json -------------------------------------------------------------------------------- /test/cases/blockquote.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/blockquote.pug -------------------------------------------------------------------------------- /test/cases/blocks-in-blocks.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/blocks-in-blocks.expected.json -------------------------------------------------------------------------------- /test/cases/blocks-in-blocks.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/blocks-in-blocks.pug -------------------------------------------------------------------------------- /test/cases/blocks-in-if.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/blocks-in-if.expected.json -------------------------------------------------------------------------------- /test/cases/blocks-in-if.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/blocks-in-if.pug -------------------------------------------------------------------------------- /test/cases/case-blocks.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/case-blocks.expected.json -------------------------------------------------------------------------------- /test/cases/case-blocks.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/case-blocks.pug -------------------------------------------------------------------------------- /test/cases/case.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/case.expected.json -------------------------------------------------------------------------------- /test/cases/case.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/case.pug -------------------------------------------------------------------------------- /test/cases/classes-empty.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/classes-empty.expected.json -------------------------------------------------------------------------------- /test/cases/classes-empty.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/classes-empty.pug -------------------------------------------------------------------------------- /test/cases/classes.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/classes.expected.json -------------------------------------------------------------------------------- /test/cases/classes.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/classes.pug -------------------------------------------------------------------------------- /test/cases/code.conditionals.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/code.conditionals.expected.json -------------------------------------------------------------------------------- /test/cases/code.conditionals.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/code.conditionals.pug -------------------------------------------------------------------------------- /test/cases/code.escape.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/code.escape.expected.json -------------------------------------------------------------------------------- /test/cases/code.escape.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/code.escape.pug -------------------------------------------------------------------------------- /test/cases/code.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/code.expected.json -------------------------------------------------------------------------------- /test/cases/code.iteration.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/code.iteration.expected.json -------------------------------------------------------------------------------- /test/cases/code.iteration.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/code.iteration.pug -------------------------------------------------------------------------------- /test/cases/code.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/code.pug -------------------------------------------------------------------------------- /test/cases/comments-in-case.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/comments-in-case.expected.json -------------------------------------------------------------------------------- /test/cases/comments-in-case.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/comments-in-case.pug -------------------------------------------------------------------------------- /test/cases/comments.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/comments.expected.json -------------------------------------------------------------------------------- /test/cases/comments.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/comments.pug -------------------------------------------------------------------------------- /test/cases/comments.source.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/comments.source.expected.json -------------------------------------------------------------------------------- /test/cases/comments.source.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/comments.source.pug -------------------------------------------------------------------------------- /test/cases/doctype.custom.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/doctype.custom.expected.json -------------------------------------------------------------------------------- /test/cases/doctype.custom.pug: -------------------------------------------------------------------------------- 1 | doctype custom stuff -------------------------------------------------------------------------------- /test/cases/doctype.default.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/doctype.default.expected.json -------------------------------------------------------------------------------- /test/cases/doctype.default.pug: -------------------------------------------------------------------------------- 1 | doctype 2 | html 3 | body 4 | h1 Title -------------------------------------------------------------------------------- /test/cases/doctype.keyword.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/doctype.keyword.expected.json -------------------------------------------------------------------------------- /test/cases/doctype.keyword.pug: -------------------------------------------------------------------------------- 1 | doctype html -------------------------------------------------------------------------------- /test/cases/each.else.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/each.else.expected.json -------------------------------------------------------------------------------- /test/cases/each.else.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/each.else.pug -------------------------------------------------------------------------------- /test/cases/escape-chars.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/escape-chars.expected.json -------------------------------------------------------------------------------- /test/cases/escape-chars.pug: -------------------------------------------------------------------------------- 1 | script. 2 | var re = /\d+/; -------------------------------------------------------------------------------- /test/cases/escape-test.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/escape-test.expected.json -------------------------------------------------------------------------------- /test/cases/escape-test.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/escape-test.pug -------------------------------------------------------------------------------- /test/cases/escaping-class-attribute.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/escaping-class-attribute.expected.json -------------------------------------------------------------------------------- /test/cases/escaping-class-attribute.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/escaping-class-attribute.pug -------------------------------------------------------------------------------- /test/cases/filter-in-include.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filter-in-include.expected.json -------------------------------------------------------------------------------- /test/cases/filter-in-include.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filter-in-include.pug -------------------------------------------------------------------------------- /test/cases/filters-empty.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters-empty.expected.json -------------------------------------------------------------------------------- /test/cases/filters-empty.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters-empty.pug -------------------------------------------------------------------------------- /test/cases/filters.coffeescript.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.coffeescript.expected.json -------------------------------------------------------------------------------- /test/cases/filters.coffeescript.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.coffeescript.pug -------------------------------------------------------------------------------- /test/cases/filters.custom.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.custom.expected.json -------------------------------------------------------------------------------- /test/cases/filters.custom.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.custom.pug -------------------------------------------------------------------------------- /test/cases/filters.include.custom.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.include.custom.expected.json -------------------------------------------------------------------------------- /test/cases/filters.include.custom.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.include.custom.pug -------------------------------------------------------------------------------- /test/cases/filters.include.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.include.expected.json -------------------------------------------------------------------------------- /test/cases/filters.include.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.include.pug -------------------------------------------------------------------------------- /test/cases/filters.inline.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.inline.expected.json -------------------------------------------------------------------------------- /test/cases/filters.inline.pug: -------------------------------------------------------------------------------- 1 | p before #[:cdata inside] after -------------------------------------------------------------------------------- /test/cases/filters.less.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.less.expected.json -------------------------------------------------------------------------------- /test/cases/filters.less.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.less.pug -------------------------------------------------------------------------------- /test/cases/filters.markdown.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.markdown.expected.json -------------------------------------------------------------------------------- /test/cases/filters.markdown.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.markdown.pug -------------------------------------------------------------------------------- /test/cases/filters.nested.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.nested.expected.json -------------------------------------------------------------------------------- /test/cases/filters.nested.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.nested.pug -------------------------------------------------------------------------------- /test/cases/filters.stylus.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.stylus.expected.json -------------------------------------------------------------------------------- /test/cases/filters.stylus.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/filters.stylus.pug -------------------------------------------------------------------------------- /test/cases/html.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/html.expected.json -------------------------------------------------------------------------------- /test/cases/html.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/html.pug -------------------------------------------------------------------------------- /test/cases/html5.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/html5.expected.json -------------------------------------------------------------------------------- /test/cases/html5.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/html5.pug -------------------------------------------------------------------------------- /test/cases/include-extends-from-root.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-extends-from-root.expected.json -------------------------------------------------------------------------------- /test/cases/include-extends-from-root.pug: -------------------------------------------------------------------------------- 1 | include /auxiliary/extends-from-root.pug 2 | -------------------------------------------------------------------------------- /test/cases/include-extends-of-common-template.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-extends-of-common-template.expected.json -------------------------------------------------------------------------------- /test/cases/include-extends-of-common-template.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-extends-of-common-template.pug -------------------------------------------------------------------------------- /test/cases/include-extends-relative.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-extends-relative.expected.json -------------------------------------------------------------------------------- /test/cases/include-extends-relative.pug: -------------------------------------------------------------------------------- 1 | include ../cases/auxiliary/extends-relative.pug 2 | -------------------------------------------------------------------------------- /test/cases/include-only-text-body.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-only-text-body.expected.json -------------------------------------------------------------------------------- /test/cases/include-only-text-body.pug: -------------------------------------------------------------------------------- 1 | | The message is " 2 | yield 3 | | " 4 | -------------------------------------------------------------------------------- /test/cases/include-only-text.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-only-text.expected.json -------------------------------------------------------------------------------- /test/cases/include-only-text.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-only-text.pug -------------------------------------------------------------------------------- /test/cases/include-with-text-head.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-with-text-head.expected.json -------------------------------------------------------------------------------- /test/cases/include-with-text-head.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-with-text-head.pug -------------------------------------------------------------------------------- /test/cases/include-with-text.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-with-text.expected.json -------------------------------------------------------------------------------- /test/cases/include-with-text.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include-with-text.pug -------------------------------------------------------------------------------- /test/cases/include.script.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include.script.expected.json -------------------------------------------------------------------------------- /test/cases/include.script.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include.script.pug -------------------------------------------------------------------------------- /test/cases/include.yield.nested.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include.yield.nested.expected.json -------------------------------------------------------------------------------- /test/cases/include.yield.nested.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/include.yield.nested.pug -------------------------------------------------------------------------------- /test/cases/includes-with-ext-js.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/includes-with-ext-js.expected.json -------------------------------------------------------------------------------- /test/cases/includes-with-ext-js.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/includes-with-ext-js.pug -------------------------------------------------------------------------------- /test/cases/includes.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/includes.expected.json -------------------------------------------------------------------------------- /test/cases/includes.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/includes.pug -------------------------------------------------------------------------------- /test/cases/inheritance.alert-dialog.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.alert-dialog.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.alert-dialog.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.alert-dialog.pug -------------------------------------------------------------------------------- /test/cases/inheritance.defaults.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.defaults.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.defaults.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.defaults.pug -------------------------------------------------------------------------------- /test/cases/inheritance.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.extend.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.extend.include.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.include.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.extend.include.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.include.pug -------------------------------------------------------------------------------- /test/cases/inheritance.extend.mixins.block.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.mixins.block.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.extend.mixins.block.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.mixins.block.pug -------------------------------------------------------------------------------- /test/cases/inheritance.extend.mixins.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.mixins.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.extend.mixins.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.mixins.pug -------------------------------------------------------------------------------- /test/cases/inheritance.extend.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.pug -------------------------------------------------------------------------------- /test/cases/inheritance.extend.recursive.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.recursive.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.extend.recursive.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.recursive.pug -------------------------------------------------------------------------------- /test/cases/inheritance.extend.whitespace.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.whitespace.expected.json -------------------------------------------------------------------------------- /test/cases/inheritance.extend.whitespace.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.extend.whitespace.pug -------------------------------------------------------------------------------- /test/cases/inheritance.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inheritance.pug -------------------------------------------------------------------------------- /test/cases/inline-block-comment.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inline-block-comment.expected.json -------------------------------------------------------------------------------- /test/cases/inline-block-comment.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inline-block-comment.pug -------------------------------------------------------------------------------- /test/cases/inline-tag.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inline-tag.expected.json -------------------------------------------------------------------------------- /test/cases/inline-tag.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/inline-tag.pug -------------------------------------------------------------------------------- /test/cases/intepolated-elements.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/intepolated-elements.expected.json -------------------------------------------------------------------------------- /test/cases/intepolated-elements.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/intepolated-elements.pug -------------------------------------------------------------------------------- /test/cases/interpolated-mixin.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/interpolated-mixin.expected.json -------------------------------------------------------------------------------- /test/cases/interpolated-mixin.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/interpolated-mixin.pug -------------------------------------------------------------------------------- /test/cases/interpolation.escape.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/interpolation.escape.expected.json -------------------------------------------------------------------------------- /test/cases/interpolation.escape.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/interpolation.escape.pug -------------------------------------------------------------------------------- /test/cases/javascript-new-lines.js: -------------------------------------------------------------------------------- 1 | var x = "\n here is some \n new lined text"; 2 | -------------------------------------------------------------------------------- /test/cases/layout.append.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.append.expected.json -------------------------------------------------------------------------------- /test/cases/layout.append.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.append.pug -------------------------------------------------------------------------------- /test/cases/layout.append.without-block.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.append.without-block.expected.json -------------------------------------------------------------------------------- /test/cases/layout.append.without-block.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.append.without-block.pug -------------------------------------------------------------------------------- /test/cases/layout.multi.append.prepend.block.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.multi.append.prepend.block.expected.json -------------------------------------------------------------------------------- /test/cases/layout.multi.append.prepend.block.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.multi.append.prepend.block.pug -------------------------------------------------------------------------------- /test/cases/layout.prepend.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.prepend.expected.json -------------------------------------------------------------------------------- /test/cases/layout.prepend.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.prepend.pug -------------------------------------------------------------------------------- /test/cases/layout.prepend.without-block.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.prepend.without-block.expected.json -------------------------------------------------------------------------------- /test/cases/layout.prepend.without-block.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/layout.prepend.without-block.pug -------------------------------------------------------------------------------- /test/cases/mixin-at-end-of-file.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin-at-end-of-file.expected.json -------------------------------------------------------------------------------- /test/cases/mixin-at-end-of-file.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin-at-end-of-file.pug -------------------------------------------------------------------------------- /test/cases/mixin-block-with-space.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin-block-with-space.expected.json -------------------------------------------------------------------------------- /test/cases/mixin-block-with-space.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin-block-with-space.pug -------------------------------------------------------------------------------- /test/cases/mixin-hoist.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin-hoist.expected.json -------------------------------------------------------------------------------- /test/cases/mixin-hoist.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin-hoist.pug -------------------------------------------------------------------------------- /test/cases/mixin-via-include.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin-via-include.expected.json -------------------------------------------------------------------------------- /test/cases/mixin-via-include.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin-via-include.pug -------------------------------------------------------------------------------- /test/cases/mixin.attrs.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin.attrs.expected.json -------------------------------------------------------------------------------- /test/cases/mixin.attrs.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin.attrs.pug -------------------------------------------------------------------------------- /test/cases/mixin.block-tag-behaviour.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin.block-tag-behaviour.expected.json -------------------------------------------------------------------------------- /test/cases/mixin.block-tag-behaviour.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin.block-tag-behaviour.pug -------------------------------------------------------------------------------- /test/cases/mixin.blocks.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin.blocks.expected.json -------------------------------------------------------------------------------- /test/cases/mixin.blocks.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin.blocks.pug -------------------------------------------------------------------------------- /test/cases/mixin.merge.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin.merge.expected.json -------------------------------------------------------------------------------- /test/cases/mixin.merge.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixin.merge.pug -------------------------------------------------------------------------------- /test/cases/mixins-unused.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixins-unused.expected.json -------------------------------------------------------------------------------- /test/cases/mixins-unused.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixins-unused.pug -------------------------------------------------------------------------------- /test/cases/mixins.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixins.expected.json -------------------------------------------------------------------------------- /test/cases/mixins.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixins.pug -------------------------------------------------------------------------------- /test/cases/mixins.rest-args.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixins.rest-args.expected.json -------------------------------------------------------------------------------- /test/cases/mixins.rest-args.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/mixins.rest-args.pug -------------------------------------------------------------------------------- /test/cases/namespaces.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/namespaces.expected.json -------------------------------------------------------------------------------- /test/cases/namespaces.pug: -------------------------------------------------------------------------------- 1 | fb:user:role Something 2 | foo(fb:foo='bar') -------------------------------------------------------------------------------- /test/cases/nesting.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/nesting.expected.json -------------------------------------------------------------------------------- /test/cases/nesting.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/nesting.pug -------------------------------------------------------------------------------- /test/cases/pipeless-comments.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/pipeless-comments.expected.json -------------------------------------------------------------------------------- /test/cases/pipeless-comments.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/pipeless-comments.pug -------------------------------------------------------------------------------- /test/cases/pipeless-filters.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/pipeless-filters.expected.json -------------------------------------------------------------------------------- /test/cases/pipeless-filters.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/pipeless-filters.pug -------------------------------------------------------------------------------- /test/cases/pipeless-tag.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/pipeless-tag.expected.json -------------------------------------------------------------------------------- /test/cases/pipeless-tag.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/pipeless-tag.pug -------------------------------------------------------------------------------- /test/cases/pre.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/pre.expected.json -------------------------------------------------------------------------------- /test/cases/pre.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/pre.pug -------------------------------------------------------------------------------- /test/cases/quotes.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/quotes.expected.json -------------------------------------------------------------------------------- /test/cases/quotes.pug: -------------------------------------------------------------------------------- 1 | p "foo" 2 | p 'foo' -------------------------------------------------------------------------------- /test/cases/regression.1794.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/regression.1794.expected.json -------------------------------------------------------------------------------- /test/cases/regression.1794.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/regression.1794.pug -------------------------------------------------------------------------------- /test/cases/regression.784.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/regression.784.expected.json -------------------------------------------------------------------------------- /test/cases/regression.784.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/regression.784.pug -------------------------------------------------------------------------------- /test/cases/script.whitespace.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/script.whitespace.expected.json -------------------------------------------------------------------------------- /test/cases/script.whitespace.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/script.whitespace.pug -------------------------------------------------------------------------------- /test/cases/scripts.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/scripts.expected.json -------------------------------------------------------------------------------- /test/cases/scripts.non-js.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/scripts.non-js.expected.json -------------------------------------------------------------------------------- /test/cases/scripts.non-js.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/scripts.non-js.pug -------------------------------------------------------------------------------- /test/cases/scripts.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/scripts.pug -------------------------------------------------------------------------------- /test/cases/self-closing-html.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/self-closing-html.expected.json -------------------------------------------------------------------------------- /test/cases/self-closing-html.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/self-closing-html.pug -------------------------------------------------------------------------------- /test/cases/single-period.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/single-period.expected.json -------------------------------------------------------------------------------- /test/cases/single-period.pug: -------------------------------------------------------------------------------- 1 | span . -------------------------------------------------------------------------------- /test/cases/source.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/source.expected.json -------------------------------------------------------------------------------- /test/cases/source.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/source.pug -------------------------------------------------------------------------------- /test/cases/styles.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/styles.expected.json -------------------------------------------------------------------------------- /test/cases/styles.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/styles.pug -------------------------------------------------------------------------------- /test/cases/tag-blocks.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/tag-blocks.expected.json -------------------------------------------------------------------------------- /test/cases/tag-blocks.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/tag-blocks.pug -------------------------------------------------------------------------------- /test/cases/tag.interpolation.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/tag.interpolation.expected.json -------------------------------------------------------------------------------- /test/cases/tag.interpolation.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/tag.interpolation.pug -------------------------------------------------------------------------------- /test/cases/tags.self-closing.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/tags.self-closing.expected.json -------------------------------------------------------------------------------- /test/cases/tags.self-closing.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/tags.self-closing.pug -------------------------------------------------------------------------------- /test/cases/template.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/template.expected.json -------------------------------------------------------------------------------- /test/cases/template.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/template.pug -------------------------------------------------------------------------------- /test/cases/text-block.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/text-block.expected.json -------------------------------------------------------------------------------- /test/cases/text-block.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/text-block.pug -------------------------------------------------------------------------------- /test/cases/text.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/text.expected.json -------------------------------------------------------------------------------- /test/cases/text.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/text.pug -------------------------------------------------------------------------------- /test/cases/utf8bom.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/utf8bom.expected.json -------------------------------------------------------------------------------- /test/cases/utf8bom.pug: -------------------------------------------------------------------------------- 1 | p "foo" 2 | -------------------------------------------------------------------------------- /test/cases/vars.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/vars.expected.json -------------------------------------------------------------------------------- /test/cases/vars.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/vars.pug -------------------------------------------------------------------------------- /test/cases/while.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/while.expected.json -------------------------------------------------------------------------------- /test/cases/while.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/while.pug -------------------------------------------------------------------------------- /test/cases/xml.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/xml.expected.json -------------------------------------------------------------------------------- /test/cases/xml.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/xml.pug -------------------------------------------------------------------------------- /test/cases/yield-before-conditional-head.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-before-conditional-head.expected.json -------------------------------------------------------------------------------- /test/cases/yield-before-conditional-head.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-before-conditional-head.pug -------------------------------------------------------------------------------- /test/cases/yield-before-conditional.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-before-conditional.expected.json -------------------------------------------------------------------------------- /test/cases/yield-before-conditional.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-before-conditional.pug -------------------------------------------------------------------------------- /test/cases/yield-head.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-head.expected.json -------------------------------------------------------------------------------- /test/cases/yield-head.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-head.pug -------------------------------------------------------------------------------- /test/cases/yield-title-head.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-title-head.expected.json -------------------------------------------------------------------------------- /test/cases/yield-title-head.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-title-head.pug -------------------------------------------------------------------------------- /test/cases/yield-title.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-title.expected.json -------------------------------------------------------------------------------- /test/cases/yield-title.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield-title.pug -------------------------------------------------------------------------------- /test/cases/yield.expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield.expected.json -------------------------------------------------------------------------------- /test/cases/yield.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/cases/yield.pug -------------------------------------------------------------------------------- /test/check-lexer-functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/check-lexer-functions.js -------------------------------------------------------------------------------- /test/errors/attribute-invalid-expression.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/attribute-invalid-expression.json -------------------------------------------------------------------------------- /test/errors/attribute-invalid-expression.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/attribute-invalid-expression.pug -------------------------------------------------------------------------------- /test/errors/case-with-invalid-expression.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/case-with-invalid-expression.json -------------------------------------------------------------------------------- /test/errors/case-with-invalid-expression.pug: -------------------------------------------------------------------------------- 1 | case thisWillNotWork( 2 | -------------------------------------------------------------------------------- /test/errors/case-with-no-expression.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/case-with-no-expression.json -------------------------------------------------------------------------------- /test/errors/case-with-no-expression.pug: -------------------------------------------------------------------------------- 1 | case -------------------------------------------------------------------------------- /test/errors/default-with-expression.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/default-with-expression.json -------------------------------------------------------------------------------- /test/errors/default-with-expression.pug: -------------------------------------------------------------------------------- 1 | default foo -------------------------------------------------------------------------------- /test/errors/else-with-condition.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/else-with-condition.json -------------------------------------------------------------------------------- /test/errors/else-with-condition.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/else-with-condition.pug -------------------------------------------------------------------------------- /test/errors/extends-no-path.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/extends-no-path.json -------------------------------------------------------------------------------- /test/errors/extends-no-path.pug: -------------------------------------------------------------------------------- 1 | extends -------------------------------------------------------------------------------- /test/errors/include-filter-no-path-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/include-filter-no-path-2.json -------------------------------------------------------------------------------- /test/errors/include-filter-no-path-2.pug: -------------------------------------------------------------------------------- 1 | include:foo -------------------------------------------------------------------------------- /test/errors/include-filter-no-path.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/include-filter-no-path.json -------------------------------------------------------------------------------- /test/errors/include-filter-no-path.pug: -------------------------------------------------------------------------------- 1 | include:foo -------------------------------------------------------------------------------- /test/errors/include-filter-no-space.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/include-filter-no-space.json -------------------------------------------------------------------------------- /test/errors/include-filter-no-space.pug: -------------------------------------------------------------------------------- 1 | include:foo()foo.£ -------------------------------------------------------------------------------- /test/errors/include-no-path.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/include-no-path.json -------------------------------------------------------------------------------- /test/errors/include-no-path.pug: -------------------------------------------------------------------------------- 1 | include -------------------------------------------------------------------------------- /test/errors/inconsistent-indentation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/inconsistent-indentation.json -------------------------------------------------------------------------------- /test/errors/inconsistent-indentation.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/inconsistent-indentation.pug -------------------------------------------------------------------------------- /test/errors/interpolated-call.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/interpolated-call.json -------------------------------------------------------------------------------- /test/errors/interpolated-call.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/interpolated-call.pug -------------------------------------------------------------------------------- /test/errors/invalid-class-name-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/invalid-class-name-1.json -------------------------------------------------------------------------------- /test/errors/invalid-class-name-1.pug: -------------------------------------------------------------------------------- 1 | .95 -------------------------------------------------------------------------------- /test/errors/invalid-class-name-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/invalid-class-name-2.json -------------------------------------------------------------------------------- /test/errors/invalid-class-name-2.pug: -------------------------------------------------------------------------------- 1 | .- -------------------------------------------------------------------------------- /test/errors/invalid-class-name-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/invalid-class-name-3.json -------------------------------------------------------------------------------- /test/errors/invalid-class-name-3.pug: -------------------------------------------------------------------------------- 1 | .ä -------------------------------------------------------------------------------- /test/errors/invalid-id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/invalid-id.json -------------------------------------------------------------------------------- /test/errors/invalid-id.pug: -------------------------------------------------------------------------------- 1 | #ä -------------------------------------------------------------------------------- /test/errors/malformed-each.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/malformed-each.json -------------------------------------------------------------------------------- /test/errors/malformed-each.pug: -------------------------------------------------------------------------------- 1 | each foo bar -------------------------------------------------------------------------------- /test/errors/malformed-extend.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/malformed-extend.json -------------------------------------------------------------------------------- /test/errors/malformed-extend.pug: -------------------------------------------------------------------------------- 1 | extend(data-foo='bar') I'm pretending to be a tag -------------------------------------------------------------------------------- /test/errors/malformed-include.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/malformed-include.json -------------------------------------------------------------------------------- /test/errors/malformed-include.pug: -------------------------------------------------------------------------------- 1 | include(data-foo='bar') I'm pretending to be a tag -------------------------------------------------------------------------------- /test/errors/mismatched-inline-tag.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/mismatched-inline-tag.json -------------------------------------------------------------------------------- /test/errors/mismatched-inline-tag.pug: -------------------------------------------------------------------------------- 1 | //- #1871 2 | p #[strong a} 3 | -------------------------------------------------------------------------------- /test/errors/mismatched-tag-interpolation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/mismatched-tag-interpolation.json -------------------------------------------------------------------------------- /test/errors/mismatched-tag-interpolation.pug: -------------------------------------------------------------------------------- 1 | #{ 2 | 'abc' 3 | -------------------------------------------------------------------------------- /test/errors/multi-line-interpolation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/multi-line-interpolation.json -------------------------------------------------------------------------------- /test/errors/multi-line-interpolation.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/multi-line-interpolation.pug -------------------------------------------------------------------------------- /test/errors/old-prefixed-each.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/old-prefixed-each.json -------------------------------------------------------------------------------- /test/errors/old-prefixed-each.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/old-prefixed-each.pug -------------------------------------------------------------------------------- /test/errors/open-interpolation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/open-interpolation.json -------------------------------------------------------------------------------- /test/errors/open-interpolation.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/open-interpolation.pug -------------------------------------------------------------------------------- /test/errors/when-with-no-expression.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/when-with-no-expression.json -------------------------------------------------------------------------------- /test/errors/when-with-no-expression.pug: -------------------------------------------------------------------------------- 1 | when -------------------------------------------------------------------------------- /test/errors/while-with-no-expression.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/errors/while-with-no-expression.json -------------------------------------------------------------------------------- /test/errors/while-with-no-expression.pug: -------------------------------------------------------------------------------- 1 | while -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/index.js -------------------------------------------------------------------------------- /test/update-test-cases.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pugjs/pug-lexer/HEAD/test/update-test-cases.js --------------------------------------------------------------------------------