├── .github └── ISSUE_TEMPLATE │ └── contribute-md.md ├── .gitignore ├── LICENSE ├── README.md ├── docs ├── .nojekyll ├── README.md ├── _coverpage.md ├── _media │ ├── LogoMakr_1J56bI.png │ ├── logomakr-3sxxzw-128x128.png │ └── 公众号.jpg ├── _sidebar.md ├── _style │ ├── prism-master │ │ ├── .editorconfig │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── .npmignore │ │ ├── .travis.yml │ │ ├── CHANGELOG.md │ │ ├── CNAME │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bower.json │ │ ├── code.js │ │ ├── components.js │ │ ├── components.json │ │ ├── components │ │ │ ├── index.js │ │ │ ├── prism-abap.js │ │ │ ├── prism-abap.min.js │ │ │ ├── prism-actionscript.js │ │ │ ├── prism-actionscript.min.js │ │ │ ├── prism-ada.js │ │ │ ├── prism-ada.min.js │ │ │ ├── prism-apacheconf.js │ │ │ ├── prism-apacheconf.min.js │ │ │ ├── prism-apl.js │ │ │ ├── prism-apl.min.js │ │ │ ├── prism-applescript.js │ │ │ ├── prism-applescript.min.js │ │ │ ├── prism-arduino.js │ │ │ ├── prism-arduino.min.js │ │ │ ├── prism-arff.js │ │ │ ├── prism-arff.min.js │ │ │ ├── prism-asciidoc.js │ │ │ ├── prism-asciidoc.min.js │ │ │ ├── prism-asm6502.js │ │ │ ├── prism-asm6502.min.js │ │ │ ├── prism-aspnet.js │ │ │ ├── prism-aspnet.min.js │ │ │ ├── prism-autohotkey.js │ │ │ ├── prism-autohotkey.min.js │ │ │ ├── prism-autoit.js │ │ │ ├── prism-autoit.min.js │ │ │ ├── prism-bash.js │ │ │ ├── prism-bash.min.js │ │ │ ├── prism-basic.js │ │ │ ├── prism-basic.min.js │ │ │ ├── prism-batch.js │ │ │ ├── prism-batch.min.js │ │ │ ├── prism-bison.js │ │ │ ├── prism-bison.min.js │ │ │ ├── prism-brainfuck.js │ │ │ ├── prism-brainfuck.min.js │ │ │ ├── prism-bro.js │ │ │ ├── prism-bro.min.js │ │ │ ├── prism-c.js │ │ │ ├── prism-c.min.js │ │ │ ├── prism-cil.js │ │ │ ├── prism-cil.min.js │ │ │ ├── prism-clike.js │ │ │ ├── prism-clike.min.js │ │ │ ├── prism-clojure.min.js │ │ │ ├── prism-coffeescript.js │ │ │ ├── prism-coffeescript.min.js │ │ │ ├── prism-core.js │ │ │ ├── prism-core.min.js │ │ │ ├── prism-cpp.js │ │ │ ├── prism-cpp.min.js │ │ │ ├── prism-crystal.js │ │ │ ├── prism-crystal.min.js │ │ │ ├── prism-csharp.js │ │ │ ├── prism-csharp.min.js │ │ │ ├── prism-csp.js │ │ │ ├── prism-csp.min.js │ │ │ ├── prism-css-extras.js │ │ │ ├── prism-css-extras.min.js │ │ │ ├── prism-css.js │ │ │ ├── prism-css.min.js │ │ │ ├── prism-d.js │ │ │ ├── prism-d.min.js │ │ │ ├── prism-dart.js │ │ │ ├── prism-dart.min.js │ │ │ ├── prism-diff.js │ │ │ ├── prism-diff.min.js │ │ │ ├── prism-django.js │ │ │ ├── prism-django.min.js │ │ │ ├── prism-docker.js │ │ │ ├── prism-docker.min.js │ │ │ ├── prism-eiffel.js │ │ │ ├── prism-eiffel.min.js │ │ │ ├── prism-elixir.js │ │ │ ├── prism-elixir.min.js │ │ │ ├── prism-elm.js │ │ │ ├── prism-elm.min.js │ │ │ ├── prism-erb.js │ │ │ ├── prism-erb.min.js │ │ │ ├── prism-erlang.js │ │ │ ├── prism-erlang.min.js │ │ │ ├── prism-flow.js │ │ │ ├── prism-flow.min.js │ │ │ ├── prism-fortran.js │ │ │ ├── prism-fortran.min.js │ │ │ ├── prism-fsharp.js │ │ │ ├── prism-fsharp.min.js │ │ │ ├── prism-gcode.js │ │ │ ├── prism-gcode.min.js │ │ │ ├── prism-gedcom.js │ │ │ ├── prism-gedcom.min.js │ │ │ ├── prism-gherkin.js │ │ │ ├── prism-gherkin.min.js │ │ │ ├── prism-git.js │ │ │ ├── prism-git.min.js │ │ │ ├── prism-glsl.js │ │ │ ├── prism-glsl.min.js │ │ │ ├── prism-gml.js │ │ │ ├── prism-gml.min.js │ │ │ ├── prism-go.js │ │ │ ├── prism-go.min.js │ │ │ ├── prism-graphql.js │ │ │ ├── prism-graphql.min.js │ │ │ ├── prism-groovy.js │ │ │ ├── prism-groovy.min.js │ │ │ ├── prism-haml.js │ │ │ ├── prism-haml.min.js │ │ │ ├── prism-handlebars.js │ │ │ ├── prism-handlebars.min.js │ │ │ ├── prism-haskell.js │ │ │ ├── prism-haskell.min.js │ │ │ ├── prism-haxe.js │ │ │ ├── prism-haxe.min.js │ │ │ ├── prism-hpkp.js │ │ │ ├── prism-hpkp.min.js │ │ │ ├── prism-hsts.js │ │ │ ├── prism-hsts.min.js │ │ │ ├── prism-http.js │ │ │ ├── prism-http.min.js │ │ │ ├── prism-ichigojam.js │ │ │ ├── prism-ichigojam.min.js │ │ │ ├── prism-icon.js │ │ │ ├── prism-icon.min.js │ │ │ ├── prism-inform7.js │ │ │ ├── prism-inform7.min.js │ │ │ ├── prism-ini.js │ │ │ ├── prism-ini.min.js │ │ │ ├── prism-io.js │ │ │ ├── prism-io.min.js │ │ │ ├── prism-j.js │ │ │ ├── prism-j.min.js │ │ │ ├── prism-java.js │ │ │ ├── prism-java.min.js │ │ │ ├── prism-javascript.js │ │ │ ├── prism-javascript.min.js │ │ │ ├── prism-javastacktrace.js │ │ │ ├── prism-javastacktrace.min.js │ │ │ ├── prism-jolie.js │ │ │ ├── prism-jolie.min.js │ │ │ ├── prism-json.js │ │ │ ├── prism-json.min.js │ │ │ ├── prism-jsx.js │ │ │ ├── prism-jsx.min.js │ │ │ ├── prism-julia.js │ │ │ ├── prism-julia.min.js │ │ │ ├── prism-keyman.js │ │ │ ├── prism-keyman.min.js │ │ │ ├── prism-kotlin.js │ │ │ ├── prism-kotlin.min.js │ │ │ ├── prism-latex.js │ │ │ ├── prism-latex.min.js │ │ │ ├── prism-less.js │ │ │ ├── prism-less.min.js │ │ │ ├── prism-liquid.js │ │ │ ├── prism-liquid.min.js │ │ │ ├── prism-lisp.js │ │ │ ├── prism-lisp.min.js │ │ │ ├── prism-livescript.js │ │ │ ├── prism-livescript.min.js │ │ │ ├── prism-lolcode.js │ │ │ ├── prism-lolcode.min.js │ │ │ ├── prism-lua.js │ │ │ ├── prism-lua.min.js │ │ │ ├── prism-makefile.js │ │ │ ├── prism-makefile.min.js │ │ │ ├── prism-markdown.js │ │ │ ├── prism-markdown.min.js │ │ │ ├── prism-markup-templating.js │ │ │ ├── prism-markup-templating.min.js │ │ │ ├── prism-markup.js │ │ │ ├── prism-markup.min.js │ │ │ ├── prism-matlab.js │ │ │ ├── prism-matlab.min.js │ │ │ ├── prism-mel.js │ │ │ ├── prism-mel.min.js │ │ │ ├── prism-mizar.js │ │ │ ├── prism-mizar.min.js │ │ │ ├── prism-monkey.js │ │ │ ├── prism-monkey.min.js │ │ │ ├── prism-n4js.js │ │ │ ├── prism-n4js.min.js │ │ │ ├── prism-nasm.js │ │ │ ├── prism-nasm.min.js │ │ │ ├── prism-nginx.js │ │ │ ├── prism-nginx.min.js │ │ │ ├── prism-nim.js │ │ │ ├── prism-nim.min.js │ │ │ ├── prism-nix.js │ │ │ ├── prism-nix.min.js │ │ │ ├── prism-nsis.js │ │ │ ├── prism-nsis.min.js │ │ │ ├── prism-objectivec.js │ │ │ ├── prism-objectivec.min.js │ │ │ ├── prism-ocaml.js │ │ │ ├── prism-ocaml.min.js │ │ │ ├── prism-opencl.js │ │ │ ├── prism-opencl.min.js │ │ │ ├── prism-oz.js │ │ │ ├── prism-oz.min.js │ │ │ ├── prism-parigp.js │ │ │ ├── prism-parigp.min.js │ │ │ ├── prism-parser.js │ │ │ ├── prism-parser.min.js │ │ │ ├── prism-pascal.js │ │ │ ├── prism-pascal.min.js │ │ │ ├── prism-perl.js │ │ │ ├── prism-perl.min.js │ │ │ ├── prism-php-extras.js │ │ │ ├── prism-php-extras.min.js │ │ │ ├── prism-php.js │ │ │ ├── prism-php.min.js │ │ │ ├── prism-plsql.js │ │ │ ├── prism-plsql.min.js │ │ │ ├── prism-powershell.js │ │ │ ├── prism-powershell.min.js │ │ │ ├── prism-processing.js │ │ │ ├── prism-processing.min.js │ │ │ ├── prism-prolog.js │ │ │ ├── prism-prolog.min.js │ │ │ ├── prism-properties.js │ │ │ ├── prism-properties.min.js │ │ │ ├── prism-protobuf.js │ │ │ ├── prism-protobuf.min.js │ │ │ ├── prism-pug.js │ │ │ ├── prism-pug.min.js │ │ │ ├── prism-puppet.js │ │ │ ├── prism-puppet.min.js │ │ │ ├── prism-pure.js │ │ │ ├── prism-pure.min.js │ │ │ ├── prism-python.js │ │ │ ├── prism-python.min.js │ │ │ ├── prism-q.js │ │ │ ├── prism-q.min.js │ │ │ ├── prism-qore.js │ │ │ ├── prism-qore.min.js │ │ │ ├── prism-r.js │ │ │ ├── prism-r.min.js │ │ │ ├── prism-reason.js │ │ │ ├── prism-reason.min.js │ │ │ ├── prism-renpy.js │ │ │ ├── prism-renpy.min.js │ │ │ ├── prism-rest.js │ │ │ ├── prism-rest.min.js │ │ │ ├── prism-rip.js │ │ │ ├── prism-rip.min.js │ │ │ ├── prism-roboconf.js │ │ │ ├── prism-roboconf.min.js │ │ │ ├── prism-ruby.js │ │ │ ├── prism-ruby.min.js │ │ │ ├── prism-rust.js │ │ │ ├── prism-rust.min.js │ │ │ ├── prism-sas.js │ │ │ ├── prism-sas.min.js │ │ │ ├── prism-sass.js │ │ │ ├── prism-sass.min.js │ │ │ ├── prism-scala.js │ │ │ ├── prism-scala.min.js │ │ │ ├── prism-scheme.js │ │ │ ├── prism-scheme.min.js │ │ │ ├── prism-scss.js │ │ │ ├── prism-scss.min.js │ │ │ ├── prism-smalltalk.js │ │ │ ├── prism-smalltalk.min.js │ │ │ ├── prism-smarty.js │ │ │ ├── prism-smarty.min.js │ │ │ ├── prism-soy.js │ │ │ ├── prism-soy.min.js │ │ │ ├── prism-sql.js │ │ │ ├── prism-sql.min.js │ │ │ ├── prism-stylus.js │ │ │ ├── prism-stylus.min.js │ │ │ ├── prism-swift.js │ │ │ ├── prism-swift.min.js │ │ │ ├── prism-tap.js │ │ │ ├── prism-tap.min.js │ │ │ ├── prism-tcl.js │ │ │ ├── prism-tcl.min.js │ │ │ ├── prism-textile.js │ │ │ ├── prism-textile.min.js │ │ │ ├── prism-toml.js │ │ │ ├── prism-toml.min.js │ │ │ ├── prism-tsx.js │ │ │ ├── prism-tsx.min.js │ │ │ ├── prism-tt2.js │ │ │ ├── prism-tt2.min.js │ │ │ ├── prism-twig.js │ │ │ ├── prism-twig.min.js │ │ │ ├── prism-typescript.js │ │ │ ├── prism-typescript.min.js │ │ │ ├── prism-vala.js │ │ │ ├── prism-vala.min.js │ │ │ ├── prism-vbnet.js │ │ │ ├── prism-vbnet.min.js │ │ │ ├── prism-velocity.js │ │ │ ├── prism-velocity.min.js │ │ │ ├── prism-verilog.js │ │ │ ├── prism-verilog.min.js │ │ │ ├── prism-vhdl.js │ │ │ ├── prism-vhdl.min.js │ │ │ ├── prism-vim.js │ │ │ ├── prism-vim.min.js │ │ │ ├── prism-visual-basic.js │ │ │ ├── prism-visual-basic.min.js │ │ │ ├── prism-wasm.js │ │ │ ├── prism-wasm.min.js │ │ │ ├── prism-wiki.js │ │ │ ├── prism-wiki.min.js │ │ │ ├── prism-xeora.js │ │ │ ├── prism-xeora.min.js │ │ │ ├── prism-xojo.js │ │ │ ├── prism-xojo.min.js │ │ │ ├── prism-xquery.js │ │ │ ├── prism-xquery.min.js │ │ │ ├── prism-yaml.js │ │ │ └── prism-yaml.min.js │ │ ├── composer.json │ │ ├── download.html │ │ ├── download.js │ │ ├── examples.html │ │ ├── examples.js │ │ ├── examples │ │ │ ├── prism-abap.html │ │ │ ├── prism-actionscript.html │ │ │ ├── prism-ada.html │ │ │ ├── prism-apacheconf.html │ │ │ ├── prism-apl.html │ │ │ ├── prism-applescript.html │ │ │ ├── prism-arduino.html │ │ │ ├── prism-arff.html │ │ │ ├── prism-asciidoc.html │ │ │ ├── prism-asm6502.html │ │ │ ├── prism-aspnet.html │ │ │ ├── prism-autohotkey.html │ │ │ ├── prism-autoit.html │ │ │ ├── prism-bash.html │ │ │ ├── prism-basic.html │ │ │ ├── prism-batch.html │ │ │ ├── prism-bison.html │ │ │ ├── prism-brainfuck.html │ │ │ ├── prism-bro.html │ │ │ ├── prism-c.html │ │ │ ├── prism-clike.html │ │ │ ├── prism-clojure.html │ │ │ ├── prism-coffeescript.html │ │ │ ├── prism-cpp.html │ │ │ ├── prism-crystal.html │ │ │ ├── prism-csharp.html │ │ │ ├── prism-csp.html │ │ │ ├── prism-css.html │ │ │ ├── prism-d.html │ │ │ ├── prism-dart.html │ │ │ ├── prism-diff.html │ │ │ ├── prism-django.html │ │ │ ├── prism-docker.html │ │ │ ├── prism-eiffel.html │ │ │ ├── prism-elixir.html │ │ │ ├── prism-elm.html │ │ │ ├── prism-erb.html │ │ │ ├── prism-erlang.html │ │ │ ├── prism-flow.html │ │ │ ├── prism-fortran.html │ │ │ ├── prism-fsharp.html │ │ │ ├── prism-gcode.html │ │ │ ├── prism-gedcom.html │ │ │ ├── prism-gherkin.html │ │ │ ├── prism-git.html │ │ │ ├── prism-glsl.html │ │ │ ├── prism-gml.html │ │ │ ├── prism-go.html │ │ │ ├── prism-graphql.html │ │ │ ├── prism-groovy.html │ │ │ ├── prism-haml.html │ │ │ ├── prism-handlebars.html │ │ │ ├── prism-haskell.html │ │ │ ├── prism-haxe.html │ │ │ ├── prism-hpkp.html │ │ │ ├── prism-hsts.html │ │ │ ├── prism-http.html │ │ │ ├── prism-ichigojam.html │ │ │ ├── prism-icon.html │ │ │ ├── prism-inform7.html │ │ │ ├── prism-ini.html │ │ │ ├── prism-io.html │ │ │ ├── prism-j.html │ │ │ ├── prism-java.html │ │ │ ├── prism-javascript.html │ │ │ ├── prism-javastacktrace.html │ │ │ ├── prism-jolie.html │ │ │ ├── prism-jsx.html │ │ │ ├── prism-julia.html │ │ │ ├── prism-keyman.html │ │ │ ├── prism-kotlin.html │ │ │ ├── prism-latex.html │ │ │ ├── prism-less.html │ │ │ ├── prism-liquid.html │ │ │ ├── prism-lisp.html │ │ │ ├── prism-livescript.html │ │ │ ├── prism-lolcode.html │ │ │ ├── prism-lua.html │ │ │ ├── prism-makefile.html │ │ │ ├── prism-markdown.html │ │ │ ├── prism-markup.html │ │ │ ├── prism-matlab.html │ │ │ ├── prism-mel.html │ │ │ ├── prism-mizar.html │ │ │ ├── prism-monkey.html │ │ │ ├── prism-n4js.html │ │ │ ├── prism-nasm.html │ │ │ ├── prism-nginx.html │ │ │ ├── prism-nim.html │ │ │ ├── prism-nix.html │ │ │ ├── prism-nsis.html │ │ │ ├── prism-objectivec.html │ │ │ ├── prism-ocaml.html │ │ │ ├── prism-opencl.html │ │ │ ├── prism-oz.html │ │ │ ├── prism-parigp.html │ │ │ ├── prism-parser.html │ │ │ ├── prism-pascal.html │ │ │ ├── prism-perl.html │ │ │ ├── prism-php.html │ │ │ ├── prism-plsql.html │ │ │ ├── prism-powershell.html │ │ │ ├── prism-processing.html │ │ │ ├── prism-prolog.html │ │ │ ├── prism-properties.html │ │ │ ├── prism-pug.html │ │ │ ├── prism-puppet.html │ │ │ ├── prism-pure.html │ │ │ ├── prism-python.html │ │ │ ├── prism-q.html │ │ │ ├── prism-qore.html │ │ │ ├── prism-r.html │ │ │ ├── prism-reason.html │ │ │ ├── prism-renpy.html │ │ │ ├── prism-rest.html │ │ │ ├── prism-rip.html │ │ │ ├── prism-roboconf.html │ │ │ ├── prism-ruby.html │ │ │ ├── prism-rust.html │ │ │ ├── prism-sas.html │ │ │ ├── prism-sass.html │ │ │ ├── prism-scala.html │ │ │ ├── prism-scheme.html │ │ │ ├── prism-scss.html │ │ │ ├── prism-smalltalk.html │ │ │ ├── prism-smarty.html │ │ │ ├── prism-soy.html │ │ │ ├── prism-sql.html │ │ │ ├── prism-stylus.html │ │ │ ├── prism-swift.html │ │ │ ├── prism-tcl.html │ │ │ ├── prism-textile.html │ │ │ ├── prism-tsx.html │ │ │ ├── prism-tt2.html │ │ │ ├── prism-twig.html │ │ │ ├── prism-typescript.html │ │ │ ├── prism-vala.html │ │ │ ├── prism-vbnet.html │ │ │ ├── prism-velocity.html │ │ │ ├── prism-verilog.html │ │ │ ├── prism-vhdl.html │ │ │ ├── prism-vim.html │ │ │ ├── prism-visual-basic.html │ │ │ ├── prism-wasm.html │ │ │ ├── prism-wiki.html │ │ │ ├── prism-xeora.html │ │ │ ├── prism-xojo.html │ │ │ ├── prism-xquery.html │ │ │ └── prism-yaml.html │ │ ├── extending.html │ │ ├── faq.html │ │ ├── favicon.png │ │ ├── gulpfile.js │ │ ├── img │ │ │ ├── logo-ala.png │ │ │ ├── logo-css-tricks.png │ │ │ ├── logo-drupal.png │ │ │ ├── logo-mdn.png │ │ │ ├── logo-react.png │ │ │ ├── logo-sitepoint.png │ │ │ ├── logo-smashing.png │ │ │ ├── logo-stripe.png │ │ │ └── spectrum.png │ │ ├── index.html │ │ ├── logo.svg │ │ ├── package.json │ │ ├── plugins │ │ │ ├── autolinker │ │ │ │ ├── index.html │ │ │ │ ├── prism-autolinker.css │ │ │ │ ├── prism-autolinker.js │ │ │ │ └── prism-autolinker.min.js │ │ │ ├── autoloader │ │ │ │ ├── index.html │ │ │ │ ├── prism-autoloader.js │ │ │ │ └── prism-autoloader.min.js │ │ │ ├── command-line │ │ │ │ ├── index.html │ │ │ │ ├── prism-command-line.css │ │ │ │ ├── prism-command-line.js │ │ │ │ └── prism-command-line.min.js │ │ │ ├── copy-to-clipboard │ │ │ │ ├── index.html │ │ │ │ ├── prism-copy-to-clipboard.js │ │ │ │ └── prism-copy-to-clipboard.min.js │ │ │ ├── custom-class │ │ │ │ ├── index.html │ │ │ │ ├── prism-custom-class.js │ │ │ │ └── prism-custom-class.min.js │ │ │ ├── data-uri-highlight │ │ │ │ ├── index.html │ │ │ │ ├── prism-data-uri-highlight.js │ │ │ │ └── prism-data-uri-highlight.min.js │ │ │ ├── file-highlight │ │ │ │ ├── index.html │ │ │ │ ├── prism-file-highlight.js │ │ │ │ └── prism-file-highlight.min.js │ │ │ ├── highlight-keywords │ │ │ │ ├── index.html │ │ │ │ ├── prism-highlight-keywords.js │ │ │ │ └── prism-highlight-keywords.min.js │ │ │ ├── index.html │ │ │ ├── jsonp-highlight │ │ │ │ ├── index.html │ │ │ │ ├── prism-jsonp-highlight.js │ │ │ │ └── prism-jsonp-highlight.min.js │ │ │ ├── keep-markup │ │ │ │ ├── index.html │ │ │ │ ├── prism-keep-markup.js │ │ │ │ └── prism-keep-markup.min.js │ │ │ ├── line-highlight │ │ │ │ ├── index.html │ │ │ │ ├── prism-line-highlight.css │ │ │ │ ├── prism-line-highlight.js │ │ │ │ └── prism-line-highlight.min.js │ │ │ ├── line-numbers │ │ │ │ ├── index.html │ │ │ │ ├── prism-line-numbers.css │ │ │ │ ├── prism-line-numbers.js │ │ │ │ └── prism-line-numbers.min.js │ │ │ ├── normalize-whitespace │ │ │ │ ├── demo.html │ │ │ │ ├── index.html │ │ │ │ ├── prism-normalize-whitespace.js │ │ │ │ └── prism-normalize-whitespace.min.js │ │ │ ├── previewers │ │ │ │ ├── index.html │ │ │ │ ├── prism-previewers.css │ │ │ │ ├── prism-previewers.js │ │ │ │ └── prism-previewers.min.js │ │ │ ├── remove-initial-line-feed │ │ │ │ ├── index.html │ │ │ │ ├── prism-remove-initial-line-feed.js │ │ │ │ └── prism-remove-initial-line-feed.min.js │ │ │ ├── show-invisibles │ │ │ │ ├── index.html │ │ │ │ ├── prism-show-invisibles.css │ │ │ │ ├── prism-show-invisibles.js │ │ │ │ └── prism-show-invisibles.min.js │ │ │ ├── show-language │ │ │ │ ├── index.html │ │ │ │ ├── prism-show-language.js │ │ │ │ └── prism-show-language.min.js │ │ │ ├── toolbar │ │ │ │ ├── index.html │ │ │ │ ├── prism-toolbar.css │ │ │ │ ├── prism-toolbar.js │ │ │ │ └── prism-toolbar.min.js │ │ │ ├── unescaped-markup │ │ │ │ ├── index.html │ │ │ │ ├── prism-unescaped-markup.css │ │ │ │ ├── prism-unescaped-markup.js │ │ │ │ └── prism-unescaped-markup.min.js │ │ │ └── wpd │ │ │ │ ├── index.html │ │ │ │ ├── prism-wpd.css │ │ │ │ ├── prism-wpd.js │ │ │ │ └── prism-wpd.min.js │ │ ├── prefixfree.min.js │ │ ├── prism.js │ │ ├── style.css │ │ ├── templates │ │ │ ├── footer.html │ │ │ ├── header-download.html │ │ │ ├── header-main.html │ │ │ └── header-plugins.html │ │ ├── test-suite.html │ │ ├── test.html │ │ ├── tests │ │ │ ├── helper │ │ │ │ ├── prism-loader.js │ │ │ │ ├── test-case.js │ │ │ │ ├── test-discovery.js │ │ │ │ └── token-stream-transformer.js │ │ │ ├── languages │ │ │ │ ├── abap │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── eol-comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string-template_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── actionscript │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ └── operator_feature.test │ │ │ │ ├── ada │ │ │ │ │ ├── attr-name_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── char_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── apacheconf │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── directive-block_feature.test │ │ │ │ │ ├── directive-flags_feature.test │ │ │ │ │ ├── directive-inline_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── apl │ │ │ │ │ ├── assignment_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── dfn_feature.test │ │ │ │ │ ├── dyadic-operator_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── monadic-operator_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── statement_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── system-function_feature.test │ │ │ │ ├── applescript │ │ │ │ │ ├── class_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── arff │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── asciidoc │ │ │ │ │ ├── admonition_feature.test │ │ │ │ │ ├── attribute-entry_feature.test │ │ │ │ │ ├── attributes_feature.test │ │ │ │ │ ├── callout_feature.test │ │ │ │ │ ├── comment-block_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── entity_feature.js │ │ │ │ │ ├── entity_feature.test │ │ │ │ │ ├── hr_feature.test │ │ │ │ │ ├── indented-block_feature.test │ │ │ │ │ ├── inline_feature.test │ │ │ │ │ ├── line-continuation_feature.test │ │ │ │ │ ├── list-label_feature.test │ │ │ │ │ ├── list-punctuation_feature.test │ │ │ │ │ ├── literal-block_feature.test │ │ │ │ │ ├── macro_feature.test │ │ │ │ │ ├── other-block_feature.test │ │ │ │ │ ├── page-break_feature.test │ │ │ │ │ ├── passthrough-block_feature.test │ │ │ │ │ ├── replacement_feature.test │ │ │ │ │ ├── table_feature.test │ │ │ │ │ └── title_feature.test │ │ │ │ ├── asm6502 │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── opcode_feature.test │ │ │ │ │ ├── register_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── aspnet │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ └── page-directive_feature.test │ │ │ │ ├── autohotkey │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── important_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── selector_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── symbol_feature.test │ │ │ │ │ ├── tag_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── autoit │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── url_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── bash │ │ │ │ │ ├── arithmetic_environment_feature.test │ │ │ │ │ ├── command_substitution_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── shebang_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── basic │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── batch │ │ │ │ │ ├── command_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ └── label_feature.test │ │ │ │ ├── bison │ │ │ │ │ ├── c_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── brainfuck │ │ │ │ │ └── all_feature.test │ │ │ │ ├── bro │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── c+pure │ │ │ │ │ └── c_inclusion.test │ │ │ │ ├── c │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── macro_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ └── operator_feature.test │ │ │ │ ├── cil │ │ │ │ │ ├── asm_reference.test │ │ │ │ │ ├── boolean.test │ │ │ │ │ ├── comment.test │ │ │ │ │ ├── instructions.test │ │ │ │ │ ├── keywords.test │ │ │ │ │ └── strings.test │ │ │ │ ├── clike │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── class-name_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── issue1340.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── clojure │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── operator_and_punctuation.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── coffeescript+haml │ │ │ │ │ └── coffeescript_inclusion.test │ │ │ │ ├── coffeescript+pug │ │ │ │ │ └── coffeescript_inclusion.test │ │ │ │ ├── coffeescript │ │ │ │ │ ├── block-regex_feature.test │ │ │ │ │ ├── class-member_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── inline-javascript_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── cpp+pure │ │ │ │ │ └── cpp_inclusion.test │ │ │ │ ├── cpp │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── class-name_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── raw_string_feature.test │ │ │ │ ├── crystal │ │ │ │ │ ├── attribute_feature.test │ │ │ │ │ ├── expansion_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ └── number_feature.test │ │ │ │ ├── csharp+aspnet │ │ │ │ │ └── directive_feature.test │ │ │ │ ├── csharp │ │ │ │ │ ├── class-name_feature.test │ │ │ │ │ ├── generic_feature.test │ │ │ │ │ ├── issue1091.test │ │ │ │ │ ├── issue1365.test │ │ │ │ │ ├── issue1371.test │ │ │ │ │ ├── issue806.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── preprocessor_feature.test │ │ │ │ │ ├── punctuation_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── csp │ │ │ │ │ ├── directive_no_value_feature.test │ │ │ │ │ ├── directive_with_source_expression_feature.test │ │ │ │ │ ├── safe_feature.test │ │ │ │ │ └── unsafe_feature.test │ │ │ │ ├── css!+css-extras │ │ │ │ │ ├── entity_feature.test │ │ │ │ │ ├── hexcode_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── selector_feature.test │ │ │ │ │ ├── unit_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── css+haml │ │ │ │ │ └── css+haml_usage.test │ │ │ │ ├── css+http │ │ │ │ │ └── css_inclusion.test │ │ │ │ ├── css+textile │ │ │ │ │ └── css_inclusion.test │ │ │ │ ├── css │ │ │ │ │ ├── atrule_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── important_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── selector_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── url_feature.test │ │ │ │ ├── d │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── register_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── token-string_feature.test │ │ │ │ ├── dart │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── metadata_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── diff │ │ │ │ │ ├── coord_feature.test │ │ │ │ │ └── diff_feature.test │ │ │ │ ├── django │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ └── property_feature.test │ │ │ │ ├── docker │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── eiffel │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── char_feature.test │ │ │ │ │ ├── class-name_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── elixir │ │ │ │ │ ├── atom_feature.test │ │ │ │ │ ├── attr-name_feature.test │ │ │ │ │ ├── attribute_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── capture_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── issue1392.test │ │ │ │ │ ├── issue775.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── elm │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── char_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── hvariable_feature.test │ │ │ │ │ ├── import_statement_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── erb │ │ │ │ │ ├── erb_feature.test │ │ │ │ │ └── erb_in_markup_feature.test │ │ │ │ ├── erlang │ │ │ │ │ ├── atom_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── flow │ │ │ │ │ ├── flow-punctuation_feature.test │ │ │ │ │ ├── function-variable_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ └── type_feature.test │ │ │ │ ├── fortran+pure │ │ │ │ │ └── fortran_inclusion.test │ │ │ │ ├── fortran │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── fsharp │ │ │ │ │ ├── annotation_feature.test │ │ │ │ │ ├── class-name_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── computation-expression_feature.test │ │ │ │ │ ├── issue1480.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── preprocessor_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── gcode │ │ │ │ │ ├── checksum_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── gedcom │ │ │ │ │ ├── level_feature.test │ │ │ │ │ ├── line-value_feature.test │ │ │ │ │ ├── pointer_feature.test │ │ │ │ │ └── tag_feature.test │ │ │ │ ├── gherkin │ │ │ │ │ ├── atrule_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── feature_feature.test │ │ │ │ │ ├── outline_feature.test │ │ │ │ │ ├── pystring_feature.test │ │ │ │ │ ├── scenario_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── table_feature.test │ │ │ │ │ └── tag_feature.test │ │ │ │ ├── git │ │ │ │ │ ├── command_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── commit_sha1_feature.test │ │ │ │ │ ├── coord_feature.test │ │ │ │ │ ├── diff_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── glsl │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ └── preprocessor_feature.test │ │ │ │ ├── go │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── graphql │ │ │ │ │ ├── attr-name_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── groovy │ │ │ │ │ ├── annotation_feature.test │ │ │ │ │ ├── issue1049.js │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── shebang_feature.test │ │ │ │ │ ├── spock-block_feature.test │ │ │ │ │ ├── string-interpolation_feature.js │ │ │ │ │ └── string_feature.test │ │ │ │ ├── haml │ │ │ │ │ ├── code_feature.test │ │ │ │ │ ├── doctype_feature.test │ │ │ │ │ ├── interpolation_feature.test │ │ │ │ │ ├── multiline-code_feature.test │ │ │ │ │ ├── multiline-comment_feature.test │ │ │ │ │ └── tag_feature.test │ │ │ │ ├── handlebars+pug │ │ │ │ │ └── handlebars_inclusion.test │ │ │ │ ├── handlebars │ │ │ │ │ ├── block_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── handlebars_in_markup_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── haskell │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── char_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── hvariable_feature.test │ │ │ │ │ ├── import_statement_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── haxe │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── metadata_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── preprocessor_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ ├── reification_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── hpkp │ │ │ │ │ ├── safe_maxage_feature.test │ │ │ │ │ ├── sha256_pin_feature.test │ │ │ │ │ └── unsafe_maxage_feature.test │ │ │ │ ├── hsts │ │ │ │ │ ├── include_subdomains_feature.test │ │ │ │ │ ├── preload_feature.test │ │ │ │ │ ├── safe_maxage_feature.test │ │ │ │ │ └── unsafe_maxage_feature.test │ │ │ │ ├── http │ │ │ │ │ ├── header-name_feature.test │ │ │ │ │ ├── request-line_feature.test │ │ │ │ │ └── response-status_feature.test │ │ │ │ ├── ichigojam │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── label_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── icon │ │ │ │ │ ├── builtin-keyword_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── inform7 │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── position_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── title_feature.test │ │ │ │ │ ├── variable_feature.test │ │ │ │ │ └── verb_feature.test │ │ │ │ ├── ini │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── key_value_feature.test │ │ │ │ │ └── selector_feature.test │ │ │ │ ├── io │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── j │ │ │ │ │ ├── adverb_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── conjunction_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── verb_feature.test │ │ │ │ ├── java │ │ │ │ │ ├── function_featrue.test │ │ │ │ │ ├── generics_feature.test │ │ │ │ │ ├── issue1351.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── module_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── package_feature.test │ │ │ │ ├── javascript+haml │ │ │ │ │ └── javascript_inclusion.test │ │ │ │ ├── javascript+http │ │ │ │ │ └── javascript_inclusion.test │ │ │ │ ├── javascript │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── class-method_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── function-variable_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── issue1337.test │ │ │ │ │ ├── issue1340.test │ │ │ │ │ ├── issue1397.test │ │ │ │ │ ├── issue1526.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ ├── supposed-classes_feature.test │ │ │ │ │ ├── supposed-function_feature.test │ │ │ │ │ ├── template-string_feature.test │ │ │ │ │ └── try-catch_feature.test │ │ │ │ ├── javastacktrace │ │ │ │ │ ├── more_feature.test │ │ │ │ │ ├── stack-frame_feature.test │ │ │ │ │ └── summary_feature.test │ │ │ │ ├── jolie │ │ │ │ │ ├── deployment_features.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ └── operator_feature.test │ │ │ │ ├── json+http │ │ │ │ │ ├── json-suffix_inclusion.test │ │ │ │ │ └── json_inclusion.test │ │ │ │ ├── json │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── null_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── punctuation_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── jsx │ │ │ │ │ ├── issue1103.test │ │ │ │ │ ├── issue1235.test │ │ │ │ │ ├── issue1236.test │ │ │ │ │ ├── issue1294.test │ │ │ │ │ ├── issue1335.test │ │ │ │ │ ├── issue1342.test │ │ │ │ │ ├── issue1356.test │ │ │ │ │ ├── issue1364.test │ │ │ │ │ ├── issue1408.test │ │ │ │ │ ├── issue1421.test │ │ │ │ │ ├── plain-text_feature.test │ │ │ │ │ └── tag_feature.test │ │ │ │ ├── julia │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── keyman │ │ │ │ │ ├── atrule_feature.test │ │ │ │ │ ├── bold_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── tag_feature.test │ │ │ │ ├── kotlin │ │ │ │ │ ├── annotation_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── interpolation_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── label_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── raw-string_feature.test │ │ │ │ ├── latex │ │ │ │ │ ├── cdata_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── equation_feature.test │ │ │ │ │ ├── headline_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ └── url_feature.test │ │ │ │ ├── less+haml │ │ │ │ │ └── less_inclusion.test │ │ │ │ ├── less+pug │ │ │ │ │ └── less_inclusion.test │ │ │ │ ├── less │ │ │ │ │ ├── atrule_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ └── selector_feature.test │ │ │ │ ├── liquid │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ └── operator_feature.test │ │ │ │ ├── lisp │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── car_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── declare_feature.test │ │ │ │ │ ├── defun_feature.test │ │ │ │ │ ├── defvar_feature.test │ │ │ │ │ ├── heading_feature.test │ │ │ │ │ ├── interactive_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── lambda-feature.test │ │ │ │ │ ├── lisp-property_feature.test │ │ │ │ │ ├── number_boolean.test │ │ │ │ │ ├── punctuation_feature.test │ │ │ │ │ ├── quoted-symbol_feature.test │ │ │ │ │ ├── splice_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── livescript │ │ │ │ │ ├── argument_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── identifier_feature.test │ │ │ │ │ ├── interpolated-string.test │ │ │ │ │ ├── keyword-operator_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── lolcode │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── label_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── symbol_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── lua │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── makefile │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── symbol_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── markdown+haml │ │ │ │ │ └── markdown_inclusion.test │ │ │ │ ├── markdown+pug │ │ │ │ │ └── markdown_inclusion.test │ │ │ │ ├── markdown │ │ │ │ │ ├── blockquote_feature.test │ │ │ │ │ ├── bold_feature.test │ │ │ │ │ ├── code_feature.test │ │ │ │ │ ├── hr_feature.test │ │ │ │ │ ├── italic_feature.test │ │ │ │ │ ├── list_feature.test │ │ │ │ │ ├── strike_feature.test │ │ │ │ │ ├── title_feature.test │ │ │ │ │ ├── url-reference_feature.test │ │ │ │ │ └── url_feature.test │ │ │ │ ├── markup!+css+javascript │ │ │ │ │ └── issue1240.test │ │ │ │ ├── markup!+css │ │ │ │ │ └── css_inclusion.test │ │ │ │ ├── markup!+javascript │ │ │ │ │ └── javascript_inclusion.test │ │ │ │ ├── markup+actionscript │ │ │ │ │ └── xml_feature.test │ │ │ │ ├── markup+css+wiki │ │ │ │ │ └── table-tag_feature.test │ │ │ │ ├── markup+haml │ │ │ │ │ └── markup_feature.test │ │ │ │ ├── markup+http │ │ │ │ │ ├── html_inclusion.test │ │ │ │ │ ├── xml-suffix_inclusion.test │ │ │ │ │ └── xml_inclusion.test │ │ │ │ ├── markup+javascript+csharp+aspnet │ │ │ │ │ └── script_feature.test │ │ │ │ ├── markup+php │ │ │ │ │ └── php_in_markup_feature.test │ │ │ │ ├── markup+pug │ │ │ │ │ └── markup_feature.test │ │ │ │ ├── markup+tt2 │ │ │ │ │ └── tt2_in_markup_feature.test │ │ │ │ ├── markup │ │ │ │ │ ├── cdata_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── doctype_feature.test │ │ │ │ │ ├── entity_feature.js │ │ │ │ │ ├── entity_feature.test │ │ │ │ │ ├── issue585.test │ │ │ │ │ ├── issue888.test │ │ │ │ │ ├── prolog_feature.test │ │ │ │ │ ├── tag_attribute_feature.test │ │ │ │ │ └── tag_feature.test │ │ │ │ ├── matlab │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── mel │ │ │ │ │ ├── code_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── flag_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── mizar │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── parameter_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── monkey │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── preprocessor_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── type-char_feature.test │ │ │ │ ├── n4js │ │ │ │ │ ├── annotation_feature.test │ │ │ │ │ └── keyword_feature.test │ │ │ │ ├── nasm │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── label_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── register_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── nginx │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── nim │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── nix │ │ │ │ │ ├── antiquotation_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── url_feature.test │ │ │ │ ├── nsis │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── important_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── objectivec │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── ocaml │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── type_feature.test │ │ │ │ ├── opencl+c │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ └── type_feature.test │ │ │ │ ├── opencl+cpp │ │ │ │ │ └── type_feature.test │ │ │ │ ├── opencl │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ └── keyword_feature.test │ │ │ │ ├── oz │ │ │ │ │ ├── atom_feature.test │ │ │ │ │ ├── attr-name_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── parigp │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── parser │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── escape_feature.test │ │ │ │ │ ├── expression_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── parser-comment_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── pascal │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── perl │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── filehandle_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── variable_feature.test │ │ │ │ │ └── vstring_feature.test │ │ │ │ ├── php!+php-extras │ │ │ │ │ ├── global_feature.test │ │ │ │ │ ├── scope_feature.test │ │ │ │ │ └── this_feature.test │ │ │ │ ├── php │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── delimiter_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── package_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── shell-comment_feature.test │ │ │ │ │ ├── string-interpolation_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── plsql │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ └── operator_feature.test │ │ │ │ ├── powershell │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── issue1407.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── namespace_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── processing │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── type_feature.test │ │ │ │ ├── prolog │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── properties │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ └── key_value_feature.test │ │ │ │ ├── protobuf │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── pug │ │ │ │ │ ├── code_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── doctype_feature.test │ │ │ │ │ ├── flow-control_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── mixin_feature.test │ │ │ │ │ ├── multiline-plain-text_feature.test │ │ │ │ │ ├── multiline-script_feature.test │ │ │ │ │ ├── plain-text_feature.test │ │ │ │ │ ├── script_feature.test │ │ │ │ │ └── tag_feature.test │ │ │ │ ├── puppet │ │ │ │ │ ├── attr-name_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── datatype_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── heredoc_feature.test │ │ │ │ │ ├── interpolation_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── pure │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── special_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── python │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── class-name_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── decorator_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── issue1355.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string-interpolation_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── triple-quoted-string_feature.test │ │ │ │ ├── q │ │ │ │ │ ├── adverb_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── datetime_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── symbol_feature.test │ │ │ │ │ └── verb_feature.test │ │ │ │ ├── qore │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── r │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── ellipsis_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── percent-operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── reason │ │ │ │ │ ├── character_feature.test │ │ │ │ │ ├── class-name_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constructor_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── label_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── rest │ │ │ │ │ ├── command-line-option_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── doctest-block_feature.test │ │ │ │ │ ├── field_feature.test │ │ │ │ │ ├── hr_feature.test │ │ │ │ │ ├── inline_feature.test │ │ │ │ │ ├── link-target_feature.test │ │ │ │ │ ├── link_feature.test │ │ │ │ │ ├── list-bullet_feature.test │ │ │ │ │ ├── literal-block_feature.test │ │ │ │ │ ├── quoted-literal-block_feature.test │ │ │ │ │ ├── substitution-def_feature.test │ │ │ │ │ ├── table_feature.test │ │ │ │ │ └── title_feature.test │ │ │ │ ├── rip │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── character_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── date_time_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── reference_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── symbol_feature.test │ │ │ │ ├── roboconf │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── component_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── optional_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── value_feature.test │ │ │ │ │ └── wildcard_feature.test │ │ │ │ ├── ruby │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── issue1336.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── method_definition_feature.test │ │ │ │ │ ├── regex_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── symbol_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── rust │ │ │ │ │ ├── attribute_feature.test │ │ │ │ │ ├── char_feature.test │ │ │ │ │ ├── closure-params_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── issue1339.test │ │ │ │ │ ├── issue1353.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── lifetime-annotation_feature.test │ │ │ │ │ ├── macro-rules_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── sas │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── datalines_feature.test │ │ │ │ │ ├── datetime_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── sass │ │ │ │ │ ├── atrule-line_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── property-line_feature.test │ │ │ │ │ ├── selector_feature.test │ │ │ │ │ └── variable-line_feature.test │ │ │ │ ├── scala │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── symbol_feature.test │ │ │ │ ├── scheme │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── character_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── issue1331.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── scss+haml │ │ │ │ │ └── scss_inclusion.test │ │ │ │ ├── scss+pug │ │ │ │ │ └── scss_inclusion.test │ │ │ │ ├── scss │ │ │ │ │ ├── atrule_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── null_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── placeholder_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── selector_feature.test │ │ │ │ │ ├── statement_feature.test │ │ │ │ │ ├── url_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── smalltalk │ │ │ │ │ ├── block-arguments_feature.test │ │ │ │ │ ├── character_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── symbol_feature.test │ │ │ │ │ └── temporary-variables_feature.test │ │ │ │ ├── smarty │ │ │ │ │ ├── attr-name_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── smarty_in_markup_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── soy │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── command-arg.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── literal_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── parameter_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ ├── soy_in_markup_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── sql │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── stylus+pug │ │ │ │ │ └── stylus_inclusion.test │ │ │ │ ├── stylus │ │ │ │ │ ├── atrule-declaration_feature.test │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── func_feature.test │ │ │ │ │ ├── hexcode_feature.test │ │ │ │ │ ├── important_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── property-declaration_feature.test │ │ │ │ │ ├── selector_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── url_feature.test │ │ │ │ │ └── variable-declaration_feature.test │ │ │ │ ├── swift │ │ │ │ │ ├── atrule_feature.test │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── tap │ │ │ │ │ ├── bail_out_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── pass_fail_feature.test │ │ │ │ │ ├── plan_feature.test │ │ │ │ │ ├── pragma_feature.test │ │ │ │ │ ├── version_feature.test │ │ │ │ │ └── yamlish_feature.test │ │ │ │ ├── tcl │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── scope_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── textile │ │ │ │ │ ├── acronym_feature.test │ │ │ │ │ ├── block-tag_feature.test │ │ │ │ │ ├── footnote_feature.test │ │ │ │ │ ├── image_feature.test │ │ │ │ │ ├── inline_feature.test │ │ │ │ │ ├── link-ref_feature.test │ │ │ │ │ ├── link_feature.test │ │ │ │ │ ├── list_feature.test │ │ │ │ │ ├── mark_feature.test │ │ │ │ │ └── table_feature.test │ │ │ │ ├── toml │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── date_feature.test │ │ │ │ │ ├── key_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── table_feature.test │ │ │ │ ├── tsx │ │ │ │ │ └── tag_feature.test │ │ │ │ ├── tt2 │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── delimiter_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string-interpolation_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── twig+pug │ │ │ │ │ └── twig_inclusion.test │ │ │ │ ├── twig │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── typescript │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ └── keyword_feature.test │ │ │ │ ├── vala │ │ │ │ │ ├── class-name_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── punctuation_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── vbnet │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ └── keyword_feature.test │ │ │ │ ├── velocity │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── unparsed_feature.test │ │ │ │ │ ├── variable_feature.test │ │ │ │ │ └── velocity-comment_feature.test │ │ │ │ ├── verilog │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── important_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── property_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── vhdl │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── vhdl-vectors_feature.test │ │ │ │ ├── vim │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── visual-basic │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── date_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ └── string_feature.test │ │ │ │ ├── wasm │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── wiki │ │ │ │ │ ├── block-comment_feature.test │ │ │ │ │ ├── emphasis_feature.test │ │ │ │ │ ├── heading_feature.test │ │ │ │ │ ├── hr_feature.test │ │ │ │ │ ├── nowiki_feature.test │ │ │ │ │ ├── symbol_feature.test │ │ │ │ │ ├── url_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── xeora │ │ │ │ │ ├── constant_feature.test │ │ │ │ │ ├── directive-block-close_feature.test │ │ │ │ │ ├── directive-block-open_feature.test │ │ │ │ │ ├── directive-block-separator_feature.test │ │ │ │ │ ├── directive-inline_feature.test │ │ │ │ │ ├── function-block_feature.test │ │ │ │ │ ├── function-inline_feature.test │ │ │ │ │ └── variable_feature.test │ │ │ │ ├── xojo │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── symbol_feature.test │ │ │ │ ├── xquery │ │ │ │ │ ├── axis_feature.test │ │ │ │ │ ├── builtin_feature.test │ │ │ │ │ ├── extension_feature.test │ │ │ │ │ ├── function_feature.test │ │ │ │ │ ├── keyword-operator_feature.test │ │ │ │ │ ├── keyword_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── operator_feature.test │ │ │ │ │ ├── plain-text_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ ├── tag_feature.test │ │ │ │ │ ├── variable_feature.test │ │ │ │ │ ├── xquery-attribute_feature.test │ │ │ │ │ ├── xquery-comment_feature.test │ │ │ │ │ └── xquery-element_feature.test │ │ │ │ └── yaml │ │ │ │ │ ├── boolean_feature.test │ │ │ │ │ ├── comment_feature.test │ │ │ │ │ ├── datetime_feature.test │ │ │ │ │ ├── directive_feature.test │ │ │ │ │ ├── important_feature.test │ │ │ │ │ ├── key_feature.test │ │ │ │ │ ├── null_feature.test │ │ │ │ │ ├── number_feature.test │ │ │ │ │ ├── scalar_feature.test │ │ │ │ │ ├── string_feature.test │ │ │ │ │ └── tag_feature.test │ │ │ ├── run.js │ │ │ └── testrunner-tests.js │ │ ├── themes │ │ │ ├── prism-coy.css │ │ │ ├── prism-dark.css │ │ │ ├── prism-funky.css │ │ │ ├── prism-okaidia.css │ │ │ ├── prism-solarizedlight.css │ │ │ ├── prism-tomorrow.css │ │ │ ├── prism-twilight.css │ │ │ └── prism.css │ │ ├── utopia.js │ │ └── vendor │ │ │ ├── FileSaver.min.js │ │ │ ├── jszip.min.js │ │ │ └── promise.js │ └── style.css ├── assets │ └── groupcode.png ├── images │ ├── groupcode.png │ └── shop.jpg ├── index.html └── notes │ ├── 01. 考虑使用静态工厂方法替代构造方法.md │ ├── 02. 当构造方法参数过多时使用builder模式.md │ ├── 03. 使用私有构造方法或枚类实现Singleton属性.md │ ├── 04. 使用私有构造方法执行非实例化.md │ ├── 05. 依赖注入优于硬连接资源(hardwiring resources).md │ ├── 06. 避免创建不必要的对象.md │ ├── 07. 消除过期的对象引用.md │ ├── 08. 避免使用Finalizer和Cleaner机制.md │ ├── 09. 使用try-with-resources语句替代try-finally语句.md │ ├── 10. 重写equals方法时遵守通用约定.md │ ├── 11. 重写equals方法时同时也要重写hashcode方法.md │ ├── 12. 始终重写 toString 方法.md │ ├── 13. 谨慎地重写 clone 方法.md │ ├── 14. 考虑实现Comparable接口.md │ ├── 15. 使类和成员的可访问性最小化.md │ ├── 16. 在公共类中使用访问方法而不是公共属性.md │ ├── 17. 最小化可变性.md │ ├── 18. 组合优于继承.md │ ├── 19. 要么设计继承并提供文档说明,要么禁用继承.md │ ├── 20. 接口优于抽象类.md │ ├── 21. 为后代设计接口.md │ ├── 22. 接口仅用来定义类型.md │ ├── 23. 类层次结构优于标签类.md │ ├── 24. 支持使用静态成员类而不是非静态类.md │ ├── 25. 将源文件限制为单个顶级类.md │ ├── 26. 不要使用原始类型.md │ ├── 27. 消除非检查警告.md │ ├── 28. 列表优于数组.md │ ├── 29. 优先考虑泛型.md │ ├── 30. 优先使用泛型方法.md │ ├── 31. 使用限定通配符来增加API的灵活性.md │ ├── 32. 合理地结合泛型和可变参数.md │ ├── 33. 优先考虑类型安全的异构容器.md │ ├── 34. 使用枚举类型替代整型常量.md │ ├── 35. 使用实例属性替代序数.md │ ├── 36. 使用EnumSet替代位属性.md │ ├── 37. 使用EnumMap替代序数索引.md │ ├── 38. 使用接口模拟可扩展的枚举.md │ ├── 39. 注解优于命名模式.md │ ├── 40. 始终使用Override注解.md │ ├── 41. 使用标记接口定义类型.md │ ├── 42. lambda表达式优于匿名类.md │ ├── 43. 方法引用优于lambda表达式.md │ ├── 44. 优先使用标准的函数式接口.md │ ├── 45. 明智审慎地使用Stream.md │ ├── 46. 优先考虑流中无副作用的函数.md │ ├── 47. 优先使用Collection而不是Stream来作为方法的返回类型.md │ ├── 48. 谨慎使用流并行.md │ ├── 49. 检查参数有效性.md │ ├── 50. 必要时进行防御性拷贝.md │ ├── 51. 仔细设计方法签名.md │ ├── 52. 明智审慎地使用重载.md │ ├── 53. 明智审慎地使用可变参数.md │ ├── 54. 返回空的数组或集合,不要返回 null.md │ ├── 55. 明智审慎地返回 Optional.md │ ├── 56. 为所有已公开的 API 元素编写文档注释.md │ ├── 57. 最小化局部变量的作用域.md │ ├── 58. for-each 循环优于传统 for 循环.md │ ├── 59. 了解并使用库.md │ ├── 60. 若需要精确答案就应避免使用 float 和 double 类型.md │ ├── 61. 基本数据类型优于包装类.md │ ├── 62. 当使用其他类型更合适时应避免使用字符串.md │ ├── 63. 当心字符串连接引起的性能问题.md │ ├── 64. 通过接口引用对象.md │ ├── 65. 接口优于反射.md │ ├── 66. 明智审慎地本地方法.md │ ├── 67. 明智审慎地进行优化.md │ ├── 68. 遵守被广泛认可的命名约定.md │ ├── 69. 只针对异常的情况下才使用异常.md │ ├── 70. 对可恢复的情况使用受检异常,对编程错误使用运行时异常.md │ ├── 71. 避免不必要的使用受检异常.md │ ├── 72. 优先使用标准的异常.md │ ├── 73. 抛出与抽象对应的异常.md │ ├── 74. 每个方法抛出的异常都需要创建文档.md │ ├── 75. 在细节消息中包含失败一捕获信息.md │ ├── 76. 保持失败原子性.md │ ├── 77. 不要忽略异常.md │ ├── 78. 同步访问共享的可变数据.md │ ├── 79. 避免过度同步.md │ ├── 80. executor 、task 和 stream 优先于线程.md │ ├── 81. 并发工具优于 wait 和 notify.md │ ├── 82. 文档应包含线程安全属性.md │ ├── 83. 明智审慎的使用延迟初始化.md │ ├── 84. 不要依赖线程调度器.md │ ├── 85. 优先选择 Java 序列化的替代方案.md │ ├── 86. 非常谨慎地实现 Serializable.md │ ├── 87. 考虑使用自定义的序列化形式.md │ ├── 88. 保护性的编写 readObject 方法.md │ ├── 89. 对于实例控制,枚举类型优于 readResolve.md │ └── 90. 考虑用序列化代理代替序列化实例.md └── images ├── groupcode.png └── shop.jpg /.github/ISSUE_TEMPLATE/contribute-md.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: 贡献力量 3 | about: Describe this issue template's purpose here. 4 | title: "【翻译/错别字校对】条目xxx" 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | ### 类型 11 | 12 | 1. 错别字 13 | 2. 翻译校对 14 | 15 | ### 校正条目 16 | 17 | - 第 xxx 条 18 | 19 | ### 校正内容 20 | 21 | - 英语原文(翻译校对时使用): 22 | - 翻译原文: 23 | - 校对之后的内容: 24 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | docs/pdf -------------------------------------------------------------------------------- /docs/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/.nojekyll -------------------------------------------------------------------------------- /docs/_media/LogoMakr_1J56bI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_media/LogoMakr_1J56bI.png -------------------------------------------------------------------------------- /docs/_media/logomakr-3sxxzw-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_media/logomakr-3sxxzw-128x128.png -------------------------------------------------------------------------------- /docs/_media/公众号.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_media/公众号.jpg -------------------------------------------------------------------------------- /docs/_style/prism-master/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | insert_final_newline = false 5 | charset = utf-8 6 | indent_style = tab 7 | indent_size = 4 8 | 9 | [tests/languages/**.test] 10 | end_of_line = crlf 11 | 12 | [{package.json,.travis.yml}] 13 | indent_style = space 14 | indent_size = 2 -------------------------------------------------------------------------------- /docs/_style/prism-master/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | # Test files should not have their line endings modified by git 4 | /tests/languages/**/*.test binary -------------------------------------------------------------------------------- /docs/_style/prism-master/.gitignore: -------------------------------------------------------------------------------- 1 | hide-*.js 2 | node_modules 3 | .idea/ 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /docs/_style/prism-master/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | 4 | hide-*.js 5 | 6 | CNAME 7 | examples/ 8 | img/ 9 | templates/ 10 | tests/ 11 | vendor/ 12 | *.tgz 13 | *.html 14 | style.css 15 | favicon.png 16 | logo.svg 17 | bower.json 18 | composer.json 19 | download.js 20 | examples.js 21 | gulpfile.js 22 | prefixfree.min.js 23 | utopia.js 24 | code.js 25 | .editorconfig 26 | .gitattributes 27 | .travis.yml -------------------------------------------------------------------------------- /docs/_style/prism-master/CNAME: -------------------------------------------------------------------------------- 1 | prismjs.com -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-arff.js: -------------------------------------------------------------------------------- 1 | Prism.languages.arff = { 2 | 'comment': /%.*/, 3 | 'string': { 4 | pattern: /(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/, 5 | greedy: true 6 | }, 7 | 'keyword': /@(?:attribute|data|end|relation)\b/i, 8 | 'number': /\b\d+(?:\.\d+)?\b/, 9 | 'punctuation': /[{},]/ 10 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-arff.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-brainfuck.js: -------------------------------------------------------------------------------- 1 | Prism.languages.brainfuck = { 2 | 'pointer': { 3 | pattern: /<|>/, 4 | alias: 'keyword' 5 | }, 6 | 'increment': { 7 | pattern: /\+/, 8 | alias: 'inserted' 9 | }, 10 | 'decrement': { 11 | pattern: /-/, 12 | alias: 'deleted' 13 | }, 14 | 'branching': { 15 | pattern: /\[|\]/, 16 | alias: 'important' 17 | }, 18 | 'operator': /[.,]/, 19 | 'comment': /\S+/ 20 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-brainfuck.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-diff.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d+.*$/m],deleted:/^[-<].*$/m,inserted:/^[+>].*$/m,diff:{pattern:/^!(?!!).+$/m,alias:"important"}}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-docker.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-erb.min.js: -------------------------------------------------------------------------------- 1 | !function(e){e.languages.erb=e.languages.extend("ruby",{}),e.languages.insertBefore("erb","comment",{delimiter:{pattern:/^<%=?|%>$/,alias:"punctuation"}}),e.hooks.add("before-tokenize",function(a){var n=/<%=?[\s\S]+?%>/g;e.languages["markup-templating"].buildPlaceholders(a,"erb",n)}),e.hooks.add("after-tokenize",function(a){e.languages["markup-templating"].tokenizePlaceholders(a,"erb")})}(Prism); -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-gcode.js: -------------------------------------------------------------------------------- 1 | Prism.languages.gcode = { 2 | 'comment': /;.*|\B\(.*?\)\B/, 3 | 'string': { 4 | pattern: /"(?:""|[^"])*"/, 5 | greedy: true 6 | }, 7 | 'keyword': /\b[GM]\d+(?:\.\d+)?\b/, 8 | 'property': /\b[A-Z]/, 9 | 'checksum': { 10 | pattern: /\*\d+/, 11 | alias: 'punctuation' 12 | }, 13 | // T0:0:0 14 | 'punctuation': /:/ 15 | }; 16 | -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-gcode.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/\*\d+/,alias:"punctuation"},punctuation:/:/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-git.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-hpkp.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.hpkp={directive:{pattern:/\b(?:(?:includeSubDomains|preload|strict)(?: |;)|pin-sha256="[a-zA-Z\d+=\/]+"|(?:max-age|report-uri)=|report-to )/,alias:"keyword"},safe:{pattern:/\d{7,}/,alias:"selector"},unsafe:{pattern:/\d{0,6}/,alias:"function"}}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-hsts.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Original by Scott Helme. 3 | * 4 | * Reference: https://scotthelme.co.uk/hsts-cheat-sheet/ 5 | */ 6 | 7 | Prism.languages.hsts = { 8 | 'directive': { 9 | pattern: /\b(?:max-age=|includeSubDomains|preload)/, 10 | alias: 'keyword' 11 | }, 12 | 'safe': { 13 | pattern: /\d{8,}/, 14 | alias: 'selector' 15 | }, 16 | 'unsafe': { 17 | pattern: /\d{0,7}/, 18 | alias: 'function' 19 | } 20 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-hsts.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.hsts={directive:{pattern:/\b(?:max-age=|includeSubDomains|preload)/,alias:"keyword"},safe:{pattern:/\d{8,}/,alias:"selector"},unsafe:{pattern:/\d{0,7}/,alias:"function"}}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-ini.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ini= { 2 | 'comment': /^[ \t]*;.*$/m, 3 | 'selector': /^[ \t]*\[.*?\]/m, 4 | 'constant': /^[ \t]*[^\s=]+?(?=[ \t]*=)/m, 5 | 'attr-value': { 6 | pattern: /=.*/, 7 | inside: { 8 | 'punctuation': /^[=]/ 9 | } 10 | } 11 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-ini.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ini={comment:/^[ \t]*;.*$/m,selector:/^[ \t]*\[.*?\]/m,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-json.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.json={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},number:/-?\d+\.?\d*(e[+-]?\d+)?/i,punctuation:/[{}[\],]/,operator:/:/,"boolean":/\b(?:true|false)\b/,"null":/\bnull\b/},Prism.languages.jsonp=Prism.languages.json; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-matlab.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+\.?\d*|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,"function":/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-php-extras.js: -------------------------------------------------------------------------------- 1 | Prism.languages.insertBefore('php', 'variable', { 2 | 'this': /\$this\b/, 3 | 'global': /\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/, 4 | 'scope': { 5 | pattern: /\b[\w\\]+::/, 6 | inside: { 7 | keyword: /static|self|parent/, 8 | punctuation: /::|\\/ 9 | } 10 | } 11 | }); -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-php-extras.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.insertBefore("php","variable",{"this":/\$this\b/,global:/\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/static|self|parent/,punctuation:/::|\\/}}}); -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-prolog.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.prolog={comment:[/%.+/,/\/\*[\s\S]*?\*\//],string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,variable:/\b[A-Z_]\w*/,"function":/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+\.?\d*/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-properties.js: -------------------------------------------------------------------------------- 1 | Prism.languages.properties = { 2 | 'comment': /^[ \t]*[#!].*$/m, 3 | 'attr-value': { 4 | pattern: /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m, 5 | lookbehind: true 6 | }, 7 | 'attr-name': /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m, 8 | 'punctuation': /[=:]/ 9 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-properties.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m,punctuation:/[=:]/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-protobuf.js: -------------------------------------------------------------------------------- 1 | Prism.languages.protobuf = Prism.languages.extend('clike', { 2 | keyword: /\b(?:package|import|message|enum)\b/, 3 | builtin: /\b(?:required|repeated|optional|reserved)\b/, 4 | primitive: { 5 | pattern: /\b(?:double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\b/, 6 | alias: 'symbol' 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-protobuf.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.protobuf=Prism.languages.extend("clike",{keyword:/\b(?:package|import|message|enum)\b/,builtin:/\b(?:required|repeated|optional|reserved)\b/,primitive:{pattern:/\b(?:double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\b/,alias:"symbol"}}); -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-roboconf.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{)|(?:external|import)\b)/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*)[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-tap.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[^\S\r\n]*)---(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?[^\S\r\n]*\.\.\.$/m,lookbehind:!0,inside:Prism.languages.yaml,alias:"language-yaml"}}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-tsx.js: -------------------------------------------------------------------------------- 1 | var typescript = Prism.util.clone(Prism.languages.typescript); 2 | Prism.languages.tsx = Prism.languages.extend('jsx', typescript); -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-tsx.min.js: -------------------------------------------------------------------------------- 1 | var typescript=Prism.util.clone(Prism.languages.typescript);Prism.languages.tsx=Prism.languages.extend("jsx",typescript); -------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-batch.html: -------------------------------------------------------------------------------- 1 |

