...\" to unstage)"],
12 | ["comment", "#"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/git/coord_feature.test:
--------------------------------------------------------------------------------
1 | @@ -1 +1,2 @@
2 | @@@ -98,20 -98,12 +98,20 @@@
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["coord", "@@ -1 +1,2 @@"],
8 | ["coord", "@@@ -98,20 -98,12 +98,20 @@@"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for coords.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/git/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "foo"
3 | ''
4 | 'bar'
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "\"\""],
10 | ["string", "\"foo\""],
11 | ["string", "''"],
12 | ["string", "'bar'"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for double-quoted and single-quoted strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/glsl/comment_feature.test:
--------------------------------------------------------------------------------
1 | /**/
2 | /* foo
3 | bar */
4 | //
5 | // foo
6 | // foo\
7 | bar
8 |
9 | ----------------------------------------------------
10 |
11 | [
12 | ["comment", "/**/"],
13 | ["comment", "/* foo\r\nbar */"],
14 | ["comment", "//"],
15 | ["comment", "// foo"],
16 | ["comment", "// foo\\\r\nbar"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/go/boolean_feature.test:
--------------------------------------------------------------------------------
1 | _
2 | iota
3 | nil
4 | true
5 | false
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["boolean", "_"],
11 | ["boolean", "iota"],
12 | ["boolean", "nil"],
13 | ["boolean", "true"],
14 | ["boolean", "false"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for all boolean values.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/groovy/annotation_feature.test:
--------------------------------------------------------------------------------
1 | @BaseScript MyBaseClass baseScript
2 | @DelegatesTo(EmailSpec)
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["annotation", "@BaseScript"],
8 | " MyBaseClass baseScript\r\n",
9 | ["annotation", "@DelegatesTo"],
10 | ["punctuation", "("],
11 | "EmailSpec",
12 | ["punctuation", ")"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for annotations.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/groovy/shebang_feature.test:
--------------------------------------------------------------------------------
1 | #!foobar
2 | #!/usr/bin/env groovy
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["shebang", "#!foobar"],
8 | ["shebang", "#!/usr/bin/env groovy"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Check for shebang comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/haml/doctype_feature.test:
--------------------------------------------------------------------------------
1 | !!!
2 | !!! 5
3 | !!! Strict
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["doctype", "!!!"],
9 | ["doctype", "!!! 5"],
10 | ["doctype", "!!! Strict"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for doctypes.
16 |
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/haml/interpolation_feature.test:
--------------------------------------------------------------------------------
1 | #{ 42 }
2 | #{ "foobar" }
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["interpolation", [
8 | ["delimiter", "#{"],
9 | ["number", "42"],
10 | ["delimiter", "}"]
11 | ]],
12 | ["interpolation", [
13 | ["delimiter", "#{"],
14 | ["string", ["\"foobar\""]],
15 | ["delimiter", "}"]
16 | ]]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for interpolation in plain text.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/handlebars+jade/handlebars_inclusion.test:
--------------------------------------------------------------------------------
1 | :handlebars
2 | {{!comment}}
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["filter-handlebars", [
8 | ["filter-name", ":handlebars"],
9 | ["handlebars-comment", "{{!comment}}"]
10 | ]]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for handlebars filter in Jade.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/handlebars/boolean_feature.test:
--------------------------------------------------------------------------------
1 | {{ true }}
2 | {{{ false }}}
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["handlebars", [
8 | ["delimiter", "{{"], ["boolean", "true"], ["delimiter", "}}"]
9 | ]],
10 | ["handlebars", [
11 | ["delimiter", "{{{"], ["boolean", "false"], ["delimiter", "}}}"]
12 | ]]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for all booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/haskell/char_feature.test:
--------------------------------------------------------------------------------
1 | 'a'
2 | '\n'
3 | '\23'
4 | '\xFE'
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["char", "'a'"],
10 | ["char", "'\\n'"],
11 | ["char", "'\\23'"],
12 | ["char", "'\\xFE'"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for chars.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/haskell/comment_feature.test:
--------------------------------------------------------------------------------
1 | -- foo
2 | {- foo
3 | bar -}
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["comment", "-- foo"],
9 | ["comment", "{- foo\r\nbar -}"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for single-line and multi-line comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/haskell/constant_feature.test:
--------------------------------------------------------------------------------
1 | Foo
2 | Foo.Bar
3 | Baz.Foobar_42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["constant", "Foo"],
9 | ["constant", "Foo.Bar"],
10 | ["constant", "Baz.Foobar_42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for constants.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/haskell/hvariable_feature.test:
--------------------------------------------------------------------------------
1 | foo
2 | Foo.bar
3 | Baz.foobar_42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["hvariable", "foo"],
9 | ["hvariable", "Foo.bar"],
10 | ["hvariable", "Baz.foobar_42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for hvariables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/haskell/number_feature.test:
--------------------------------------------------------------------------------
1 | 42
2 | 3.14159
3 | 2E3
4 | 1.2e-4
5 | 0.9e+1
6 | 0o47
7 | 0xBadFace
8 |
9 | ----------------------------------------------------
10 |
11 | [
12 | ["number", "42"],
13 | ["number", "3.14159"],
14 | ["number", "2E3"],
15 | ["number", "1.2e-4"],
16 | ["number", "0.9e+1"],
17 | ["number", "0o47"],
18 | ["number", "0xBadFace"]
19 | ]
20 |
21 | ----------------------------------------------------
22 |
23 | Checks for decimal, octal and hexadecimal numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/haskell/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"o"
3 | "foo \
4 | \ bar"
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "\"\""],
10 | ["string", "\"fo\\\"o\""],
11 | ["string", "\"foo \\\r\n \\ bar\""]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/inform7/comment_feature.test:
--------------------------------------------------------------------------------
1 | [Foobar]
2 | [Foo
3 | bar
4 | baz]
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", "[Foobar]"],
10 | ["comment", "[Foo\r\nbar\r\nbaz]"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ini/comment_feature.test:
--------------------------------------------------------------------------------
1 | ;
2 | ; foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", ";"],
8 | ["comment", "; foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ini/important_feature.test:
--------------------------------------------------------------------------------
1 | [owner]
2 | [foobar]
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["important", "[owner]"],
8 | ["important", "[foobar]"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for section titles.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ini/key_value_feature.test:
--------------------------------------------------------------------------------
1 | foo=Bar Baz
2 | foobar=42
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["constant", "foo"],
8 | ["attr-value", [
9 | ["punctuation", "="],
10 | "Bar Baz"
11 | ]],
12 | ["constant", "foobar"],
13 | ["attr-value", [
14 | ["punctuation", "="],
15 | "42"
16 | ]]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for key/value pairs.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/j/adverb_feature.test:
--------------------------------------------------------------------------------
1 | ~ }
2 | / /.
3 | \ \.
4 | b. f. M.
5 | t. t:
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["adverb", "~"], ["adverb", "}"],
11 | ["adverb", "/"], ["adverb", "/."],
12 | ["adverb", "\\"], ["adverb", "\\."],
13 | ["adverb", "b."], ["adverb", "f."], ["adverb", "M."],
14 | ["adverb", "t."], ["adverb", "t:"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for adverbs.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/j/comment_feature.test:
--------------------------------------------------------------------------------
1 | NB.
2 | NB. Foo bar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "NB."],
8 | ["comment", "NB. Foo bar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/j/string_feature.test:
--------------------------------------------------------------------------------
1 | ''
2 | 'fo''obar'
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["string", "''"],
8 | ["string", "'fo''obar'"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/jade/comment_feature.test:
--------------------------------------------------------------------------------
1 | // foo
2 | bar
3 |
4 | // foo
5 | bar baz
6 |
7 | // foo
8 |
9 | // bar
10 |
11 | ----------------------------------------------------
12 |
13 | [
14 | ["comment", "// foo\r\n bar"],
15 | ["comment", "// foo\r\n\t\tbar baz"],
16 | ["comment", "// foo"],
17 | ["comment", "// bar"]
18 | ]
19 |
20 | ----------------------------------------------------
21 |
22 | Checks for single-line comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/jade/doctype_feature.test:
--------------------------------------------------------------------------------
1 | doctype html
2 | doctype 1.1
3 | doctype html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN"
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["doctype", "doctype html"],
9 | ["doctype", "doctype 1.1"],
10 | ["doctype", "doctype html PUBLIC \"-//W3C//DTD XHTML Basic 1.1//EN\""]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for doctypes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/jade/plain-text_feature.test:
--------------------------------------------------------------------------------
1 | div foo
2 | span foo bar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["tag", [
8 | "div"
9 | ]],
10 | ["plain-text", "foo"],
11 | ["tag", [
12 | "span"
13 | ]],
14 | ["plain-text", "foo bar"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for single-line plain text.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/javascript/regex_feature.test:
--------------------------------------------------------------------------------
1 | /foo bar/
2 | /foo/gimyu,
3 | /[\[\]]{2,4}(?:foo)*/;
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["regex", "/foo bar/"],
9 | ["regex", "/foo/gimyu"], ["punctuation", ","],
10 | ["regex", "/[\\[\\]]{2,4}(?:foo)*/"], ["punctuation", ";"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for regex.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/julia/boolean_feature.test:
--------------------------------------------------------------------------------
1 | true
2 | false
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "true"],
8 | ["boolean", "false"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/julia/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/keyman/atrule_feature.test:
--------------------------------------------------------------------------------
1 | ansi begin unicode
2 | group using keys
3 | match nomatch
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["atrule", "ansi"], ["atrule", "begin"], ["atrule", "unicode"],
9 | ["atrule", "group"], ["atrule", "using keys"],
10 | ["atrule", "match"], ["atrule", "nomatch"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for all structural keywords.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/keyman/comment_feature.test:
--------------------------------------------------------------------------------
1 | c Foo
2 | c Foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "c Foo"],
8 | ["comment", "c Foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/keyman/number_feature.test:
--------------------------------------------------------------------------------
1 | U+0041
2 | d67
3 | d1114111
4 | x20
5 | x10FFFF
6 | 4177777
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["number", "U+0041"],
12 | ["number", "d67"],
13 | ["number", "d1114111"],
14 | ["number", "x20"],
15 | ["number", "x10FFFF"],
16 | ["number", "4177777"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for unicode, decimal, hexadecimal and octal character codes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/keyman/operator_feature.test:
--------------------------------------------------------------------------------
1 | + >
2 | \ ,
3 | ( )
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["operator", "+"], ["operator", ">"],
9 | ["operator", "\\"], ["operator", ","],
10 | ["operator", "("], ["operator", ")"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for all operators.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/keyman/string_feature.test:
--------------------------------------------------------------------------------
1 | ''
2 | ""
3 | 'foo'
4 | "bar"
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "''"],
10 | ["string", "\"\""],
11 | ["string", "'foo'"],
12 | ["string", "\"bar\""]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for single-quoted and double-quoted strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/keyman/tag_feature.test:
--------------------------------------------------------------------------------
1 | $keyman:
2 | $kmfl:
3 | $weaver:
4 | $keymanweb:
5 | $keymanonly:
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["tag", "$keyman:"],
11 | ["tag", "$kmfl:"],
12 | ["tag", "$weaver:"],
13 | ["tag", "$keymanweb:"],
14 | ["tag", "$keymanonly:"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for all prefixes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/latex/comment_feature.test:
--------------------------------------------------------------------------------
1 | %
2 | % foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "%"],
8 | ["comment", "% foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/latex/url_feature.test:
--------------------------------------------------------------------------------
1 | \url{http://prismjs.com}
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["function", "\\url"], ["punctuation", "{"],
7 | ["url", "http://prismjs.com"], ["punctuation", "}"]
8 | ]
9 |
10 | ----------------------------------------------------
11 |
12 | Checks for URLs.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/less+jade/less_inclusion.test:
--------------------------------------------------------------------------------
1 | :less
2 | @foo: #123;
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["filter-less", [
8 | ["filter-name", ":less"],
9 | ["variable", [
10 | "@foo",
11 | ["punctuation", ":"]
12 | ]],
13 | " #123",
14 | ["punctuation", ";"]
15 | ]]
16 | ]
17 |
18 | ----------------------------------------------------
19 |
20 | Checks for less filter in Jade.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/less/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // foobar
3 | /**/
4 | /* foo
5 | bar */
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["comment", "//"],
11 | ["comment", "// foobar"],
12 | ["comment", "/**/"],
13 | ["comment", "/* foo\r\nbar */"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for single-line and multi-line comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/less/operator_feature.test:
--------------------------------------------------------------------------------
1 | + - * /
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["operator", "+"],
7 | ["operator", "-"],
8 | ["operator", "*"],
9 | ["operator", "/"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for operators.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/lolcode/boolean_feature.test:
--------------------------------------------------------------------------------
1 | WIN
2 | FAIL
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "WIN"],
8 | ["boolean", "FAIL"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/lolcode/comment_feature.test:
--------------------------------------------------------------------------------
1 | OBTW foo
2 | bar TLDR
3 | BTW foobar
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["comment", "OBTW foo\r\nbar TLDR"],
9 | ["comment", "BTW foobar"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for single-line and multi-line comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/lolcode/function_feature.test:
--------------------------------------------------------------------------------
1 | I IZ foobar
2 | HOW IZ I foobar
3 | IZ fooBAR
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["keyword", "I IZ"],
9 | ["function", "foobar"],
10 | ["keyword", "HOW IZ I"],
11 | ["function", "foobar"],
12 | ["keyword", "IZ"],
13 | ["function", "fooBAR"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/lolcode/label_feature.test:
--------------------------------------------------------------------------------
1 | IM IN YR foobar
2 | IM OUTTA YR fooBAR
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["keyword", "IM IN YR"],
8 | ["label", "foobar"],
9 | ["keyword", "IM OUTTA YR"],
10 | ["label", "fooBAR"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for labels.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/lolcode/number_feature.test:
--------------------------------------------------------------------------------
1 | 42
2 | 3.14159
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["number", "42"],
8 | ["number", "3.14159"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/lolcode/variable_feature.test:
--------------------------------------------------------------------------------
1 | IT
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["variable", "IT"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/makefile/builtin_feature.test:
--------------------------------------------------------------------------------
1 | .PHONY:
2 | .DELETE_ON_ERROR:
3 | .SECONDEXPANSION:
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["builtin", ".PHONY"], ["punctuation", ":"],
9 | ["builtin", ".DELETE_ON_ERROR"], ["punctuation", ":"],
10 | ["builtin", ".SECONDEXPANSION"], ["punctuation", ":"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for built-in target names.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/makefile/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 | # foo \
4 | bar
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", "#"],
10 | ["comment", "# foobar"],
11 | ["comment", "# foo \\\r\nbar"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/makefile/operator_feature.test:
--------------------------------------------------------------------------------
1 | = ::= ?=
2 | := += !=
3 | | @
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["operator", "="], ["operator", "::="], ["operator", "?="],
9 | ["operator", ":="], ["operator", "+="], ["operator", "!="],
10 | ["operator", "|"], ["operator", "@"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for operators.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/makefile/symbol_feature.test:
--------------------------------------------------------------------------------
1 | edit :
2 | %oo:
3 | $(foo):
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["symbol", ["edit "]], ["punctuation", ":"],
9 | ["symbol", ["%oo"]], ["punctuation", ":"],
10 | ["symbol", [
11 | ["variable", "$"],
12 | "(foo)"
13 | ]], ["punctuation", ":"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for targets, optionally containing interpolation.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/makefile/variable_feature.test:
--------------------------------------------------------------------------------
1 | $@
2 | $$<
3 | $(@D)
4 | $(foobar)
5 | $(2)
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["variable", "$@"],
11 | ["variable", "$$<"],
12 | ["variable", "$(@D)"],
13 | ["variable", "$"], ["punctuation", "("], "foobar", ["punctuation", ")"],
14 | ["variable", "$"], ["punctuation", "("], "2", ["punctuation", ")"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/markdown+jade/markdown_inclusion.test:
--------------------------------------------------------------------------------
1 | :markdown
2 | # title
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["filter-markdown", [
8 | ["filter-name", ":markdown"],
9 | ["title", [
10 | ["punctuation", "#"],
11 | " title"
12 | ]]
13 | ]]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for markdown filter in Jade.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/markdown/blockquote_feature.test:
--------------------------------------------------------------------------------
1 | > foo
2 | >> foo
3 | > > foo
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["blockquote", ">"], " foo\r\n",
9 | ["blockquote", ">>"], " foo\r\n",
10 | ["blockquote", "> >"], " foo"
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for blockquotes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/markdown/hr_feature.test:
--------------------------------------------------------------------------------
1 | ***
2 | ---
3 | * * *
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["hr", "***"],
9 | ["hr", "---"],
10 | ["hr", "* * *"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for hr.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/markdown/list_feature.test:
--------------------------------------------------------------------------------
1 | * foo
2 | + bar
3 | - baz
4 |
5 | 1. foo
6 | 2. bar
7 | 42. baz
8 |
9 | ----------------------------------------------------
10 |
11 | [
12 | ["list", "*"], " foo\r\n",
13 | ["list", "+"], " bar\r\n",
14 | ["list", "-"], " baz\r\n\r\n",
15 | ["list", "1."], " foo\r\n ",
16 | ["list", "2."], " bar\r\n",
17 | ["list", "42."], " baz"
18 | ]
19 |
20 | ----------------------------------------------------
21 |
22 | Checks for list symbols.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/markup+haml/markup_feature.test:
--------------------------------------------------------------------------------
1 |
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["markup", [["tag", [["tag", [["punctuation", "<"], "div"]], ["punctuation", ">"]]]]]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for embedded markup.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/markup/cdata_feature.test:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["cdata", ""],
10 | ["cdata", ""]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for CDATA sections, single-line and multi-line.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/markup/comment_feature.test:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", ""],
10 | ["comment", ""],
11 | ["comment", ""]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for empty comment, single-line comment and multi-line comment.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/markup/entity_feature.test:
--------------------------------------------------------------------------------
1 | & ϑ ⛵
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["entity", "&"],
7 | ["entity", "ϑ"],
8 | ["entity", "⛵"],
9 | ["entity", " "]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for HTML/XML character entity references.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/matlab/comment_feature.test:
--------------------------------------------------------------------------------
1 | % foobar
2 | %{}%
3 | %{ foo
4 | bar }%
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", "% foobar"],
10 | ["comment", "%{}%"],
11 | ["comment", "%{ foo\r\nbar }%"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for single-line and multi-line comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/matlab/function_feature.test:
--------------------------------------------------------------------------------
1 | foo()
2 | foo_42()
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
8 | ["function", "foo_42"], ["punctuation", "("], ["punctuation", ")"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/matlab/string_feature.test:
--------------------------------------------------------------------------------
1 | ''
2 | 'foo''bar'
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["string", "''"],
8 | ["string", "'foo''bar'"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mel/code_feature.test:
--------------------------------------------------------------------------------
1 | `ls -selection`
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["code", [
7 | ["delimiter", "`"],
8 | ["function", "ls"],
9 | ["flag", "-selection"],
10 | ["delimiter", "`"]
11 | ]]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for code.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mel/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // Foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "//"],
8 | ["comment", "// Foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mel/flag_feature.test:
--------------------------------------------------------------------------------
1 | -d
2 | -foo
3 | -foo42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["flag", "-d"],
9 | ["flag", "-foo"],
10 | ["flag", "-foo42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for flags.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mel/number_feature.test:
--------------------------------------------------------------------------------
1 | 0xBadFace
2 | 42
3 | 3.14159
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["number", "0xBadFace"],
9 | ["number", "42"],
10 | ["number", "3.14159"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mel/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"obar"
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["string", "\"\""],
8 | ["string", "\"fo\\\"obar\""]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mel/variable_feature.test:
--------------------------------------------------------------------------------
1 | $x
2 | $foo42
3 | $Foo_Bar_42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["variable", "$x"],
9 | ["variable", "$foo42"],
10 | ["variable", "$Foo_Bar_42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mizar/comment_feature.test:
--------------------------------------------------------------------------------
1 | :: Foobar
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["comment", ":: Foobar"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mizar/number_feature.test:
--------------------------------------------------------------------------------
1 | 0
2 | -2
3 | 42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["number", "0"],
9 | ["number", "-2"],
10 | ["number", "42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mizar/operator_feature.test:
--------------------------------------------------------------------------------
1 | ...
2 | ->
3 | &
4 | = .=
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["operator", "..."],
10 | ["operator", "->"],
11 | ["operator", "&"],
12 | ["operator", "="], ["operator", ".="]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for operators.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mizar/parameter_feature.test:
--------------------------------------------------------------------------------
1 | $1 $2 $3
2 | $4 $5 $6
3 | $6 $7 $9
4 | $10
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["parameter", "$1"], ["parameter", "$2"], ["parameter", "$3"],
10 | ["parameter", "$4"], ["parameter", "$5"], ["parameter", "$6"],
11 | ["parameter", "$6"], ["parameter", "$7"], ["parameter", "$9"],
12 | ["parameter", "$10"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for parameters.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/mizar/variable_feature.test:
--------------------------------------------------------------------------------
1 | P:
2 | CQC_THE1:
3 | PRE_FF:
4 | NAT_1:
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["variable", "P"], ["punctuation", ":"],
10 | ["variable", "CQC_THE1"], ["punctuation", ":"],
11 | ["variable", "PRE_FF"], ["punctuation", ":"],
12 | ["variable", "NAT_1"], ["punctuation", ":"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/monkey/comment_feature.test:
--------------------------------------------------------------------------------
1 | ' Foobar
2 | #Rem Foo
3 | Bar 'Baz
4 | #End
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", "' Foobar"],
10 | ["comment", "#Rem Foo\r\nBar 'Baz\r\n#End"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/monkey/function_feature.test:
--------------------------------------------------------------------------------
1 | foobar()
2 | Foo_Bar_42()
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"],
8 | ["function", "Foo_Bar_42"], ["punctuation", "("], ["punctuation", ")"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/monkey/number_feature.test:
--------------------------------------------------------------------------------
1 | 0
2 | 42
3 | 3.14159
4 | .5
5 | $BadFace
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["number", "0"],
11 | ["number", "42"],
12 | ["number", "3.14159"],
13 | ["number", ".5"],
14 | ["number", "$BadFace"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/monkey/preprocessor_feature.test:
--------------------------------------------------------------------------------
1 | #If HOST
2 | #ElseIf
3 | #Else
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["preprocessor", "#If HOST"],
9 | ["preprocessor", "#ElseIf"],
10 | ["preprocessor", "#Else"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for preprocessor directives.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/monkey/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "Foo ~qBar~q"
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["string", "\"\""],
8 | ["string", "\"Foo ~qBar~q\""]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/monkey/type-char_feature.test:
--------------------------------------------------------------------------------
1 | foo?
2 | bar%
3 | baz#
4 | foobar$
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | "foo", ["type-char", "?"],
10 | "\r\nbar", ["type-char", "%"],
11 | "\r\nbaz", ["type-char", "#"],
12 | "\r\nfoobar", ["type-char", "$"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for type chars.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nasm/comment_feature.test:
--------------------------------------------------------------------------------
1 | ;
2 | ; foo
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", ";"],
8 | ["comment", "; foo"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nasm/label_feature.test:
--------------------------------------------------------------------------------
1 | foo42:
2 | .foo:
3 | ..@foo:
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["label", "foo42:"],
9 | ["label", ".foo:"],
10 | ["label", "..@foo:"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for labels.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nasm/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"o"
3 | ''
4 | 'fo\'o'
5 | ``
6 | `fo\`o`
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["string", "\"\""],
12 | ["string", "\"fo\\\"o\""],
13 | ["string", "''"],
14 | ["string", "'fo\\'o'"],
15 | ["string", "``"],
16 | ["string", "`fo\\`o`"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nginx/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # Foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# Foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nginx/variable_feature.test:
--------------------------------------------------------------------------------
1 | $foobar
2 | $foo_bar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["variable", "$foobar"],
8 | ["variable", "$foo_bar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nim/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # Foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# Foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nim/function_feature.test:
--------------------------------------------------------------------------------
1 | fo\x9ao(
2 | class*(
3 | takeV[T](
4 | `$`(
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["function", ["fo\\x9ao"]], ["punctuation", "("],
10 | ["function", ["class", ["operator", "*"]]], ["punctuation", "("],
11 | ["function", ["takeV[T]"]], ["punctuation", "("],
12 | ["function", ["`$`"]], ["punctuation", "("]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nsis/comment_feature.test:
--------------------------------------------------------------------------------
1 | /* foo */
2 | /* foo
3 | bar */
4 | # foo
5 | ; bar
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["comment", "/* foo */"],
11 | ["comment", "/* foo\r\nbar */"],
12 | ["comment", "# foo"],
13 | ["comment", "; bar"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nsis/number_feature.test:
--------------------------------------------------------------------------------
1 | 0xBadFace
2 | 42
3 | 3.14159
4 | 3.2e4
5 | 1.0e-5
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["number", "0xBadFace"],
11 | ["number", "42"],
12 | ["number", "3.14159"],
13 | ["number", "3.2e4"],
14 | ["number", "1.0e-5"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for hexadecimal and decimal numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nsis/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"o"
3 | ''
4 | 'fo\'o'
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "\"\""],
10 | ["string", "\"fo\\\"o\""],
11 | ["string", "''"],
12 | ["string", "'fo\\'o'"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for single-quoted and double-quoted strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/nsis/variable_feature.test:
--------------------------------------------------------------------------------
1 | $LANGUAGE
2 | $(myLicenseData)
3 | ${LANG_ENGLISH}
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["variable", "$LANGUAGE"],
9 | ["variable", "$(myLicenseData)"],
10 | ["variable", "${LANG_ENGLISH}"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ocaml/boolean_feature.test:
--------------------------------------------------------------------------------
1 | false
2 | true
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "false"],
8 | ["boolean", "true"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ocaml/comment_feature.test:
--------------------------------------------------------------------------------
1 | (**)
2 | (* foo
3 | bar *)
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["comment", "(**)"],
9 | ["comment", "(* foo\r\nbar *)"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ocaml/directive_feature.test:
--------------------------------------------------------------------------------
1 | #quit
2 | #load
3 | #load_rec
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["directive", "#quit"],
9 | ["directive", "#load"],
10 | ["directive", "#load_rec"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for directives.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ocaml/type_feature.test:
--------------------------------------------------------------------------------
1 | 'Foo
2 | 'bar_42
3 | `Foo
4 | `bar_42
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["type", "'Foo"],
10 | ["type", "'bar_42"],
11 | ["type", "`Foo"],
12 | ["type", "`bar_42"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for types.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/pascal/comment_feature.test:
--------------------------------------------------------------------------------
1 | (* foo *)
2 | (* foo
3 | bar *)
4 | { foo }
5 | { foo
6 | bar }
7 | //
8 | // foobar
9 |
10 | ----------------------------------------------------
11 |
12 | [
13 | ["comment", "(* foo *)"],
14 | ["comment", "(* foo\r\nbar *)"],
15 | ["comment", "{ foo }"],
16 | ["comment", "{ foo\r\nbar }"],
17 | ["comment", "//"],
18 | ["comment", "// foobar"]
19 | ]
20 |
21 | ----------------------------------------------------
22 |
23 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/pascal/string_feature.test:
--------------------------------------------------------------------------------
1 | ''
2 | 'fo''o'
3 | ^G
4 | #7
5 | #$f4
6 | 'foo'#9'bar'
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["string", "''"],
12 | ["string", "'fo''o'"],
13 | ["string", "^G"],
14 | ["string", "#7"],
15 | ["string", "#$f4"],
16 | ["string", "'foo'#9'bar'"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for strings and chars.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/perl/comment_feature.test:
--------------------------------------------------------------------------------
1 | =label foo
2 | bar
3 | =cut
4 | #
5 | # foobar
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["comment", "=label foo\r\nbar\r\n=cut"],
11 | ["comment", "#"],
12 | ["comment", "# foobar"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/perl/filehandle_feature.test:
--------------------------------------------------------------------------------
1 | _
2 | <>
3 |
4 |
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["filehandle", "_"],
10 | ["filehandle", "<>"],
11 | ["filehandle", ""],
12 | ["filehandle", ""]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for file handles.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/perl/function_feature.test:
--------------------------------------------------------------------------------
1 | sub foo
2 | sub Foo_Bar42
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["function", [["keyword", "sub"], " foo"]],
8 | ["function", [["keyword", "sub"], " Foo_Bar42"]]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/perl/vstring_feature.test:
--------------------------------------------------------------------------------
1 | v1.2
2 | 1.2.3
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["vstring", "v1.2"],
8 | ["vstring", "1.2.3"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for vstrings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/php!+php-extras/this_feature.test:
--------------------------------------------------------------------------------
1 | $this
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["this", "$this"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for $this.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/php/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // foobar
3 | /**/
4 | /* foo
5 | bar */
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["comment", "//"],
11 | ["comment", "// foobar"],
12 | ["comment", "/**/"],
13 | ["comment", "/* foo\r\nbar */"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for single-line and multi-line comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/php/constant_feature.test:
--------------------------------------------------------------------------------
1 | AZ
2 | PRISM
3 | FOOBAR_42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["constant", "AZ"],
9 | ["constant", "PRISM"],
10 | ["constant", "FOOBAR_42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for constants.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/php/delimiter_feature.test:
--------------------------------------------------------------------------------
1 | ?>
2 |
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["delimiter", ""],
8 | ["delimiter", "?>"],
9 | ["delimiter", ""]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for delimiters.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/php/shell-comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["shell-comment", "#"],
8 | ["shell-comment", "# foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for shell-like comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/php/variable_feature.test:
--------------------------------------------------------------------------------
1 | $f
2 | $foo
3 | $foobar_42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["variable", "$f"],
9 | ["variable", "$foo"],
10 | ["variable", "$foobar_42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/powershell/boolean_feature.test:
--------------------------------------------------------------------------------
1 | $true $True $TRUE
2 | $false $False $FALSE
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "$true"],
8 | ["boolean", "$True"],
9 | ["boolean", "$TRUE"],
10 |
11 | ["boolean", "$false"],
12 | ["boolean", "$False"],
13 | ["boolean", "$FALSE"]
14 |
15 | ]
16 | ----------------------------------------------------
17 |
18 | Testing Booleans
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/powershell/namespace_feature.test:
--------------------------------------------------------------------------------
1 | [System.String]::Empty;
2 | [Foo.Bar+Baz]::Abc;
3 | [int] 42;
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["namespace", "[System.String]"],"::Empty",["punctuation", ";"],
9 | ["namespace", "[Foo.Bar+Baz]"],"::Abc",["punctuation", ";"],
10 | ["namespace", "[int]"]," 42",["punctuation", ";"]
11 | ]
12 | ----------------------------------------------------
13 |
14 | Testing namespaces
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/powershell/variable_feature.test:
--------------------------------------------------------------------------------
1 | $foo $bar_baz $var4u $1 $true_as $falsey
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["variable", "$foo"],
7 | ["variable", "$bar_baz"],
8 | ["variable", "$var4u"],
9 | ["variable", "$1"],
10 | ["variable", "$true_as"],
11 | ["variable", "$falsey"]
12 | ]
13 | ----------------------------------------------------
14 |
15 | Testing variables
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/processing/constant_feature.test:
--------------------------------------------------------------------------------
1 | FOOBAR
2 | FOO_BAR_42
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["constant", "FOOBAR"],
8 | ["constant", "FOO_BAR_42"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for constants.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/processing/function_feature.test:
--------------------------------------------------------------------------------
1 | foo(
2 | foo_bar_42 (
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["function", "foo"], ["punctuation", "("],
8 | ["function", "foo_bar_42"], ["punctuation", "("]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/prolog/builtin_feature.test:
--------------------------------------------------------------------------------
1 | fx
2 | fy
3 | xf xfx xfy
4 | yf yfx
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["builtin", "fx"],
10 | ["builtin", "fy"],
11 | ["builtin", "xf"], ["builtin", "xfx"], ["builtin", "xfy"],
12 | ["builtin", "yf"], ["builtin", "yfx"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for builtins.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/prolog/comment_feature.test:
--------------------------------------------------------------------------------
1 | % Foobar
2 | /**/
3 | /* Foo
4 | bar */
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", "% Foobar"],
10 | ["comment", "/**/"],
11 | ["comment", "/* Foo\r\nbar */"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/prolog/function_feature.test:
--------------------------------------------------------------------------------
1 | foobar(
2 | foo_bar_42(
3 | abs/1
4 | atan/2
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["function", "foobar"], ["punctuation", "("],
10 | ["function", "foo_bar_42"], ["punctuation", "("],
11 | ["function", "abs/1"],
12 | ["function", "atan/2"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/prolog/number_feature.test:
--------------------------------------------------------------------------------
1 | 42
2 | 3.14159
3 | 0
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["number", "42"],
9 | ["number", "3.14159"],
10 | ["number", "0"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/prolog/variable_feature.test:
--------------------------------------------------------------------------------
1 | Foobar
2 | Foo_bar_42
3 | _foo
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["variable", "Foobar"],
9 | ["variable", "Foo_bar_42"],
10 | ["variable", "_foo"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/pure/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // Foobar
3 | /**/
4 | /* Foo
5 | bar */
6 | #! --nochecks
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["comment", "//"],
12 | ["comment", "// Foobar"],
13 | ["comment", "/**/"],
14 | ["comment", "/* Foo\r\nbar */"],
15 | ["comment", "#! --nochecks"]
16 | ]
17 |
18 | ----------------------------------------------------
19 |
20 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/pure/special_feature.test:
--------------------------------------------------------------------------------
1 | __show__
2 | __cmd__
3 | __with__
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["special", "__show__"],
9 | ["special", "__cmd__"],
10 | ["special", "__with__"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for special functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/pure/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"obar"
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["string", "\"\""],
8 | ["string", "\"fo\\\"obar\""]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/python/boolean_feature.test:
--------------------------------------------------------------------------------
1 | True
2 | False
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "True"],
8 | ["boolean", "False"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/python/class-name_feature.test:
--------------------------------------------------------------------------------
1 | class Foo
2 | class foobar_42
3 | class _
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["keyword", "class"], ["class-name", "Foo"],
9 | ["keyword", "class"], ["class-name", "foobar_42"],
10 | ["keyword", "class"], ["class-name", "_"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for class names.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/python/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/python/function_feature.test:
--------------------------------------------------------------------------------
1 | def Foo(
2 | def foo_bar_42(
3 | def _(
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["keyword", "def"], ["function", "Foo"], ["punctuation", "("],
9 | ["keyword", "def"], ["function", "foo_bar_42"], ["punctuation", "("],
10 | ["keyword", "def"], ["function", "_"], ["punctuation", "("]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/q/adverb_feature.test:
--------------------------------------------------------------------------------
1 | ' ':
2 | +/ +/:
3 | \ \:
4 | each
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["adverb", "'"], ["adverb", "':"],
10 | ["verb", "+"], ["adverb", "/"], ["verb", "+"], ["adverb", "/:"],
11 | ["adverb", "\\"], ["adverb", "\\:"],
12 | ["adverb", "each"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for adverbs.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/q/comment_feature.test:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env q
2 | / Foobar
3 |
4 | /
5 | Foo
6 | bar
7 | \
8 |
9 | \
10 | Foo
11 | Bar
12 |
13 | ----------------------------------------------------
14 |
15 | [
16 | ["comment", "#!/usr/bin/env q"],
17 | ["comment", "/ Foobar"],
18 | ["comment", "/\r\nFoo\r\nbar\r\n\\"],
19 | ["comment", "\\\r\nFoo\r\nBar"]
20 | ]
21 |
22 | ----------------------------------------------------
23 |
24 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/q/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "Fo\"obar"
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["string", "\"\""],
8 | ["string", "\"Fo\\\"obar\""]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/q/symbol_feature.test:
--------------------------------------------------------------------------------
1 | `
2 | `foobar
3 | `:www.example.com:8888
4 | `.foo
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["symbol", "`"],
10 | ["symbol", "`foobar"],
11 | ["symbol", "`:www.example.com:8888"],
12 | ["symbol", "`.foo"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for symbols.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/qore/boolean_feature.test:
--------------------------------------------------------------------------------
1 | true
2 | false
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "true"],
8 | ["boolean", "false"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/qore/comment_feature.test:
--------------------------------------------------------------------------------
1 | /* foo */
2 | /* foo
3 | bar */
4 | //
5 | // foobar
6 | #
7 | # foobar
8 |
9 | ----------------------------------------------------
10 |
11 | [
12 | ["comment", "/* foo */"],
13 | ["comment", "/* foo\r\nbar */"],
14 | ["comment", "//"],
15 | ["comment", "// foobar"],
16 | ["comment", "#"],
17 | ["comment", "# foobar"]
18 | ]
19 |
20 | ----------------------------------------------------
21 |
22 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/qore/function_feature.test:
--------------------------------------------------------------------------------
1 | foo()
2 | foo_bar()
3 | Foo_bar_42()
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
9 | ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"],
10 | ["function", "Foo_bar_42"], ["punctuation", "("], ["punctuation", ")"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/qore/number_feature.test:
--------------------------------------------------------------------------------
1 | 0b11110000
2 | 0xBadFace
3 | 0xabp-3
4 | 42
5 | 3.14159
6 | 3.2e8f
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["number", "0b11110000"],
12 | ["number", "0xBadFace"],
13 | ["number", "0xabp-3"],
14 | ["number", "42"],
15 | ["number", "3.14159"],
16 | ["number", "3.2e8f"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/qore/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"o
3 | bar"
4 | ''
5 | 'fo\'o
6 | bar'
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["string", "\"\""],
12 | ["string", "\"fo\\\"o\r\nbar\""],
13 | ["string", "''"],
14 | ["string", "'fo\\'o\r\nbar'"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/qore/variable_feature.test:
--------------------------------------------------------------------------------
1 | $foobar
2 | $foo_bar_42
3 | $Foobar
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["variable", "$foobar"],
9 | ["variable", "$foo_bar_42"],
10 | ["variable", "$Foobar"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/r/boolean_feature.test:
--------------------------------------------------------------------------------
1 | TRUE
2 | FALSE
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "TRUE"],
8 | ["boolean", "FALSE"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/r/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/r/ellipsis_feature.test:
--------------------------------------------------------------------------------
1 | ...
2 | ..1
3 | ..42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["ellipsis", "..."],
9 | ["ellipsis", "..1"],
10 | ["ellipsis", "..42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for ellipsis and special identifiers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/r/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"obar"
3 | ''
4 | 'fo\'obar'
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "\"\""],
10 | ["string", "\"fo\\\"obar\""],
11 | ["string", "''"],
12 | ["string", "'fo\\'obar'"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for single-quoted and double-quoted strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rest/comment_feature.test:
--------------------------------------------------------------------------------
1 | .. foo
2 |
3 | .. foo
4 | bar
5 |
6 | ..
7 | _foo:
8 | [bar]
9 | |baz|
10 |
11 | ----------------------------------------------------
12 |
13 | [
14 | ["punctuation", ".."],
15 | ["comment", " foo"],
16 | ["punctuation", ".."],
17 | ["comment", " foo\r\nbar"],
18 | ["punctuation", ".."],
19 | ["comment", "\r\n\t_foo:\r\n\t[bar]\r\n\t|baz|"]
20 | ]
21 |
22 | ----------------------------------------------------
23 |
24 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rest/doctest-block_feature.test:
--------------------------------------------------------------------------------
1 | >>> Foo
2 |
3 | >>> foo
4 | bar
5 | baz
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["doctest-block", [
11 | ["punctuation", ">>>"],
12 | " Foo"
13 | ]],
14 | ["doctest-block", [
15 | ["punctuation", ">>>"],
16 | " foo\r\nbar\r\nbaz"
17 | ]]
18 | ]
19 |
20 | ----------------------------------------------------
21 |
22 | Checks for doctest blocks.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rest/field_feature.test:
--------------------------------------------------------------------------------
1 | :scale: 50 %
2 | :alt: map to buried treasure
3 |
4 | :width: 11
5 | :height: 11
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["field", ":scale:"], " 50 %\r\n\t",
11 | ["field", ":alt:"], " map to buried treasure\r\n\r\n",
12 |
13 | ["field", ":width:"], " 11\r\n",
14 | ["field", ":height:"], " 11"
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for fields.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/boolean_feature.test:
--------------------------------------------------------------------------------
1 | true
2 | false
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "true"],
8 | ["boolean", "false"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/builtin_feature.test:
--------------------------------------------------------------------------------
1 | @
2 | System
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["builtin", "@"],
8 | ["builtin", "System"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for builtins.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/character_feature.test:
--------------------------------------------------------------------------------
1 | `a
2 | `b
3 | `Z
4 | ----------------------------------------------------
5 |
6 | [
7 | ["character", "`a"],
8 | ["character", "`b"],
9 | ["character", "`Z"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for characters.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/number_feature.test:
--------------------------------------------------------------------------------
1 | 42
2 | 3.14159
3 | +18
4 | +0.14
5 | -242
6 | -85.21
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["number", "42"],
12 | ["number", "3.14159"],
13 | ["number", "+18"],
14 | ["number", "+0.14"],
15 | ["number", "-242"],
16 | ["number", "-85.21"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/reference_feature.test:
--------------------------------------------------------------------------------
1 | foo
2 | foo_bar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["reference", "foo"],
8 | ["reference", "foo_bar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for reference.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/regex_feature.test:
--------------------------------------------------------------------------------
1 | /foobar/
2 | /fo[o](?=bar)/
3 | /\/\\\[\]/
4 | /(fo|o?)+b*ar?/
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["regex", "/foobar/"],
10 | ["regex", "/fo[o](?=bar)/"],
11 | ["regex", "/\\/\\\\\\[\\]/"],
12 | ["regex", "/(fo|o?)+b*ar?/"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for regexes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"obar"
3 | ''
4 | 'fo\'obar'
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "\"\""],
10 | ["string", "\"fo\\\"obar\""],
11 | ["string", "''"],
12 | ["string", "'fo\\'obar'"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for single-quoted and double-quoted strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rip/symbol_feature.test:
--------------------------------------------------------------------------------
1 | :foo
2 | :foobar42
3 | :foo_bar
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["symbol", ":foo"],
9 | ["symbol", ":foobar42"],
10 | ["symbol", ":foo_bar"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for symbols.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ruby/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ruby/constant_feature.test:
--------------------------------------------------------------------------------
1 | Foobar
2 | FOO_BAR_42
3 | F
4 | FOO
5 | BAR?
6 | BAZ!
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["constant", "Foobar"],
12 | ["constant", "FOO_BAR_42"],
13 | ["constant", "F"],
14 | ["constant", "FOO"],
15 | ["constant", "BAR?"],
16 | ["constant", "BAZ!"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for constants.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/ruby/symbol_feature.test:
--------------------------------------------------------------------------------
1 | :_
2 | :foo
3 | :BAR?
4 | :Baz_42!
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["symbol", ":_"],
10 | ["symbol", ":foo"],
11 | ["symbol", ":BAR?"],
12 | ["symbol", ":Baz_42!"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for symbols.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rust/attribute_feature.test:
--------------------------------------------------------------------------------
1 | #[test]
2 | #![warn(unstable)]
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["attribute", "#[test]"],
8 | ["attribute", "#![warn(unstable)]"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for attributes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rust/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // foobar
3 | /**/
4 | /* foo
5 | bar */
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["comment", "//"],
11 | ["comment", "// foobar"],
12 | ["comment", "/**/"],
13 | ["comment", "/* foo\r\nbar */"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/rust/macro-rules_feature.test:
--------------------------------------------------------------------------------
1 | foo!
2 | foo_bar!
3 | foo_bar_42!
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["macro-rules", "foo!"],
9 | ["macro-rules", "foo_bar!"],
10 | ["macro-rules", "foo_bar_42!"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for macro rules.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sas/comment_feature.test:
--------------------------------------------------------------------------------
1 | * foobar;
2 | foo; * foobar;
3 | /* foo
4 | bar */
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", "* foobar;"],
10 | "\r\nfoo", ["punctuation", ";"],
11 | ["comment", "* foobar;"],
12 | ["comment", "/* foo\r\nbar */"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sas/datetime_feature.test:
--------------------------------------------------------------------------------
1 | '1jan2013'd
2 | '9:25:19pm't
3 | '18jan2003:9:27:05am'dt
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["datetime", "'1jan2013'd"],
9 | ["datetime", "'9:25:19pm't"],
10 | ["datetime", "'18jan2003:9:27:05am'dt"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for date, times and datetimes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sas/keyword_feature.test:
--------------------------------------------------------------------------------
1 | data else format if
2 | input proc run then
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["keyword", "data"], ["keyword", "else"], ["keyword", "format"], ["keyword", "if"],
8 | ["keyword", "input"], ["keyword", "proc"], ["keyword", "run"], ["keyword", "then"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for all keywords.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sas/number_feature.test:
--------------------------------------------------------------------------------
1 | 42
2 | 3.14159
3 | 3.2e10
4 | 0.4e-8
5 | 1.4E+2
6 | BadFacex
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["number", "42"],
12 | ["number", "3.14159"],
13 | ["number", "3.2e10"],
14 | ["number", "0.4e-8"],
15 | ["number", "1.4E+2"],
16 | ["number", "BadFacex"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for decimal and hexadecimal numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sas/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo""o"
3 | "foo
4 | bar"
5 | ''
6 | 'fo''o'
7 | 'foo
8 | bar'
9 |
10 | ----------------------------------------------------
11 |
12 | [
13 | ["string", "\"\""],
14 | ["string", "\"fo\"\"o\""],
15 | ["string", "\"foo\r\nbar\""],
16 | ["string", "''"],
17 | ["string", "'fo''o'"],
18 | ["string", "'foo\r\nbar'"]
19 | ]
20 |
21 | ----------------------------------------------------
22 |
23 | Checks for single-quoted and double-quoted strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sass/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // foobar
3 | /*
4 | /* foo
5 | bar
6 |
7 | /* foo
8 | bar
9 | baz
10 |
11 | ----------------------------------------------------
12 |
13 | [
14 | ["comment", "//"],
15 | ["comment", "// foobar"],
16 | ["comment", "/*"],
17 | ["comment", "/* foo\r\n\tbar"],
18 | ["comment", "/* foo\r\n\t bar\r\n\t baz"]
19 | ]
20 |
21 | ----------------------------------------------------
22 |
23 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scala/symbol_feature.test:
--------------------------------------------------------------------------------
1 | 'foo
2 | 'foo_42
3 | 'foo_bar
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["symbol", "'foo"],
9 | ["symbol", "'foo_42"],
10 | ["symbol", "'foo_bar"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for symbols.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scheme/boolean_feature.test:
--------------------------------------------------------------------------------
1 | #t
2 | #f
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "#t"],
8 | ["boolean", "#f"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scheme/comment_feature.test:
--------------------------------------------------------------------------------
1 | ;
2 | ; foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", ";"],
8 | ["comment", "; foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scheme/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"obar"
3 | 'turkey
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["string", "\"\""],
9 | ["string", "\"fo\\\"obar\""],
10 | ["string", "'turkey"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for strings and symbols.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scss+jade/scss_inclusion.test:
--------------------------------------------------------------------------------
1 | :sass
2 | @extend .foo;
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["filter-sass", [
8 | ["filter-name", ":sass"],
9 | ["keyword", "@extend"],
10 | " .foo",
11 | ["punctuation", ";"]
12 | ]]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for sass filter (Scss) in Jade.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scss/atrule_feature.test:
--------------------------------------------------------------------------------
1 | @media (min-width: 600px) {}
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["atrule", [
7 | ["rule", "@media"],
8 | ["punctuation", "("],
9 | ["property", "min-width"],
10 | ["punctuation", ":"],
11 | " 600px",
12 | ["punctuation", ")"]
13 | ]],
14 | ["punctuation", "{"],
15 | ["punctuation", "}"]
16 | ]
17 |
18 | ----------------------------------------------------
19 |
20 | Checks for at-rules.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scss/boolean_feature.test:
--------------------------------------------------------------------------------
1 | true
2 | false
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "true"],
8 | ["boolean", "false"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scss/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // foobar
3 | /**/
4 | /* foo
5 | bar */
6 |
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["comment", "//"],
12 | ["comment", "// foobar"],
13 | ["comment", "/**/"],
14 | ["comment", "/* foo\r\nbar */"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scss/null_feature.test:
--------------------------------------------------------------------------------
1 | null
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["null", "null"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for null.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scss/placeholder_feature.test:
--------------------------------------------------------------------------------
1 | %foobar
2 | %foo-bar
3 | %foo_bar
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["placeholder", "%foobar"],
9 | ["placeholder", "%foo-bar"],
10 | ["placeholder", "%foo_bar"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for placeholders.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scss/url_feature.test:
--------------------------------------------------------------------------------
1 | url('foo.png')
2 | font-url('foo.ttf')
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["url", "url"],
8 | ["punctuation", "("],
9 | ["string", "'foo.png'"],
10 | ["punctuation", ")"],
11 | ["url", "font-url"],
12 | ["punctuation", "("],
13 | ["string", "'foo.ttf'"],
14 | ["punctuation", ")"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for URLs.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/scss/variable_feature.test:
--------------------------------------------------------------------------------
1 | $foo
2 | $foo-bar
3 | $foo_bar
4 | #{$foo}
5 | #{$foo-bar}
6 | #{$foo_bar}
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["variable", "$foo"],
12 | ["variable", "$foo-bar"],
13 | ["variable", "$foo_bar"],
14 | ["variable", "#{$foo}"],
15 | ["variable", "#{$foo-bar}"],
16 | ["variable", "#{$foo_bar}"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for variables.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/smalltalk/character_feature.test:
--------------------------------------------------------------------------------
1 | $a
2 | $4
3 | $.
4 | $^
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["character", "$a"],
10 | ["character", "$4"],
11 | ["character", "$."],
12 | ["character", "$^"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for characters.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/smalltalk/comment_feature.test:
--------------------------------------------------------------------------------
1 | "foobar"
2 | "foo""bar
3 | baz"
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["comment", "\"foobar\""],
9 | ["comment", "\"foo\"\"bar\r\nbaz\""]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/smalltalk/keyword_feature.test:
--------------------------------------------------------------------------------
1 | nil true false
2 | self super new
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["keyword", "nil"], ["keyword", "true"], ["keyword", "false"],
8 | ["keyword", "self"], ["keyword", "super"], ["keyword", "new"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for keywords.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/smalltalk/number_feature.test:
--------------------------------------------------------------------------------
1 | 42
2 | 3.14159
3 | 3e8
4 | 0.2e-4
5 | 2r10001111
6 | 2r10.1111e4
7 | 16rBADFACE
8 |
9 | ----------------------------------------------------
10 |
11 | [
12 | ["number", "42"],
13 | ["number", "3.14159"],
14 | ["number", "3e8"],
15 | ["number", "0.2e-4"],
16 | ["number", "2r10001111"],
17 | ["number", "2r10.1111e4"],
18 | ["number", "16rBADFACE"]
19 | ]
20 |
21 | ----------------------------------------------------
22 |
23 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/smalltalk/string_feature.test:
--------------------------------------------------------------------------------
1 | 'foobar'
2 | 'foo''bar
3 | baz'
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["string", "'foobar'"],
9 | ["string", "'foo''bar\r\nbaz'"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/smalltalk/symbol_feature.test:
--------------------------------------------------------------------------------
1 | #foo
2 | #Foo42
3 | #-
4 | #+
5 | #**
6 | #(
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["symbol", "#foo"],
12 | ["symbol", "#Foo42"],
13 | ["symbol", "#-"],
14 | ["symbol", "#+"],
15 | ["symbol", "#**"],
16 | ["symbol", "#"], ["punctuation", "("]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for symbols.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/smarty/smarty-comment_feature.test:
--------------------------------------------------------------------------------
1 | {**}
2 | {* foo
3 | bar *}
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["smarty-comment", "{**}"],
9 | ["smarty-comment", "{* foo\r\nbar *}"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sql/boolean_feature.test:
--------------------------------------------------------------------------------
1 | TRUE
2 | FALSE
3 | NULL
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["boolean", "TRUE"],
9 | ["boolean", "FALSE"],
10 | ["boolean", "NULL"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sql/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"obar"
3 | "foo
4 | bar"
5 | ''
6 | 'fo\'obar'
7 | 'foo
8 | bar'
9 |
10 | ----------------------------------------------------
11 |
12 | [
13 | ["string", "\"\""],
14 | ["string", "\"fo\\\"obar\""],
15 | ["string", "\"foo\r\nbar\""],
16 | ["string", "''"],
17 | ["string", "'fo\\'obar'"],
18 | ["string", "'foo\r\nbar'"]
19 | ]
20 |
21 | ----------------------------------------------------
22 |
23 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/sql/variable_feature.test:
--------------------------------------------------------------------------------
1 | @foo
2 | @foo_bar_42
3 | @"fo\"o-b
4 | ar"
5 | @'fo\'o-b
6 | ar'
7 | @`fo\`o-b
8 | ar`
9 |
10 | ----------------------------------------------------
11 |
12 | [
13 | ["variable", "@foo"],
14 | ["variable", "@foo_bar_42"],
15 | ["variable", "@\"fo\\\"o-b\r\nar\""],
16 | ["variable", "@'fo\\'o-b\r\nar'"],
17 | ["variable", "@`fo\\`o-b\r\nar`"]
18 | ]
19 |
20 | ----------------------------------------------------
21 |
22 | Checks for variables.
23 |
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/stylus+jade/stylus_inclusion.test:
--------------------------------------------------------------------------------
1 | :stylus
2 | font-size = 14px
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["filter-stylus", [
8 | ["filter-name", ":stylus"],
9 | ["variable-declaration", [
10 | ["variable", "font-size"],
11 | ["operator", "="],
12 | ["number", "14"],
13 | "px"
14 | ]]
15 | ]]
16 | ]
17 |
18 | ----------------------------------------------------
19 |
20 | Checks for stylus filter in Jade.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/stylus/boolean_feature.test:
--------------------------------------------------------------------------------
1 | a = true
2 | b = false
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["variable-declaration", [
8 | ["variable", "a"],
9 | ["operator", "="],
10 | ["boolean", "true"]
11 | ]],
12 | ["variable-declaration", [
13 | ["variable", "b"],
14 | ["operator", "="],
15 | ["boolean", "false"]
16 | ]]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/stylus/comment_feature.test:
--------------------------------------------------------------------------------
1 | /**/
2 | /* foo
3 | bar */
4 | //
5 | // foobar
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["comment", "/**/"],
11 | ["comment", "/* foo\r\nbar */"],
12 | ["comment", "//"],
13 | ["comment", "// foobar"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/swift/constant_feature.test:
--------------------------------------------------------------------------------
1 | nil
2 | AB
3 | FOO_BAR
4 | kAb
5 | kFoo_bar
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["constant", "nil"],
11 | ["constant", "AB"],
12 | ["constant", "FOO_BAR"],
13 | ["constant", "kAb"],
14 | ["constant", "kFoo_bar"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for constants.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/tcl/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/tcl/function_feature.test:
--------------------------------------------------------------------------------
1 | proc foo
2 | proc Foobar
3 | proc foo_bar_42
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["builtin", "proc"], ["function", "foo"],
9 | ["builtin", "proc"], ["function", "Foobar"],
10 | ["builtin", "proc"], ["function", "foo_bar_42"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/tcl/scope_feature.test:
--------------------------------------------------------------------------------
1 | global
2 | upvar
3 | variable
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["scope", "global"],
9 | ["scope", "upvar"],
10 | ["scope", "variable"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for scopes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/tcl/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"obar"
3 | "fo\"o\
4 | bar"
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "\"\""],
10 | ["string", "\"fo\\\"obar\""],
11 | ["string", "\"fo\\\"o\\\r\nbar\""]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/textile/footnote_feature.test:
--------------------------------------------------------------------------------
1 | Foo[1]
2 | Bar[42]
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["phrase", [
8 | "Foo", ["footnote", [["punctuation", "["], "1", ["punctuation", "]"]]],
9 | "\r\nBar", ["footnote", [["punctuation", "["], "42", ["punctuation", "]"]]]
10 | ]]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for footnotes.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/twig+jade/twig_inclusion.test:
--------------------------------------------------------------------------------
1 | :atpl
2 | {{42}}
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["filter-atpl", [
8 | ["filter-name", ":atpl"],
9 | ["tag", [
10 | ["ld", [["punctuation", "{{"]]],
11 | ["number", "42"],
12 | ["rd", [["punctuation", "}}"]]]
13 | ]]
14 | ]]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for atpl filter (Twig) in Jade.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/twig/comment_feature.test:
--------------------------------------------------------------------------------
1 | {##}
2 | {# foo #}
3 | {# foo
4 | bar #}
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", "{##}"],
10 | ["comment", "{# foo #}"],
11 | ["comment", "{# foo\r\nbar #}"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/verilog/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // Foobar
3 | /**/
4 | /* foo
5 | bar */
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["comment", "//"],
11 | ["comment", "// Foobar"],
12 | ["comment", "/**/"],
13 | ["comment", "/* foo\r\nbar */"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/verilog/constant_feature.test:
--------------------------------------------------------------------------------
1 | `define
2 | `UNKNOWN
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["constant", "`define"],
8 | ["constant", "`UNKNOWN"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for user defined constants.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/verilog/function_feature.test:
--------------------------------------------------------------------------------
1 | foo()
2 | foo_bar()
3 | foo_BAR_42()
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
9 | ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"],
10 | ["function", "foo_BAR_42"], ["punctuation", "("], ["punctuation", ")"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/verilog/property_feature.test:
--------------------------------------------------------------------------------
1 | $display()
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["property", "$display"], ["punctuation", "("], ["punctuation", ")"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for kernel functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/verilog/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"obar"
3 | "foo\
4 | bar"
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "\"\""],
10 | ["string", "\"fo\\\"obar\""],
11 | ["string", "\"foo\\\r\nbar\""]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vhdl/boolean_feature.test:
--------------------------------------------------------------------------------
1 | true
2 | false
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean", "true"],
8 | ["boolean", "false"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vhdl/comment_feature.test:
--------------------------------------------------------------------------------
1 | -- Foo
2 | --foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "-- Foo"],
8 | ["comment", "--foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vhdl/constant_feature.test:
--------------------------------------------------------------------------------
1 | use
2 | library
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["constant", "use"],
8 | ["constant", "library"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for constants.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vhdl/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "fo\"o"
3 | "fo\"o\
4 | bar"
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["string", "\"\""],
10 | ["string", "\"fo\\\"o\""],
11 | ["string", "\"fo\\\"o\\\r\nbar\""]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vhdl/vhdl-vectors_feature.test:
--------------------------------------------------------------------------------
1 | B"1111_1111"
2 | O"353"
3 | X"AA55"
4 | "010101"
5 | "Z"
6 | "X"
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["vhdl-vectors", "B\"1111_1111\""],
12 | ["vhdl-vectors", "O\"353\""],
13 | ["vhdl-vectors", "X\"AA55\""],
14 | ["vhdl-vectors", "\"010101\""],
15 | ["vhdl-vectors", "\"Z\""],
16 | ["vhdl-vectors", "\"X\""]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for vectors
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vim/comment_feature.test:
--------------------------------------------------------------------------------
1 | "
2 | " Foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "\""],
8 | ["comment", "\" Foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vim/function_feature.test:
--------------------------------------------------------------------------------
1 | has("mac")
2 | exists("s:call_count")
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["function", "has"], ["punctuation", "("], ["string", "\"mac\""], ["punctuation", ")"],
8 | ["function", "exists"], ["punctuation", "("], ["string", "\"s:call_count\""], ["punctuation", ")"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for functions.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vim/number_feature.test:
--------------------------------------------------------------------------------
1 | 0xBadFace
2 | 42
3 | 3.14159
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["number", "0xBadFace"],
9 | ["number", "42"],
10 | ["number", "3.14159"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for numbers.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/vim/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "Fo\"ob'ar"
3 | ''
4 | '\'
5 | 'Foo''bar'
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["string", "\"\""],
11 | ["string", "\"Fo\\\"ob'ar\""],
12 | ["string", "''"],
13 | ["string", "'\\'"],
14 | ["string", "'Foo''bar'"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for strings.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/wiki/block-comment_feature.test:
--------------------------------------------------------------------------------
1 | /**/
2 | /* foo */
3 | /* foo
4 | bar */
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["block-comment", "/**/"],
10 | ["block-comment", "/* foo */"],
11 | ["block-comment", "/* foo\r\nbar */"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/wiki/hr_feature.test:
--------------------------------------------------------------------------------
1 | ----
2 | -----
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["hr", "----"],
8 | ["hr", "-----"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for horizontal rows.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/wiki/symbol_feature.test:
--------------------------------------------------------------------------------
1 | #REDIRECT [[somewhere]]
2 | ~~~
3 | ~~~~
4 | ~~~~~
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["symbol", "#REDIRECT"], ["url", "[[somewhere]]"],
10 | ["symbol", "~~~"],
11 | ["symbol", "~~~~"],
12 | ["symbol", "~~~~~"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for redirects and signatures.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/wiki/variable_feature.test:
--------------------------------------------------------------------------------
1 | __NOTOC__
2 | {{{1}}}
3 | {{!}}
4 | {{SITENAME}}
5 | {{#ifexists:foo}}
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["variable", "__NOTOC__"],
11 | ["variable", "{{{1}}}"],
12 | ["variable", "{{!}}"],
13 | ["variable", "{{SITENAME}}"],
14 | ["variable", "{{#ifexists:foo}}"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for variables and magic words.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/yaml/boolean_feature.test:
--------------------------------------------------------------------------------
1 | ---
2 | foo: true
3 | bar: false
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["punctuation", "---"],
9 | ["key", "foo"], ["punctuation", ":"],
10 | ["boolean", "true"],
11 | ["key", "bar"], ["punctuation", ":"],
12 | ["boolean", "false"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for booleans.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/yaml/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # foobar
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", "#"],
8 | ["comment", "# foobar"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/yaml/directive_feature.test:
--------------------------------------------------------------------------------
1 | %YAML 1.2
2 | %TAG
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["directive", "%YAML 1.2"],
8 | ["directive", "%TAG"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for directives.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/yaml/important_feature.test:
--------------------------------------------------------------------------------
1 | &B1
2 | &A
3 | *A
4 | &SS
5 | *SS
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["important", "&B1"],
11 | ["important", "&A"],
12 | ["important", "*A"],
13 | ["important", "&SS"],
14 | ["important", "*SS"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for important.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/yaml/key_feature.test:
--------------------------------------------------------------------------------
1 | ---
2 | foo: 4
3 | FooBar : 5
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["punctuation", "---"],
9 | ["key", "foo"], ["punctuation", ":"], ["number", "4"],
10 | ["key", "FooBar"], ["punctuation", ":"], ["number", "5"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for keys.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/yaml/null_feature.test:
--------------------------------------------------------------------------------
1 | ---
2 | foo: null
3 | bar: ~
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["punctuation", "---"],
9 | ["key", "foo"], ["punctuation", ":"],
10 | ["null", "null"],
11 | ["key", "bar"], ["punctuation", ":"],
12 | ["null", "~"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for null and ~.
--------------------------------------------------------------------------------
/bower_components/prism/tests/languages/yaml/tag_feature.test:
--------------------------------------------------------------------------------
1 | !!map
2 | !!str
3 | !!seq
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["tag", "!!map"],
9 | ["tag", "!!str"],
10 | ["tag", "!!seq"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for tags
--------------------------------------------------------------------------------
/bower_components/promise-polyfill/README.md:
--------------------------------------------------------------------------------
1 | # Promise Polyfill
2 |
3 | Note: this is an unsolicited fork of [taylorhakes/promise-polyfill](https://github.com/taylorhakes/promise-polyfill)
4 | and should be considered experimental and unstable compared to upstream.
5 |
6 | ## Testing
7 | ```
8 | npm install
9 | npm test
10 | ```
11 |
12 | ## License
13 | MIT
14 |
--------------------------------------------------------------------------------
/bower_components/promise-polyfill/promise-polyfill-lite.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/bower_components/promise-polyfill/promise-polyfill.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/bower_components/underscore/.gitignore:
--------------------------------------------------------------------------------
1 | raw
2 | node_modules
3 |
--------------------------------------------------------------------------------
/bower_components/underscore/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "underscore",
3 | "version": "1.7.0",
4 | "main": "underscore.js",
5 | "keywords": ["util", "functional", "server", "client", "browser"],
6 | "ignore" : ["docs", "test", "*.yml", "CNAME", "index.html", "favicon.ico", "CONTRIBUTING.md"]
7 | }
8 |
--------------------------------------------------------------------------------
/bower_components/underscore/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name" : "underscore",
3 | "description" : "JavaScript's functional programming helper library.",
4 | "keywords" : ["util", "functional", "server", "client", "browser"],
5 | "repo" : "jashkenas/underscore",
6 | "main" : "underscore.js",
7 | "scripts" : ["underscore.js"],
8 | "version" : "1.7.0",
9 | "license" : "MIT"
10 | }
11 |
--------------------------------------------------------------------------------
/bower_components/webcomponentsjs/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "webcomponentsjs",
3 | "main": "webcomponents.js",
4 | "version": "0.7.14",
5 | "homepage": "http://webcomponents.org",
6 | "authors": [
7 | "The Polymer Authors"
8 | ],
9 | "repository": {
10 | "type": "git",
11 | "url": "https://github.com/webcomponents/webcomponentsjs.git"
12 | },
13 | "keywords": [
14 | "webcomponents"
15 | ],
16 | "license": "BSD",
17 | "ignore": []
18 | }
19 |
--------------------------------------------------------------------------------
/img/.gitattributes:
--------------------------------------------------------------------------------
1 | * binary
--------------------------------------------------------------------------------
/img/128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matejc/nixui/845a5f4a33f1d0c509c727c130d0792a5b450a38/img/128.png
--------------------------------------------------------------------------------
/img/configoptions.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matejc/nixui/845a5f4a33f1d0c509c727c130d0792a5b450a38/img/configoptions.jpg
--------------------------------------------------------------------------------
/img/package.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matejc/nixui/845a5f4a33f1d0c509c727c130d0792a5b450a38/img/package.jpg
--------------------------------------------------------------------------------
/img/packages.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matejc/nixui/845a5f4a33f1d0c509c727c130d0792a5b450a38/img/packages.jpg
--------------------------------------------------------------------------------
/src/config.json:
--------------------------------------------------------------------------------
1 | {
2 | "profilePaths": ["/nix/var/nix/profiles"],
3 | "dataDir": "/tmp",
4 | "configurations": ["/etc/nixos/configuration.nix", "/etc/nixos/hardware-configuration.nix"],
5 | "NIX_PATH": false
6 | }
7 |
--------------------------------------------------------------------------------
/static/.gitattributes:
--------------------------------------------------------------------------------
1 | * binary
--------------------------------------------------------------------------------
/static/nixos.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/matejc/nixui/845a5f4a33f1d0c509c727c130d0792a5b450a38/static/nixos.png
--------------------------------------------------------------------------------