diff --git a/prism4j-bundler/out/production/resources/META-INF/services/javax.annotation.processing.Processor b/prism4j-bundler/out/production/resources/META-INF/services/javax.annotation.processing.Processor deleted file mode 100644 index b3c24c5..0000000 --- a/prism4j-bundler/out/production/resources/META-INF/services/javax.annotation.processing.Processor +++ /dev/null @@ -1 +0,0 @@ -io.noties.prism4j.bundler.PrismBundler \ No newline at end of file diff --git a/prism4j-bundler/out/production/resources/languages b/prism4j-bundler/out/production/resources/languages deleted file mode 100644 index e69de29..0000000 diff --git a/prism4j-languages/out/test/resources/languages/brainfuck/all_feature.test b/prism4j-languages/out/test/resources/languages/brainfuck/all_feature.test deleted file mode 100644 index 284f758..0000000 --- a/prism4j-languages/out/test/resources/languages/brainfuck/all_feature.test +++ /dev/null @@ -1,19 +0,0 @@ -++ foobar -[ - >. - <-, -] - ----------------------------------------------------- - -[ - ["increment", "+"], ["increment", "+"], ["comment", "foobar"], - ["branching", "["], - ["pointer", ">"], ["operator", "."], - ["pointer", "<"], ["decrement", "-"], ["operator", ","], - ["branching", "]"] -] - ----------------------------------------------------- - -Checks for all patterns. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/c/constant_feature.test b/prism4j-languages/out/test/resources/languages/c/constant_feature.test deleted file mode 100644 index 1fb0cca..0000000 --- a/prism4j-languages/out/test/resources/languages/c/constant_feature.test +++ /dev/null @@ -1,37 +0,0 @@ -__FILE__ -__LINE__ -__DATE__ -__TIME__ -__TIMESTAMP__ -__func__ -EOF -NULL -SEEK_CUR -SEEK_END -SEEK_SET -stdin -stdout -stderr - ----------------------------------------------------- - -[ - ["constant", "__FILE__"], - ["constant", "__LINE__"], - ["constant", "__DATE__"], - ["constant", "__TIME__"], - ["constant", "__TIMESTAMP__"], - ["constant", "__func__"], - ["constant", "EOF"], - ["constant", "NULL"], - ["constant", "SEEK_CUR"], - ["constant", "SEEK_END"], - ["constant", "SEEK_SET"], - ["constant", "stdin"], - ["constant", "stdout"], - ["constant", "stderr"] -] - ----------------------------------------------------- - -Checks for all constants. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/c/keyword_feature.test b/prism4j-languages/out/test/resources/languages/c/keyword_feature.test deleted file mode 100644 index feb9ff9..0000000 --- a/prism4j-languages/out/test/resources/languages/c/keyword_feature.test +++ /dev/null @@ -1,29 +0,0 @@ -_Alignas _Alignof _Atomic _Bool -_Complex _Generic _Imaginary -_Noreturn _Static_assert _Thread_local -asm typeof inline auto break -case char const continue default -do double else enum extern -float for goto if int -long register return short signed -sizeof static struct switch typedef -union unsigned void volatile while - ----------------------------------------------------- - -[ - ["keyword", "_Alignas"], ["keyword", "_Alignof"], ["keyword", "_Atomic"], ["keyword", "_Bool"], - ["keyword", "_Complex"], ["keyword", "_Generic"], ["keyword", "_Imaginary"], - ["keyword", "_Noreturn"], ["keyword", "_Static_assert"], ["keyword", "_Thread_local"], - ["keyword", "asm"], ["keyword", "typeof"], ["keyword", "inline"], ["keyword", "auto"], ["keyword", "break"], - ["keyword", "case"], ["keyword", "char"], ["keyword", "const"], ["keyword", "continue"], ["keyword", "default"], - ["keyword", "do"], ["keyword", "double"], ["keyword", "else"], ["keyword", "enum"], ["keyword", "extern"], - ["keyword", "float"], ["keyword", "for"], ["keyword", "goto"], ["keyword", "if"], ["keyword", "int"], - ["keyword", "long"], ["keyword", "register"], ["keyword", "return"], ["keyword", "short"], ["keyword", "signed"], - ["keyword", "sizeof"], ["keyword", "static"], ["keyword", "struct"], ["keyword", "switch"], ["keyword", "typedef"], - ["keyword", "union"], ["keyword", "unsigned"], ["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"] -] - ----------------------------------------------------- - -Checks for all keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/c/macro_feature.test b/prism4j-languages/out/test/resources/languages/c/macro_feature.test deleted file mode 100644 index 6e65d9d..0000000 --- a/prism4j-languages/out/test/resources/languages/c/macro_feature.test +++ /dev/null @@ -1,45 +0,0 @@ -# include - #define PG_locked 0 - -#defined -#elif -#else -#endif -#error -#ifdef -#ifndef -#if -#import -#include -#line -#pragma -#undef -#using - ----------------------------------------------------- - -[ - ["macro", [ - "# ", ["directive", "include"], - ["string", ""] - ]], - ["macro", ["#", ["directive", "define"], " PG_locked 0"]], - ["macro", ["#", ["directive", "defined"]]], - ["macro", ["#", ["directive", "elif"]]], - ["macro", ["#", ["directive", "else"]]], - ["macro", ["#", ["directive", "endif"]]], - ["macro", ["#", ["directive", "error"]]], - ["macro", ["#", ["directive", "ifdef"]]], - ["macro", ["#", ["directive", "ifndef"]]], - ["macro", ["#", ["directive", "if"]]], - ["macro", ["#", ["directive", "import"]]], - ["macro", ["#", ["directive", "include"]]], - ["macro", ["#", ["directive", "line"]]], - ["macro", ["#", ["directive", "pragma"]]], - ["macro", ["#", ["directive", "undef"]]], - ["macro", ["#", ["directive", "using"]]] -] - ----------------------------------------------------- - -Checks for macros and paths inside include statements. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/c/number_feature.test b/prism4j-languages/out/test/resources/languages/c/number_feature.test deleted file mode 100644 index 0542683..0000000 --- a/prism4j-languages/out/test/resources/languages/c/number_feature.test +++ /dev/null @@ -1,35 +0,0 @@ -42 -3.14159 -4e10 -2.1e-10 -0.4e+2 -0xbabe -0xBABE -42f -42F -42u -42U -42l -42L - ----------------------------------------------------- - -[ - ["number", "42"], - ["number", "3.14159"], - ["number", "4e10"], - ["number", "2.1e-10"], - ["number", "0.4e+2"], - ["number", "0xbabe"], - ["number", "0xBABE"], - ["number", "42f"], - ["number", "42F"], - ["number", "42u"], - ["number", "42U"], - ["number", "42l"], - ["number", "42L"] -] - ----------------------------------------------------- - -Checks for decimal numbers and hexadecimal numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/c/operator_feature.test b/prism4j-languages/out/test/resources/languages/c/operator_feature.test deleted file mode 100644 index fdcfb19..0000000 --- a/prism4j-languages/out/test/resources/languages/c/operator_feature.test +++ /dev/null @@ -1,19 +0,0 @@ -+ - ++ -- ! != -< << <= <<= -> >> >= >>= --> == ^ ~ % -& && | || ? * / - ----------------------------------------------------- - -[ - ["operator", "+"], ["operator", "-"], ["operator", "++"], ["operator", "--"], ["operator", "!"], ["operator", "!="], - ["operator", "<"], ["operator", "<<"], ["operator", "<="], ["operator", "<<="], - ["operator", ">"], ["operator", ">>"], ["operator", ">="], ["operator", ">>="], - ["operator", "->"], ["operator", "=="], ["operator", "^"], ["operator", "~"], ["operator", "%"], - ["operator", "&"], ["operator", "&&"], ["operator", "|"], ["operator", "||"], ["operator", "?"], ["operator", "*"], ["operator", "/"] -] - ----------------------------------------------------- - -Checks for all operators \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/boolean_feature.test b/prism4j-languages/out/test/resources/languages/clike/boolean_feature.test deleted file mode 100644 index 6a1ad0c..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/boolean_feature.test +++ /dev/null @@ -1,12 +0,0 @@ -true; false; - ----------------------------------------------------- - -[ - ["boolean", "true"], ["punctuation", ";"], - ["boolean", "false"], ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for booleans. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/class-name_feature.test b/prism4j-languages/out/test/resources/languages/clike/class-name_feature.test deleted file mode 100644 index 04c2112..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/class-name_feature.test +++ /dev/null @@ -1,53 +0,0 @@ -class Foo -interface bar -extends Foo -implements bar -trait Foo -instanceof \bar -new \Foo -catch (bar) - ----------------------------------------------------- - -[ - "class ", - ["class-name", [ - "Foo" - ]], - "\r\ninterface ", - ["class-name", [ - "bar" - ]], - "\r\nextends ", - ["class-name", [ - "Foo" - ]], - "\r\nimplements ", - ["class-name", [ - "bar" - ]], - "\r\ntrait ", - ["class-name", [ - "Foo" - ]], - ["keyword", "instanceof"], - ["class-name", [ - ["punctuation", "\\"], - "bar" - ]], - ["keyword", "new"], - ["class-name", [ - ["punctuation", "\\"], - "Foo" - ]], - ["keyword", "catch"], - ["punctuation", "("], - ["class-name", [ - "bar" - ]], - ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for class names. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/comment_feature.test b/prism4j-languages/out/test/resources/languages/clike/comment_feature.test deleted file mode 100644 index 00bb289..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/comment_feature.test +++ /dev/null @@ -1,16 +0,0 @@ -// foobar -/**/ -/* foo -bar */ - ----------------------------------------------------- - -[ - ["comment", "// foobar"], - ["comment", "/**/"], - ["comment", "/* foo\r\nbar */"] -] - ----------------------------------------------------- - -Checks for single-line and multi-line comments. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/function_feature.test b/prism4j-languages/out/test/resources/languages/clike/function_feature.test deleted file mode 100644 index 031ed1c..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/function_feature.test +++ /dev/null @@ -1,23 +0,0 @@ -foo() -foo_bar() -f42() - ----------------------------------------------------- - -[ - ["function", "foo"], - ["punctuation", "("], - ["punctuation", ")"], - - ["function", "foo_bar"], - ["punctuation", "("], - ["punctuation", ")"], - - ["function", "f42"], - ["punctuation", "("], - ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for functions. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/issue1340.test b/prism4j-languages/out/test/resources/languages/clike/issue1340.test deleted file mode 100644 index 0b5effa..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/issue1340.test +++ /dev/null @@ -1,13 +0,0 @@ -/* -// -*/ - ----------------------------------------------------- - -[ - ["comment", "/*\r\n//\r\n*/"] -] - ----------------------------------------------------- - -Non-regression test for inline comments inside multiline comments. See #1340 \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/keyword_feature.test b/prism4j-languages/out/test/resources/languages/clike/keyword_feature.test deleted file mode 100644 index 4313f7c..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/keyword_feature.test +++ /dev/null @@ -1,30 +0,0 @@ -if; else; while; do; for; -return; in; instanceof; function; new; -try; throw; catch; finally; null; -break; continue; - ----------------------------------------------------- - -[ - ["keyword", "if"], ["punctuation", ";"], - ["keyword", "else"], ["punctuation", ";"], - ["keyword", "while"], ["punctuation", ";"], - ["keyword", "do"], ["punctuation", ";"], - ["keyword", "for"], ["punctuation", ";"], - ["keyword", "return"], ["punctuation", ";"], - ["keyword", "in"], ["punctuation", ";"], - ["keyword", "instanceof"], ["punctuation", ";"], - ["keyword", "function"], ["punctuation", ";"], - ["keyword", "new"], ["punctuation", ";"], - ["keyword", "try"], ["punctuation", ";"], - ["keyword", "throw"], ["punctuation", ";"], - ["keyword", "catch"], ["punctuation", ";"], - ["keyword", "finally"], ["punctuation", ";"], - ["keyword", "null"], ["punctuation", ";"], - ["keyword", "break"], ["punctuation", ";"], - ["keyword", "continue"], ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for all keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/number_feature.test b/prism4j-languages/out/test/resources/languages/clike/number_feature.test deleted file mode 100644 index f6bcc0b..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/number_feature.test +++ /dev/null @@ -1,23 +0,0 @@ -42 -3.14159 -4e10 -2.1e-10 -0.4e+2 -0xbabe -0xBABE - ----------------------------------------------------- - -[ - ["number", "42"], - ["number", "3.14159"], - ["number", "4e10"], - ["number", "2.1e-10"], - ["number", "0.4e+2"], - ["number", "0xbabe"], - ["number", "0xBABE"] -] - ----------------------------------------------------- - -Checks for decimal numbers and hexadecimal numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/operator_feature.test b/prism4j-languages/out/test/resources/languages/clike/operator_feature.test deleted file mode 100644 index 1a4c649..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/operator_feature.test +++ /dev/null @@ -1,21 +0,0 @@ -- + -- ++ -< <= > >= -= == === -! != !== -& && | || -? * / ~ ^ % - ----------------------------------------------------- - -[ - ["operator", "-"], ["operator", "+"], ["operator", "--"], ["operator", "++"], - ["operator", "<"], ["operator", "<="], ["operator", ">"], ["operator", ">="], - ["operator", "="], ["operator", "=="], ["operator", "==="], - ["operator", "!"], ["operator", "!="], ["operator", "!=="], - ["operator", "&"], ["operator", "&&"], ["operator", "|"], ["operator", "||"], - ["operator", "?"], ["operator", "*"], ["operator", "/"], ["operator", "~"], ["operator", "^"], ["operator", "%"] -] - ----------------------------------------------------- - -Checks for all operators. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clike/string_feature.test b/prism4j-languages/out/test/resources/languages/clike/string_feature.test deleted file mode 100644 index 0e347c9..0000000 --- a/prism4j-languages/out/test/resources/languages/clike/string_feature.test +++ /dev/null @@ -1,31 +0,0 @@ -"" -'' -"f\"oo" -'b\'ar' -"foo\ -bar" -'foo\ -bar' -"foo /* comment */ bar" -'foo // bar' -'foo // bar' //comment - ----------------------------------------------------- - -[ - ["string", "\"\""], - ["string", "''"], - ["string", "\"f\\\"oo\""], - ["string", "'b\\'ar'"], - ["string", "\"foo\\\r\nbar\""], - ["string", "'foo\\\r\nbar'"], - ["string", "\"foo /* comment */ bar\""], - ["string", "'foo // bar'"], - ["string", "'foo // bar'"], - ["comment", "//comment"] -] - ----------------------------------------------------- - -Checks for empty strings, single-line strings and -multi-line strings, both single-quoted and double-quoted. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clojure/boolean_feature.test b/prism4j-languages/out/test/resources/languages/clojure/boolean_feature.test deleted file mode 100644 index 55720b4..0000000 --- a/prism4j-languages/out/test/resources/languages/clojure/boolean_feature.test +++ /dev/null @@ -1,15 +0,0 @@ -false -true -nil - ----------------------------------------------------- - -[ - ["boolean", "false"], - ["boolean", "true"], - ["boolean", "nil"] -] - ----------------------------------------------------- - -Checks for booleans. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clojure/comment_feature.test b/prism4j-languages/out/test/resources/languages/clojure/comment_feature.test deleted file mode 100644 index c4f5c7d..0000000 --- a/prism4j-languages/out/test/resources/languages/clojure/comment_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -;; this is comment -; this is another comment - ----------------------------------------------------- - -[ - ["comment", ";; this is comment"], - ["comment", "; this is another comment"] -] - ----------------------------------------------------- - -Checks for comments. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clojure/keyword_feature.test b/prism4j-languages/out/test/resources/languages/clojure/keyword_feature.test deleted file mode 100644 index 0c32cd2..0000000 --- a/prism4j-languages/out/test/resources/languages/clojure/keyword_feature.test +++ /dev/null @@ -1,175 +0,0 @@ -(def) -(if) -(do) -(let) -(var) -(fn) -(quote) -(->>) -(->) -(loop) -(recur) -(throw) -(try) -(monitor-enter) -(.) -(new) -(set!) -(defn) -(defn-) -(defmacro) -(defmulti) -(defmethod) -(defstruct) -(defonce) -(declare) -(definline) -(definterface) -(defprotocol) -(defrecord) -(deftype) -(defproject) -(ns) -(*) -(+) -(-) -(/) -(<) -(<=) -(>=) -(=) -(==) -(..) -(>) -(accessor) -(agent) -(agent-errors) -(aget) -(alength) -(all-ns) -(alter) -(and) -(append-child) -(apply) -(array-map) -(aset) -(aset-boolean) -(aset-byte) -(aset-char) -(aset-double) -(aset-float) -(aset-int) -(aset-long) -(aset-short) -(assert) -(assoc) -(await) -(await-for) -(bean) -(binding) -(bit-and) -(bit-not) -(branch?) -(contains?) -(end?) -(every?) -(false?) -(identical?) -(instance?) -(keyword?) -(list*) -(not-any?) -(true?) -(zero?) - ----------------------------------------------------- - -[ - ["punctuation", "("], ["keyword", "def"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "if"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "do"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "let"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "var"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "fn"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "quote"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "->>"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "->"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "loop"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "recur"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "throw"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "try"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "monitor-enter"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "."], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "new"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "set!"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defn"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defn-"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defmacro"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defmulti"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defmethod"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defstruct"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defonce"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "declare"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "definline"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "definterface"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defprotocol"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defrecord"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "deftype"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "defproject"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "ns"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "*"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "+"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "-"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "/"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "<"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "<="], ["punctuation", ")"], - ["punctuation", "("], ["keyword", ">="], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "="], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "=="], ["punctuation", ")"], - ["punctuation", "("], ["keyword", ".."], ["punctuation", ")"], - ["punctuation", "("], ["keyword", ">"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "accessor"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "agent"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "agent-errors"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aget"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "alength"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "all-ns"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "alter"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "and"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "append-child"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "apply"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "array-map"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset-boolean"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset-byte"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset-char"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset-double"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset-float"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset-int"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset-long"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "aset-short"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "assert"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "assoc"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "await"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "await-for"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "bean"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "binding"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "bit-and"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "bit-not"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "branch?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "contains?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "end?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "every?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "false?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "identical?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "instance?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "keyword?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "list*"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "not-any?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "true?"], ["punctuation", ")"], - ["punctuation", "("], ["keyword", "zero?"], ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for keywords. diff --git a/prism4j-languages/out/test/resources/languages/clojure/operator_and_punctuation.test b/prism4j-languages/out/test/resources/languages/clojure/operator_and_punctuation.test deleted file mode 100644 index e90acb6..0000000 --- a/prism4j-languages/out/test/resources/languages/clojure/operator_and_punctuation.test +++ /dev/null @@ -1,20 +0,0 @@ -(::example [x y] (:kebab-case x y)) - ----------------------------------------------------- - -[ - ["punctuation", "("], - ["operator", "::example"], - ["punctuation", "["], - "x y", - ["punctuation", "]"], - ["punctuation", "("], - ["operator", ":kebab-case"], - " x y", - ["punctuation", ")"], - ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for operators and punctuation. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/clojure/string_feature.test b/prism4j-languages/out/test/resources/languages/clojure/string_feature.test deleted file mode 100644 index 13a966c..0000000 --- a/prism4j-languages/out/test/resources/languages/clojure/string_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -"" -"Fo\"obar" - ----------------------------------------------------- - -[ - ["string", "\"\""], - ["string", "\"Fo\\\"obar\""] -] - ----------------------------------------------------- - -Checks for strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/cpp/boolean_feature.test b/prism4j-languages/out/test/resources/languages/cpp/boolean_feature.test deleted file mode 100644 index 4019c44..0000000 --- a/prism4j-languages/out/test/resources/languages/cpp/boolean_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -true -false - ----------------------------------------------------- - -[ - ["boolean", "true"], - ["boolean", "false"] -] - ----------------------------------------------------- - -Checks for booleans. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/cpp/class-name_feature.test b/prism4j-languages/out/test/resources/languages/cpp/class-name_feature.test deleted file mode 100644 index f3d5df5..0000000 --- a/prism4j-languages/out/test/resources/languages/cpp/class-name_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -class Foo -class Foo_bar - ----------------------------------------------------- - -[ - ["keyword", "class"], ["class-name", "Foo"], - ["keyword", "class"], ["class-name", "Foo_bar"] -] - ----------------------------------------------------- - -Checks for class names. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/cpp/keyword_feature.test b/prism4j-languages/out/test/resources/languages/cpp/keyword_feature.test deleted file mode 100644 index 180f68e..0000000 --- a/prism4j-languages/out/test/resources/languages/cpp/keyword_feature.test +++ /dev/null @@ -1,49 +0,0 @@ -alignas alignof asm auto bool -break case catch char char16_t char32_t -class; -compl const constexpr -const_cast continue decltype default -delete do double dynamic_cast -else enum explicit export extern -float for friend goto if -inline int long mutable namespace -new noexcept nullptr operator -private protected public register -reinterpret_cast return short -signed sizeof static static_assert -static_cast struct switch template -this thread_local throw try -typedef typeid typename union -unsigned using virtual void -volatile wchar_t while -int8_t int16_t int32_t int64_t -uint8_t uint16_t uint32_t uint64_t - ----------------------------------------------------- - -[ - ["keyword", "alignas"], ["keyword", "alignof"], ["keyword", "asm"], ["keyword", "auto"], ["keyword", "bool"], - ["keyword", "break"], ["keyword", "case"], ["keyword", "catch"], ["keyword", "char"], ["keyword", "char16_t"], ["keyword", "char32_t"], - ["keyword", "class"], ["punctuation", ";"], - ["keyword", "compl"], ["keyword", "const"], ["keyword", "constexpr"], - ["keyword", "const_cast"], ["keyword", "continue"], ["keyword", "decltype"], ["keyword", "default"], - ["keyword", "delete"], ["keyword", "do"], ["keyword", "double"], ["keyword", "dynamic_cast"], - ["keyword", "else"], ["keyword", "enum"], ["keyword", "explicit"], ["keyword", "export"], ["keyword", "extern"], - ["keyword", "float"], ["keyword", "for"], ["keyword", "friend"], ["keyword", "goto"], ["keyword", "if"], - ["keyword", "inline"], ["keyword", "int"], ["keyword", "long"], ["keyword", "mutable"], ["keyword", "namespace"], - ["keyword", "new"], ["keyword", "noexcept"], ["keyword", "nullptr"], ["keyword", "operator"], - ["keyword", "private"], ["keyword", "protected"], ["keyword", "public"], ["keyword", "register"], - ["keyword", "reinterpret_cast"], ["keyword", "return"], ["keyword", "short"], - ["keyword", "signed"], ["keyword", "sizeof"], ["keyword", "static"], ["keyword", "static_assert"], - ["keyword", "static_cast"], ["keyword", "struct"], ["keyword", "switch"], ["keyword", "template"], - ["keyword", "this"], ["keyword", "thread_local"], ["keyword", "throw"], ["keyword", "try"], - ["keyword", "typedef"], ["keyword", "typeid"], ["keyword", "typename"], ["keyword", "union"], - ["keyword", "unsigned"], ["keyword", "using"], ["keyword", "virtual"], ["keyword", "void"], - ["keyword", "volatile"], ["keyword", "wchar_t"], ["keyword", "while"], - ["keyword", "int8_t"], ["keyword", "int16_t"], ["keyword", "int32_t"], ["keyword", "int64_t"], - ["keyword", "uint8_t"], ["keyword", "uint16_t"], ["keyword", "uint32_t"], ["keyword", "uint64_t"] -] - ----------------------------------------------------- - -Checks for all keywords \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/cpp/raw_string_feature.test b/prism4j-languages/out/test/resources/languages/cpp/raw_string_feature.test deleted file mode 100644 index f9a896f..0000000 --- a/prism4j-languages/out/test/resources/languages/cpp/raw_string_feature.test +++ /dev/null @@ -1,18 +0,0 @@ -R"raw( -test -)raw" -R"(no delimiter)" -R"(foo)"R"(bar)" - ----------------------------------------------------- - -[ - ["raw-string", "R\"raw(\r\ntest\r\n)raw\""], - ["raw-string", "R\"(no delimiter)\""], - ["raw-string", "R\"(foo)\""], - ["raw-string", "R\"(bar)\""] -] - ----------------------------------------------------- - -Checks for the C++11 raw string feature \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/class-name_feature.test b/prism4j-languages/out/test/resources/languages/csharp/class-name_feature.test deleted file mode 100644 index 113982b..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/class-name_feature.test +++ /dev/null @@ -1,34 +0,0 @@ -class Foo -interface BarBaz -class Foo : Bar -[Foobar] -void Foo(Bar bar, Baz baz) - ----------------------------------------------------- - -[ - ["keyword", "class"], - ["class-name", ["Foo"]], - ["keyword", "interface"], - ["class-name", ["BarBaz"]], - ["keyword", "class"], - ["class-name", ["Foo"]], - ["punctuation", ":"], - ["class-name", ["Bar"]], - ["punctuation", "["], - ["class-name", ["Foobar"]], - ["punctuation", "]"], - ["keyword", "void"], - ["function", "Foo"], - ["punctuation", "("], - ["class-name", ["Bar"]], - " bar", - ["punctuation", ","], - ["class-name", ["Baz"]], - " baz", - ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for class names. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/generic_feature.test b/prism4j-languages/out/test/resources/languages/csharp/generic_feature.test deleted file mode 100644 index 05d3f58..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/generic_feature.test +++ /dev/null @@ -1,34 +0,0 @@ -void method(); -method(); - ----------------------------------------------------- - -[ - ["keyword", "void"], - ["generic-method", [ - ["function", "method"], - ["punctuation", "<"], - ["class-name", ["T"]], - ["punctuation", ","], - ["class-name", ["U"]], - ["punctuation", ">"] - ]], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"], - ["generic-method", [ - ["function", "method"], - ["punctuation", "<"], - ["keyword", "int"], - ["punctuation", ","], - ["keyword", "char"], - ["punctuation", ">"] - ]], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for generic methods \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/issue1091.test b/prism4j-languages/out/test/resources/languages/csharp/issue1091.test deleted file mode 100644 index c0c264b..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/issue1091.test +++ /dev/null @@ -1,12 +0,0 @@ -@"file:///" - ----------------------------------------------------- - -[ - ["string", "@\"file:///\""] -] - ----------------------------------------------------- - -Checks that three slashes inside a string do not break highlighting. -See #1091. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/issue1365.test b/prism4j-languages/out/test/resources/languages/csharp/issue1365.test deleted file mode 100644 index 6aaf3c7..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/issue1365.test +++ /dev/null @@ -1,39 +0,0 @@ -interface ILogger { - void Init(SomeClass file); - void LogInfo(string message); -} -public class SomeClass : BaseClass {} - ----------------------------------------------------- - -[ - ["keyword", "interface"], - ["class-name", ["ILogger"]], - ["punctuation", "{"], - ["keyword", "void"], - ["function", "Init"], - ["punctuation", "("], - ["class-name", ["SomeClass"]], - " file", - ["punctuation", ")"], - ["punctuation", ";"], - ["keyword", "void"], - ["function", "LogInfo"], - ["punctuation", "("], - ["keyword", "string"], - " message", - ["punctuation", ")"], - ["punctuation", ";"], - ["punctuation", "}"], - ["keyword", "public"], - ["keyword", "class"], - ["class-name", ["SomeClass"]], - ["punctuation", ":"], - ["class-name", ["BaseClass"]], - ["punctuation", "{"], - ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for class names. See #1365 \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/issue1371.test b/prism4j-languages/out/test/resources/languages/csharp/issue1371.test deleted file mode 100644 index 1b2cb7b..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/issue1371.test +++ /dev/null @@ -1,148 +0,0 @@ -container.Register(); -container.Register(); -var container = new Container(f => -{ - f.For().Use(); -}); -class LandAnimal { - public void Move() => Run(); } -class Dog : LandAnimal { - public new void Move() => Run(); } -class Works : LandAnimal { - public override void Move() => Run(); } -[Required] -[RequiredAttribute()] -[Range(1, 10)] - ----------------------------------------------------- - -[ - "container", - ["punctuation", "."], - ["generic-method", [ - ["function", "Register"], - ["punctuation", "<"], - ["class-name", ["Car"]], - ["punctuation", ">"] - ]], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"], - "\r\ncontainer", - ["punctuation", "."], - ["generic-method", [ - ["function", "Register"], - ["punctuation", "<"], - ["class-name", ["IJuice"]], - ["punctuation", ","], - ["class-name", ["Juice"]], - ["punctuation", ">"] - ]], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"], - ["keyword", "var"], - " container ", - ["operator", "="], - ["keyword", "new"], - ["class-name", ["Container"]], - ["punctuation", "("], - "f ", - ["operator", "="], - ["operator", ">"], - ["punctuation", "{"], - "\r\n f", - ["punctuation", "."], - ["generic-method", [ - ["function", "For"], - ["punctuation", "<"], - ["class-name", ["IFoo"]], - ["punctuation", ">"] - ]], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", "."], - ["generic-method", [ - ["function", "Use"], - ["punctuation", "<"], - ["class-name", ["Foo"]], - ["punctuation", ">"] - ]], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"], - ["punctuation", "}"], - ["punctuation", ")"], - ["punctuation", ";"], - ["keyword", "class"], - ["class-name", ["LandAnimal"]], - ["punctuation", "{"], - ["keyword", "public"], - ["keyword", "void"], - ["function", "Move"], - ["punctuation", "("], - ["punctuation", ")"], - ["operator", "="], - ["operator", ">"], - ["function", "Run"], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"], - ["punctuation", "}"], - ["keyword", "class"], - ["class-name", ["Dog"]], - ["punctuation", ":"], - ["class-name", ["LandAnimal"]], - ["punctuation", "{"], - ["keyword", "public"], - ["keyword", "new"], - ["keyword", "void"], - ["function", "Move"], - ["punctuation", "("], - ["punctuation", ")"], - ["operator", "="], - ["operator", ">"], - ["function", "Run"], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"], - ["punctuation", "}"], - ["keyword", "class"], - ["class-name", ["Works"]], - ["punctuation", ":"], - ["class-name", ["LandAnimal"]], - ["punctuation", "{"], - ["keyword", "public"], - ["keyword", "override"], - ["keyword", "void"], - ["function", "Move"], - ["punctuation", "("], - ["punctuation", ")"], - ["operator", "="], - ["operator", ">"], - ["function", "Run"], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"], - ["punctuation", "}"], - ["punctuation", "["], - ["class-name", ["Required"]], - ["punctuation", "]"], - ["punctuation", "["], - ["class-name", ["RequiredAttribute"]], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", "]"], - ["punctuation", "["], - ["class-name", ["Range"]], - ["punctuation", "("], - ["number", "1"], - ["punctuation", ","], - ["number", "10"], - ["punctuation", ")"], - ["punctuation", "]"] -] - ----------------------------------------------------- - -Checks for various cases of class names. See #1371 \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/issue806.test b/prism4j-languages/out/test/resources/languages/csharp/issue806.test deleted file mode 100644 index f7a4096..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/issue806.test +++ /dev/null @@ -1,12 +0,0 @@ -0.3f - ----------------------------------------------------- - -[ - ["number", "0.3f"] -] - ----------------------------------------------------- - -Checks that "f" prefix is properly highlighted as part of the number. -See #806. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/keyword_feature.test b/prism4j-languages/out/test/resources/languages/csharp/keyword_feature.test deleted file mode 100644 index e1c37f0..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/keyword_feature.test +++ /dev/null @@ -1,209 +0,0 @@ -abstract -add -alias -as -ascending -async -await -base -bool -break -byte -case -catch -char -checked -class; -const -continue -decimal -default -delegate -descending -do -double -dynamic -else -enum -event -explicit -extern -false -finally -fixed -float -for -foreach -from -get -global -goto -group -if -implicit -in -int -interface; -internal -into -is -join -let -lock -long -namespace -new; -null -object -operator -orderby -out -override -params -partial -private -protected -public -readonly -ref -remove -return -sbyte -sealed -select -set -short -sizeof -stackalloc -static -string -struct -switch -this -throw -true -try -typeof -uint -ulong -unchecked -unsafe -ushort -using -value -var -virtual -void -volatile -where -while -yield - ----------------------------------------------------- - -[ - ["keyword", "abstract"], - ["keyword", "add"], - ["keyword", "alias"], - ["keyword", "as"], - ["keyword", "ascending"], - ["keyword", "async"], - ["keyword", "await"], - ["keyword", "base"], - ["keyword", "bool"], - ["keyword", "break"], - ["keyword", "byte"], - ["keyword", "case"], - ["keyword", "catch"], - ["keyword", "char"], - ["keyword", "checked"], - ["keyword", "class"], ["punctuation", ";"], - ["keyword", "const"], - ["keyword", "continue"], - ["keyword", "decimal"], - ["keyword", "default"], - ["keyword", "delegate"], - ["keyword", "descending"], - ["keyword", "do"], - ["keyword", "double"], - ["keyword", "dynamic"], - ["keyword", "else"], - ["keyword", "enum"], - ["keyword", "event"], - ["keyword", "explicit"], - ["keyword", "extern"], - ["keyword", "false"], - ["keyword", "finally"], - ["keyword", "fixed"], - ["keyword", "float"], - ["keyword", "for"], - ["keyword", "foreach"], - ["keyword", "from"], - ["keyword", "get"], - ["keyword", "global"], - ["keyword", "goto"], - ["keyword", "group"], - ["keyword", "if"], - ["keyword", "implicit"], - ["keyword", "in"], - ["keyword", "int"], - ["keyword", "interface"], ["punctuation", ";"], - ["keyword", "internal"], - ["keyword", "into"], - ["keyword", "is"], - ["keyword", "join"], - ["keyword", "let"], - ["keyword", "lock"], - ["keyword", "long"], - ["keyword", "namespace"], - ["keyword", "new"], ["punctuation", ";"], - ["keyword", "null"], - ["keyword", "object"], - ["keyword", "operator"], - ["keyword", "orderby"], - ["keyword", "out"], - ["keyword", "override"], - ["keyword", "params"], - ["keyword", "partial"], - ["keyword", "private"], - ["keyword", "protected"], - ["keyword", "public"], - ["keyword", "readonly"], - ["keyword", "ref"], - ["keyword", "remove"], - ["keyword", "return"], - ["keyword", "sbyte"], - ["keyword", "sealed"], - ["keyword", "select"], - ["keyword", "set"], - ["keyword", "short"], - ["keyword", "sizeof"], - ["keyword", "stackalloc"], - ["keyword", "static"], - ["keyword", "string"], - ["keyword", "struct"], - ["keyword", "switch"], - ["keyword", "this"], - ["keyword", "throw"], - ["keyword", "true"], - ["keyword", "try"], - ["keyword", "typeof"], - ["keyword", "uint"], - ["keyword", "ulong"], - ["keyword", "unchecked"], - ["keyword", "unsafe"], - ["keyword", "ushort"], - ["keyword", "using"], - ["keyword", "value"], - ["keyword", "var"], - ["keyword", "virtual"], - ["keyword", "void"], - ["keyword", "volatile"], - ["keyword", "where"], - ["keyword", "while"], - ["keyword", "yield"] -] - ----------------------------------------------------- - -Checks for all keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/number_feature.test b/prism4j-languages/out/test/resources/languages/csharp/number_feature.test deleted file mode 100644 index 1268080..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/number_feature.test +++ /dev/null @@ -1,17 +0,0 @@ -42 -3.14159 -0xbabe -0XBABE - ----------------------------------------------------- - -[ - ["number", "42"], - ["number", "3.14159"], - ["number", "0xbabe"], - ["number", "0XBABE"] -] - ----------------------------------------------------- - -Checks for decimal and hexadecimal numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/preprocessor_feature.test b/prism4j-languages/out/test/resources/languages/csharp/preprocessor_feature.test deleted file mode 100644 index 93ad490..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/preprocessor_feature.test +++ /dev/null @@ -1,35 +0,0 @@ -#define DEBUG -#if DEBUG -#endif - -#elif -#else -#endregion -#error -#line -#pragma -#region -#undef -#warning - ----------------------------------------------------- - -[ - ["preprocessor", ["#", ["directive", "define"], " DEBUG"]], - ["preprocessor", ["#", ["directive", "if"], " DEBUG"]], - ["preprocessor", ["#", ["directive", "endif"]]], - - ["preprocessor", ["#", ["directive", "elif"]]], - ["preprocessor", ["#", ["directive", "else"]]], - ["preprocessor", ["#", ["directive", "endregion"]]], - ["preprocessor", ["#", ["directive", "error"]]], - ["preprocessor", ["#", ["directive", "line"]]], - ["preprocessor", ["#", ["directive", "pragma"]]], - ["preprocessor", ["#", ["directive", "region"]]], - ["preprocessor", ["#", ["directive", "undef"]]], - ["preprocessor", ["#", ["directive", "warning"]]] -] - ----------------------------------------------------- - -Checks for preprocessor directives. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/csharp/string_feature.test b/prism4j-languages/out/test/resources/languages/csharp/string_feature.test deleted file mode 100644 index 2814cb5..0000000 --- a/prism4j-languages/out/test/resources/languages/csharp/string_feature.test +++ /dev/null @@ -1,32 +0,0 @@ -"" -"fo\"o" - -@"" -@"foo" -@"fo""o" -@"foo -bar" - -'a' -'\'' -'\\' - ----------------------------------------------------- - -[ - ["string", "\"\""], - ["string", "\"fo\\\"o\""], - - ["string", "@\"\""], - ["string", "@\"foo\""], - ["string", "@\"fo\"\"o\""], - ["string", "@\"foo\r\nbar\""], - ["string", "'a'"], - ["string", "'\\''"], - ["string", "'\\\\'"] -] - ----------------------------------------------------- - -Checks for normal and verbatim strings. -Also checks for single quoted characters. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css!+css-extras/entity_feature.test b/prism4j-languages/out/test/resources/languages/css!+css-extras/entity_feature.test deleted file mode 100644 index c1c91a2..0000000 --- a/prism4j-languages/out/test/resources/languages/css!+css-extras/entity_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -\0022 -\20B9 - ----------------------------------------------------- - -[ - ["entity", "\\0022"], - ["entity", "\\20B9"] -] - ----------------------------------------------------- - -Checks for entities. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css!+css-extras/hexcode_feature.test b/prism4j-languages/out/test/resources/languages/css!+css-extras/hexcode_feature.test deleted file mode 100644 index cac0b44..0000000 --- a/prism4j-languages/out/test/resources/languages/css!+css-extras/hexcode_feature.test +++ /dev/null @@ -1,17 +0,0 @@ -#ff0000 -#BADA55 -#4dd -#D0C - ----------------------------------------------------- - -[ - ["hexcode", "#ff0000"], - ["hexcode", "#BADA55"], - ["hexcode", "#4dd"], - ["hexcode", "#D0C"] -] - ----------------------------------------------------- - -Checks for hexadecimal colors. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css!+css-extras/number_feature.test b/prism4j-languages/out/test/resources/languages/css!+css-extras/number_feature.test deleted file mode 100644 index 24ed530..0000000 --- a/prism4j-languages/out/test/resources/languages/css!+css-extras/number_feature.test +++ /dev/null @@ -1,17 +0,0 @@ -42 -3.14159 -42% -3.14% - ----------------------------------------------------- - -[ - ["number", "42"], - ["number", "3.14159"], - ["number", "42%"], - ["number", "3.14%"] -] - ----------------------------------------------------- - -Checks for numbers. diff --git a/prism4j-languages/out/test/resources/languages/css!+css-extras/selector_feature.test b/prism4j-languages/out/test/resources/languages/css!+css-extras/selector_feature.test deleted file mode 100644 index 3931a66..0000000 --- a/prism4j-languages/out/test/resources/languages/css!+css-extras/selector_feature.test +++ /dev/null @@ -1,58 +0,0 @@ -foo:after { -foo::first-letter { - -foo:nth-child(2n+1) { - -foo.bar { - -foo#bar { - -#foo > .bar:not(baz):after { - -div[foo="bar"] { - ----------------------------------------------------- - -[ - ["selector", [ - "foo", - ["pseudo-element", ":after"] - ]], ["punctuation", "{"], - - ["selector", [ - "foo", - ["pseudo-element", "::first-letter"] - ]], ["punctuation", "{"], - - ["selector", [ - "foo", - ["pseudo-class", ":nth-child(2n+1)"] - ]], ["punctuation", "{"], - - ["selector", [ - "foo", - ["class", ".bar"] - ]], ["punctuation", "{"], - - ["selector", [ - "foo", - ["id", "#bar"] - ]], ["punctuation", "{"], - - ["selector", [ - ["id", "#foo"], - " > ", - ["class", ".bar"], - ["pseudo-class", ":not(baz)"], - ["pseudo-element", ":after"] - ]], ["punctuation", "{"], - - ["selector", [ - "div", - ["attribute", "[foo=\"bar\"]"] - ]], ["punctuation", "{"] -] - ----------------------------------------------------- - -Checks for pseudo-elements, pseudo-classes, classes and ids inside selectors. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css/atrule_feature.test b/prism4j-languages/out/test/resources/languages/css/atrule_feature.test deleted file mode 100644 index abc75de..0000000 --- a/prism4j-languages/out/test/resources/languages/css/atrule_feature.test +++ /dev/null @@ -1,47 +0,0 @@ -@import url(foo.css); -@media print {} -@media (min-width: 640px) and (min-height: 1000px) {} -@main-color: red; - ----------------------------------------------------- - -[ - ["atrule", [ - ["rule", "@import"], - ["url", "url(foo.css)"], - ["punctuation", ";"] - ]], - ["atrule", [ - ["rule", "@media"], - " print" - ]], - ["punctuation", "{"], - ["punctuation", "}"], - ["atrule", [ - ["rule", "@media"], - ["punctuation", "("], - ["property", "min-width"], - ["punctuation", ":"], - " 640px", - ["punctuation", ")"], - " and ", - ["punctuation", "("], - ["property", "min-height"], - ["punctuation", ":"], - " 1000px", - ["punctuation", ")"] - ]], - ["punctuation", "{"], - ["punctuation", "}"], - ["atrule", [ - ["rule", "@main-color"], - ["punctuation", ":"], - " red", - ["punctuation", ";"] - ]] -] - ----------------------------------------------------- - -Checks for at-rules. -Also checks for LESS variables. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css/comment_feature.test b/prism4j-languages/out/test/resources/languages/css/comment_feature.test deleted file mode 100644 index a3899ed..0000000 --- a/prism4j-languages/out/test/resources/languages/css/comment_feature.test +++ /dev/null @@ -1,16 +0,0 @@ -/**/ -/* foo */ -/* foo -bar */ - ----------------------------------------------------- - -[ - ["comment", "/**/"], - ["comment", "/* foo */"], - ["comment", "/* foo\r\nbar */"] -] - ----------------------------------------------------- - -Checks for empty comment, single-line comment and multi-line comment. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css/function_feature.test b/prism4j-languages/out/test/resources/languages/css/function_feature.test deleted file mode 100644 index 0ed4f12..0000000 --- a/prism4j-languages/out/test/resources/languages/css/function_feature.test +++ /dev/null @@ -1,35 +0,0 @@ -transform: translate(-50%); -background: rgba(0, 0, 0, 0.2); -filter: opacity(alpha=0); - ----------------------------------------------------- - -[ - ["property", "transform"], - ["punctuation", ":"], - ["function", "translate"], - ["punctuation", "("], - "-50%", - ["punctuation", ")"], - ["punctuation", ";"], - - ["property", "background"], - ["punctuation", ":"], - ["function", "rgba"], - ["punctuation", "("], - "0, 0, 0, 0.2", - ["punctuation", ")"], - ["punctuation", ";"], - - ["property", "filter"], - ["punctuation", ":"], - ["function", "opacity"], - ["punctuation", "("], - "alpha=0", - ["punctuation", ")"], - ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for functions. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css/important_feature.test b/prism4j-languages/out/test/resources/languages/css/important_feature.test deleted file mode 100644 index ad69c39..0000000 --- a/prism4j-languages/out/test/resources/languages/css/important_feature.test +++ /dev/null @@ -1,21 +0,0 @@ -color: red !important; -padding: 10px 20px 30px !important; - ----------------------------------------------------- - -[ - ["property", "color"], - ["punctuation", ":"], - " red ", - ["important", "!important"], - ["punctuation", ";"], - ["property", "padding"], - ["punctuation", ":"], - " 10px 20px 30px ", - ["important", "!important"], - ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for !important rule. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css/property_feature.test b/prism4j-languages/out/test/resources/languages/css/property_feature.test deleted file mode 100644 index d01e2d1..0000000 --- a/prism4j-languages/out/test/resources/languages/css/property_feature.test +++ /dev/null @@ -1,29 +0,0 @@ -color: red; -background-color: blue; --webkit-transform: none; ---ötökkä: 2; - ----------------------------------------------------- - -[ - ["property", "color"], - ["punctuation", ":"], - " red", - ["punctuation", ";"], - ["property", "background-color"], - ["punctuation", ":"], - " blue", - ["punctuation", ";"], - ["property", "-webkit-transform"], - ["punctuation", ":"], - " none", - ["punctuation", ";"], - ["property", "--ötökkä"], - ["punctuation", ":"], - " 2", - ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for properties. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css/selector_feature.test b/prism4j-languages/out/test/resources/languages/css/selector_feature.test deleted file mode 100644 index 5a59720..0000000 --- a/prism4j-languages/out/test/resources/languages/css/selector_feature.test +++ /dev/null @@ -1,25 +0,0 @@ -foo{ -foo + bar { -foo:first-child:hover { -* { -foo, -bar{ - ----------------------------------------------------- - -[ - ["selector", "foo"], - ["punctuation", "{"], - ["selector", "foo + bar"], - ["punctuation", "{"], - ["selector", "foo:first-child:hover"], - ["punctuation", "{"], - ["selector", "*"], - ["punctuation", "{"], - ["selector", "foo,\r\nbar"], - ["punctuation", "{"] -] - ----------------------------------------------------- - -Checks for single-line and multi-line selectors. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css/string_feature.test b/prism4j-languages/out/test/resources/languages/css/string_feature.test deleted file mode 100644 index c849d60..0000000 --- a/prism4j-languages/out/test/resources/languages/css/string_feature.test +++ /dev/null @@ -1,22 +0,0 @@ -"f\"oo" -'f\'oo' -"foo\ -bar" -'foo\ -bar' -"foo /* bar" /* and out */ - ----------------------------------------------------- - -[ - ["string", "\"f\\\"oo\""], - ["string", "'f\\'oo'"], - ["string", "\"foo\\\r\nbar\""], - ["string", "'foo\\\r\nbar'"], - ["string", "\"foo /* bar\""], - ["comment", "/* and out */"] -] - ----------------------------------------------------- - -Checks for single-quoted and double-quoted strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/css/url_feature.test b/prism4j-languages/out/test/resources/languages/css/url_feature.test deleted file mode 100644 index 05ce8f9..0000000 --- a/prism4j-languages/out/test/resources/languages/css/url_feature.test +++ /dev/null @@ -1,21 +0,0 @@ -url(foo.png) -url('foo.png') -url("foo.png") -url('foo\ -bar.png') -url("foo\ -bar.png") - ----------------------------------------------------- - -[ - ["url", "url(foo.png)"], - ["url", "url('foo.png')"], - ["url", "url(\"foo.png\")"], - ["url", "url('foo\\\r\nbar.png')"], - ["url", "url(\"foo\\\r\nbar.png\")"] -] - ----------------------------------------------------- - -Checks for url(), unquoted, single-quoted and double-quoted. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/dart/keyword_feature.test b/prism4j-languages/out/test/resources/languages/dart/keyword_feature.test deleted file mode 100644 index a5e3c6c..0000000 --- a/prism4j-languages/out/test/resources/languages/dart/keyword_feature.test +++ /dev/null @@ -1,49 +0,0 @@ -async* sync* yield* -abstract assert async await -break case catch -class; -const -continue default deferred -do dynamic else enum -export external -extends; -factory final finally for -get if -implements; -import -in library -new; -null -operator part rethrow return -set static super switch this -throw try typedef var -void while with yield - ----------------------------------------------------- - -[ - ["keyword", "async*"], ["keyword", "sync*"], ["keyword", "yield*"], - ["keyword", "abstract"], ["keyword", "assert"], ["keyword", "async"], ["keyword", "await"], - ["keyword", "break"], ["keyword", "case"], ["keyword", "catch"], - ["keyword", "class"], ["punctuation", ";"], - ["keyword", "const"], - ["keyword", "continue"], ["keyword", "default"], ["keyword", "deferred"], - ["keyword", "do"], ["keyword", "dynamic"], ["keyword", "else"], ["keyword", "enum"], - ["keyword", "export"], ["keyword", "external"], - ["keyword", "extends"], ["punctuation", ";"], - ["keyword", "factory"], ["keyword", "final"], ["keyword", "finally"], ["keyword", "for"], - ["keyword", "get"], ["keyword", "if"], - ["keyword", "implements"], ["punctuation", ";"], - ["keyword", "import"], - ["keyword", "in"], ["keyword", "library"], - ["keyword", "new"], ["punctuation", ";"], - ["keyword", "null"], - ["keyword", "operator"], ["keyword", "part"], ["keyword", "rethrow"], ["keyword", "return"], - ["keyword", "set"], ["keyword", "static"], ["keyword", "super"], ["keyword", "switch"], ["keyword", "this"], - ["keyword", "throw"], ["keyword", "try"], ["keyword", "typedef"], ["keyword", "var"], - ["keyword", "void"], ["keyword", "while"], ["keyword", "with"], ["keyword", "yield"] -] - ----------------------------------------------------- - -Checks for all keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/dart/metadata_feature.test b/prism4j-languages/out/test/resources/languages/dart/metadata_feature.test deleted file mode 100644 index e88e7ba..0000000 --- a/prism4j-languages/out/test/resources/languages/dart/metadata_feature.test +++ /dev/null @@ -1,20 +0,0 @@ -@deprecated -@override -@todo('seth', 'make this do something') - ----------------------------------------------------- - -[ - ["metadata", "@deprecated"], - ["metadata", "@override"], - ["metadata", "@todo"], - ["punctuation", "("], - ["string", "'seth'"], - ["punctuation", ","], - ["string", "'make this do something'"], - ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for metadata. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/dart/operator_feature.test b/prism4j-languages/out/test/resources/languages/dart/operator_feature.test deleted file mode 100644 index 5d631fd..0000000 --- a/prism4j-languages/out/test/resources/languages/dart/operator_feature.test +++ /dev/null @@ -1,33 +0,0 @@ -++ -- -* / % ~/ -+ - ! ~ -<< >> ? -& ^ | ->= > <= < -as is is! -== != && || -= *= /= ~/= -%= += -= -<<= >>= -&= ^= |= - ----------------------------------------------------- - -[ - ["operator", "++"], ["operator", "--"], - ["operator", "*"], ["operator", "/"], ["operator", "%"], ["operator", "~/"], - ["operator", "+"], ["operator", "-"], ["operator", "!"], ["operator", "~"], - ["operator", "<<"], ["operator", ">>"], ["operator", "?"], - ["operator", "&"], ["operator", "^"], ["operator", "|"], - ["operator", ">="], ["operator", ">"], ["operator", "<="], ["operator", "<"], - ["operator", "as"], ["operator", "is"], ["operator", "is!"], - ["operator", "=="], ["operator", "!="], ["operator", "&&"], ["operator", "||"], - ["operator", "="], ["operator", "*="], ["operator", "/="], ["operator", "~/="], - ["operator", "%="], ["operator", "+="], ["operator", "-="], - ["operator", "<<="], ["operator", ">>="], - ["operator", "&="], ["operator", "^="], ["operator", "|="] -] - ----------------------------------------------------- - -Checks for all operators. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/dart/string_feature.test b/prism4j-languages/out/test/resources/languages/dart/string_feature.test deleted file mode 100644 index feffdbc..0000000 --- a/prism4j-languages/out/test/resources/languages/dart/string_feature.test +++ /dev/null @@ -1,25 +0,0 @@ -"" '' -r"" r'' -"""""" '''''' -r"""""" r'''''' -"fo\"o" 'fo\'o' -"""foo -bar""" -'''foo -bar''' - ----------------------------------------------------- - -[ - ["string", "\"\""], ["string", "''"], - ["string", "r\"\""], ["string", "r''"], - ["string", "\"\"\"\"\"\""], ["string", "''''''"], - ["string", "r\"\"\"\"\"\""], ["string", "r''''''"], - ["string", "\"fo\\\"o\""], ["string", "'fo\\'o'"], - ["string", "\"\"\"foo\r\nbar\"\"\""], ["string", "'''foo\r\nbar'''"] -] - ----------------------------------------------------- - -Checks for single quoted and double quoted strings, -multi-line strings and "raw" strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/git/command_feature.test b/prism4j-languages/out/test/resources/languages/git/command_feature.test deleted file mode 100644 index 488f0be..0000000 --- a/prism4j-languages/out/test/resources/languages/git/command_feature.test +++ /dev/null @@ -1,15 +0,0 @@ -$ git add file.txt -foo@foobar ~ $ git diff --cached -$ git log -p -i - ----------------------------------------------------- - -[ - ["command", ["$ git add file.txt"]], - ["command", ["foo@foobar ~ $ git diff", ["parameter", " --cached"]]], - ["command", ["$ git log", ["parameter", " -p"], ["parameter", " -i"]]] -] - ----------------------------------------------------- - -Checks for git commands, with and without parameters. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/git/comment_feature.test b/prism4j-languages/out/test/resources/languages/git/comment_feature.test deleted file mode 100644 index c3d0358..0000000 --- a/prism4j-languages/out/test/resources/languages/git/comment_feature.test +++ /dev/null @@ -1,17 +0,0 @@ -# On branch gh-pages -# Changes to be committed: -# (use "git reset HEAD ..." to unstage) -# - ----------------------------------------------------- - -[ - ["comment", "# On branch gh-pages"], - ["comment", "# Changes to be committed:"], - ["comment", "# (use \"git reset HEAD ...\" to unstage)"], - ["comment", "#"] -] - ----------------------------------------------------- - -Checks for comments. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/git/commit_sha1_feature.test b/prism4j-languages/out/test/resources/languages/git/commit_sha1_feature.test deleted file mode 100644 index fbc58ed..0000000 --- a/prism4j-languages/out/test/resources/languages/git/commit_sha1_feature.test +++ /dev/null @@ -1,15 +0,0 @@ -commit a11a14ef7e26f2ca62d4b35eac455ce636d0dc09 -commit 87edc4ad8c71b95f6e46f736eb98b742859abd95 -commit 3102416a90c431400d2e2a14e707fb7fd6d9e06d - ----------------------------------------------------- - -[ - ["commit_sha1", "commit a11a14ef7e26f2ca62d4b35eac455ce636d0dc09"], - ["commit_sha1", "commit 87edc4ad8c71b95f6e46f736eb98b742859abd95"], - ["commit_sha1", "commit 3102416a90c431400d2e2a14e707fb7fd6d9e06d"] -] - ----------------------------------------------------- - -Checks for commit SHA1. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/git/coord_feature.test b/prism4j-languages/out/test/resources/languages/git/coord_feature.test deleted file mode 100644 index 8d8c5e2..0000000 --- a/prism4j-languages/out/test/resources/languages/git/coord_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -@@ -1 +1,2 @@ -@@@ -98,20 -98,12 +98,20 @@@ - ----------------------------------------------------- - -[ - ["coord", "@@ -1 +1,2 @@"], - ["coord", "@@@ -98,20 -98,12 +98,20 @@@"] -] - ----------------------------------------------------- - -Checks for coords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/git/diff_feature.test b/prism4j-languages/out/test/resources/languages/git/diff_feature.test deleted file mode 100644 index b93fb18..0000000 --- a/prism4j-languages/out/test/resources/languages/git/diff_feature.test +++ /dev/null @@ -1,31 +0,0 @@ --Here's my tetx file -+Here's my text file -+And this is the second line - -––– a/web/js/lazy.js -+++ b/web/js/lazy.js - -- if (url !== null && url !== '' && typeof url !== 'undefined') { -+ if (url === null || url === '' || typeof url === 'undefined') { -+ return; -+ } -+ - ----------------------------------------------------- - -[ - ["deleted", "-Here's my tetx file"], - ["inserted", "+Here's my text file"], - ["inserted", "+And this is the second line"], - ["deleted", "––– a/web/js/lazy.js"], - ["inserted", "+++ b/web/js/lazy.js"], - ["deleted", "- if (url !== null && url !== '' && typeof url !== 'undefined') {"], - ["inserted", "+ if (url === null || url === '' || typeof url === 'undefined') {"], - ["inserted", "+ return;"], - ["inserted", "+ }"], - ["inserted", "+"] -] - ----------------------------------------------------- - -Checks for inserted and deleted lines in git diff output. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/git/string_feature.test b/prism4j-languages/out/test/resources/languages/git/string_feature.test deleted file mode 100644 index ebff3bf..0000000 --- a/prism4j-languages/out/test/resources/languages/git/string_feature.test +++ /dev/null @@ -1,17 +0,0 @@ -"" -"foo" -'' -'bar' - ----------------------------------------------------- - -[ - ["string", "\"\""], - ["string", "\"foo\""], - ["string", "''"], - ["string", "'bar'"] -] - ----------------------------------------------------- - -Checks for double-quoted and single-quoted strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/go/boolean_feature.test b/prism4j-languages/out/test/resources/languages/go/boolean_feature.test deleted file mode 100644 index 1ee1192..0000000 --- a/prism4j-languages/out/test/resources/languages/go/boolean_feature.test +++ /dev/null @@ -1,19 +0,0 @@ -_ -iota -nil -true -false - ----------------------------------------------------- - -[ - ["boolean", "_"], - ["boolean", "iota"], - ["boolean", "nil"], - ["boolean", "true"], - ["boolean", "false"] -] - ----------------------------------------------------- - -Checks for all boolean values. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/go/builtin_feature.test b/prism4j-languages/out/test/resources/languages/go/builtin_feature.test deleted file mode 100644 index 414018f..0000000 --- a/prism4j-languages/out/test/resources/languages/go/builtin_feature.test +++ /dev/null @@ -1,79 +0,0 @@ -bool -byte -complex64 -complex128 -error -float32 -float64 -rune -string -int -int8 -int16 -int32 -int64 -uint -uint8 -uint16 -uint32 -uint64 -uintptr -append -cap -close -complex -copy -delete -imag -len -make -new -panic -print -println -real -recover - ----------------------------------------------------- - -[ - ["builtin", "bool"], - ["builtin", "byte"], - ["builtin", "complex64"], - ["builtin", "complex128"], - ["builtin", "error"], - ["builtin", "float32"], - ["builtin", "float64"], - ["builtin", "rune"], - ["builtin", "string"], - ["builtin", "int"], - ["builtin", "int8"], - ["builtin", "int16"], - ["builtin", "int32"], - ["builtin", "int64"], - ["builtin", "uint"], - ["builtin", "uint8"], - ["builtin", "uint16"], - ["builtin", "uint32"], - ["builtin", "uint64"], - ["builtin", "uintptr"], - ["builtin", "append"], - ["builtin", "cap"], - ["builtin", "close"], - ["builtin", "complex"], - ["builtin", "copy"], - ["builtin", "delete"], - ["builtin", "imag"], - ["builtin", "len"], - ["builtin", "make"], - ["builtin", "new"], - ["builtin", "panic"], - ["builtin", "print"], - ["builtin", "println"], - ["builtin", "real"], - ["builtin", "recover"] -] - ----------------------------------------------------- - -Checks for all builtins. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/go/keyword_feature.test b/prism4j-languages/out/test/resources/languages/go/keyword_feature.test deleted file mode 100644 index a2799f7..0000000 --- a/prism4j-languages/out/test/resources/languages/go/keyword_feature.test +++ /dev/null @@ -1,59 +0,0 @@ -break -case -chan -const -continue -default -defer -else -fallthrough -for -func -go -goto -if -import -interface -map -package -range -return -select -struct -switch -type -var - ----------------------------------------------------- - -[ - ["keyword", "break"], - ["keyword", "case"], - ["keyword", "chan"], - ["keyword", "const"], - ["keyword", "continue"], - ["keyword", "default"], - ["keyword", "defer"], - ["keyword", "else"], - ["keyword", "fallthrough"], - ["keyword", "for"], - ["keyword", "func"], - ["keyword", "go"], - ["keyword", "goto"], - ["keyword", "if"], - ["keyword", "import"], - ["keyword", "interface"], - ["keyword", "map"], - ["keyword", "package"], - ["keyword", "range"], - ["keyword", "return"], - ["keyword", "select"], - ["keyword", "struct"], - ["keyword", "switch"], - ["keyword", "type"], - ["keyword", "var"] -] - ----------------------------------------------------- - -Checks for all keywords \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/go/number_feature.test b/prism4j-languages/out/test/resources/languages/go/number_feature.test deleted file mode 100644 index f21b3e8..0000000 --- a/prism4j-languages/out/test/resources/languages/go/number_feature.test +++ /dev/null @@ -1,43 +0,0 @@ -42 -0600 -0xBadFace -170141183460469231731687303715884105727 -72.40 -072.40 -2.71828 -1.e+0 -6.67428e-11 -1E6 -0i -011i -0.i -2.71828i -1.e+0i -6.67428e-11i -1E6i - ----------------------------------------------------- - -[ - ["number", "42"], - ["number", "0600"], - ["number", "0xBadFace"], - ["number", "170141183460469231731687303715884105727"], - ["number", "72.40"], - ["number", "072.40"], - ["number", "2.71828"], - ["number", "1.e+0"], - ["number", "6.67428e-11"], - ["number", "1E6"], - ["number", "0i"], - ["number", "011i"], - ["number", "0.i"], - ["number", "2.71828i"], - ["number", "1.e+0i"], - ["number", "6.67428e-11i"], - ["number", "1E6i"] -] - ----------------------------------------------------- - -Checks for integers, floats and imaginary numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/go/operator_feature.test b/prism4j-languages/out/test/resources/languages/go/operator_feature.test deleted file mode 100644 index cda5386..0000000 --- a/prism4j-languages/out/test/resources/languages/go/operator_feature.test +++ /dev/null @@ -1,27 +0,0 @@ -* / % ^ ! = -*= /= %= ^= != == -+ += ++ -- -= -- -| |= || -& &= && &^ &^= -> >> >>= >= -< << <<= <= <- -:= ... - ----------------------------------------------------- - -[ - ["operator", "*"], ["operator", "/"], ["operator", "%"], ["operator", "^"], ["operator", "!"], ["operator", "="], - ["operator", "*="], ["operator", "/="], ["operator", "%="], ["operator", "^="], ["operator", "!="], ["operator", "=="], - ["operator", "+"], ["operator", "+="], ["operator", "++"], - ["operator", "-"], ["operator", "-="], ["operator", "--"], - ["operator", "|"], ["operator", "|="], ["operator", "||"], - ["operator", "&"], ["operator", "&="], ["operator", "&&"], ["operator", "&^"], ["operator", "&^="], - ["operator", ">"], ["operator", ">>"], ["operator", ">>="], ["operator", ">="], - ["operator", "<"], ["operator", "<<"], ["operator", "<<="], ["operator", "<="], ["operator", "<-"], - ["operator", ":="], ["operator", "..."] -] - ----------------------------------------------------- - -Checks for all operators. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/go/string_feature.test b/prism4j-languages/out/test/resources/languages/go/string_feature.test deleted file mode 100644 index 97e3960..0000000 --- a/prism4j-languages/out/test/resources/languages/go/string_feature.test +++ /dev/null @@ -1,37 +0,0 @@ -'a' -'ä' -'本' -'\t' -'\xff' -'\u12e4' - -`abc` -`\n -\n` -"\n" -"\"" -"Hello, world!\n" -"日本語" -"\xff\u00FF" - ----------------------------------------------------- - -[ - ["string", "'a'"], - ["string", "'ä'"], - ["string", "'本'"], - ["string", "'\\t'"], - ["string", "'\\xff'"], - ["string", "'\\u12e4'"], - ["string", "`abc`"], - ["string", "`\\n\r\n\\n`"], - ["string", "\"\\n\""], - ["string", "\"\\\"\""], - ["string", "\"Hello, world!\\n\""], - ["string", "\"日本語\""], - ["string", "\"\\xff\\u00FF\""] -] - ----------------------------------------------------- - -Checks for runes and strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/groovy/annotation_feature.test b/prism4j-languages/out/test/resources/languages/groovy/annotation_feature.test deleted file mode 100644 index f956c52..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/annotation_feature.test +++ /dev/null @@ -1,17 +0,0 @@ -@BaseScript MyBaseClass baseScript -@DelegatesTo(EmailSpec) - ----------------------------------------------------- - -[ - ["annotation", "@BaseScript"], - " MyBaseClass baseScript\r\n", - ["annotation", "@DelegatesTo"], - ["punctuation", "("], - "EmailSpec", - ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for annotations. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/groovy/issue1049.js b/prism4j-languages/out/test/resources/languages/groovy/issue1049.js deleted file mode 100644 index 2ce8153..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/issue1049.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - '"&"': '"&amp;"', - '"&&"': '"&amp;&amp;"', - '"<"': '"&lt;"', - '"<<"': '"&lt;&lt;"', - '"&lt;"': '"&amp;lt;"', - '">"': '"&gt;"', -}; diff --git a/prism4j-languages/out/test/resources/languages/groovy/keyword_feature.test b/prism4j-languages/out/test/resources/languages/groovy/keyword_feature.test deleted file mode 100644 index 57b7e16..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/keyword_feature.test +++ /dev/null @@ -1,61 +0,0 @@ -as def in abstract -assert boolean break -byte case catch char -class; -const continue -default do double else -enum -extends; -final -finally float for goto -if -implements; -import -instanceof; -int -interface; -long native -new; -package private protected -public return short -static strictfp super -switch synchronized this -throw throws -trait; -transient -try void volatile while - ----------------------------------------------------- - -[ - ["keyword", "as"], ["keyword", "def"], ["keyword", "in"], ["keyword", "abstract"], - ["keyword", "assert"], ["keyword", "boolean"], ["keyword", "break"], - ["keyword", "byte"], ["keyword", "case"], ["keyword", "catch"], ["keyword", "char"], - ["keyword", "class"], ["punctuation", ";"], - ["keyword", "const"], ["keyword", "continue"], - ["keyword", "default"], ["keyword", "do"], ["keyword", "double"], ["keyword", "else"], - ["keyword", "enum"], - ["keyword", "extends"], ["punctuation", ";"], - ["keyword", "final"], - ["keyword", "finally"], ["keyword", "float"], ["keyword", "for"], ["keyword", "goto"], - ["keyword", "if"], - ["keyword", "implements"], ["punctuation", ";"], - ["keyword", "import"], - ["keyword", "instanceof"], ["punctuation", ";"], - ["keyword", "int"], - ["keyword", "interface"], ["punctuation", ";"], - ["keyword", "long"], ["keyword", "native"], - ["keyword", "new"], ["punctuation", ";"], - ["keyword", "package"], ["keyword", "private"], ["keyword", "protected"], - ["keyword", "public"], ["keyword", "return"], ["keyword", "short"], - ["keyword", "static"], ["keyword", "strictfp"], ["keyword", "super"], - ["keyword", "switch"], ["keyword", "synchronized"], ["keyword", "this"], - ["keyword", "throw"], ["keyword", "throws"], - ["keyword", "trait"], ["punctuation", ";"], - ["keyword", "transient"], - ["keyword", "try"], ["keyword", "void"], ["keyword", "volatile"], ["keyword", "while"] -] - ----------------------------------------------------- - -Checks for all keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/groovy/number_feature.test b/prism4j-languages/out/test/resources/languages/groovy/number_feature.test deleted file mode 100644 index bd12ff9..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/number_feature.test +++ /dev/null @@ -1,43 +0,0 @@ -0b0110 -0b0110_1111_0000 -0b01G 0b01L 0b01I -0b01D 0b01F - -0xBABE -0xBad_Face -0x1.8p1 -0xa.fp-2 - -42_000 -3.14_15_9 -1.2e3 -3E+1 -4E-2 -42g 42l 42i -42d 42f - ----------------------------------------------------- - -[ - ["number", "0b0110"], - ["number", "0b0110_1111_0000"], - ["number", "0b01G"], ["number", "0b01L"], ["number", "0b01I"], - ["number", "0b01D"], ["number", "0b01F"], - - ["number", "0xBABE"], - ["number", "0xBad_Face"], - ["number", "0x1.8p1"], - ["number", "0xa.fp-2"], - - ["number", "42_000"], - ["number", "3.14_15_9"], - ["number", "1.2e3"], - ["number", "3E+1"], - ["number", "4E-2"], - ["number", "42g"], ["number", "42l"], ["number", "42i"], - ["number", "42d"], ["number", "42f"] -] - ----------------------------------------------------- - -Checks for binary, hexadecimal and decimal numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/groovy/operator_feature.test b/prism4j-languages/out/test/resources/languages/groovy/operator_feature.test deleted file mode 100644 index cce07a9..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/operator_feature.test +++ /dev/null @@ -1,45 +0,0 @@ -~ -= == =~ ==~ -? ?. ?: -* ** *. *= **= -. .@ .& -5..8 -5..<8 -- -- -= -> -+ ++ += -! != -< << <<= <= <=> -> >> >>> >>= >>>= >= -& && &= -| || |= -/ -/= -^ ^= -% %= - ----------------------------------------------------- - -[ - ["operator", "~"], - ["operator", "="], ["operator", "=="], ["operator", "=~"], ["operator", "==~"], - ["operator", "?"], ["operator", "?."], ["operator", "?:"], - ["operator", "*"], ["operator", "**"], ["operator", "*."], ["operator", "*="], ["operator", "**="], - ["operator", "."], ["operator", ".@"], ["operator", ".&"], - ["number", "5"], ["operator", ".."], ["number", "8"], - ["number", "5"], ["operator", "..<"], ["number", "8"], - ["operator", "-"], ["operator", "--"], ["operator", "-="], ["operator", "->"], - ["operator", "+"], ["operator", "++"], ["operator", "+="], - ["operator", "!"], ["operator", "!="], - ["operator", "<"], ["operator", "<<"], ["operator", "<<="], ["operator", "<="], ["operator", "<=>"], - ["operator", ">"], ["operator", ">>"], ["operator", ">>>"], ["operator", ">>="], ["operator", ">>>="], ["operator", ">="], - ["operator", "&"], ["operator", "&&"], ["operator", "&="], - ["operator", "|"], ["operator", "||"], ["operator", "|="], - ["operator", "/"], - ["operator", "/="], - ["operator", "^"], ["operator", "^="], - ["operator", "%"], ["operator", "%="] -] - ----------------------------------------------------- - -Checks for all operators. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/groovy/shebang_feature.test b/prism4j-languages/out/test/resources/languages/groovy/shebang_feature.test deleted file mode 100644 index c5806eb..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/shebang_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -#!foobar -#!/usr/bin/env groovy - ----------------------------------------------------- - -[ - ["shebang", "#!foobar"], - ["shebang", "#!/usr/bin/env groovy"] -] - ----------------------------------------------------- - -Check for shebang comments. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/groovy/spock-block_feature.test b/prism4j-languages/out/test/resources/languages/groovy/spock-block_feature.test deleted file mode 100644 index 5cc72fe..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/spock-block_feature.test +++ /dev/null @@ -1,25 +0,0 @@ -setup: -given: -when: -then: -and: -cleanup: -expect: -where: - ----------------------------------------------------- - -[ - ["spock-block", "setup:"], - ["spock-block", "given:"], - ["spock-block", "when:"], - ["spock-block", "then:"], - ["spock-block", "and:"], - ["spock-block", "cleanup:"], - ["spock-block", "expect:"], - ["spock-block", "where:"] -] - ----------------------------------------------------- - -Checks for all spock blocks. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/groovy/string-interpolation_feature.js b/prism4j-languages/out/test/resources/languages/groovy/string-interpolation_feature.js deleted file mode 100644 index ddecdfd..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/string-interpolation_feature.js +++ /dev/null @@ -1,28 +0,0 @@ -module.exports = { - // Double quoted: interpolation - '"$foo"': '"$foo"', - '"${42}"': '"${42}"', - // Triple double quoted: interpolation - '"""$foo"""': '"""$foo"""', - '"""${42}"""': '"""${42}"""', - // Slashy string: interpolation - '/$foo/': '/$foo/', - '/${42}/': '/${42}/', - // Dollar slashy string: interpolation - '$/$foo/$': '$/$foo/$', - '$/${42}/$': '$/${42}/$', - - // Double quoted: no interpolation (escaped) - '"\\$foo \\${42}"': '"\\$foo \\${42}"', - // Triple double quoted: no interpolation (escaped) - '"""\\$foo \\${42}"""': '"""\\$foo \\${42}"""', - // Slashy string: no interpolation (escaped) - '/\\$foo \\${42}/': '/\\$foo \\${42}/', - // Dollar slashy string: no interpolation (escaped) - '$/$$foo $${42}/$': '$/$$foo $${42}/$', - - // Single quoted string: no interpolation - '\'$foo ${42}\'': '\'$foo ${42}\'', - // Triple single quoted string: no interpolation - '\'\'\'$foo ${42}\'\'\'': '\'\'\'$foo ${42}\'\'\'' -}; \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/groovy/string_feature.test b/prism4j-languages/out/test/resources/languages/groovy/string_feature.test deleted file mode 100644 index 639db82..0000000 --- a/prism4j-languages/out/test/resources/languages/groovy/string_feature.test +++ /dev/null @@ -1,60 +0,0 @@ -"""""" -"""foo""" -"""foo -bar""" - -'''''' -'''foo''' -'''foo -bar''' - -"" -"fo\"o" -'' -'fo\'o' - -/foo/ -/fo\/o/ - -$/fo$/$o/$ -$/foo -bar/$ -"foo /* comment */ bar" -'foo // bar' -'''foo -/* comment */ -bar''' -"""foo -// comment -bar""" - ----------------------------------------------------- - -[ - ["string", "\"\"\"\"\"\""], - ["string", "\"\"\"foo\"\"\""], - ["string", "\"\"\"foo\r\nbar\"\"\""], - ["string", "''''''"], - ["string", "'''foo'''"], - ["string", "'''foo\r\nbar'''"], - - ["string", "\"\""], - ["string", "\"fo\\\"o\""], - ["string", "''"], - ["string", "'fo\\'o'"], - - ["string", "/foo/"], - ["string", "/fo\\/o/"], - - ["string", "$/fo$/$o/$"], - ["string", "$/foo\r\nbar/$"], - ["string", "\"foo /* comment */ bar\""], - ["string", "'foo // bar'"], - ["string", "'''foo\r\n/* comment */\r\nbar'''"], - ["string", "\"\"\"foo\r\n// comment\r\nbar\"\"\""] -] - ----------------------------------------------------- - -Checks for single quoted, triple single quoted, double quoted, -triple double quoted, slashy and dollar slashy strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/java/generics_feature.test b/prism4j-languages/out/test/resources/languages/java/generics_feature.test deleted file mode 100644 index 66bfef5..0000000 --- a/prism4j-languages/out/test/resources/languages/java/generics_feature.test +++ /dev/null @@ -1,65 +0,0 @@ -public class Solo {} -Solo val = new Solo(); -Duo dual = new Duo(12.2585, 'C'); - ----------------------------------------------------- - -[ - ["keyword", "public"], - ["keyword", "class"], - ["class-name", ["Solo"]], - ["generics", [ - ["punctuation", "<"], - "T", - ["punctuation", ">"] - ]], - ["punctuation", "{"], - ["punctuation", "}"], - "\r\nSolo", - ["generics", [ - ["punctuation", "<"], - "Integer", - ["punctuation", ">"] - ]], - " val ", - ["operator", "="], - ["keyword", "new"], - ["class-name", ["Solo"]], - ["generics", [ - ["punctuation", "<"], - "Integer", - ["punctuation", ">"] - ]], - ["punctuation", "("], - ["punctuation", ")"], - ["punctuation", ";"], - "\r\nDuo", - ["generics", [ - ["punctuation", "<"], - "Double", - ["punctuation", ","], - " Character", - ["punctuation", ">"] - ]], - " dual ", - ["operator", "="], - ["keyword", "new"], - ["class-name", ["Duo"]], - ["generics", [ - ["punctuation", "<"], - "Double", - ["punctuation", ","], - " Character", - ["punctuation", ">"] - ]], - ["punctuation", "("], - ["number", "12.2585"], - ["punctuation", ","], - ["string", "'C'"], - ["punctuation", ")"], - ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for generics. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/java/issue1351.test b/prism4j-languages/out/test/resources/languages/java/issue1351.test deleted file mode 100644 index 0162eec..0000000 --- a/prism4j-languages/out/test/resources/languages/java/issue1351.test +++ /dev/null @@ -1,27 +0,0 @@ -public class AllChangesIndexer extends SiteIndexer { - ----------------------------------------------------- - -[ - ["keyword", "public"], - ["keyword", "class"], - ["class-name", ["AllChangesIndexer"]], - ["keyword", "extends"], - ["class-name", ["SiteIndexer"]], - ["generics", [ - ["punctuation", "<"], - "Change", - ["punctuation", "."], - "Id", - ["punctuation", ","], - " ChangeData", - ["punctuation", ","], - " ChangeIndex", - ["punctuation", ">"] - ]], - ["punctuation", "{"] -] - ----------------------------------------------------- - -Checks for generics. See #1351 \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/java/keyword_feature.test b/prism4j-languages/out/test/resources/languages/java/keyword_feature.test deleted file mode 100644 index 4a6613c..0000000 --- a/prism4j-languages/out/test/resources/languages/java/keyword_feature.test +++ /dev/null @@ -1,51 +0,0 @@ -abstract continue for -new ; -switch assert default -goto package synchronized -boolean do if private -this break double -implements ; -protected throw byte else -import public throws case -enum -instanceof ; -return transient catch -extends ; -int short try char -final -interface ; -static void -class ; -finally long -strictfp volatile const -float native super while - ----------------------------------------------------- - -[ - ["keyword", "abstract"], ["keyword", "continue"], ["keyword", "for"], - ["keyword", "new"], ["punctuation", ";"], - ["keyword", "switch"], ["keyword", "assert"], ["keyword", "default"], - ["keyword", "goto"], ["keyword", "package"], ["keyword", "synchronized"], - ["keyword", "boolean"], ["keyword", "do"], ["keyword", "if"], ["keyword", "private"], - ["keyword", "this"], ["keyword", "break"], ["keyword", "double"], - ["keyword", "implements"], ["punctuation", ";"], - ["keyword", "protected"], ["keyword", "throw"], ["keyword", "byte"], ["keyword", "else"], - ["keyword", "import"], ["keyword", "public"], ["keyword", "throws"], ["keyword", "case"], - ["keyword", "enum"], - ["keyword", "instanceof"], ["punctuation", ";"], - ["keyword", "return"], ["keyword", "transient"], ["keyword", "catch"], - ["keyword", "extends"], ["punctuation", ";"], - ["keyword", "int"], ["keyword", "short"], ["keyword", "try"], ["keyword", "char"], - ["keyword", "final"], - ["keyword", "interface"], ["punctuation", ";"], - ["keyword", "static"], ["keyword", "void"], - ["keyword", "class"], ["punctuation", ";"], - ["keyword", "finally"], ["keyword", "long"], - ["keyword", "strictfp"], ["keyword", "volatile"], ["keyword", "const"], - ["keyword", "float"], ["keyword", "native"], ["keyword", "super"], ["keyword", "while"] -] - ----------------------------------------------------- - -Checks for all keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/java/number_feature.test b/prism4j-languages/out/test/resources/languages/java/number_feature.test deleted file mode 100644 index b88f082..0000000 --- a/prism4j-languages/out/test/resources/languages/java/number_feature.test +++ /dev/null @@ -1,27 +0,0 @@ -0b11110000 -0xBadFace -0x1.8p1 -0xa.fp-2 -42 -42d -1.2e3f -0.1E-4f -0.2e+1f - ----------------------------------------------------- - -[ - ["number", "0b11110000"], - ["number", "0xBadFace"], - ["number", "0x1.8p1"], - ["number", "0xa.fp-2"], - ["number", "42"], - ["number", "42d"], - ["number", "1.2e3f"], - ["number", "0.1E-4f"], - ["number", "0.2e+1f"] -] - ----------------------------------------------------- - -Checks for binary, hexadecimal and decimal numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/java/operator_feature.test b/prism4j-languages/out/test/resources/languages/java/operator_feature.test deleted file mode 100644 index 87f4906..0000000 --- a/prism4j-languages/out/test/resources/languages/java/operator_feature.test +++ /dev/null @@ -1,33 +0,0 @@ -+ ++ += -- -- -= -! != -< << <= <<= -> >> >>> >= >>= >>>= -= == -& && &= -| || |= -? : ~ -* *= -/ /= -% %= - ----------------------------------------------------- - -[ - ["operator", "+"], ["operator", "++"], ["operator", "+="], - ["operator", "-"], ["operator", "--"], ["operator", "-="], - ["operator", "!"], ["operator", "!="], - ["operator", "<"], ["operator", "<<"], ["operator", "<="], ["operator", "<<="], - ["operator", ">"], ["operator", ">>"], ["operator", ">>>"], ["operator", ">="], ["operator", ">>="], ["operator", ">>>="], - ["operator", "="], ["operator", "=="], - ["operator", "&"], ["operator", "&&"], ["operator", "&="], - ["operator", "|"], ["operator", "||"], ["operator", "|="], - ["operator", "?"], ["operator", ":"], ["operator", "~"], - ["operator", "*"], ["operator", "*="], - ["operator", "/"], ["operator", "/="], - ["operator", "%"], ["operator", "%="] -] - ----------------------------------------------------- - -Checks for all operators. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/boolean_feature.test b/prism4j-languages/out/test/resources/languages/javascript/boolean_feature.test deleted file mode 100644 index 4019c44..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/boolean_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -true -false - ----------------------------------------------------- - -[ - ["boolean", "true"], - ["boolean", "false"] -] - ----------------------------------------------------- - -Checks for booleans. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/constant_feature.test b/prism4j-languages/out/test/resources/languages/javascript/constant_feature.test deleted file mode 100644 index e17f285..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/constant_feature.test +++ /dev/null @@ -1,21 +0,0 @@ -var FOO; -const FOO_BAR; -const BAZ42; - ----------------------------------------------------- - -[ - ["keyword", "var"], - ["constant", "FOO"], - ["punctuation", ";"], - ["keyword", "const"], - ["constant", "FOO_BAR"], - ["punctuation", ";"], - ["keyword", "const"], - ["constant", "BAZ42"], - ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for constants. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/function-variable_feature.test b/prism4j-languages/out/test/resources/languages/javascript/function-variable_feature.test deleted file mode 100644 index c27095e..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/function-variable_feature.test +++ /dev/null @@ -1,24 +0,0 @@ -foo = function () {} -bar = function baz () {} -fooBar = x => x -ಠ_ಠ = () => {} -Ƞȡ_҇ = (ಠ, Ƞ = 2) => {} - ----------------------------------------------------- - -[ - ["function-variable", "foo"], ["operator", "="], ["keyword", "function"], - ["punctuation", "("], ["punctuation", ")"], ["punctuation", "{"], ["punctuation", "}"], - ["function-variable", "bar"], ["operator", "="], ["keyword", "function"], ["function", "baz"], - ["punctuation", "("], ["punctuation", ")"], ["punctuation", "{"], ["punctuation", "}"], - ["function-variable", "fooBar"], ["operator", "="], " x ", ["operator", "=>"], " x\r\n", - ["function-variable", "ಠ_ಠ"], ["operator", "="], ["punctuation", "("], ["punctuation", ")"], - ["operator", "=>"], ["punctuation", "{"], ["punctuation", "}"], - ["function-variable", "Ƞȡ_҇"], ["operator", "="], - ["punctuation", "("], "ಠ", ["punctuation", ","], " Ƞ ", ["operator", "="], ["number", "2"], ["punctuation", ")"], - ["operator", "=>"], ["punctuation", "{"], ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for variables obviously containing functions. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/function_feature.test b/prism4j-languages/out/test/resources/languages/javascript/function_feature.test deleted file mode 100644 index fb0df40..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/function_feature.test +++ /dev/null @@ -1,27 +0,0 @@ -foo() -foo () -foo_bar() -foo_bar ( ) -f42() -_() -$() -ಠ_ಠ() -Ƞȡ_҇() - ----------------------------------------------------- - -[ - ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], - ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], - ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"], - ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"], - ["function", "f42"], ["punctuation", "("], ["punctuation", ")"], - ["function", "_"], ["punctuation", "("], ["punctuation", ")"], - ["function", "$"], ["punctuation", "("], ["punctuation", ")"], - ["function", "ಠ_ಠ"], ["punctuation", "("], ["punctuation", ")"], - ["function", "Ƞȡ_҇"], ["punctuation", "("], ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for functions. Also checks for unicode characters in identifiers. diff --git a/prism4j-languages/out/test/resources/languages/javascript/issue1337.test b/prism4j-languages/out/test/resources/languages/javascript/issue1337.test deleted file mode 100644 index e49f78d..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/issue1337.test +++ /dev/null @@ -1,11 +0,0 @@ -// gulp.watch('./src/**/*.js', ['move']); - ----------------------------------------------------- - -[ - ["comment", "// gulp.watch('./src/**/*.js', ['move']);"] -] - ----------------------------------------------------- - -Checks for multi-line comment inside single-line comment. See #1337 \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/issue1340.test b/prism4j-languages/out/test/resources/languages/javascript/issue1340.test deleted file mode 100644 index 3e34034..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/issue1340.test +++ /dev/null @@ -1,15 +0,0 @@ -/* - * ([{}]) - * // <= double slash comment - * ([{}]) <= punctuation - */ - ----------------------------------------------------- - -[ - ["comment", "/*\r\n * ([{}])\r\n * // <= double slash comment\r\n * ([{}]) <= punctuation\r\n */"] -] - ----------------------------------------------------- - -Checks for single-line comment inside multi-line comment. See #1340 \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/issue1397.test b/prism4j-languages/out/test/resources/languages/javascript/issue1397.test deleted file mode 100644 index 6f9b5fb..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/issue1397.test +++ /dev/null @@ -1,21 +0,0 @@ -`${`a string`}` - ----------------------------------------------------- - -[ - ["template-string", [ - ["string", "`"], - ["interpolation", [ - ["interpolation-punctuation", "${"], - ["template-string", [ - ["string", "`a string`"] - ]], - ["interpolation-punctuation", "}"] - ]], - ["string", "`"] - ]] -] - ----------------------------------------------------- - -Checks for nested template strings. See #1397 \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/keyword_feature.test b/prism4j-languages/out/test/resources/languages/javascript/keyword_feature.test deleted file mode 100644 index 13b8887..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/keyword_feature.test +++ /dev/null @@ -1,70 +0,0 @@ -as; async; await; break; case; -catch; class; const; continue; debugger; -default; delete; do; else; enum; -export; extends; finally; for; -from; function; get; if; implements; -import; in; instanceof; interface; let; -new; null; of; package; private; -protected; public; return; set; static; -super; switch; this; throw; -try; typeof; var; void; while; -with; yield; - ----------------------------------------------------- - -[ - ["keyword", "as"], ["punctuation", ";"], - ["keyword", "async"], ["punctuation", ";"], - ["keyword", "await"], ["punctuation", ";"], - ["keyword", "break"], ["punctuation", ";"], - ["keyword", "case"], ["punctuation", ";"], - ["keyword", "catch"], ["punctuation", ";"], - ["keyword", "class"], ["punctuation", ";"], - ["keyword", "const"], ["punctuation", ";"], - ["keyword", "continue"], ["punctuation", ";"], - ["keyword", "debugger"], ["punctuation", ";"], - ["keyword", "default"], ["punctuation", ";"], - ["keyword", "delete"], ["punctuation", ";"], - ["keyword", "do"], ["punctuation", ";"], - ["keyword", "else"], ["punctuation", ";"], - ["keyword", "enum"], ["punctuation", ";"], - ["keyword", "export"], ["punctuation", ";"], - ["keyword", "extends"], ["punctuation", ";"], - ["keyword", "finally"], ["punctuation", ";"], - ["keyword", "for"], ["punctuation", ";"], - ["keyword", "from"], ["punctuation", ";"], - ["keyword", "function"], ["punctuation", ";"], - ["keyword", "get"], ["punctuation", ";"], - ["keyword", "if"], ["punctuation", ";"], - ["keyword", "implements"], ["punctuation", ";"], - ["keyword", "import"], ["punctuation", ";"], - ["keyword", "in"], ["punctuation", ";"], - ["keyword", "instanceof"], ["punctuation", ";"], - ["keyword", "interface"], ["punctuation", ";"], - ["keyword", "let"], ["punctuation", ";"], - ["keyword", "new"], ["punctuation", ";"], - ["keyword", "null"], ["punctuation", ";"], - ["keyword", "of"], ["punctuation", ";"], - ["keyword", "package"], ["punctuation", ";"], - ["keyword", "private"], ["punctuation", ";"], - ["keyword", "protected"], ["punctuation", ";"], - ["keyword", "public"], ["punctuation", ";"], - ["keyword", "return"], ["punctuation", ";"], - ["keyword", "set"], ["punctuation", ";"], - ["keyword", "static"], ["punctuation", ";"], - ["keyword", "super"], ["punctuation", ";"], - ["keyword", "switch"], ["punctuation", ";"], - ["keyword", "this"], ["punctuation", ";"], - ["keyword", "throw"], ["punctuation", ";"], - ["keyword", "try"], ["punctuation", ";"], - ["keyword", "typeof"], ["punctuation", ";"], - ["keyword", "var"], ["punctuation", ";"], - ["keyword", "void"], ["punctuation", ";"], - ["keyword", "while"], ["punctuation", ";"], - ["keyword", "with"], ["punctuation", ";"], - ["keyword", "yield"], ["punctuation", ";"] -] - ----------------------------------------------------- - -Checks for all keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/number_feature.test b/prism4j-languages/out/test/resources/languages/javascript/number_feature.test deleted file mode 100644 index b832787..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/number_feature.test +++ /dev/null @@ -1,32 +0,0 @@ -42 -3.14159 -4e10 -3.2E+6 -2.1e-10 -0b1101 -0o571 -0xbabe -0xBABE -NaN -Infinity - ----------------------------------------------------- - -[ - ["number", "42"], - ["number", "3.14159"], - ["number", "4e10"], - ["number", "3.2E+6"], - ["number", "2.1e-10"], - ["number", "0b1101"], - ["number", "0o571"], - ["number", "0xbabe"], - ["number", "0xBABE"], - ["number", "NaN"], - ["number", "Infinity"] -] - ----------------------------------------------------- - -Checks for decimal numbers, binary numbers, octal numbers, hexadecimal numbers. -Also checks for keywords representing numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/operator_feature.test b/prism4j-languages/out/test/resources/languages/javascript/operator_feature.test deleted file mode 100644 index eb46bc4..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/operator_feature.test +++ /dev/null @@ -1,33 +0,0 @@ -- -- -= -+ ++ += -< <= << <<= -> >= >> >>= >>> >>>= -= == === => -! != !== -& && &= -| || |= -* ** *= **= -/ /= ~ -^ ^= % %= -? ... - ----------------------------------------------------- - -[ - ["operator", "-"], ["operator", "--"], ["operator", "-="], - ["operator", "+"], ["operator", "++"], ["operator", "+="], - ["operator", "<"], ["operator", "<="], ["operator", "<<"], ["operator", "<<="], - ["operator", ">"], ["operator", ">="], ["operator", ">>"], ["operator", ">>="], ["operator", ">>>"], ["operator", ">>>="], - ["operator", "="], ["operator", "=="], ["operator", "==="], ["operator", "=>"], - ["operator", "!"], ["operator", "!="], ["operator", "!=="], - ["operator", "&"], ["operator", "&&"], ["operator", "&="], - ["operator", "|"], ["operator", "||"], ["operator", "|="], - ["operator", "*"], ["operator", "**"], ["operator", "*="], ["operator", "**="], - ["operator", "/"], ["operator", "/="], ["operator", "~"], - ["operator", "^"], ["operator", "^="], ["operator", "%"], ["operator", "%="], - ["operator", "?"], ["operator", "..."] -] - ----------------------------------------------------- - -Checks for all operators. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/regex_feature.test b/prism4j-languages/out/test/resources/languages/javascript/regex_feature.test deleted file mode 100644 index da5501c..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/regex_feature.test +++ /dev/null @@ -1,25 +0,0 @@ -/foo bar/; -/foo/gimyu, -/[\[\]]{2,4}(?:foo)*/; -/foo"test"bar/; -/foo\// -1 / 4 + "/, not a regex"; -/ '1' '2' '3' '4' '5' / -[/foo/] - ----------------------------------------------------- - -[ - ["regex", "/foo bar/"], ["punctuation", ";"], - ["regex", "/foo/gimyu"], ["punctuation", ","], - ["regex", "/[\\[\\]]{2,4}(?:foo)*/"], ["punctuation", ";"], - ["regex", "/foo\"test\"bar/"], ["punctuation", ";"], - ["regex", "/foo\\//"], - ["number", "1"], ["operator", "/"], ["number", "4"], ["operator", "+"], ["string", "\"/, not a regex\""], ["punctuation", ";"], - ["regex", "/ '1' '2' '3' '4' '5' /"], - ["punctuation", "["], ["regex", "/foo/"], ["punctuation", "]"] -] - ----------------------------------------------------- - -Checks for regex. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/javascript/template-string_feature.test b/prism4j-languages/out/test/resources/languages/javascript/template-string_feature.test deleted file mode 100644 index 664c056..0000000 --- a/prism4j-languages/out/test/resources/languages/javascript/template-string_feature.test +++ /dev/null @@ -1,49 +0,0 @@ -`foo bar` -`foo -bar` -`40+2=${40+2}` -`${foo()}` -"foo `a` `b` `c` `d` bar" -"test // test" `template` - ----------------------------------------------------- - -[ - ["template-string", [ - ["string", "`foo bar`"] - ]], - ["template-string", [ - ["string", "`foo\r\nbar`"] - ]], - ["template-string", [ - ["string", "`40+2="], - ["interpolation", [ - ["interpolation-punctuation", "${"], - ["number", "40"], - ["operator", "+"], - ["number", "2"], - ["interpolation-punctuation", "}"] - ]], - ["string", "`"] - ]], - ["template-string", [ - ["string", "`"], - ["interpolation", [ - ["interpolation-punctuation", "${"], - ["function", "foo"], - ["punctuation", "("], - ["punctuation", ")"], - ["interpolation-punctuation", "}"] - ]], - ["string", "`"] - ]], - ["string", "\"foo `a` `b` `c` `d` bar\""], - ["string", "\"test // test\""], - ["template-string", [ - ["string", "`template`"] - ]] -] - ----------------------------------------------------- - -Checks for single-line and multi-line template strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/json/boolean_feature.test b/prism4j-languages/out/test/resources/languages/json/boolean_feature.test deleted file mode 100644 index 4019c44..0000000 --- a/prism4j-languages/out/test/resources/languages/json/boolean_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -true -false - ----------------------------------------------------- - -[ - ["boolean", "true"], - ["boolean", "false"] -] - ----------------------------------------------------- - -Checks for booleans. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/json/null_feature.test b/prism4j-languages/out/test/resources/languages/json/null_feature.test deleted file mode 100644 index 1283944..0000000 --- a/prism4j-languages/out/test/resources/languages/json/null_feature.test +++ /dev/null @@ -1,11 +0,0 @@ -null - ----------------------------------------------------- - -[ - ["null", "null"] -] - ----------------------------------------------------- - -Checks for null. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/json/number_feature.test b/prism4j-languages/out/test/resources/languages/json/number_feature.test deleted file mode 100644 index ba045ec..0000000 --- a/prism4j-languages/out/test/resources/languages/json/number_feature.test +++ /dev/null @@ -1,21 +0,0 @@ -0 -123 -3.14159 -5.0e8 -0.2E+2 -47e-5 - ----------------------------------------------------- - -[ - ["number", "0"], - ["number", "123"], - ["number", "3.14159"], - ["number", "5.0e8"], - ["number", "0.2E+2"], - ["number", "47e-5"] -] - ----------------------------------------------------- - -Checks for numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/json/property_feature.test b/prism4j-languages/out/test/resources/languages/json/property_feature.test deleted file mode 100644 index 3880ad7..0000000 --- a/prism4j-languages/out/test/resources/languages/json/property_feature.test +++ /dev/null @@ -1,33 +0,0 @@ -{"foo\"bar\"baz":1,"foo":2} -{ - "foo": 1, - "b\"ar": 2 -} - ----------------------------------------------------- - -[ - ["punctuation", "{"], - ["property", "\"foo\\\"bar\\\"baz\""], - ["operator", ":"], - ["number", "1"], - ["punctuation", ","], - ["property", "\"foo\""], - ["operator", ":"], - ["number", "2"], - ["punctuation", "}"], - - ["punctuation", "{"], - ["property", "\"foo\""], - ["operator", ":"], - ["number", "1"], - ["punctuation", ","], - ["property", "\"b\\\"ar\""], - ["operator", ":"], - ["number", "2"], - ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for features. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/json/string_feature.test b/prism4j-languages/out/test/resources/languages/json/string_feature.test deleted file mode 100644 index 08ac8c0..0000000 --- a/prism4j-languages/out/test/resources/languages/json/string_feature.test +++ /dev/null @@ -1,27 +0,0 @@ -"" -"foo" -"foo\"bar\"baz" -"\u2642\\ " -{"foo":"bar","baz":"\""} - ----------------------------------------------------- - -[ - ["string", "\"\""], - ["string", "\"foo\""], - ["string", "\"foo\\\"bar\\\"baz\""], - ["string", "\"\\u2642\\\\ \""], - ["punctuation", "{"], - ["property", "\"foo\""], - ["operator", ":"], - ["string", "\"bar\""], - ["punctuation", ","], - ["property", "\"baz\""], - ["operator", ":"], - ["string", "\"\\\"\""], - ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/kotlin/annotation_feature.test b/prism4j-languages/out/test/resources/languages/kotlin/annotation_feature.test deleted file mode 100644 index 05c1385..0000000 --- a/prism4j-languages/out/test/resources/languages/kotlin/annotation_feature.test +++ /dev/null @@ -1,21 +0,0 @@ -@Deprecated(SUBSYSTEM_DEPRECATED) -@SetUp -@Suppress -@field:Ann -@file:JvmName -@set:[Inject VisibleForTesting] - ----------------------------------------------------- - -[ - ["annotation", "@Deprecated"], ["punctuation", "("], "SUBSYSTEM_DEPRECATED", ["punctuation", ")"], - ["annotation", "@SetUp"], - ["annotation", "@Suppress"], - ["annotation", "@field:Ann"], - ["annotation", "@file:JvmName"], - ["annotation", "@set:[Inject VisibleForTesting]"] -] - ----------------------------------------------------- - -Checks for annotations. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/kotlin/function_feature.test b/prism4j-languages/out/test/resources/languages/kotlin/function_feature.test deleted file mode 100644 index 8bfd2b2..0000000 --- a/prism4j-languages/out/test/resources/languages/kotlin/function_feature.test +++ /dev/null @@ -1,16 +0,0 @@ -foo() -foo_Bar_42() -list.filter {} - ----------------------------------------------------- - -[ - ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], - ["function", "foo_Bar_42"], ["punctuation", "("], ["punctuation", ")"], - "\r\nlist", ["punctuation", "."], - ["function", "filter"], ["punctuation", "{"], ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for functions. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/kotlin/interpolation_feature.test b/prism4j-languages/out/test/resources/languages/kotlin/interpolation_feature.test deleted file mode 100644 index 44ec667..0000000 --- a/prism4j-languages/out/test/resources/languages/kotlin/interpolation_feature.test +++ /dev/null @@ -1,46 +0,0 @@ -"$foo ${bar} ${'$'} ${foobar()}" -""" -$foo ${bar} -${'$'} ${foobar()} -""" - ----------------------------------------------------- - -[ - ["string", [ - "\"", - ["interpolation", "$foo"], - ["interpolation", [ - ["delimiter", "${"], "bar", ["delimiter", "}"] - ]], - ["interpolation", [ - ["delimiter", "${"], ["string", ["'$'"]], ["delimiter", "}"] - ]], - ["interpolation", [ - ["delimiter", "${"], - ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"], - ["delimiter", "}"] - ]], - "\"" - ]], - ["raw-string", [ - "\"\"\"\r\n", - ["interpolation", "$foo"], - ["interpolation", [ - ["delimiter", "${"], "bar", ["delimiter", "}"] - ]], - ["interpolation", [ - ["delimiter", "${"], ["string", ["'$'"]], ["delimiter", "}"] - ]], - ["interpolation", [ - ["delimiter", "${"], - ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"], - ["delimiter", "}"] - ]], - "\r\n\"\"\"" - ]] -] - ----------------------------------------------------- - -Checks for string interpolation. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/kotlin/keyword_feature.test b/prism4j-languages/out/test/resources/languages/kotlin/keyword_feature.test deleted file mode 100644 index bd139c4..0000000 --- a/prism4j-languages/out/test/resources/languages/kotlin/keyword_feature.test +++ /dev/null @@ -1,137 +0,0 @@ -abstract -actual -annotation -as -break -by -catch -class -companion -const -constructor -continue -crossinline -data -do -dynamic -else -enum -expect -external -final -finally -for -fun -get -if -import -in -infix -init -inline -inner -interface -internal -is -lateinit -noinline -null -object -open -operator -out -override -package -private -protected -public -reified -return -sealed -set -super -suspend -tailrec -this -throw -try -typealias -val -var -vararg -when -where -while - ----------------------------------------------------- - -[ - ["keyword", "abstract"], - ["keyword", "actual"], - ["keyword", "annotation"], - ["keyword", "as"], - ["keyword", "break"], - ["keyword", "by"], - ["keyword", "catch"], - ["keyword", "class"], - ["keyword", "companion"], - ["keyword", "const"], - ["keyword", "constructor"], - ["keyword", "continue"], - ["keyword", "crossinline"], - ["keyword", "data"], - ["keyword", "do"], - ["keyword", "dynamic"], - ["keyword", "else"], - ["keyword", "enum"], - ["keyword", "expect"], - ["keyword", "external"], - ["keyword", "final"], - ["keyword", "finally"], - ["keyword", "for"], - ["keyword", "fun"], - ["keyword", "get"], - ["keyword", "if"], - ["keyword", "import"], - ["keyword", "in"], - ["keyword", "infix"], - ["keyword", "init"], - ["keyword", "inline"], - ["keyword", "inner"], - ["keyword", "interface"], - ["keyword", "internal"], - ["keyword", "is"], - ["keyword", "lateinit"], - ["keyword", "noinline"], - ["keyword", "null"], - ["keyword", "object"], - ["keyword", "open"], - ["keyword", "operator"], - ["keyword", "out"], - ["keyword", "override"], - ["keyword", "package"], - ["keyword", "private"], - ["keyword", "protected"], - ["keyword", "public"], - ["keyword", "reified"], - ["keyword", "return"], - ["keyword", "sealed"], - ["keyword", "set"], - ["keyword", "super"], - ["keyword", "suspend"], - ["keyword", "tailrec"], - ["keyword", "this"], - ["keyword", "throw"], - ["keyword", "try"], - ["keyword", "typealias"], - ["keyword", "val"], - ["keyword", "var"], - ["keyword", "vararg"], - ["keyword", "when"], - ["keyword", "where"], - ["keyword", "while"] -] - ----------------------------------------------------- - -Checks for keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/kotlin/label_feature.test b/prism4j-languages/out/test/resources/languages/kotlin/label_feature.test deleted file mode 100644 index fa62266..0000000 --- a/prism4j-languages/out/test/resources/languages/kotlin/label_feature.test +++ /dev/null @@ -1,15 +0,0 @@ -loop@ -break@loop -return@forEach - ----------------------------------------------------- - -[ - ["label", "loop@"], - ["keyword", "break"], ["label", "@loop"], - ["keyword", "return"], ["label", "@forEach"] -] - ----------------------------------------------------- - -Checks for labels. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/kotlin/number_feature.test b/prism4j-languages/out/test/resources/languages/kotlin/number_feature.test deleted file mode 100644 index f10b944..0000000 --- a/prism4j-languages/out/test/resources/languages/kotlin/number_feature.test +++ /dev/null @@ -1,39 +0,0 @@ -123 -123L -0x0F -0b00001011 -123.5 -123.5e10 -123.5e-10 -123.5e+10 -123.5f -123.5F -123_456 -123_456L -0X01AB_23CD -0B1001_1101 -12E34_56 - ----------------------------------------------------- - -[ - ["number", "123"], - ["number", "123L"], - ["number", "0x0F"], - ["number", "0b00001011"], - ["number", "123.5"], - ["number", "123.5e10"], - ["number", "123.5e-10"], - ["number", "123.5e+10"], - ["number", "123.5f"], - ["number", "123.5F"], - ["number", "123_456"], - ["number", "123_456L"], - ["number", "0X01AB_23CD"], - ["number", "0B1001_1101"], - ["number", "12E34_56"] -] - ----------------------------------------------------- - -Checks for numbers. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/kotlin/operator_feature.test b/prism4j-languages/out/test/resources/languages/kotlin/operator_feature.test deleted file mode 100644 index 12f0cae..0000000 --- a/prism4j-languages/out/test/resources/languages/kotlin/operator_feature.test +++ /dev/null @@ -1,31 +0,0 @@ -+ ++ += -- -- -= -> -= == === -! !! != !== -/ /= * *= -% %= -< <= > >= -? ?: : :: -.. && || -and inv or -shl shr ushr xor - ----------------------------------------------------- - -[ - ["operator", "+"], ["operator", "++"], ["operator", "+="], - ["operator", "-"], ["operator", "--"], ["operator", "-="], ["operator", "->"], - ["operator", "="], ["operator", "=="], ["operator", "==="], - ["operator", "!"], ["operator", "!!"], ["operator", "!="], ["operator", "!=="], - ["operator", "/"], ["operator", "/="], ["operator", "*"], ["operator", "*="], - ["operator", "%"], ["operator", "%="], - ["operator", "<"], ["operator", "<="], ["operator", ">"], ["operator", ">="], - ["operator", "?"], ["operator", "?:"], ["operator", ":"], ["operator", "::"], - ["operator", ".."], ["operator", "&&"], ["operator", "||"], - ["operator", "and"], ["operator", "inv"], ["operator", "or"], - ["operator", "shl"], ["operator", "shr"], ["operator", "ushr"], ["operator", "xor"] -] - ----------------------------------------------------- - -Checks for operators. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/kotlin/raw-string_feature.test b/prism4j-languages/out/test/resources/languages/kotlin/raw-string_feature.test deleted file mode 100644 index 5a5ca33..0000000 --- a/prism4j-languages/out/test/resources/languages/kotlin/raw-string_feature.test +++ /dev/null @@ -1,18 +0,0 @@ -"""""" -"""Foo "bar"" baz""" -""" -"Foo" -bar -""" - ----------------------------------------------------- - -[ - ["raw-string", ["\"\"\"\"\"\""]], - ["raw-string", ["\"\"\"Foo \"bar\"\" baz\"\"\""]], - ["raw-string", ["\"\"\"\r\n\"Foo\"\r\nbar\r\n\"\"\""]] -] - ----------------------------------------------------- - -Checks for raw strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/latex/cdata_feature.test b/prism4j-languages/out/test/resources/languages/latex/cdata_feature.test deleted file mode 100644 index 0dfa98e..0000000 --- a/prism4j-languages/out/test/resources/languages/latex/cdata_feature.test +++ /dev/null @@ -1,28 +0,0 @@ -\begin{verbatim*} -Foo bar -\end{verbatim*} - -\begin{lstlisting} -Foo bar -baz -\end{lstlisting} - ----------------------------------------------------- - -[ - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "verbatim*"], ["punctuation", "}"], - ["cdata", "\r\nFoo bar\r\n"], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "verbatim*"], ["punctuation", "}"], - - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "lstlisting"], ["punctuation", "}"], - ["cdata", "\r\nFoo bar\r\nbaz\r\n"], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "lstlisting"], ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for verbatim environment. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/latex/comment_feature.test b/prism4j-languages/out/test/resources/languages/latex/comment_feature.test deleted file mode 100644 index 2f59d3c..0000000 --- a/prism4j-languages/out/test/resources/languages/latex/comment_feature.test +++ /dev/null @@ -1,13 +0,0 @@ -% -% foobar - ----------------------------------------------------- - -[ - ["comment", "%"], - ["comment", "% foobar"] -] - ----------------------------------------------------- - -Checks for comments. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/latex/equation_feature.test b/prism4j-languages/out/test/resources/languages/latex/equation_feature.test deleted file mode 100644 index 40caeeb..0000000 --- a/prism4j-languages/out/test/resources/languages/latex/equation_feature.test +++ /dev/null @@ -1,121 +0,0 @@ -$foo$ -$a \dots -b$ -\(foo\) -\(a \dots -b\) -\[foo\] -\[a \dots -b\] - -\begin{equation}foo\end{equation} -\begin{equation}a \dots -b\end{equation} -\begin{math}foo\end{math} -\begin{math}a \dots -b\end{math} -\begin{eqnarray}foo\end{eqnarray} -\begin{eqnarray}a \dots -b\end{eqnarray} -\begin{align}foo\end{align} -\begin{align*}a \dots -b\end{align*} -\begin{multline}foo\end{multline} -\begin{multline}a \dots -b\end{multline} -\begin{gather}foo\end{gather} -\begin{gather}a \dots -b\end{gather} - ----------------------------------------------------- - -[ - ["equation", ["$foo$"]], - ["equation", [ - "$a ", - ["equation-command", "\\dots"], - "\r\nb$" - ]], - ["equation", ["\\(foo\\)"]], - ["equation", [ - "\\(a ", - ["equation-command", "\\dots"], - "\r\nb\\)" - ]], - ["equation", ["\\[foo\\]"]], - ["equation", [ - "\\[a ", - ["equation-command", "\\dots"], - "\r\nb\\]" - ]], - - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "equation"], ["punctuation", "}"], - ["equation", ["foo"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "equation"], ["punctuation", "}"], - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "equation"], ["punctuation", "}"], - ["equation", ["a ", ["equation-command", "\\dots"], "\r\nb"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "equation"], ["punctuation", "}"], - - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "math"], ["punctuation", "}"], - ["equation", ["foo"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "math"], ["punctuation", "}"], - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "math"], ["punctuation", "}"], - ["equation", ["a ", ["equation-command", "\\dots"], "\r\nb"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "math"], ["punctuation", "}"], - - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "eqnarray"], ["punctuation", "}"], - ["equation", ["foo"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "eqnarray"], ["punctuation", "}"], - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "eqnarray"], ["punctuation", "}"], - ["equation", ["a ", ["equation-command", "\\dots"], "\r\nb"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "eqnarray"], ["punctuation", "}"], - - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "align"], ["punctuation", "}"], - ["equation", ["foo"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "align"], ["punctuation", "}"], - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "align*"], ["punctuation", "}"], - ["equation", ["a ", ["equation-command", "\\dots"], "\r\nb"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "align*"], ["punctuation", "}"], - - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "multline"], ["punctuation", "}"], - ["equation", ["foo"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "multline"], ["punctuation", "}"], - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "multline"], ["punctuation", "}"], - ["equation", ["a ", ["equation-command", "\\dots"], "\r\nb"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "multline"], ["punctuation", "}"], - - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "gather"], ["punctuation", "}"], - ["equation", ["foo"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "gather"], ["punctuation", "}"], - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "gather"], ["punctuation", "}"], - ["equation", ["a ", ["equation-command", "\\dots"], "\r\nb"]], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "gather"], ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for equations. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/latex/headline_feature.test b/prism4j-languages/out/test/resources/languages/latex/headline_feature.test deleted file mode 100644 index 17102ad..0000000 --- a/prism4j-languages/out/test/resources/languages/latex/headline_feature.test +++ /dev/null @@ -1,39 +0,0 @@ -\part{Foobar} -\chapter{Foobar} -\section{Foobar} -\subsection{Foobar} -\frametitle{Foobar} -\subsubsection{Foobar} -\paragraph{Foobar} -\subparagraph{Foobar} -\subsubparagraph{Foobar} -\subsubsubparagraph{Foobar} - ----------------------------------------------------- - -[ - ["function", "\\part"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\chapter"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\section"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\subsection"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\frametitle"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\subsubsection"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\paragraph"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\subparagraph"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\subsubparagraph"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"], - ["function", "\\subsubsubparagraph"], ["punctuation", "{"], - ["headline", "Foobar"], ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for headlines. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/latex/keyword_feature.test b/prism4j-languages/out/test/resources/languages/latex/keyword_feature.test deleted file mode 100644 index 7a1b86f..0000000 --- a/prism4j-languages/out/test/resources/languages/latex/keyword_feature.test +++ /dev/null @@ -1,32 +0,0 @@ -\begin{foobar} -\end{foobar} -\ref{foobar} -\cite{foobar} -\label{foobar} -\usepackage{foobar} -\documentclass[11px,twoside,a4paper]{foobar} - ----------------------------------------------------- - -[ - ["function", "\\begin"], ["punctuation", "{"], - ["keyword", "foobar"], ["punctuation", "}"], - ["function", "\\end"], ["punctuation", "{"], - ["keyword", "foobar"], ["punctuation", "}"], - ["function", "\\ref"], ["punctuation", "{"], - ["keyword", "foobar"], ["punctuation", "}"], - ["function", "\\cite"], ["punctuation", "{"], - ["keyword", "foobar"], ["punctuation", "}"], - ["function", "\\label"], ["punctuation", "{"], - ["keyword", "foobar"], ["punctuation", "}"], - ["function", "\\usepackage"], ["punctuation", "{"], - ["keyword", "foobar"], ["punctuation", "}"], - ["function", "\\documentclass"], - ["punctuation", "["], "11px,twoside,a4paper", ["punctuation", "]"], - ["punctuation", "{"], - ["keyword", "foobar"], ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for keywords. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/latex/url_feature.test b/prism4j-languages/out/test/resources/languages/latex/url_feature.test deleted file mode 100644 index 53e1c01..0000000 --- a/prism4j-languages/out/test/resources/languages/latex/url_feature.test +++ /dev/null @@ -1,12 +0,0 @@ -\url{http://prismjs.com} - ----------------------------------------------------- - -[ - ["function", "\\url"], ["punctuation", "{"], - ["url", "http://prismjs.com"], ["punctuation", "}"] -] - ----------------------------------------------------- - -Checks for URLs. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/makefile/builtin_feature.test b/prism4j-languages/out/test/resources/languages/makefile/builtin_feature.test deleted file mode 100644 index 6f6a1a3..0000000 --- a/prism4j-languages/out/test/resources/languages/makefile/builtin_feature.test +++ /dev/null @@ -1,15 +0,0 @@ -.PHONY: -.DELETE_ON_ERROR: -.SECONDEXPANSION: - ----------------------------------------------------- - -[ - ["builtin", ".PHONY"], ["punctuation", ":"], - ["builtin", ".DELETE_ON_ERROR"], ["punctuation", ":"], - ["builtin", ".SECONDEXPANSION"], ["punctuation", ":"] -] - ----------------------------------------------------- - -Checks for built-in target names. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/makefile/comment_feature.test b/prism4j-languages/out/test/resources/languages/makefile/comment_feature.test deleted file mode 100644 index 0e0c6c4..0000000 --- a/prism4j-languages/out/test/resources/languages/makefile/comment_feature.test +++ /dev/null @@ -1,16 +0,0 @@ -# -# foobar -# foo \ -bar - ----------------------------------------------------- - -[ - ["comment", "#"], - ["comment", "# foobar"], - ["comment", "# foo \\\r\nbar"] -] - ----------------------------------------------------- - -Checks for comments. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/makefile/keyword_feature.test b/prism4j-languages/out/test/resources/languages/makefile/keyword_feature.test deleted file mode 100644 index dcbbcc8..0000000 --- a/prism4j-languages/out/test/resources/languages/makefile/keyword_feature.test +++ /dev/null @@ -1,73 +0,0 @@ -define else endef endif -export ifdef ifndef ifeq -ifneq -include include -override private sinclude -undefine unexport vpath - -(addsuffix foo) (abspath foo) -(and foo) (basename foo) -(call foo) (dir foo) (error foo) -(eval foo) (file foo) (filter foo) -(filter-out foo) (findstring foo) -(firstword foo) (flavor foo) -(foreach foo) (guile foo) -(if foo) (info foo) (join foo) -(lastword foo) (load foo) -(notdir foo) (or foo) (origin foo) -(patsubst foo) (realpath foo) -(shell foo) (sort foo) (strip foo) -(subst foo) (suffix foo) (value foo) -(warning foo) (wildcard foo) -(word foo) (words foo) (wordlist foo) - ----------------------------------------------------- - -[ - ["keyword", "define"], ["keyword", "else"], ["keyword", "endef"], ["keyword", "endif"], - ["keyword", "export"], ["keyword", "ifdef"], ["keyword", "ifndef"], ["keyword", "ifeq"], - ["keyword", "ifneq"], ["keyword", "-include"], ["keyword", "include"], - ["keyword", "override"], ["keyword", "private"], ["keyword", "sinclude"], - ["keyword", "undefine"], ["keyword", "unexport"], ["keyword", "vpath"], - - ["punctuation", "("], ["keyword", "addsuffix"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "abspath"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "and"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "basename"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "call"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "dir"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "error"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "eval"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "file"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "filter"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "filter-out"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "findstring"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "firstword"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "flavor"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "foreach"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "guile"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "if"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "info"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "join"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "lastword"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "load"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "notdir"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "or"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "origin"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "patsubst"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "realpath"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "shell"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "sort"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "strip"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "subst"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "suffix"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "value"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "warning"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "wildcard"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "word"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "words"], " foo", ["punctuation", ")"], - ["punctuation", "("], ["keyword", "wordlist"], " foo", ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for keywords and functions. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/makefile/operator_feature.test b/prism4j-languages/out/test/resources/languages/makefile/operator_feature.test deleted file mode 100644 index d0df60a..0000000 --- a/prism4j-languages/out/test/resources/languages/makefile/operator_feature.test +++ /dev/null @@ -1,15 +0,0 @@ -= ::= ?= -:= += != -| @ - ----------------------------------------------------- - -[ - ["operator", "="], ["operator", "::="], ["operator", "?="], - ["operator", ":="], ["operator", "+="], ["operator", "!="], - ["operator", "|"], ["operator", "@"] -] - ----------------------------------------------------- - -Checks for operators. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/makefile/string_feature.test b/prism4j-languages/out/test/resources/languages/makefile/string_feature.test deleted file mode 100644 index ece27c8..0000000 --- a/prism4j-languages/out/test/resources/languages/makefile/string_feature.test +++ /dev/null @@ -1,23 +0,0 @@ -"" -'' -"fo\"o" -'fo\'o' -"foo\ -bar" -'foo\ -bar' - ----------------------------------------------------- - -[ - ["string", "\"\""], - ["string", "''"], - ["string", "\"fo\\\"o\""], - ["string", "'fo\\'o'"], - ["string", "\"foo\\\r\nbar\""], - ["string", "'foo\\\r\nbar'"] -] - ----------------------------------------------------- - -Checks for single-quoted and double-quoted strings. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/makefile/symbol_feature.test b/prism4j-languages/out/test/resources/languages/makefile/symbol_feature.test deleted file mode 100644 index d1fe40b..0000000 --- a/prism4j-languages/out/test/resources/languages/makefile/symbol_feature.test +++ /dev/null @@ -1,18 +0,0 @@ -edit : -%oo: -$(foo): - ----------------------------------------------------- - -[ - ["symbol", ["edit "]], ["punctuation", ":"], - ["symbol", ["%oo"]], ["punctuation", ":"], - ["symbol", [ - ["variable", "$"], - "(foo)" - ]], ["punctuation", ":"] -] - ----------------------------------------------------- - -Checks for targets, optionally containing interpolation. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/makefile/variable_feature.test b/prism4j-languages/out/test/resources/languages/makefile/variable_feature.test deleted file mode 100644 index 84431d0..0000000 --- a/prism4j-languages/out/test/resources/languages/makefile/variable_feature.test +++ /dev/null @@ -1,19 +0,0 @@ -$@ -$$< -$(@D) -$(foobar) -$(2) - ----------------------------------------------------- - -[ - ["variable", "$@"], - ["variable", "$$<"], - ["variable", "$(@D)"], - ["variable", "$"], ["punctuation", "("], "foobar", ["punctuation", ")"], - ["variable", "$"], ["punctuation", "("], "2", ["punctuation", ")"] -] - ----------------------------------------------------- - -Checks for variables. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/blockquote_feature.test b/prism4j-languages/out/test/resources/languages/markdown/blockquote_feature.test deleted file mode 100644 index 3d0a4df..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/blockquote_feature.test +++ /dev/null @@ -1,15 +0,0 @@ -> foo ->> foo -> > foo - ----------------------------------------------------- - -[ - ["blockquote", ">"], " foo\r\n", - ["blockquote", ">>"], " foo\r\n", - ["blockquote", "> >"], " foo" -] - ----------------------------------------------------- - -Checks for blockquotes. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/bold_feature.test b/prism4j-languages/out/test/resources/languages/markdown/bold_feature.test deleted file mode 100644 index 7d8e8ba..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/bold_feature.test +++ /dev/null @@ -1,70 +0,0 @@ -**foobar** -**foo -bar** -__foobar__ -__foo -bar__ - -__foo*bar*baz__ -__foo_bar_baz__ -__foo[bar](baz)__ - ----------------------------------------------------- - -[ - ["bold", [ - ["punctuation", "**"], - "foobar", - ["punctuation", "**"] - ]], - ["bold", [ - ["punctuation", "**"], - "foo\r\nbar", - ["punctuation", "**"] - ]], - ["bold", [ - ["punctuation", "__"], - "foobar", - ["punctuation", "__"] - ]], - ["bold", [ - ["punctuation", "__"], - "foo\r\nbar", - ["punctuation", "__"] - ]], - - ["bold", [ - ["punctuation", "__"], - "foo", - ["italic", [ - ["punctuation", "*"], - "bar", - ["punctuation", "*"] - ]], - "baz", - ["punctuation", "__"] - ]], - ["bold", [ - ["punctuation", "__"], - "foo", - ["italic", [ - ["punctuation", "_"], - "bar", - ["punctuation", "_"] - ]], - "baz", - ["punctuation", "__"] - ]], - ["bold", [ - ["punctuation", "__"], - "foo", - ["url", [ - "[bar](baz)" - ]], - ["punctuation", "__"] - ]] -] - ----------------------------------------------------- - -Checks for bold. Also tests for inclusion of italic and url. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/code_feature.test b/prism4j-languages/out/test/resources/languages/markdown/code_feature.test deleted file mode 100644 index 2696ca7..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/code_feature.test +++ /dev/null @@ -1,22 +0,0 @@ -`foo bar baz` -``foo `bar` baz`` - - foobar - - foobar - ----------------------------------------------------- - -[ - ["code", "`foo bar baz`"], - ["code", "``foo `bar` baz``"], - ["code", " foobar"], - ["code", "\tfoobar"] -] - ----------------------------------------------------- - -Checks for code blocks and inline code. The first code block is -indented with 4 spaces, the second one is indented with 1 tab. -The initial dot is necessary because of the first part being trimmed -by the test runner. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/hr_feature.test b/prism4j-languages/out/test/resources/languages/markdown/hr_feature.test deleted file mode 100644 index 4120226..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/hr_feature.test +++ /dev/null @@ -1,15 +0,0 @@ -*** ---- -* * * - ----------------------------------------------------- - -[ - ["hr", "***"], - ["hr", "---"], - ["hr", "* * *"] -] - ----------------------------------------------------- - -Checks for hr. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/italic_feature.test b/prism4j-languages/out/test/resources/languages/markdown/italic_feature.test deleted file mode 100644 index 02ced18..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/italic_feature.test +++ /dev/null @@ -1,46 +0,0 @@ -*foobar* -*foo -bar* -_foobar_ -_foo -bar_ - -_foo[bar](baz)_ - ----------------------------------------------------- - -[ - ["italic", [ - ["punctuation", "*"], - "foobar", - ["punctuation", "*"] - ]], - ["italic", [ - ["punctuation", "*"], - "foo\r\nbar", - ["punctuation", "*"] - ]], - ["italic", [ - ["punctuation", "_"], - "foobar", - ["punctuation", "_"] - ]], - ["italic", [ - ["punctuation", "_"], - "foo\r\nbar", - ["punctuation", "_"] - ]], - - ["italic", [ - ["punctuation", "_"], - "foo", - ["url", [ - "[bar](baz)" - ]], - ["punctuation", "_"] - ]] -] - ----------------------------------------------------- - -Checks for italic. Also tests for inclusion of url. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/list_feature.test b/prism4j-languages/out/test/resources/languages/markdown/list_feature.test deleted file mode 100644 index bfc9f8e..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/list_feature.test +++ /dev/null @@ -1,22 +0,0 @@ -* foo -+ bar -- baz - -1. foo - 2. bar -42. baz - ----------------------------------------------------- - -[ - ["list", "*"], " foo\r\n", - ["list", "+"], " bar\r\n", - ["list", "-"], " baz\r\n\r\n", - ["list", "1."], " foo\r\n ", - ["list", "2."], " bar\r\n", - ["list", "42."], " baz" -] - ----------------------------------------------------- - -Checks for list symbols. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/title_feature.test b/prism4j-languages/out/test/resources/languages/markdown/title_feature.test deleted file mode 100644 index e02e86f..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/title_feature.test +++ /dev/null @@ -1,34 +0,0 @@ -title 1 -== - -foobar -====== - -title 2 --- - -# title 1 -## title 2 -### title 3 -#### title 4 -##### title 5 -###### title 6 - ----------------------------------------------------- - -[ - ["title", ["title 1\r\n", ["punctuation", "=="]]], - ["title", ["foobar\r\n", ["punctuation", "======"]]], - ["title", ["title 2\r\n", ["punctuation", "--"]]], - - ["title", [["punctuation", "#"], " title 1"]], - ["title", [["punctuation", "##"], " title 2"]], - ["title", [["punctuation", "###"], " title 3"]], - ["title", [["punctuation", "####"], " title 4"]], - ["title", [["punctuation", "#####"], " title 5"]], - ["title", [["punctuation", "######"], " title 6"]] -] - ----------------------------------------------------- - -Checks for titles. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/url-reference_feature.test b/prism4j-languages/out/test/resources/languages/markdown/url-reference_feature.test deleted file mode 100644 index 4dc25ba..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/url-reference_feature.test +++ /dev/null @@ -1,56 +0,0 @@ -[foo]: http://prismjs.com -[foo]: http://prismjs.com "foo\"bar" -[foo]: http://prismjs.com 'foo\'bar' -![foo]: http://prismjs.com (foo (bar\) baz) -[foo]: "Prism" - ----------------------------------------------------- - -[ - ["url-reference", [ - ["punctuation", "["], - ["variable", "foo"], - ["punctuation", "]"], - ["punctuation", ":"], - " http://prismjs.com" - ]], - ["url-reference", [ - ["punctuation", "["], - ["variable", "foo"], - ["punctuation", "]"], - ["punctuation", ":"], - " http://prismjs.com ", - ["string", "\"foo\\\"bar\""] - ]], - ["url-reference", [ - ["punctuation", "["], - ["variable", "foo"], - ["punctuation", "]"], - ["punctuation", ":"], - " http://prismjs.com ", - ["string", "'foo\\'bar'"] - ]], - ["url-reference", [ - ["punctuation", "!"], - ["punctuation", "["], - ["variable", "foo"], - ["punctuation", "]"], - ["punctuation", ":"], - " http://prismjs.com ", - ["string", "(foo (bar\\) baz)"] - ]], - ["url-reference", [ - ["punctuation", "["], - ["variable", "foo"], - ["punctuation", "]"], - ["punctuation", ":"], - ["punctuation", "<"], - "http://prismjs.com", - ["punctuation", ">"], - ["string", "\"Prism\""] - ]] -] - ----------------------------------------------------- - -Checks for URL references. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markdown/url_feature.test b/prism4j-languages/out/test/resources/languages/markdown/url_feature.test deleted file mode 100644 index ca8b9cf..0000000 --- a/prism4j-languages/out/test/resources/languages/markdown/url_feature.test +++ /dev/null @@ -1,25 +0,0 @@ -[foo](http://prismjs.com) -![foo](http://prismjs.com "Foo\"bar") -[foo] [bar] - ----------------------------------------------------- - -[ - ["url", [ - "[foo](http://prismjs.com)" - ]], - ["url", [ - "![foo](http://prismjs.com ", - ["string", "\"Foo\\\"bar\""], - ")" - ]], - ["url", [ - "[foo] [", - ["variable", "bar"], - "]" - ]] -] - ----------------------------------------------------- - -Checks for URLs. \ No newline at end of file diff --git a/prism4j-languages/out/test/resources/languages/markup!+css+javascript/issue1240.test b/prism4j-languages/out/test/resources/languages/markup!+css+javascript/issue1240.test deleted file mode 100644 index c9d5051..0000000 --- a/prism4j-languages/out/test/resources/languages/markup!+css+javascript/issue1240.test +++ /dev/null @@ -1,38 +0,0 @@ - - ----------------------------------------------------- - -[ - - ["tag", [ - ["tag", [ - ["punctuation", "<"], - "script" - ]], - ["punctuation", ">"] - ]], - ["script", [ - ["keyword", "let"], - " str ", - ["operator", "="], - ["template-string", [["string", "`\r\n\t\t\r\n\t`"]]], - ["punctuation", ";"] - ]], - ["tag", [ - ["tag", [ - ["punctuation", ""] - ]] -] - ----------------------------------------------------- - -Checks for Javascript usage inside Markup, using - - ----------------------------------------------------- - -[ - - ["tag", [ - ["tag", [ - ["punctuation", "<"], - "script" - ]], - ["attr-name", [ - "type" - ]], - ["attr-value", [ - ["punctuation", "="], - ["punctuation", "\""], - "text/javascript", - ["punctuation", "\""] - ]], - ["punctuation", ">"] - ]], - ["script", [ - ["function", "foo"], - ["punctuation", "("], - ["punctuation", ")"] - ]], - ["tag", [ - ["tag", [ - ["punctuation", ""] - ]], - - ["tag", [ - ["tag", [ - ["punctuation", "<"], - "script" - ]], - ["punctuation", ">"] - ]], - ["script", [ - ["string", "\"foo bar\""] - ]], - ["tag", [ - ["tag", [ - ["punctuation", ""] - ]] -] - ----------------------------------------------------- - -Checks for Javascript usage inside Markup, using