Comments

2 |
::
 3 | :: Foo bar
 4 | REM This is a comment too
 5 | REM Multi-line ^
 6 | comment
7 | 8 |

Labels

9 |
:foobar
10 | GOTO :EOF
11 | 12 |

Commands

13 |
@ECHO OFF
14 | FOR /l %%a in (5,-1,1) do (TITLE %title% -- closing in %%as)
15 | SET title=%~n0
16 | if /i "%InstSize:~0,1%"=="M" set maxcnt=3
17 | ping -n 2 -w 1 127.0.0.1
-------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-crystal.html: -------------------------------------------------------------------------------- 1 |

Number literals with underscores and postfix

2 |
1_u32
 3 | 123_456.789e-10_f64
4 | 5 |

Attributes

6 |
@[AlwaysInline]
 7 | def foo
 8 | 	1
 9 | end
10 | 11 |

Macro expansions

12 |
{% for key, value in {foo: 100, bar: 20} %}
13 | 	def {{ key.id }}
14 | 		{{ value }}
15 | 	end
16 | {% end %}
-------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-hpkp.html: -------------------------------------------------------------------------------- 1 |

Pin for one year with report-uri

2 |
pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=";
 3 | max-age=31536000;
 4 | includeSubDomains;
 5 | report-uri="https://my-reports.com/submit"
 6 | 
7 | 8 |

Pin for a short time (considered unsafe)

9 |
pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=";
10 | max-age=123
11 | 
12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-hsts.html: -------------------------------------------------------------------------------- 1 |

Policy with far-future max-age

2 |
max-age=31536000
3 | 4 |

Policy with near-future max-age, considered unsafe

5 |
max-age=123
6 | 7 |

Policy with extra directives

8 |
max-age=31536000; includeSubdomains; preload
9 | -------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-ini.html: -------------------------------------------------------------------------------- 1 |

Comments

2 |
; This is a comment
3 | 4 |

Section title

5 |
[owner]
 6 | [database]
7 | 8 |

Properties

9 |
name=prism
10 | file="somefile.txt"
-------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-latex.html: -------------------------------------------------------------------------------- 1 |

Comments

2 |
% This is a comment
3 | 4 |

Commands

5 |
\begin{document}
 6 | \documentstyle[twoside,epsfig]{article}
 7 | \usepackage{epsfig,multicol}
8 | 9 |

Math mode

10 |
$\alpha$
11 | H$_{2}$O
12 | 45$^{\circ}$C
-------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-parigp.html: -------------------------------------------------------------------------------- 1 |

Comments

2 |
\\ Single line comment
 3 | /* Multi line
 4 | comment */
5 | 6 |

Strings

7 |
""
 8 | "Foo \"bar\" baz"
9 | 10 |

Numbers

11 |
0.
12 | 42
13 | 3 . 14 15 9
14 | 5.2 E +12
15 | .89
16 | 17 |

Ignored whitespaces

18 |
p r i n t ("hello")
19 | if err(1/i, E, print (E))
20 | a + = b \ / c
-------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-properties.html: -------------------------------------------------------------------------------- 1 |

Comments

2 |
# This is a comment
3 | ! This is a comment too
4 | 5 |

Properties

6 |
some_key some_value
7 | some\ key\ with\ spaces : some value
8 | some_key = some \
9 | multiline value
-------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-rip.html: -------------------------------------------------------------------------------- 1 |

Comments

2 |
# This is a comment
3 | 4 |

Strings

5 |
"foo \"bar\" baz"
 6 | 'foo \'bar\' baz'
7 | 8 |

Regex

9 |
regular_expression = /abc/
10 | 11 |

Symbols

12 |
string_symbol = :rip 
-------------------------------------------------------------------------------- /docs/_style/prism-master/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/favicon.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-ala.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/logo-ala.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-css-tricks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/logo-css-tricks.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-drupal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/logo-drupal.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-mdn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/logo-mdn.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/logo-react.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-sitepoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/logo-sitepoint.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-smashing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/logo-smashing.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-stripe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/logo-stripe.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/spectrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/_style/prism-master/img/spectrum.png -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/autolinker/prism-autolinker.css: -------------------------------------------------------------------------------- 1 | .token a { 2 | color: inherit; 3 | } -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/custom-class/prism-custom-class.min.js: -------------------------------------------------------------------------------- 1 | !function(){if("undefined"!=typeof self&&self.Prism||"undefined"!=typeof global&&global.Prism){var s={classMap:{}};Prism.plugins.customClass={map:function(i){s.classMap=i},prefix:function(i){s.prefixString=i}},Prism.hooks.add("wrap",function(i){(s.classMap||s.prefixString)&&(i.classes=i.classes.map(function(i){return(s.prefixString||"")+(s.classMap[i]||i)}))})}}(); -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/highlight-keywords/prism-highlight-keywords.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | 3 | if ( 4 | typeof self !== 'undefined' && !self.Prism || 5 | typeof global !== 'undefined' && !global.Prism 6 | ) { 7 | return; 8 | } 9 | 10 | Prism.hooks.add('wrap', function(env) { 11 | if (env.type !== "keyword") { 12 | return; 13 | } 14 | env.classes.push('keyword-' + env.content); 15 | }); 16 | 17 | })(); 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/highlight-keywords/prism-highlight-keywords.min.js: -------------------------------------------------------------------------------- 1 | !function(){"undefined"!=typeof self&&!self.Prism||"undefined"!=typeof global&&!global.Prism||Prism.hooks.add("wrap",function(e){"keyword"===e.type&&e.classes.push("keyword-"+e.content)})}(); -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/remove-initial-line-feed/prism-remove-initial-line-feed.min.js: -------------------------------------------------------------------------------- 1 | !function(){"undefined"!=typeof self&&self.Prism&&self.document&&Prism.hooks.add("before-sanity-check",function(e){if(e.code){var s=e.element.parentNode,n=/\s*\bkeep-initial-line-feed\b\s*/;!s||"pre"!==s.nodeName.toLowerCase()||n.test(s.className)||n.test(e.element.className)||(e.code=e.code.replace(/^(?:\r?\n|\r)/,""))}})}(); -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/show-invisibles/prism-show-invisibles.min.js: -------------------------------------------------------------------------------- 1 | !function(){"undefined"!=typeof self&&!self.Prism||"undefined"!=typeof global&&!global.Prism||Prism.hooks.add("before-highlight",function(e){var f=e.grammar;f&&(f.tab=/\t/g,f.crlf=/\r\n/g,f.lf=/\n/g,f.cr=/\r/g,f.space=/ /g)})}(); -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/unescaped-markup/prism-unescaped-markup.css: -------------------------------------------------------------------------------- 1 | /* Fallback, in case JS does not run, to ensure the code is at least visible */ 2 | [class*='lang-'] script[type='text/plain'], 3 | [class*='language-'] script[type='text/plain'], 4 | script[type='text/plain'][class*='lang-'], 5 | script[type='text/plain'][class*='language-'] { 6 | display: block; 7 | font: 100% Consolas, Monaco, monospace; 8 | white-space: pre; 9 | overflow: auto; 10 | } 11 | -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/wpd/prism-wpd.css: -------------------------------------------------------------------------------- 1 | code[class*="language-"] a[href], 2 | pre[class*="language-"] a[href] { 3 | cursor: help; 4 | text-decoration: none; 5 | } 6 | 7 | code[class*="language-"] a[href]:hover, 8 | pre[class*="language-"] a[href]:hover { 9 | cursor: help; 10 | text-decoration: underline; 11 | } -------------------------------------------------------------------------------- /docs/_style/prism-master/templates/header-download.html: -------------------------------------------------------------------------------- 1 | Download Prism 2 | Customize your download to include only the languages and plugins you need and the compression level you prefer. -------------------------------------------------------------------------------- /docs/_style/prism-master/templates/header-plugins.html: -------------------------------------------------------------------------------- 1 |

Prism plugins

2 | 3 | Download 4 | 5 |

6 | Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. 7 | It’s used in thousands of websites, including some of those you visit daily. 8 |

9 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/abap/comment_feature.test: -------------------------------------------------------------------------------- 1 | * 2 | * Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "*"], 8 | ["comment", "* Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/abap/eol-comment_feature.test: -------------------------------------------------------------------------------- 1 | " 2 | " foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["eol-comment", "\""], 8 | ["eol-comment", "\" foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for EOL comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/abap/number_feature.test: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 123456789 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0"], 9 | ["number", "42"], 10 | ["number", "123456789"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/abap/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'foo' 3 | 'foo\'bar' 4 | `` 5 | `foo` 6 | `foo\`bar` 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "''"], 12 | ["string", "'foo'"], 13 | ["string", "'foo\\'bar'"], 14 | ["string", "``"], 15 | ["string", "`foo`"], 16 | ["string", "`foo\\`bar`"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ada/attr-name_feature.test: -------------------------------------------------------------------------------- 1 | Integer'Size 2 | Character'Val 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "Integer"], ["attr-name", "'Size"], 8 | ["variable", "Character"], ["attr-name", "'Val"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for attributes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ada/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ada/char_feature.test: -------------------------------------------------------------------------------- 1 | 'f' 2 | 'A' 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["char", "'f'"], 8 | ["char", "'A'"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for chars. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ada/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- 2 | -- Foo bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "--"], 8 | ["comment", "-- Foo bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ada/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Foo""bar""" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"Foo\"\"bar\"\"\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ada/variable_feature.test: -------------------------------------------------------------------------------- 1 | Byte 2 | foo_bar42 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "Byte"], 8 | ["variable", "foo_bar42"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apacheconf/directive-flags_feature.test: -------------------------------------------------------------------------------- 1 | [OR] 2 | [L,QSA] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive-flags", "[OR]"], 8 | ["directive-flags", "[L,QSA]"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for directive flags. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apacheconf/regex_feature.test: -------------------------------------------------------------------------------- 1 | ^(.*)$ 2 | ^foo 3 | bar$ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["regex", "^(.*)$"], 9 | ["regex", "^foo"], 10 | ["regex", "bar$"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for regex. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apacheconf/variable_feature.test: -------------------------------------------------------------------------------- 1 | $port 2 | ${docroot} 3 | %{REMOTE_HOST} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$port"], 9 | ["variable", "${docroot}"], 10 | ["variable", "%{REMOTE_HOST}"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apl/assignment_feature.test: -------------------------------------------------------------------------------- 1 | a←1 2 3 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | "a", 7 | ["assignment", "←"], 8 | ["number", "1"], ["number", "2"], ["number", "3"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for assignment. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apl/comment_feature.test: -------------------------------------------------------------------------------- 1 | ⍝ 2 | ⍝ Foobar 3 | #!/usr/bin/env runapl 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "⍝"], 9 | ["comment", "⍝ Foobar"], 10 | ["comment", "#!/usr/bin/env runapl"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apl/constant_feature.test: -------------------------------------------------------------------------------- 1 | ⍬ 2 | ⌾ 3 | # 4 | ⎕ 5 | ⍞ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["constant", "⍬"], 11 | ["constant", "⌾"], 12 | ["constant", "#"], 13 | ["constant", "⎕"], 14 | ["constant", "⍞"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apl/statement_feature.test: -------------------------------------------------------------------------------- 1 | :Ab 2 | :FooBar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["statement", ":Ab"], 8 | ["statement", ":FooBar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for statements. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apl/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'foobar' 3 | 'fo''obar' 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "''"], 9 | ["string", "'foobar'"], 10 | ["string", "'fo''obar'"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/apl/system-function_feature.test: -------------------------------------------------------------------------------- 1 | ⎕IO 2 | ⎕WA 3 | ⎕CR 4 | ⎕TCNL 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["system-function", "⎕IO"], 10 | ["system-function", "⎕WA"], 11 | ["system-function", "⎕CR"], 12 | ["system-function", "⎕TCNL"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for system functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/applescript/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 3e10 4 | 4.2E-5 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["number", "42"], 10 | ["number", "3.14159"], 11 | ["number", "3e10"], 12 | ["number", "4.2E-5"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/applescript/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo bar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"foo bar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/arff/comment_feature.test: -------------------------------------------------------------------------------- 1 | % 2 | % Some comment 3 | % Comment " with ' quotes 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "%"], 9 | ["comment", "% Some comment"], 10 | ["comment", "% Comment \" with ' quotes"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/arff/keyword_feature.test: -------------------------------------------------------------------------------- 1 | @attribute 2 | @data 3 | @end 4 | @relation 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["keyword", "@attribute"], 10 | ["keyword", "@data"], 11 | ["keyword", "@end"], 12 | ["keyword", "@relation"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for all keywords. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/arff/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 0.14 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["number", "42"], 8 | ["number", "0.14"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/arff/string_feature.test: -------------------------------------------------------------------------------- 1 | "double quoted\"' % string" 2 | 'single quoted"\' % string' 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"double quoted\\\"' % string\""], 8 | ["string", "'single quoted\"\\' % string'"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asciidoc/comment-block_feature.test: -------------------------------------------------------------------------------- 1 | //// 2 | //// 3 | 4 | //// 5 | Foobar 6 | 7 | Baz 8 | //// 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["comment-block", "////\r\n////"], 14 | ["comment-block", "////\r\nFoobar\r\n\r\nBaz\r\n////"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for comment blocks. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asciidoc/entity_feature.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | '➊': '&#x278a;', 3 | '¶': '&#182;' 4 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asciidoc/hr_feature.test: -------------------------------------------------------------------------------- 1 | ''' 2 | 3 | '''''''''' 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["hr", "'''"], 9 | ["hr", "''''''''''"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for hr. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asciidoc/line-continuation_feature.test: -------------------------------------------------------------------------------- 1 | Foo + 2 | bar 3 | 4 | * Foo 5 | + 6 | bar 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | "Foo ", ["line-continuation", "+"], "\r\nbar\r\n\r\n", 12 | ["list-punctuation", "*"], " Foo\r\n", 13 | ["line-continuation", "+"], "\r\nbar" 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for line continuations. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asciidoc/page-break_feature.test: -------------------------------------------------------------------------------- 1 | <<< 2 | 3 | <<<<<<<<<<<<< 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["page-break", "<<<"], 9 | ["page-break", "<<<<<<<<<<<<<"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for page breaks. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/comment_feature.test: -------------------------------------------------------------------------------- 1 | ; 2 | ; foo bar baz 3 | 4 | ------------------------- 5 | 6 | [ 7 | ["comment", ";"], 8 | ["comment", "; foo bar baz"] 9 | ] 10 | 11 | ------------------------- 12 | 13 | Check for comments 14 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/directive_feature.test: -------------------------------------------------------------------------------- 1 | .segment CODE 2 | 3 | ------------------------- 4 | 5 | [ 6 | ["directive", ".segment"], 7 | " CODE" 8 | ] 9 | 10 | ------------------------- 11 | 12 | Check for directives 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/number_feature.test: -------------------------------------------------------------------------------- 1 | LDA #127 2 | STA $8000 3 | LDX #%10001010 4 | 5 | ------------------------- 6 | 7 | [ 8 | ["opcode", "LDA"], 9 | ["decimalnumber", "#127"], 10 | ["opcode", "STA"], 11 | ["hexnumber", "$8000"], 12 | ["opcode", "LDX"], 13 | ["binarynumber", "#%10001010"] 14 | ] 15 | 16 | ------------------------- 17 | 18 | Check for numbers 19 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/opcode_feature.test: -------------------------------------------------------------------------------- 1 | LDA 2 | BNE 3 | inx 4 | clc 5 | 6 | ------------------------------------- 7 | 8 | [ 9 | ["opcode", "LDA"], 10 | ["opcode", "BNE"], 11 | ["opcode", "inx"], 12 | ["opcode", "clc"] 13 | ] 14 | 15 | ------------------------------------- 16 | 17 | Check for opcodes 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/register_feature.test: -------------------------------------------------------------------------------- 1 | LDA $8000,x 2 | ASL A 3 | 4 | ------------------------- 5 | 6 | [ 7 | ["opcode", "LDA"], 8 | ["hexnumber", "$8000"], 9 | ",", 10 | ["register", "x"], 11 | ["opcode", "ASL"], 12 | ["register", "A"] 13 | ] 14 | 15 | ------------------------- 16 | 17 | Check for registers 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/string_feature.test: -------------------------------------------------------------------------------- 1 | .include "header.asm" 2 | 3 | ------------------------- 4 | 5 | [ 6 | ["directive", ".include"], 7 | ["string", "\"header.asm\""] 8 | ] 9 | 10 | ------------------------- 11 | 12 | Check for strings 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/aspnet/comment_feature.test: -------------------------------------------------------------------------------- 1 | <%----%> 2 | <%--foo--%> 3 | <%-- foo 4 | bar --%> 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["asp comment", "<%----%>"], 10 | ["asp comment", "<%--foo--%>"], 11 | ["asp comment", "<%-- foo\r\nbar --%>"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autohotkey/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autohotkey/comment_feature.test: -------------------------------------------------------------------------------- 1 | ;foo 2 | ; bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";foo"], 8 | ["comment", "; bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autohotkey/function_feature.test: -------------------------------------------------------------------------------- 1 | foo( 2 | foo_bar( 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foo"], 8 | ["punctuation", "("], 9 | ["function", "foo_bar"], 10 | ["punctuation", "("] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autohotkey/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 3.2e10 4 | 2.9E-7 5 | 0xbabe 6 | 0xBABE 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "3.2e10"], 14 | ["number", "2.9E-7"], 15 | ["number", "0xbabe"], 16 | ["number", "0xBABE"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autohotkey/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo" 3 | "foo""bar" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "\"\""], 9 | ["string", "\"foo\""], 10 | ["string", "\"foo\"\"bar\""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autohotkey/tag_feature.test: -------------------------------------------------------------------------------- 1 | foo: 2 | foo_bar: 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["tag", "foo"], 8 | ["punctuation", ":"], 9 | ["tag", "foo_bar"], 10 | ["punctuation", ":"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for tags (labels). -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autohotkey/variable_feature.test: -------------------------------------------------------------------------------- 1 | %foo% 2 | %foo_bar% 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "%foo%"], 8 | ["variable", "%foo_bar%"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autoit/boolean_feature.test: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "True"], 8 | ["boolean", "False"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autoit/directive_feature.test: -------------------------------------------------------------------------------- 1 | #NoTrayIcon 2 | #OnAutoItStartRegister "Example" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive", "#NoTrayIcon"], 8 | ["directive", "#OnAutoItStartRegister"], ["string", ["\"Example\""]] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for directives. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autoit/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 4e8 4 | 3.5E-9 5 | 0.7e+12 6 | 0xBadFace 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "4e8"], 14 | ["number", "3.5E-9"], 15 | ["number", "0.7e+12"], 16 | ["number", "0xBadFace"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/autoit/url_feature.test: -------------------------------------------------------------------------------- 1 | #include 2 | #include "foo.au3" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive", "#include"], 8 | ["url", ""], 9 | ["directive", "#include"], 10 | ["url", "\"foo.au3\""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for files in includes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/bash/comment_feature.test: -------------------------------------------------------------------------------- 1 | #foo 2 | # bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#foo"], 8 | ["comment", "# bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/bash/shebang_feature.test: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["shebang", "#!/bin/bash"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for shebang. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/bash/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo 2 | $@ 3 | ${foo bar} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$foo"], 9 | ["variable", "$@"], 10 | ["variable", "${foo bar}"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/basic/comment_feature.test: -------------------------------------------------------------------------------- 1 | ! Foobar 2 | REM Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ["! Foobar"]], 8 | ["comment", [["keyword", "REM"], " Foobar"]] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/basic/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 2e8 4 | 3.4E-9 5 | 0.7E+12 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["number", "42"], 11 | ["number", "3.14159"], 12 | ["number", "2e8"], 13 | ["number", "3.4E-9"], 14 | ["number", "0.7E+12"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/basic/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo""obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"fo\"\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/batch/comment_feature.test: -------------------------------------------------------------------------------- 1 | :: 2 | :: Foobar 3 | REM Foobar 4 | rem foo^ 5 | bar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "::"], 11 | ["comment", ":: Foobar"], 12 | ["comment", "REM Foobar"], 13 | ["comment", "rem foo^\r\nbar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/batch/label_feature.test: -------------------------------------------------------------------------------- 1 | :foo 2 | :Foo_Bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["label", ":foo"], 8 | ["label", ":Foo_Bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for labels. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/bison/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 0 3 | 0xBadFace 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "42"], 9 | ["number", "0"], 10 | ["number", "0xBadFace"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/bro/comment_feature.test: -------------------------------------------------------------------------------- 1 | ## comment 2 | #TODO 3 | ## FIXME 4 | # XXX 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", [ "## comment"]], 10 | ["comment", [ "#", ["italic", "TODO"]]], 11 | ["comment", [ "## ", ["italic", "FIXME"]]], 12 | ["comment", [ "# ", ["italic", "XXX"]]] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for the highlighting of comments -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/cil/asm_reference.test: -------------------------------------------------------------------------------- 1 | [mscorlib] 2 | 3 | -------------------------------------------------------- 4 | 5 | [ 6 | [ "variable", "[mscorlib]" ] 7 | ] 8 | 9 | -------------------------------------------------------- 10 | 11 | Tests assembly references 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/cil/boolean.test: -------------------------------------------------------------------------------- 1 | 2 | true 3 | false 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["boolean", "true"], 9 | ["boolean", "false"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Tests booleans. 15 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/cil/comment.test: -------------------------------------------------------------------------------- 1 | // this is a test 2 | 3 | -------------------------------------------------------- 4 | 5 | [ 6 | [ "comment", "// this is a test" ] 7 | ] 8 | 9 | -------------------------------------------------------- 10 | 11 | Tests comments 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/cil/strings.test: -------------------------------------------------------------------------------- 1 | "testing! £$%^&*" 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["string", "\"testing! £$%^&*\""] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Tests strings. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/clike/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true; false; 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["boolean", "true"], ["punctuation", ";"], 7 | ["boolean", "false"], ["punctuation", ";"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/clike/comment_feature.test: -------------------------------------------------------------------------------- 1 | // foobar 2 | /**/ 3 | /* foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "// foobar"], 10 | ["comment", "/**/"], 11 | ["comment", "/* foo\r\nbar */"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/clike/issue1340.test: -------------------------------------------------------------------------------- 1 | /* 2 | // 3 | */ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "/*\r\n//\r\n*/"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Non-regression test for inline comments inside multiline comments. See #1340 -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/clojure/boolean_feature.test: -------------------------------------------------------------------------------- 1 | false 2 | true 3 | nil 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["boolean", "false"], 9 | ["boolean", "true"], 10 | ["boolean", "nil"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/clojure/comment_feature.test: -------------------------------------------------------------------------------- 1 | ;; this is comment 2 | ; this is another comment 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";; this is comment"], 8 | ["comment", "; this is another comment"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/clojure/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Fo\"obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"Fo\\\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/coffeescript+pug/coffeescript_inclusion.test: -------------------------------------------------------------------------------- 1 | :coffee 2 | "#{foo}" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-coffee", [ 8 | ["filter-name", ":coffee"], 9 | ["string", [ 10 | "\"", 11 | ["interpolation", "#{foo}"], 12 | "\"" 13 | ]] 14 | ]] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for coffee filter (CoffeeScript) in Jade. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/coffeescript/class-member_feature.test: -------------------------------------------------------------------------------- 1 | @name 2 | @foo_bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["class-member", "@name"], 8 | ["class-member", "@foo_bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for class members. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/coffeescript/comment_feature.test: -------------------------------------------------------------------------------- 1 | #foo 2 | # foo bar 3 | ### foo bar 4 | baz ### 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "#foo"], 10 | ["comment", "# foo bar"], 11 | ["multiline-comment", "### foo bar\r\nbaz ###"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/coffeescript/property_feature.test: -------------------------------------------------------------------------------- 1 | foo: 2 | foo_bar : 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["property", "foo"], 8 | ["punctuation", ":"], 9 | ["property", "foo_bar"], 10 | ["punctuation", ":"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for object properties. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/cpp+pure/cpp_inclusion.test: -------------------------------------------------------------------------------- 1 | %< -*- C++ -*- 2 | alignas 3 | %> 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["inline-lang-cpp", [ 9 | ["delimiter", "%< "], 10 | ["lang", "-*- C++ -*-"], 11 | ["keyword", "alignas"], 12 | ["delimiter", "%>"] 13 | ]] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for C++ in Pure. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/cpp/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/cpp/class-name_feature.test: -------------------------------------------------------------------------------- 1 | class Foo 2 | class Foo_bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["keyword", "class"], ["class-name", "Foo"], 8 | ["keyword", "class"], ["class-name", "Foo_bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for class names. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/csharp/issue1091.test: -------------------------------------------------------------------------------- 1 | @"file:///" 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["string", "@\"file:///\""] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks that three slashes inside a string do not break highlighting. 12 | See #1091. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/csharp/issue806.test: -------------------------------------------------------------------------------- 1 | 0.3f 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["number", "0.3f"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks that "f" prefix is properly highlighted as part of the number. 12 | See #806. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/csharp/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 0xbabe 4 | 0XBABE 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["number", "42"], 10 | ["number", "3.14159"], 11 | ["number", "0xbabe"], 12 | ["number", "0XBABE"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for decimal and hexadecimal numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/csp/directive_no_value_feature.test: -------------------------------------------------------------------------------- 1 | upgrade-insecure-requests; 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "upgrade-insecure-requests;"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for a "void" CSP directive followed by semicolon. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/csp/directive_with_source_expression_feature.test: -------------------------------------------------------------------------------- 1 | script-src example.com; 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "script-src "], 7 | "example.com;" 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for CSP directive followed by a source expression. 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/css!+css-extras/entity_feature.test: -------------------------------------------------------------------------------- 1 | \0022 2 | \20B9 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["entity", "\\0022"], 8 | ["entity", "\\20B9"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for entities. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/css!+css-extras/hexcode_feature.test: -------------------------------------------------------------------------------- 1 | #ff0000 2 | #BADA55 3 | #4dd 4 | #D0C 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["hexcode", "#ff0000"], 10 | ["hexcode", "#BADA55"], 11 | ["hexcode", "#4dd"], 12 | ["hexcode", "#D0C"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for hexadecimal colors. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/css!+css-extras/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | -42 4 | -3.14 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["number", "42"], 10 | ["number", "3.14159"], 11 | ["number", "-42"], 12 | ["number", "-3.14"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for numbers. 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/css/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo */ 3 | /* foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "/**/"], 10 | ["comment", "/* foo */"], 11 | ["comment", "/* foo\r\nbar */"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for empty comment, single-line comment and multi-line comment. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/d/token-string_feature.test: -------------------------------------------------------------------------------- 1 | q{foo} 2 | q{ q{bar} } 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["token-string", "q{foo}"], 8 | ["token-string", "q{ q{bar} }"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for token strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/diff/coord_feature.test: -------------------------------------------------------------------------------- 1 | 7c7 2 | 3 | *** 4,8 **** 4 | --- 4,8 ---- 5 | 6 | @@ -4,5 +4,5 @@ 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["coord", "7c7"], 12 | 13 | ["coord", "*** 4,8 ****"], 14 | ["coord", "--- 4,8 ----"], 15 | 16 | ["coord", "@@ -4,5 +4,5 @@"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for coords. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/django/comment_feature.test: -------------------------------------------------------------------------------- 1 | {##} 2 | {# This a Django template example #} 3 | {# Multi-line 4 | comment #} 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "{##}"], 10 | ["comment", "{# This a Django template example #}"], 11 | ["comment", "{# Multi-line\r\ncomment #}"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/docker/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/eiffel/boolean_feature.test: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "True"], 8 | ["boolean", "False"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/eiffel/char_feature.test: -------------------------------------------------------------------------------- 1 | 'a' 2 | '%'' 3 | '%/123/' 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["char", "'a'"], 9 | ["char", "'%''"], 10 | ["char", "'%/123/'"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for chars. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/eiffel/class-name_feature.test: -------------------------------------------------------------------------------- 1 | A 2 | FOO 3 | B4D_F4C3 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["class-name", "A"], 9 | ["class-name", "FOO"], 10 | ["class-name", "B4D_F4C3"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for class names. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/eiffel/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- 2 | -- foo bar 3 | -- "foo" bar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "--"], 9 | ["comment", "-- foo bar"], 10 | ["comment", "-- \"foo\" bar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elixir/atom_feature.test: -------------------------------------------------------------------------------- 1 | :true 2 | :false 3 | :FooBar42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["atom", ":true"], 9 | ["atom", ":false"], 10 | ["atom", ":FooBar42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for atoms. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elixir/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | nil 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["boolean", "true"], 9 | ["boolean", "false"], 10 | ["boolean", "nil"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for booleans and nil. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elixir/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # Foobar 3 | #{ This is a comment 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "#"], 9 | ["comment", "# Foobar"], 10 | ["comment", "#{ This is a comment"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elixir/issue1392.test: -------------------------------------------------------------------------------- 1 | String.upcase(@fixed) 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | "String", 7 | ["punctuation", "."], 8 | "upcase", 9 | ["punctuation", "("], 10 | ["attribute", "@fixed"], 11 | ["punctuation", ")"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Ensure module attributes don't consume punctuation. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elixir/issue775.test: -------------------------------------------------------------------------------- 1 | @doc """ 2 | ## Parameters 3 | """ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["attribute", "@doc"], 9 | ["string", [ 10 | "\"\"\"\r\n## Parameters\r\n\"\"\"" 11 | ]] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Ensures that markdown headers are not highlighted as comments inside strings. 17 | See #775 for details. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elm/char_feature.test: -------------------------------------------------------------------------------- 1 | 'a' 2 | '\'' 3 | '\n' 4 | '\23' 5 | '\xFE' 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["char", "'a'"], 11 | ["char", "'\\''"], 12 | ["char", "'\\n'"], 13 | ["char", "'\\23'"], 14 | ["char", "'\\xFE'"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for chars. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elm/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- foo 2 | {- foo 3 | bar -} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "-- foo"], 9 | ["comment", "{- foo\r\nbar -}"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elm/constant_feature.test: -------------------------------------------------------------------------------- 1 | Foo 2 | Foo.Bar 3 | Baz.Foobar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["constant", "Foo"], 9 | ["constant", "Foo.Bar"], 10 | ["constant", "Baz.Foobar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/elm/hvariable_feature.test: -------------------------------------------------------------------------------- 1 | foo 2 | Foo.bar 3 | Baz.foobar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["hvariable", "foo"], 9 | ["hvariable", "Foo.bar"], 10 | ["hvariable", "Baz.foobar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for hvariables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/erlang/atom_feature.test: -------------------------------------------------------------------------------- 1 | foo 2 | foo@_bar 3 | 'foo bar' 4 | '\'\\' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["atom", "foo"], 10 | ["atom", "foo@_bar"], 11 | ["quoted-atom", "'foo bar'"], 12 | ["quoted-atom", "'\\'\\\\'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for atoms and quoted atoms. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/erlang/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/erlang/comment_feature.test: -------------------------------------------------------------------------------- 1 | % foo bar 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["comment", "% foo bar"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/erlang/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo bar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"foo bar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/erlang/variable_feature.test: -------------------------------------------------------------------------------- 1 | Foo 2 | ?Bar 3 | _ 4 | Foo@_bar 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["variable", "Foo"], 10 | ["variable", "?Bar"], 11 | ["variable", "_"], 12 | ["variable", "Foo@_bar"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/flow/flow-punctuation_feature.test: -------------------------------------------------------------------------------- 1 | {| foo : string |} 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["flow-punctuation", "{|"], " foo ", ["punctuation", ":"], 7 | ["type", "string"], ["flow-punctuation", "|}"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for Flow specific punctuation. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/fortran+pure/fortran_inclusion.test: -------------------------------------------------------------------------------- 1 | %< -*- Fortran90 -*- 2 | 21_SHORT 3 | %> 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["inline-lang-fortran", [ 9 | ["delimiter", "%< "], 10 | ["lang", "-*- Fortran90 -*-"], 11 | ["number", "21_SHORT"], 12 | ["delimiter", "%>"] 13 | ]] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for Fortran in Pure. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/fortran/boolean_feature.test: -------------------------------------------------------------------------------- 1 | .TRUE. 2 | .false. 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", ".TRUE."], 8 | ["boolean", ".false."] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for boolean. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/fortran/comment_feature.test: -------------------------------------------------------------------------------- 1 | ! 2 | ! foobar 3 | ! This "string" should not be highlighted 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "!"], 9 | ["comment", "! foobar"], 10 | ["comment", "! This \"string\" should not be highlighted"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/fsharp/comment_feature.test: -------------------------------------------------------------------------------- 1 | // foobar 2 | (**) 3 | (* foo 4 | bar *) 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "// foobar"], 10 | ["comment", "(**)"], 11 | ["comment", "(* foo\r\nbar *)"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/gcode/checksum_feature.test: -------------------------------------------------------------------------------- 1 | G28*22 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["keyword", "G28"], 7 | ["checksum", "*22"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for checksums. 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/gcode/keyword_feature.test: -------------------------------------------------------------------------------- 1 | G00 2 | G200 3 | G84.1 4 | 5 | M00 6 | M123 7 | M52.4 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["keyword", "G00"], 13 | ["keyword", "G200"], 14 | ["keyword", "G84.1"], 15 | 16 | ["keyword", "M00"], 17 | ["keyword", "M123"], 18 | ["keyword", "M52.4"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for G- and M-codes. 24 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/gcode/property_feature.test: -------------------------------------------------------------------------------- 1 | X123 2 | Y0.2 3 | Z-3.1415 4 | E420:420 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["property", "X"], "123\n", 10 | ["property", "Y"], "0.2\n", 11 | ["property", "Z"], "-3.1415\n", 12 | ["property", "E"], "420", ["punctuation", ":"], "420" 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for all other codes except G- and M-codes. 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/gcode/string_feature.test: -------------------------------------------------------------------------------- 1 | M587 S"MYROUTER" P"ABCxyz;"" 123" 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["keyword", "M587"], 7 | 8 | ["property", "S"], 9 | ["string", "\"MYROUTER\""], 10 | 11 | ["property", "P"], 12 | ["string", "\"ABCxyz;\"\" 123\""] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for strings. 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/gherkin/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foo bar 3 | # foobar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "#"], 9 | ["comment", "# foo bar"], 10 | ["comment", "# foobar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/gherkin/outline_feature.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["outline", ""] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for single outlines. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/gherkin/pystring_feature.test: -------------------------------------------------------------------------------- 1 | """ 2 | foo 3 | bar 4 | """ 5 | 6 | ''' 7 | foo 8 | bar 9 | ''' 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["pystring", "\"\"\"\r\nfoo\r\nbar\r\n\"\"\""], 15 | ["pystring", "'''\r\nfoo\r\nbar\r\n'''"] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for pystrings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/gherkin/tag_feature.test: -------------------------------------------------------------------------------- 1 | @important 2 | @billing @bicker @annoy 3 | @foo 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["tag", "@important"], 9 | ["tag", "@billing"], 10 | ["tag", "@bicker"], 11 | ["tag", "@annoy"], 12 | ["tag", "@foo"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for tags. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/git/coord_feature.test: -------------------------------------------------------------------------------- 1 | @@ -1 +1,2 @@ 2 | @@@ -98,20 -98,12 +98,20 @@@ 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["coord", "@@ -1 +1,2 @@"], 8 | ["coord", "@@@ -98,20 -98,12 +98,20 @@@"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for coords. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/git/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo" 3 | '' 4 | 'bar' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"foo\""], 11 | ["string", "''"], 12 | ["string", "'bar'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for double-quoted and single-quoted strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/glsl/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo 3 | bar */ 4 | // 5 | // foo 6 | // foo\ 7 | bar 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"], 14 | ["comment", "//"], 15 | ["comment", "// foo"], 16 | ["comment", "// foo\\\r\nbar"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/go/boolean_feature.test: -------------------------------------------------------------------------------- 1 | _ 2 | iota 3 | nil 4 | true 5 | false 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["boolean", "_"], 11 | ["boolean", "iota"], 12 | ["boolean", "nil"], 13 | ["boolean", "true"], 14 | ["boolean", "false"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for all boolean values. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/graphql/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/graphql/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/graphql/directive_feature.test: -------------------------------------------------------------------------------- 1 | @skip 2 | @include 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive", "@skip"], 8 | ["directive", "@include"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for directives -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/graphql/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo bar" 3 | "foo\"bar\\baz" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "\"\""], 9 | ["string", "\"foo bar\""], 10 | ["string", "\"foo\\\"bar\\\\baz\""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/graphql/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo 2 | $Foo_bar42 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "$foo"], 8 | ["variable", "$Foo_bar42"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/groovy/shebang_feature.test: -------------------------------------------------------------------------------- 1 | #!foobar 2 | #!/usr/bin/env groovy 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["shebang", "#!foobar"], 8 | ["shebang", "#!/usr/bin/env groovy"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Check for shebang comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haml/doctype_feature.test: -------------------------------------------------------------------------------- 1 | !!! 2 | !!! 5 3 | !!! Strict 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["doctype", "!!!"], 9 | ["doctype", "!!! 5"], 10 | ["doctype", "!!! Strict"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for doctypes. 16 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/handlebars+pug/handlebars_inclusion.test: -------------------------------------------------------------------------------- 1 | :handlebars 2 | {{!comment}} 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-handlebars", [ 8 | ["filter-name", ":handlebars"], 9 | ["comment", "{{!comment}}"] 10 | ]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for handlebars filter in Jade. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haskell/char_feature.test: -------------------------------------------------------------------------------- 1 | 'a' 2 | '\n' 3 | '\23' 4 | '\xFE' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["char", "'a'"], 10 | ["char", "'\\n'"], 11 | ["char", "'\\23'"], 12 | ["char", "'\\xFE'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for chars. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haskell/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- foo 2 | {- foo 3 | bar -} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "-- foo"], 9 | ["comment", "{- foo\r\nbar -}"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haskell/constant_feature.test: -------------------------------------------------------------------------------- 1 | Foo 2 | Foo.Bar 3 | Baz.Foobar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["constant", "Foo"], 9 | ["constant", "Foo.Bar"], 10 | ["constant", "Baz.Foobar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haskell/hvariable_feature.test: -------------------------------------------------------------------------------- 1 | foo 2 | Foo.bar 3 | Baz.foobar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["hvariable", "foo"], 9 | ["hvariable", "Foo.bar"], 10 | ["hvariable", "Baz.foobar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for hvariables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haxe/metadata_feature.test: -------------------------------------------------------------------------------- 1 | @author("Nicolas") 2 | @debug 3 | @:noCompletion 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["metadata", "@author"], ["punctuation", "("], ["string", ["\"Nicolas\""]], ["punctuation", ")"], 9 | ["metadata", "@debug"], 10 | ["metadata", "@:noCompletion"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for metadata. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haxe/preprocessor_feature.test: -------------------------------------------------------------------------------- 1 | #if 2 | #elseif 3 | #else 4 | #end 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["preprocessor", "#if"], 10 | ["preprocessor", "#elseif"], 11 | ["preprocessor", "#else"], 12 | ["preprocessor", "#end"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for preprocessor directives. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haxe/regex_feature.test: -------------------------------------------------------------------------------- 1 | ~/ha\/xe/i 2 | ~/[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z][A-Z][A-Z]?/i 3 | ~/(dog|fox)/igmsu 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["regex", "~/ha\\/xe/i"], 9 | ["regex", "~/[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z][A-Z][A-Z]?/i"], 10 | ["regex", "~/(dog|fox)/igmsu"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for regexes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/haxe/reification_feature.test: -------------------------------------------------------------------------------- 1 | $e 2 | ${4+2} 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["reification", "$e"], 8 | ["reification", "$"], 9 | ["punctuation", "{"], 10 | ["number", "4"], ["operator", "+"], ["number", "2"], 11 | ["punctuation", "}"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for reification. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/hpkp/safe_maxage_feature.test: -------------------------------------------------------------------------------- 1 | max-age=31536000 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "max-age="], 7 | ["safe", "31536000"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for HPKP with a "safe" max-age. 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/hpkp/sha256_pin_feature.test: -------------------------------------------------------------------------------- 1 | pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=" 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "pin-sha256=\"EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=\""] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for HPKP with a sha256 pin. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/hpkp/unsafe_maxage_feature.test: -------------------------------------------------------------------------------- 1 | max-age=123 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "max-age="], 7 | ["unsafe", "123"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for HPKP with an "unsafe" max-age. 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/hsts/include_subdomains_feature.test: -------------------------------------------------------------------------------- 1 | includeSubDomains 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "includeSubDomains"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for HSTS with the includeSubDomains directive. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/hsts/preload_feature.test: -------------------------------------------------------------------------------- 1 | preload 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "preload"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for HSTS with the preload directive. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/hsts/safe_maxage_feature.test: -------------------------------------------------------------------------------- 1 | max-age=31536000 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "max-age="], 7 | ["safe", "31536000"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for HSTS with a "safe" max-age. 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/hsts/unsafe_maxage_feature.test: -------------------------------------------------------------------------------- 1 | max-age=123 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "max-age="], 7 | ["unsafe", "123"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for HSTS with an "unsafe" max-age. 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ichigojam/comment_feature.test: -------------------------------------------------------------------------------- 1 | 'Foobar 2 | ' Foobar 3 | REMFoobar 4 | REM Foobar 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "'Foobar"], 10 | ["comment", "' Foobar"], 11 | ["comment", "REMFoobar"], 12 | ["comment", "REM Foobar"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ichigojam/label_feature.test: -------------------------------------------------------------------------------- 1 | @PAPERNEKO 2 | @SUKI 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["label", "@PAPERNEKO"], 8 | ["label", "@SUKI"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for labels. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ichigojam/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo""obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"fo\"\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/icon/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/inform7/comment_feature.test: -------------------------------------------------------------------------------- 1 | [Foobar] 2 | [Foo 3 | bar 4 | baz] 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "[Foobar]"], 10 | ["comment", "[Foo\r\nbar\r\nbaz]"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ini/comment_feature.test: -------------------------------------------------------------------------------- 1 | ; 2 | ; foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";"], 8 | ["comment", "; foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ini/selector_feature.test: -------------------------------------------------------------------------------- 1 | [owner] 2 | [foobar] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["selector", "[owner]"], 8 | ["selector", "[foobar]"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for section titles. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/io/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // Foobar 3 | #!/usr/bin/env io 4 | /* multiline 5 | comment 6 | */ 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["comment", "//"], 12 | ["comment", "// Foobar"], 13 | ["comment", "#!/usr/bin/env io"], 14 | ["comment", "/* multiline\ncomment\n*/"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for comments. 20 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/j/comment_feature.test: -------------------------------------------------------------------------------- 1 | NB. 2 | NB. Foo bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "NB."], 8 | ["comment", "NB. Foo bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/j/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'fo''obar' 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "''"], 8 | ["string", "'fo''obar'"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/javascript/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/javascript/issue1337.test: -------------------------------------------------------------------------------- 1 | // gulp.watch('./src/**/*.js', ['move']); 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["comment", "// gulp.watch('./src/**/*.js', ['move']);"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for multi-line comment inside single-line comment. See #1337 -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/jolie/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 42L 3 | 1.2e3 4 | 0.1E-4 5 | 0.2e+1 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["number", "42" ], 11 | ["number", "42L" ], 12 | ["number", "1.2e3" ], 13 | ["number", "0.1E-4" ], 14 | ["number", "0.2e+1" ] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for decimal numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/json/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/json/null_feature.test: -------------------------------------------------------------------------------- 1 | null 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["null", "null"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for null. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/json/operator_feature.test: -------------------------------------------------------------------------------- 1 | : 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["operator", ":"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for all operators. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/julia/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/julia/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/keyman/comment_feature.test: -------------------------------------------------------------------------------- 1 | c Foo 2 | c Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "c Foo"], 8 | ["comment", "c Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/keyman/operator_feature.test: -------------------------------------------------------------------------------- 1 | + > 2 | \ , 3 | ( ) 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["operator", "+"], ["operator", ">"], 9 | ["operator", "\\"], ["operator", ","], 10 | ["operator", "("], ["operator", ")"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for all operators. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/keyman/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | "" 3 | 'foo' 4 | "bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "''"], 10 | ["string", "\"\""], 11 | ["string", "'foo'"], 12 | ["string", "\"bar\""] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/keyman/tag_feature.test: -------------------------------------------------------------------------------- 1 | $keyman: 2 | $kmfl: 3 | $weaver: 4 | $keymanweb: 5 | $keymanonly: 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["tag", "$keyman:"], 11 | ["tag", "$kmfl:"], 12 | ["tag", "$weaver:"], 13 | ["tag", "$keymanweb:"], 14 | ["tag", "$keymanonly:"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for all prefixes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/kotlin/label_feature.test: -------------------------------------------------------------------------------- 1 | loop@ 2 | break@loop 3 | return@forEach 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["label", "loop@"], 9 | ["keyword", "break"], ["label", "@loop"], 10 | ["keyword", "return"], ["label", "@forEach"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for labels. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/latex/comment_feature.test: -------------------------------------------------------------------------------- 1 | % 2 | % foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "%"], 8 | ["comment", "% foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/latex/url_feature.test: -------------------------------------------------------------------------------- 1 | \url{http://prismjs.com} 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["function", "\\url"], ["punctuation", "{"], 7 | ["url", "http://prismjs.com"], ["punctuation", "}"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for URLs. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/less+pug/less_inclusion.test: -------------------------------------------------------------------------------- 1 | :less 2 | @foo: #123; 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-less", [ 8 | ["filter-name", ":less"], 9 | ["variable", [ 10 | "@foo", 11 | ["punctuation", ":"] 12 | ]], 13 | " #123", 14 | ["punctuation", ";"] 15 | ]] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for less filter in Jade. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/less/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "//"], 11 | ["comment", "// foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/less/operator_feature.test: -------------------------------------------------------------------------------- 1 | + - * / 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["operator", "+"], 7 | ["operator", "-"], 8 | ["operator", "*"], 9 | ["operator", "/"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for operators. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lisp/car_feature.test: -------------------------------------------------------------------------------- 1 | (foo) 2 | (foo bar) 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["punctuation","("], ["car", "foo"], ["punctuation",")"], 8 | ["punctuation","("], ["car", "foo"], " bar", ["punctuation",")"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for car. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lisp/comment_feature.test: -------------------------------------------------------------------------------- 1 | ;; h1 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["comment", ";; h1"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for comments. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lisp/heading_feature.test: -------------------------------------------------------------------------------- 1 | ;;; h1 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["heading", ";;; h1"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for headings. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lisp/lisp-property_feature.test: -------------------------------------------------------------------------------- 1 | ( 2 | :foo 3 | ) 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["punctuation", "("], 9 | ["lisp-property", ":foo"], 10 | ["punctuation", ")"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for lisp properties. 16 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lisp/punctuation_feature.test: -------------------------------------------------------------------------------- 1 | () 2 | ( ) 3 | [] 4 | ( 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["punctuation", "("], ["punctuation", ")"], 10 | ["punctuation", "("], ["punctuation", ")"], 11 | ["punctuation", "["], ["punctuation", "]"], 12 | ["punctuation", "("] 13 | ] 14 | ---------------------------------------------------- 15 | 16 | Checks for punctuation. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lisp/quoted-symbol_feature.test: -------------------------------------------------------------------------------- 1 | ( 2 | #'foo 3 | 'foo 4 | ) 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["punctuation", "("], 10 | ["quoted-symbol", "#'foo"], 11 | ["quoted-symbol", "'foo"], 12 | ["punctuation", ")"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for quoted symbols. 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lisp/splice_feature.test: -------------------------------------------------------------------------------- 1 | ( 2 | ,foo 3 | ,@foo 4 | ) 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["punctuation", "("], 10 | ["splice", ",foo"], 11 | ["splice", ",@foo"], 12 | ["punctuation", ")"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for splices 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/livescript/argument_feature.test: -------------------------------------------------------------------------------- 1 | & 2 | &0 3 | &1 4 | &999 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["argument", "&"], 10 | ["argument", "&0"], 11 | ["argument", "&1"], 12 | ["argument", "&999"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for arguments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/livescript/boolean_feature.test: -------------------------------------------------------------------------------- 1 | false 2 | no 3 | off 4 | on 5 | true 6 | yes 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["boolean", "false"], 12 | ["boolean", "no"], 13 | ["boolean", "off"], 14 | ["boolean", "on"], 15 | ["boolean", "true"], 16 | ["boolean", "yes"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for all boolean aliases. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/livescript/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo 3 | bar */ 4 | # 5 | # foobar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "/**/"], 11 | ["comment", "/* foo\r\nbar */"], 12 | ["comment", "#"], 13 | ["comment", "# foobar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lolcode/boolean_feature.test: -------------------------------------------------------------------------------- 1 | WIN 2 | FAIL 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "WIN"], 8 | ["boolean", "FAIL"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lolcode/comment_feature.test: -------------------------------------------------------------------------------- 1 | OBTW foo 2 | bar TLDR 3 | BTW foobar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "OBTW foo\r\nbar TLDR"], 9 | ["comment", "BTW foobar"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lolcode/function_feature.test: -------------------------------------------------------------------------------- 1 | I IZ foobar 2 | HOW IZ I foobar 3 | IZ fooBAR 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["keyword", "I IZ"], 9 | ["function", "foobar"], 10 | ["keyword", "HOW IZ I"], 11 | ["function", "foobar"], 12 | ["keyword", "IZ"], 13 | ["function", "fooBAR"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lolcode/label_feature.test: -------------------------------------------------------------------------------- 1 | IM IN YR foobar 2 | IM OUTTA YR fooBAR 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["keyword", "IM IN YR"], 8 | ["label", "foobar"], 9 | ["keyword", "IM OUTTA YR"], 10 | ["label", "fooBAR"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for labels. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lolcode/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["number", "42"], 8 | ["number", "3.14159"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lolcode/variable_feature.test: -------------------------------------------------------------------------------- 1 | IT 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["variable", "IT"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/makefile/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | # foo \ 4 | bar 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "#"], 10 | ["comment", "# foobar"], 11 | ["comment", "# foo \\\r\nbar"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/makefile/operator_feature.test: -------------------------------------------------------------------------------- 1 | = ::= ?= 2 | := += != 3 | | @ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["operator", "="], ["operator", "::="], ["operator", "?="], 9 | ["operator", ":="], ["operator", "+="], ["operator", "!="], 10 | ["operator", "|"], ["operator", "@"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for operators. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markdown+pug/markdown_inclusion.test: -------------------------------------------------------------------------------- 1 | :markdown 2 | # title 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-markdown", [ 8 | ["filter-name", ":markdown"], 9 | ["title", [ 10 | ["punctuation", "#"], 11 | " title" 12 | ]] 13 | ]] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for markdown filter in Jade. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markdown/blockquote_feature.test: -------------------------------------------------------------------------------- 1 | > foo 2 | >> foo 3 | > > foo 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["blockquote", ">"], " foo\r\n", 9 | ["blockquote", ">>"], " foo\r\n", 10 | ["blockquote", "> >"], " foo" 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for blockquotes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markdown/hr_feature.test: -------------------------------------------------------------------------------- 1 | *** 2 | 3 | --- 4 | 5 | * * * 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["hr", "***"], 11 | ["hr", "---"], 12 | ["hr", "* * *"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for hr. 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markup+haml/markup_feature.test: -------------------------------------------------------------------------------- 1 |
2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["markup", [["tag", [["tag", [["punctuation", "<"], "div"]], ["punctuation", ">"]]]]] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for embedded markup. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markup/cdata_feature.test: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["cdata", ""], 10 | ["cdata", ""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for CDATA sections, single-line and multi-line. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markup/comment_feature.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", ""], 10 | ["comment", ""], 11 | ["comment", ""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for empty comment, single-line comment and multi-line comment. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markup/entity_feature.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | '&': '&amp;', 3 | 'ϑ': '&thetasym;' 4 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markup/entity_feature.test: -------------------------------------------------------------------------------- 1 | & ϑ ⛵   2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["entity", "&"], 7 | ["entity", "ϑ"], 8 | ["entity", "⛵"], 9 | ["entity", " "] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for HTML/XML character entity references. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markup/issue888.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["tag", [ 7 | ["tag", [ 8 | ["punctuation", "<"], 9 | "android.support.v7.widget.CardView" 10 | ]], 11 | ["punctuation", ">"] 12 | ]] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for tag names containing dots. 18 | See #888 for details. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/matlab/function_feature.test: -------------------------------------------------------------------------------- 1 | foo() 2 | foo_42() 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], 8 | ["function", "foo_42"], ["punctuation", "("], ["punctuation", ")"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/matlab/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'foo''bar' 3 | '%s' 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "''"], 9 | ["string", "'foo''bar'"], 10 | ["string", "'%s'"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mel/code_feature.test: -------------------------------------------------------------------------------- 1 | `ls -selection` 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["code", [ 7 | ["delimiter", "`"], 8 | ["function", "ls"], 9 | ["flag", "-selection"], 10 | ["delimiter", "`"] 11 | ]] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for code. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mel/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "//"], 8 | ["comment", "// Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mel/flag_feature.test: -------------------------------------------------------------------------------- 1 | -d 2 | -foo 3 | -foo42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["flag", "-d"], 9 | ["flag", "-foo"], 10 | ["flag", "-foo42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for flags. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mel/number_feature.test: -------------------------------------------------------------------------------- 1 | 0xBadFace 2 | 42 3 | 3.14159 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0xBadFace"], 9 | ["number", "42"], 10 | ["number", "3.14159"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mel/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"fo\\\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mel/variable_feature.test: -------------------------------------------------------------------------------- 1 | $x 2 | $foo42 3 | $Foo_Bar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$x"], 9 | ["variable", "$foo42"], 10 | ["variable", "$Foo_Bar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mizar/comment_feature.test: -------------------------------------------------------------------------------- 1 | :: Foobar 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["comment", ":: Foobar"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mizar/number_feature.test: -------------------------------------------------------------------------------- 1 | 0 2 | -2 3 | 42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0"], 9 | ["number", "-2"], 10 | ["number", "42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/mizar/operator_feature.test: -------------------------------------------------------------------------------- 1 | ... 2 | -> 3 | & 4 | = .= 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["operator", "..."], 10 | ["operator", "->"], 11 | ["operator", "&"], 12 | ["operator", "="], ["operator", ".="] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for operators. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/monkey/function_feature.test: -------------------------------------------------------------------------------- 1 | foobar() 2 | Foo_Bar_42() 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"], 8 | ["function", "Foo_Bar_42"], ["punctuation", "("], ["punctuation", ")"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/monkey/number_feature.test: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 3.14159 4 | .5 5 | $BadFace 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["number", "0"], 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", ".5"], 14 | ["number", "$BadFace"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/monkey/preprocessor_feature.test: -------------------------------------------------------------------------------- 1 | #If HOST 2 | #ElseIf 3 | #Else 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["preprocessor", "#If HOST"], 9 | ["preprocessor", "#ElseIf"], 10 | ["preprocessor", "#Else"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for preprocessor directives. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/monkey/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Foo ~qBar~q" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"Foo ~qBar~q\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/monkey/type-char_feature.test: -------------------------------------------------------------------------------- 1 | foo? 2 | bar% 3 | baz# 4 | foobar$ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | "foo", ["type-char", "?"], 10 | "\r\nbar", ["type-char", "%"], 11 | "\r\nbaz", ["type-char", "#"], 12 | "\r\nfoobar", ["type-char", "$"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for type chars. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nasm/comment_feature.test: -------------------------------------------------------------------------------- 1 | ; 2 | ; foo 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";"], 8 | ["comment", "; foo"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nasm/label_feature.test: -------------------------------------------------------------------------------- 1 | foo42: 2 | .foo: 3 | ..@foo: 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["label", "foo42:"], 9 | ["label", ".foo:"], 10 | ["label", "..@foo:"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for labels. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nasm/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o" 3 | '' 4 | 'fo\'o' 5 | `` 6 | `fo\`o` 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "\"\""], 12 | ["string", "\"fo\\\"o\""], 13 | ["string", "''"], 14 | ["string", "'fo\\'o'"], 15 | ["string", "``"], 16 | ["string", "`fo\\`o`"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nginx/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nginx/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foobar 2 | $foo_bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "$foobar"], 8 | ["variable", "$foo_bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nim/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nix/antiquotation_feature.test: -------------------------------------------------------------------------------- 1 | ${42} 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["antiquotation", "$"], 7 | ["punctuation", "{"], 8 | ["number", "42"], 9 | ["punctuation", "}"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for antiquotations outside of strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nix/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nix/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "#"], 11 | ["comment", "# foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nix/number_feature.test: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 120457 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0"], 9 | ["number", "42"], 10 | ["number", "120457"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for integers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nsis/comment_feature.test: -------------------------------------------------------------------------------- 1 | /* foo */ 2 | /* foo 3 | bar */ 4 | # foo 5 | ; bar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "/* foo */"], 11 | ["comment", "/* foo\r\nbar */"], 12 | ["comment", "# foo"], 13 | ["comment", "; bar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nsis/number_feature.test: -------------------------------------------------------------------------------- 1 | 0xBadFace 2 | 42 3 | 3.14159 4 | 3.2e4 5 | 1.0e-5 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["number", "0xBadFace"], 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "3.2e4"], 14 | ["number", "1.0e-5"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for hexadecimal and decimal numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nsis/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o" 3 | '' 4 | 'fo\'o' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"o\""], 11 | ["string", "''"], 12 | ["string", "'fo\\'o'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/nsis/variable_feature.test: -------------------------------------------------------------------------------- 1 | $INTERNET_CACHE 2 | $LANGUAGE 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "$INTERNET_CACHE"], 8 | ["variable", "$LANGUAGE"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ocaml/boolean_feature.test: -------------------------------------------------------------------------------- 1 | false 2 | true 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "false"], 8 | ["boolean", "true"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ocaml/comment_feature.test: -------------------------------------------------------------------------------- 1 | (**) 2 | (* foo 3 | bar *) 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "(**)"], 9 | ["comment", "(* foo\r\nbar *)"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ocaml/directive_feature.test: -------------------------------------------------------------------------------- 1 | #quit 2 | #load 3 | #load_rec 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["directive", "#quit"], 9 | ["directive", "#load"], 10 | ["directive", "#load_rec"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for directives. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ocaml/type_feature.test: -------------------------------------------------------------------------------- 1 | 'Foo 2 | 'bar_42 3 | `Foo 4 | `bar_42 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["type", "'Foo"], 10 | ["type", "'bar_42"], 11 | ["type", "`Foo"], 12 | ["type", "`bar_42"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for types. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/opencl+c/boolean_feature.test: -------------------------------------------------------------------------------- 1 | CL_TRUE 2 | CL_FALSE 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean-opencl-host", "CL_TRUE"], 8 | ["boolean-opencl-host", "CL_FALSE"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for reserved boolean types in OpenCL host code (C-API). -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/oz/atom_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'fo\'obar' 3 | 'foo 4 | bar' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["atom", "''"], 10 | ["atom", "'fo\\'obar'"], 11 | ["atom", "'foo\r\nbar'"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for atoms. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/oz/comment_feature.test: -------------------------------------------------------------------------------- 1 | % 2 | % Foobar 3 | /**/ 4 | /* Foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "%"], 11 | ["comment", "% Foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* Foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/oz/function_feature.test: -------------------------------------------------------------------------------- 1 | foobar() 2 | {Foobar} 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"], 8 | ["punctuation", "{"], ["function", "Foobar"], ["punctuation", "}"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions and procedures. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/oz/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Fo\"obar" 3 | "Foo 4 | bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"Fo\\\"obar\""], 11 | ["string", "\"Foo\r\nbar\""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/oz/variable_feature.test: -------------------------------------------------------------------------------- 1 | A 2 | Foobar 3 | Foo42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "A"], 9 | ["variable", "Foobar"], 10 | ["variable", "Foo42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/parigp/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo 3 | bar */ 4 | \\ 5 | \\ foobar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "/**/"], 11 | ["comment", "/* foo\r\nbar */"], 12 | ["comment", "\\\\"], 13 | ["comment", "\\\\ foobar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/parigp/function_feature.test: -------------------------------------------------------------------------------- 1 | foo() 2 | f o o b a r ( ) 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], 8 | ["function", "f o o b a r"], ["punctuation", "("], ["punctuation", ")"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. Also checks that whitespaces are ignored. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/parigp/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"fo\\\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/pascal/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'fo''o' 3 | ^G 4 | #7 5 | #$f4 6 | 'foo'#9'bar' 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "''"], 12 | ["string", "'fo''o'"], 13 | ["string", "^G"], 14 | ["string", "#7"], 15 | ["string", "#$f4"], 16 | ["string", "'foo'#9'bar'"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for strings and chars. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/perl/comment_feature.test: -------------------------------------------------------------------------------- 1 | =label foo 2 | bar 3 | =cut 4 | # 5 | # foobar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "=label foo\r\nbar\r\n=cut"], 11 | ["comment", "#"], 12 | ["comment", "# foobar"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/perl/filehandle_feature.test: -------------------------------------------------------------------------------- 1 | _ 2 | <> 3 | 4 | 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["filehandle", "_"], 10 | ["filehandle", "<>"], 11 | ["filehandle", ""], 12 | ["filehandle", ""] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for file handles. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/perl/function_feature.test: -------------------------------------------------------------------------------- 1 | sub foo 2 | sub Foo_Bar42 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", [["keyword", "sub"], " foo"]], 8 | ["function", [["keyword", "sub"], " Foo_Bar42"]] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/perl/vstring_feature.test: -------------------------------------------------------------------------------- 1 | v1.2 2 | 1.2.3 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["vstring", "v1.2"], 8 | ["vstring", "1.2.3"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for vstrings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/php!+php-extras/this_feature.test: -------------------------------------------------------------------------------- 1 | $this 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["this", "$this"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for $this. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/php/constant_feature.test: -------------------------------------------------------------------------------- 1 | AZ 2 | PRISM 3 | FOOBAR_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["constant", "AZ"], 9 | ["constant", "PRISM"], 10 | ["constant", "FOOBAR_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/php/shell-comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["shell-comment", "#"], 8 | ["shell-comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for shell-like comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/plsql/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo 3 | bar */ 4 | -- 5 | -- foo 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "/**/"], 11 | ["comment", "/* foo\r\nbar */"], 12 | ["comment", "--"], 13 | ["comment", "-- foo"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/plsql/operator_feature.test: -------------------------------------------------------------------------------- 1 | := 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["operator", ":="] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for all operators. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/powershell/boolean_feature.test: -------------------------------------------------------------------------------- 1 | $true $True $TRUE 2 | $false $False $FALSE 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "$true"], 8 | ["boolean", "$True"], 9 | ["boolean", "$TRUE"], 10 | 11 | ["boolean", "$false"], 12 | ["boolean", "$False"], 13 | ["boolean", "$FALSE"] 14 | 15 | ] 16 | ---------------------------------------------------- 17 | 18 | Testing Booleans -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/powershell/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo $bar_baz $var4u $1 $true_as $falsey 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["variable", "$foo"], 7 | ["variable", "$bar_baz"], 8 | ["variable", "$var4u"], 9 | ["variable", "$1"], 10 | ["variable", "$true_as"], 11 | ["variable", "$falsey"] 12 | ] 13 | ---------------------------------------------------- 14 | 15 | Testing variables -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/processing/constant_feature.test: -------------------------------------------------------------------------------- 1 | FOOBAR 2 | FOO_BAR_42 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["constant", "FOOBAR"], 8 | ["constant", "FOO_BAR_42"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/processing/function_feature.test: -------------------------------------------------------------------------------- 1 | foo( 2 | foo_bar_42 ( 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foo"], ["punctuation", "("], 8 | ["function", "foo_bar_42"], ["punctuation", "("] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/prolog/builtin_feature.test: -------------------------------------------------------------------------------- 1 | fx 2 | fy 3 | xf xfx xfy 4 | yf yfx 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["builtin", "fx"], 10 | ["builtin", "fy"], 11 | ["builtin", "xf"], ["builtin", "xfx"], ["builtin", "xfy"], 12 | ["builtin", "yf"], ["builtin", "yfx"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for builtins. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/prolog/comment_feature.test: -------------------------------------------------------------------------------- 1 | % Foobar 2 | /**/ 3 | /* Foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "% Foobar"], 10 | ["comment", "/**/"], 11 | ["comment", "/* Foo\r\nbar */"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/prolog/function_feature.test: -------------------------------------------------------------------------------- 1 | foobar( 2 | foo_bar_42( 3 | abs/1 4 | atan/2 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["function", "foobar"], ["punctuation", "("], 10 | ["function", "foo_bar_42"], ["punctuation", "("], 11 | ["function", "abs/1"], 12 | ["function", "atan/2"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/prolog/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 0 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "42"], 9 | ["number", "3.14159"], 10 | ["number", "0"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/prolog/variable_feature.test: -------------------------------------------------------------------------------- 1 | Foobar 2 | Foo_bar_42 3 | _foo 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "Foobar"], 9 | ["variable", "Foo_bar_42"], 10 | ["variable", "_foo"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/properties/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | ! 3 | # Foobar baz 4 | ! Foobar baz 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "#"], 10 | ["comment", "!"], 11 | ["comment", "# Foobar baz"], 12 | ["comment", "! Foobar baz"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for comments. 18 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/pug/doctype_feature.test: -------------------------------------------------------------------------------- 1 | doctype html 2 | doctype 1.1 3 | doctype html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["doctype", "doctype html"], 9 | ["doctype", "doctype 1.1"], 10 | ["doctype", "doctype html PUBLIC \"-//W3C//DTD XHTML Basic 1.1//EN\""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for doctypes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/pug/plain-text_feature.test: -------------------------------------------------------------------------------- 1 | div foo 2 | span foo bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["tag", [ 8 | "div" 9 | ]], 10 | ["plain-text", "foo"], 11 | ["tag", [ 12 | "span" 13 | ]], 14 | ["plain-text", "foo bar"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for single-line plain text. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/puppet/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/puppet/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo 2 | $::foobar_42 3 | $Foo::Bar_42::baz 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", ["$foo"]], 9 | ["variable", ["$", ["punctuation", "::"], "foobar_42"]], 10 | ["variable", ["$Foo", ["punctuation", "::"], "Bar_42", ["punctuation", "::"], "baz"]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/pure/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // Foobar 3 | /**/ 4 | /* Foo 5 | bar */ 6 | #! --nochecks 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["comment", "//"], 12 | ["comment", "// Foobar"], 13 | ["comment", "/**/"], 14 | ["comment", "/* Foo\r\nbar */"], 15 | ["comment", "#! --nochecks"] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/pure/special_feature.test: -------------------------------------------------------------------------------- 1 | __show__ 2 | __cmd__ 3 | __with__ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["special", "__show__"], 9 | ["special", "__cmd__"], 10 | ["special", "__with__"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for special functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/pure/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"fo\\\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/python/boolean_feature.test: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | None 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["boolean", "True"], 9 | ["boolean", "False"], 10 | ["boolean", "None"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/python/class-name_feature.test: -------------------------------------------------------------------------------- 1 | class Foo 2 | class foobar_42 3 | class _ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["keyword", "class"], ["class-name", "Foo"], 9 | ["keyword", "class"], ["class-name", "foobar_42"], 10 | ["keyword", "class"], ["class-name", "_"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for class names. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/python/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/q/adverb_feature.test: -------------------------------------------------------------------------------- 1 | ' ': 2 | +/ +/: 3 | \ \: 4 | each 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["adverb", "'"], ["adverb", "':"], 10 | ["verb", "+"], ["adverb", "/"], ["verb", "+"], ["adverb", "/:"], 11 | ["adverb", "\\"], ["adverb", "\\:"], 12 | ["adverb", "each"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for adverbs. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/q/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Fo\"obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"Fo\\\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/q/symbol_feature.test: -------------------------------------------------------------------------------- 1 | ` 2 | `foobar 3 | `:www.example.com:8888 4 | `.foo 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["symbol", "`"], 10 | ["symbol", "`foobar"], 11 | ["symbol", "`:www.example.com:8888"], 12 | ["symbol", "`.foo"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for symbols. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/qore/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/qore/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o 3 | bar" 4 | '' 5 | 'fo\'o 6 | bar' 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "\"\""], 12 | ["string", "\"fo\\\"o\r\nbar\""], 13 | ["string", "''"], 14 | ["string", "'fo\\'o\r\nbar'"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/qore/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foobar 2 | $foo_bar_42 3 | $Foobar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$foobar"], 9 | ["variable", "$foo_bar_42"], 10 | ["variable", "$Foobar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/r/boolean_feature.test: -------------------------------------------------------------------------------- 1 | TRUE 2 | FALSE 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "TRUE"], 8 | ["boolean", "FALSE"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/r/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/r/ellipsis_feature.test: -------------------------------------------------------------------------------- 1 | ... 2 | ..1 3 | ..42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["ellipsis", "..."], 9 | ["ellipsis", "..1"], 10 | ["ellipsis", "..42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for ellipsis and special identifiers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/r/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | '' 4 | 'fo\'obar' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"obar\""], 11 | ["string", "''"], 12 | ["string", "'fo\\'obar'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/reason/character_feature.test: -------------------------------------------------------------------------------- 1 | 'a' 2 | '\'' 3 | '\\' 4 | '\xff' 5 | '\o214' 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["character", "'a'"], 11 | ["character", "'\\''"], 12 | ["character", "'\\\\'"], 13 | ["character", "'\\xff'"], 14 | ["character", "'\\o214'"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for characters. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/reason/class-name_feature.test: -------------------------------------------------------------------------------- 1 | String.foo 2 | Foo_bar.baz 3 | A.bar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["class-name", "String"], ["punctuation", "."], "foo\r\n", 9 | ["class-name", "Foo_bar"], ["punctuation", "."], "baz\r\n", 10 | ["class-name", "A"], ["punctuation", "."], "bar" 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for class names. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/reason/constructor_feature.test: -------------------------------------------------------------------------------- 1 | Yes 2 | Foo_bar 3 | A 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["constructor", "Yes"], 9 | ["constructor", "Foo_bar"], 10 | ["constructor", "A"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for constructors. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/reason/label_feature.test: -------------------------------------------------------------------------------- 1 | foo::bar 2 | a::baz 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["label", "foo"], ["operator", "::"], "bar\r\n", 8 | ["label", "a"], ["operator", "::"], "baz" 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for labels. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/reason/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo\"bar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"foo\\\"bar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/builtin_feature.test: -------------------------------------------------------------------------------- 1 | @ 2 | System 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["builtin", "@"], 8 | ["builtin", "System"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for builtins. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/character_feature.test: -------------------------------------------------------------------------------- 1 | `a 2 | `b 3 | `Z 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["character", "`a"], 8 | ["character", "`b"], 9 | ["character", "`Z"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for characters. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | +18 4 | +0.14 5 | -242 6 | -85.21 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "+18"], 14 | ["number", "+0.14"], 15 | ["number", "-242"], 16 | ["number", "-85.21"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/reference_feature.test: -------------------------------------------------------------------------------- 1 | foo 2 | foo_bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["reference", "foo"], 8 | ["reference", "foo_bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for reference. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/regex_feature.test: -------------------------------------------------------------------------------- 1 | /foobar/ 2 | /fo[o](?=bar)/ 3 | /\/\\\[\]/ 4 | /(fo|o?)+b*ar?/ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["regex", "/foobar/"], 10 | ["regex", "/fo[o](?=bar)/"], 11 | ["regex", "/\\/\\\\\\[\\]/"], 12 | ["regex", "/(fo|o?)+b*ar?/"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for regexes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | '' 4 | 'fo\'obar' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"obar\""], 11 | ["string", "''"], 12 | ["string", "'fo\\'obar'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rip/symbol_feature.test: -------------------------------------------------------------------------------- 1 | :foo 2 | :foobar42 3 | :foo_bar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["symbol", ":foo"], 9 | ["symbol", ":foobar42"], 10 | ["symbol", ":foo_bar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for symbols. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/roboconf/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/roboconf/component_feature.test: -------------------------------------------------------------------------------- 1 | ApacheServer {} 2 | lb--apache-mod-jk--puppet {} 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["component", "ApacheServer"], ["punctuation", "{"], ["punctuation", "}"], 8 | ["component", "lb--apache-mod-jk--puppet"], ["punctuation", "{"], ["punctuation", "}"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for component names. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/roboconf/optional_feature.test: -------------------------------------------------------------------------------- 1 | (optional) 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["optional", "(optional)"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for optional flag. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/roboconf/wildcard_feature.test: -------------------------------------------------------------------------------- 1 | load-balance-able.* 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | "load-balance-able", ["punctuation", "."], 7 | ["wildcard", "*"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for wildcards. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ruby/constant_feature.test: -------------------------------------------------------------------------------- 1 | Foobar 2 | FOO_BAR_42 3 | F 4 | FOO 5 | BAR? 6 | BAZ! 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["constant", "Foobar"], 12 | ["constant", "FOO_BAR_42"], 13 | ["constant", "F"], 14 | ["constant", "FOO"], 15 | ["constant", "BAR?"], 16 | ["constant", "BAZ!"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ruby/issue1336.test: -------------------------------------------------------------------------------- 1 | :Foo 2 | Foo::Bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["symbol", ":Foo"], 8 | ["constant", "Foo"], 9 | ["punctuation", ":"], ["punctuation", ":"], 10 | ["constant", "Bar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Ensures module syntax is not confused with symbols. See #1336 -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/ruby/symbol_feature.test: -------------------------------------------------------------------------------- 1 | :_ 2 | :foo 3 | :BAR? 4 | :Baz_42! 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["symbol", ":_"], 10 | ["symbol", ":foo"], 11 | ["symbol", ":BAR?"], 12 | ["symbol", ":Baz_42!"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for symbols. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rust/attribute_feature.test: -------------------------------------------------------------------------------- 1 | #[test] 2 | #![warn(unstable)] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["attribute", "#[test]"], 8 | ["attribute", "#![warn(unstable)]"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for attributes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rust/char_feature.test: -------------------------------------------------------------------------------- 1 | 'a' 2 | 'स' 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["char", "'a'"], 8 | ["char", "'स'"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for chars. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rust/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "//"], 11 | ["comment", "// foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rust/issue1353.test: -------------------------------------------------------------------------------- 1 | (*e 0 b'a') 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["punctuation", "("], 7 | ["operator", "*"], 8 | "e ", 9 | ["number", "0"], 10 | ["char", "b'a'"], 11 | ["punctuation", ")"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Makes sure lifetime annotations do not mess with bytes. See #1353. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rust/lifetime-annotation_feature.test: -------------------------------------------------------------------------------- 1 | 'foo 2 | 'a 3 | <'a> 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["lifetime-annotation", "'foo"], 9 | ["lifetime-annotation", "'a"], 10 | ["operator", "<"], ["lifetime-annotation", "'a"], ["operator", ">"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for lifetime annotations. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/rust/macro-rules_feature.test: -------------------------------------------------------------------------------- 1 | foo! 2 | foo_bar! 3 | foo_bar_42! 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["macro-rules", "foo!"], 9 | ["macro-rules", "foo_bar!"], 10 | ["macro-rules", "foo_bar_42!"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for macro rules. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/sas/comment_feature.test: -------------------------------------------------------------------------------- 1 | * foobar; 2 | foo; * foobar; 3 | /* foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "* foobar;"], 10 | "\r\nfoo", ["punctuation", ";"], 11 | ["comment", "* foobar;"], 12 | ["comment", "/* foo\r\nbar */"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/sas/datetime_feature.test: -------------------------------------------------------------------------------- 1 | '1jan2013'd 2 | '9:25:19pm't 3 | '18jan2003:9:27:05am'dt 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["datetime", "'1jan2013'd"], 9 | ["datetime", "'9:25:19pm't"], 10 | ["datetime", "'18jan2003:9:27:05am'dt"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for date, times and datetimes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/sas/keyword_feature.test: -------------------------------------------------------------------------------- 1 | data else format if 2 | input proc run then 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["keyword", "data"], ["keyword", "else"], ["keyword", "format"], ["keyword", "if"], 8 | ["keyword", "input"], ["keyword", "proc run"], ["keyword", "then"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for all keywords. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scala/symbol_feature.test: -------------------------------------------------------------------------------- 1 | 'foo 2 | 'foo_42 3 | 'foo_bar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["symbol", "'foo"], 9 | ["symbol", "'foo_42"], 10 | ["symbol", "'foo_bar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for symbols. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scheme/boolean_feature.test: -------------------------------------------------------------------------------- 1 | #t 2 | #f 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "#t"], 8 | ["boolean", "#f"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scheme/character_feature.test: -------------------------------------------------------------------------------- 1 | #\a 2 | #\space 3 | #\u0041 4 | #\λ 5 | #\) 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["character", "#\\a"], 11 | ["character", "#\\space"], 12 | ["character", "#\\u0041"], 13 | ["character", "#\\λ"], 14 | ["character", "#\\)"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for character literals. 20 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scheme/comment_feature.test: -------------------------------------------------------------------------------- 1 | ; 2 | ; foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";"], 8 | ["comment", "; foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scss+pug/scss_inclusion.test: -------------------------------------------------------------------------------- 1 | :sass 2 | @extend .foo; 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-sass", [ 8 | ["filter-name", ":sass"], 9 | ["keyword", "@extend"], 10 | " .foo", 11 | ["punctuation", ";"] 12 | ]] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for sass filter (Scss) in Jade. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scss/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scss/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["comment", "//"], 12 | ["comment", "// foobar"], 13 | ["comment", "/**/"], 14 | ["comment", "/* foo\r\nbar */"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scss/null_feature.test: -------------------------------------------------------------------------------- 1 | null 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["null", "null"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for null. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scss/placeholder_feature.test: -------------------------------------------------------------------------------- 1 | %foobar 2 | %foo-bar 3 | %foo_bar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["placeholder", "%foobar"], 9 | ["placeholder", "%foo-bar"], 10 | ["placeholder", "%foo_bar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for placeholders. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/smalltalk/character_feature.test: -------------------------------------------------------------------------------- 1 | $a 2 | $4 3 | $. 4 | $^ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["character", "$a"], 10 | ["character", "$4"], 11 | ["character", "$."], 12 | ["character", "$^"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for characters. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/smalltalk/comment_feature.test: -------------------------------------------------------------------------------- 1 | "foobar" 2 | "foo""bar 3 | baz" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "\"foobar\""], 9 | ["comment", "\"foo\"\"bar\r\nbaz\""] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/smalltalk/keyword_feature.test: -------------------------------------------------------------------------------- 1 | nil true false 2 | self super new 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["keyword", "nil"], ["keyword", "true"], ["keyword", "false"], 8 | ["keyword", "self"], ["keyword", "super"], ["keyword", "new"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for keywords. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/smalltalk/string_feature.test: -------------------------------------------------------------------------------- 1 | 'foobar' 2 | 'foo''bar 3 | baz' 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "'foobar'"], 9 | ["string", "'foo''bar\r\nbaz'"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/smalltalk/symbol_feature.test: -------------------------------------------------------------------------------- 1 | #foo 2 | #Foo42 3 | #- 4 | #+ 5 | #** 6 | #( 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["symbol", "#foo"], 12 | ["symbol", "#Foo42"], 13 | ["symbol", "#-"], 14 | ["symbol", "#+"], 15 | ["symbol", "#**"], 16 | ["symbol", "#"], ["punctuation", "("] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for symbols. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/smarty/comment_feature.test: -------------------------------------------------------------------------------- 1 | {**} 2 | {* foo 3 | bar *} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["smarty", [["comment", "{**}"]]], 9 | ["smarty", [["comment", "{* foo\r\nbar *}"]]] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/sql/boolean_feature.test: -------------------------------------------------------------------------------- 1 | TRUE 2 | FALSE 3 | NULL 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["boolean", "TRUE"], 9 | ["boolean", "FALSE"], 10 | ["boolean", "NULL"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/sql/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 0.154 3 | 0xBadFace 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "42"], 9 | ["number", "0.154"], 10 | ["number", "0xBadFace"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for decimal and hexadecimal numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/stylus/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo 3 | bar */ 4 | // 5 | // foobar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "/**/"], 11 | ["comment", "/* foo\r\nbar */"], 12 | ["comment", "//"], 13 | ["comment", "// foobar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/swift/constant_feature.test: -------------------------------------------------------------------------------- 1 | nil 2 | AB 3 | FOO_BAR 4 | kAb 5 | kFoo_bar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["constant", "nil"], 11 | ["constant", "AB"], 12 | ["constant", "FOO_BAR"], 13 | ["constant", "kAb"], 14 | ["constant", "kFoo_bar"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tap/bail_out_feature.test: -------------------------------------------------------------------------------- 1 | Bail out! Couldn't connect to database. 2 | bail out! Failed to call API. 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["bailout", "Bail out! Couldn't connect to database."], 8 | ["bailout", "bail out! Failed to call API."] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks bail out 14 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tap/directive_feature.test: -------------------------------------------------------------------------------- 1 | ok # SKIP test not written 2 | ok 42 this is the description # TODO write test 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["pass", "ok " ], 8 | ["directive", "# SKIP test not written"], 9 | ["pass", "ok 42 this is the description "], 10 | ["directive", "# TODO write test"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks directives 16 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tap/plan_feature.test: -------------------------------------------------------------------------------- 1 | 1..10 2 | 1..10 # directive 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["plan", "1..10" ], 8 | ["plan", "1..10 # directive" ] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks TAP plan 14 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tap/pragma_feature.test: -------------------------------------------------------------------------------- 1 | pragma +strict 2 | pragma -strict 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["pragma", "pragma +strict"], 8 | ["pragma", "pragma -strict"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks pragma 14 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tap/version_feature.test: -------------------------------------------------------------------------------- 1 | TAP version 13 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["version", "TAP version 13" ] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks TAP version 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tcl/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tcl/function_feature.test: -------------------------------------------------------------------------------- 1 | proc foo 2 | proc Foobar 3 | proc foo_bar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["builtin", "proc"], ["function", "foo"], 9 | ["builtin", "proc"], ["function", "Foobar"], 10 | ["builtin", "proc"], ["function", "foo_bar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tcl/scope_feature.test: -------------------------------------------------------------------------------- 1 | global 2 | upvar 3 | variable 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["scope", "global"], 9 | ["scope", "upvar"], 10 | ["scope", "variable"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for scopes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/tcl/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | "fo\"o\ 4 | bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"obar\""], 11 | ["string", "\"fo\\\"o\\\r\nbar\""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/textile/footnote_feature.test: -------------------------------------------------------------------------------- 1 | Foo[1] 2 | Bar[42] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["phrase", [ 8 | "Foo", ["footnote", [["punctuation", "["], "1", ["punctuation", "]"]]], 9 | "\r\nBar", ["footnote", [["punctuation", "["], "42", ["punctuation", "]"]]] 10 | ]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for footnotes. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/toml/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. 14 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/toml/comment_feature.test: -------------------------------------------------------------------------------- 1 | # I'm a comment, you're not. 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["comment", "# I'm a comment, you're not."] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for comments. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/toml/table_feature.test: -------------------------------------------------------------------------------- 1 | [table] 2 | [[array]] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["punctuation", "["], 8 | ["table", "table"], 9 | ["punctuation", "]"], 10 | 11 | ["punctuation", "["], 12 | ["punctuation", "["], 13 | ["table", "array"], 14 | ["punctuation", "]"], 15 | ["punctuation", "]"] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for tables. 21 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/twig/comment_feature.test: -------------------------------------------------------------------------------- 1 | {##} 2 | {# foo #} 3 | {# foo 4 | bar #} 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "{##}"], 10 | ["comment", "{# foo #}"], 11 | ["comment", "{# foo\r\nbar #}"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/vbnet/comment_feature.test: -------------------------------------------------------------------------------- 1 | !foobar 2 | REM foobar 3 | 4 | ' 5 | 'foobar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", ["!foobar"]], 11 | ["comment", [["keyword", "REM"], " foobar"]], 12 | ["comment", "'"], 13 | ["comment", "'foobar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/verilog/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // Foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "//"], 11 | ["comment", "// Foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/verilog/constant_feature.test: -------------------------------------------------------------------------------- 1 | `define 2 | `UNKNOWN 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["constant", "`define"], 8 | ["constant", "`UNKNOWN"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for user defined constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/verilog/property_feature.test: -------------------------------------------------------------------------------- 1 | $display() 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["property", "$display"], ["punctuation", "("], ["punctuation", ")"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for kernel functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/verilog/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | "foo\ 4 | bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"obar\""], 11 | ["string", "\"foo\\\r\nbar\""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/vhdl/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/vhdl/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- Foo 2 | --foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "-- Foo"], 8 | ["comment", "--foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/vhdl/constant_feature.test: -------------------------------------------------------------------------------- 1 | use 2 | library 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["constant", "use"], 8 | ["constant", "library"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/vhdl/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o" 3 | "fo\"o\ 4 | bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"o\""], 11 | ["string", "\"fo\\\"o\\\r\nbar\""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/vim/comment_feature.test: -------------------------------------------------------------------------------- 1 | " 2 | " Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "\""], 8 | ["comment", "\" Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/vim/number_feature.test: -------------------------------------------------------------------------------- 1 | 0xBadFace 2 | 42 3 | 3.14159 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0xBadFace"], 9 | ["number", "42"], 10 | ["number", "3.14159"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/vim/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Fo\"ob'ar" 3 | '' 4 | '\' 5 | 'Foo''bar' 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["string", "\"\""], 11 | ["string", "\"Fo\\\"ob'ar\""], 12 | ["string", "''"], 13 | ["string", "'\\'"], 14 | ["string", "'Foo''bar'"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/visual-basic/boolean_feature.test: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | Nothing 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["boolean", "True"], 9 | ["boolean", "False"], 10 | ["boolean", "Nothing"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/wasm/variable_feature.test: -------------------------------------------------------------------------------- 1 | $Foo 2 | $foo_42! 3 | $$ 4 | $!#$%&'*+-./:<=>?@\^_`|~ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["variable", "$Foo"], 10 | ["variable", "$foo_42!"], 11 | ["variable", "$$"], 12 | ["variable", "$!#$%&'*+-./:<=>?@\\^_`|~"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/wiki/block-comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo */ 3 | /* foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["block-comment", "/**/"], 10 | ["block-comment", "/* foo */"], 11 | ["block-comment", "/* foo\r\nbar */"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/wiki/hr_feature.test: -------------------------------------------------------------------------------- 1 | ---- 2 | ----- 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["hr", "----"], 8 | ["hr", "-----"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for horizontal rows. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/wiki/symbol_feature.test: -------------------------------------------------------------------------------- 1 | #REDIRECT [[somewhere]] 2 | ~~~ 3 | ~~~~ 4 | ~~~~~ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["symbol", "#REDIRECT"], ["url", "[[somewhere]]"], 10 | ["symbol", "~~~"], 11 | ["symbol", "~~~~"], 12 | ["symbol", "~~~~~"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for redirects and signatures. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xeora/constant_feature.test: -------------------------------------------------------------------------------- 1 | $DomainContents$ 2 | $PageRenderDuration$ 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["constant", [ 8 | ["punctuation", "$"], "DomainContents", ["punctuation", "$"]]], 9 | ["constant", [ 10 | ["punctuation", "$"], "PageRenderDuration", ["punctuation", "$"]]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for constants. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xeora/directive-block-close_feature.test: -------------------------------------------------------------------------------- 1 | }:Control3$ 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive-block-close", [ 7 | ["punctuation", "}"], ["punctuation", ":"], "Control3", ["punctuation", "$"]]] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for directive-block-closes. 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xeora/directive-block-separator_feature.test: -------------------------------------------------------------------------------- 1 | }:Control3:{ 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive-block-separator", [ 7 | ["punctuation", "}"], 8 | ["punctuation", ":"], 9 | "Control3", 10 | ["punctuation", ":"], 11 | ["punctuation", "{"] 12 | ]] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for functions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xojo/comment_feature.test: -------------------------------------------------------------------------------- 1 | ' Foobar 2 | // Foobar 3 | Rem Foobar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", ["' Foobar"]], 9 | ["comment", ["// Foobar"]], 10 | ["comment", [["keyword", "Rem"], " Foobar"]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments and remarks. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xojo/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | """" 3 | "Foo ""bar""" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "\"\""], 9 | ["string", "\"\"\"\""], 10 | ["string", "\"Foo \"\"bar\"\"\""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xojo/symbol_feature.test: -------------------------------------------------------------------------------- 1 | #If 2 | #Else 3 | #ElseIf 4 | #Endif 5 | #Pragma 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["symbol", "#If"], 11 | ["symbol", "#Else"], 12 | ["symbol", "#ElseIf"], 13 | ["symbol", "#Endif"], 14 | ["symbol", "#Pragma"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for conditional compilation and pragma. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xquery/extension_feature.test: -------------------------------------------------------------------------------- 1 | (# datypic:timeOut 200 #) 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["extension", "(# datypic:timeOut 200 #)"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for extensions. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xquery/number_feature.test: -------------------------------------------------------------------------------- 1 | 0 2 | 3.14159 3 | 42E8 4 | 3.25E-4 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["number", "0"], 10 | ["number", "3.14159"], 11 | ["number", "42E8"], 12 | ["number", "3.25E-4"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for numbers. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/xquery/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo 2 | $foo-bar 3 | $strings:LetterA 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$foo"], 9 | ["variable", "$foo-bar"], 10 | ["variable", "$strings:LetterA"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/yaml/boolean_feature.test: -------------------------------------------------------------------------------- 1 | --- 2 | foo: true 3 | bar: false 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["punctuation", "---"], 9 | ["key", "foo"], ["punctuation", ":"], 10 | ["boolean", "true"], 11 | ["key", "bar"], ["punctuation", ":"], 12 | ["boolean", "false"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for booleans. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/yaml/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/yaml/directive_feature.test: -------------------------------------------------------------------------------- 1 | %YAML 1.2 2 | %TAG 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive", "%YAML 1.2"], 8 | ["directive", "%TAG"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for directives. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/yaml/important_feature.test: -------------------------------------------------------------------------------- 1 | &B1 2 | &A 3 | *A 4 | &SS 5 | *SS 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["important", "&B1"], 11 | ["important", "&A"], 12 | ["important", "*A"], 13 | ["important", "&SS"], 14 | ["important", "*SS"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for important. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/yaml/key_feature.test: -------------------------------------------------------------------------------- 1 | --- 2 | foo: 4 3 | FooBar : 5 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["punctuation", "---"], 9 | ["key", "foo"], ["punctuation", ":"], ["number", "4"], 10 | ["key", "FooBar"], ["punctuation", ":"], ["number", "5"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for keys. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/yaml/null_feature.test: -------------------------------------------------------------------------------- 1 | --- 2 | foo: null 3 | bar: ~ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["punctuation", "---"], 9 | ["key", "foo"], ["punctuation", ":"], 10 | ["null", "null"], 11 | ["key", "bar"], ["punctuation", ":"], 12 | ["null", "~"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for null and ~. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/yaml/tag_feature.test: -------------------------------------------------------------------------------- 1 | !!map 2 | !!str 3 | !!seq 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["tag", "!!map"], 9 | ["tag", "!!str"], 10 | ["tag", "!!seq"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for tags -------------------------------------------------------------------------------- /docs/assets/groupcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/assets/groupcode.png -------------------------------------------------------------------------------- /docs/images/groupcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/images/groupcode.png -------------------------------------------------------------------------------- /docs/images/shop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/docs/images/shop.jpg -------------------------------------------------------------------------------- /images/groupcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/images/groupcode.png -------------------------------------------------------------------------------- /images/shop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/YoungYJMaze/effective-java-3rd-chinese/ae376be15a7eb7360442e19267147bbdb41551a2/images/shop.jpg --------------------------------------------------------------------------------