highlighting-kate-0.6.1/0000755000000000000000000000000012633103275013275 5ustar0000000000000000highlighting-kate-0.6.1/changelog0000644000000000000000000005745512633103275015167 0ustar0000000000000000highlighting-kate 0.6.1 (12 Dec 2015) * Fixed build on GHC 7.0 (Adam Bergmark). * Don't use auto-all in ghc-prof-options. * Removed splitBase flag and ability to compile on base < 4.4. * Add agda tests with unicode input (Matthias C. M. Troffaes). * Fix 'Text.Regex.PCRE.Light: Error in regex: invalid UTF-8 string' error message (Matthias C. M. Traffaes). * Reapplied isocpp.xml.patch (#57). * Added `languageByFullName` (API change). Changed behavior of `highlightAs` so that languages can match on "full official name" as well as the canonical name (derived from the xml filename. Previously, only `cs` worked for C#. Now you may use `C#` as well. * Allow `csharp` as a special-case alias for `cs` (jgm/pandoc#2117). * Added support for llvm (#79). highlighting-kate 0.6 (26 May 2015) * Support new KF5 token attributes (#69). + Added to `TokenType`: `ConstantTok`, `SpecialCharTok`, `VerbatimStringTok`, `SpecialStringTok`, `ImportTok`, `DocumentationTok`, `AnnotationTok`, `CommentVarTok`, `VariableTok`, `ControlFlowTok`, `OperatorTok`, `BuiltInTok`, `ExtensionTok`, `PreprocessorTok`, `AttributeTok`, `InformationTok`, `WarningTok`. + Revised styles to add clauses for the new `TokenType`s. + Revised HTML formatter to produce CSS for all the new `TokenType`s, and to include comments naming each type. + Modified `ParseSyntaxFiles` to handle new types. + Updated tests. * Updated xml syntax definitions. However, we retain an older version of haskell.xml, since the new one didn't work properly. * Added `ToColor` instance for `Int`. * Renamed `Highlight[.hs]` to `highlighting-kate[.hs]` (Geoff Nixon). * Allow `#` as an operator in Haskell (Ryan Yates). * Added support for Kotlin (kotlinlang.org) (Sebastien Soudan). highlighting-kate 0.5.15 (25 Apr 2015) * Rename `Highlight` utility and `Highlight.hs` to `highlighting-kate` and `highlighting-kate.hs` to avoid naming conflicts with other syntax highlighting utilities. highlighting-kate 0.5.14 (28 Mar 2015) * Put code blocks in a div. This reverts the change in 0.5.13, wrapping all blocks in a pre element. (Pre elements are only supposed to contain flow content, not block-level elements like tables.) Instead we now wrap each code block in a div with class `sourceCode`. * The default CSS now includes `div.sourceCode { x-overflow: auto; }`, so that a scroll bar will appear on small screens. See jgm/pandoc#1903 and jgm/highlighting-kate#65 for background. highlighting-kate 0.5.13 (27 Mar 2015) * Wrap HTML table with line numbers in a pre element (Adam Sapek). HTML tables are impossible to format via styles for different screen widths. This means that pandoc generated pages with code blocks must have a fixed minimal width, making them hard to read on narrower screens. Wrapping the table in a pre block allows formatting of code blocks to have a horizontal scroll bar if the content doesn't fit the screen width, by adding the following style: pre.sourceCode { overflow-x: auto; } This enables pandoc to generate responsive HTML pages. highlighting-kate 0.5.12 (19 Mar 2015) * Added Data and Typeable instances for types used in pandoc's ReaderOptions and WriterOptions (Shahbaz Youssefi). * Bumped blaze-html upper bounds (RyanGlScott). * Added idris syntax definition (Alexander Shabalin). * Added regex-posix install to 'make prep' step (@johguenther). * Modified isocpp.xml to fix float parsing. The float regex in isocpp.xml seems to work fine with Kate's regex engine, but gives different results with pcre. Added isocpp.xml.patch to keep track of the divergence from upstream. highlighting-kate 0.5.11.1 (19 Dec 2014) * Fixed rest.xml regex (#54). highlighting-kate 0.5.11 (11 Nov 2014) * Fixed line continuations (#51). API change: Added synStContinuation field to SyntaxState. * Added Dockerfile syntax (James Turnbull, #49). * Fixed 'prep' target in Makefile. highlighting-kate 0.5.10 (09 Nov 2014) * Added support for Agda (Matthias C. M. Troffaes). * Made doctype case-insensitive in HTML 5 (Ondřej Žára). highlighting-kate 0.5.9 (24 Aug 2014) * Added cabal test suite. * Update .cabal file and README.md to reflect new upstream repo (Geoff Nixon). * Added new syntaxes: ABC, Lilypond (musical typesetting), FASM/[NASM/MASM/YASM] (Intel Style Assembly Language), GraphViz Dot (graph notation), GLSL (graphics language), M4 (macro language, used by GNU autotools), Mathematica, MediaWiki (wiki markup), OpenCL (GPGPU language), RELAX NG (XML schema) [as the alternate RELAX NG compact syntax is already included], tcsh [C shell] (scripting/shell language [with small patch for parsing error]). (Geoff Nixon) * Add language.xsd and validatehl.sh script from upstream: useful (Geoff Nixon). * Replace restructuredtext.xml with updated (renamed) rest.xml (Geoff Nixon). * Update from upstream: alert_indent, awk, css, diff, doxygen, email, fsharp, haskell, javadoc, literate-haskell, markdown, maxima, perl, prolog, python, vhdl, yacc. (Geoff Nixon) * Added .patch files in xml directory where local changes have been made (Geoff Nixon). * Common: Convert `\o{...}` to `\x{..}` in regexes. `\x{..}` has been supported for a long time in pcre. highlighting-kate 0.5.8.5 (15 Jul 2014) * Use utf8 option with pcre-light. * Text.Highlighting.Kate.Common: Fixed convertOctal. It now converts `\o{0377}` to `\377`, for compatibility with earlier versions of pcre (including the one currently in debian). It also now generally leaves octal escapes in place, converting to unicode characters only when a compatible octal escape isn't available. Addresses debian #753299. * Updated syntax definitions for prolog, modelines, makefile, isocpp, html, css, go, doxygen, cpp, cmake, ada. highlighting-kate 0.5.8.4 (15 Jul 2014) * Fixed DetectIdentifier so it allows underscores. (This reflects a change in kate some time since this library was first written.) highlighting-kate 0.5.8.3 (19 Jun 2014) * Added pure language. * Added fallthrough to php.xml, so the `= 0.94.4.8.8.35, and it adds a dependency on utf8-string.) (Matthias Troffaes, #42) * Fixed performance regression: added a caseSensitive parameter to compileRegex and made it non-monadic. (Checking state was a serious performance hit, and was not necessary in this case.) * Improved README and added .md extension. * Added defaultSyntaxState in Types. highlighting-kate 0.5.7.1 (09 May 2014) * Fix typo in list append operator in pcre-light-using code (Clint Adams). highlighting-kate 0.5.7 (07 May 2014) * Added Gcc and Isocpp (needed by Cpp). * Updated syntax definitions. * Made regex matches respect the `casesensitive` setting of the style. highlighting-kate 0.5.6.1 (27 Jan 2014) * Allow blaze-html 0.7. highlighting-kate 0.5.6 (07 Jan 2014) * Added restructuredtext. * Updated rust syntax definition. * Changed lua highlighting so variables/constants not highlighted as keywords. * Updated kate syntax definitions for python, cmake. highlighting-kate 0.5.4 (26 June 2013) * LaTeX formatter: Render inline code as `\VERB|code|` rather than `|code|`. Define `\VERB` macro in preamble rather than defining `|` as a shortverb character. This prevents troublesome clashes with `|` characters in array environments and such. See pandoc#891. highlighting-kate 0.5.3.9 (06 May 2013) * LaTeX formatter: Avoid using \textbar, which gives a bar that is narrow and in a proportional font. Instead, use literal | in block code and a new macro \VerbBar in inline code. * Updated Curry highlighting (Björn Peemöller). highlighting-kate 0.5.3.8 (05 Mar 2013) * Support mozilla rust. highlighting-kate 0.5.3.7 (20 Feb 2013) * Bumped version bound on blaze-html to 0.7. highlighting-kate 0.5.3.6 (16 Feb 2013) * Added support for Curry and literate Curry (Björn Peemöller). * Added support for Julia (dcjones). * Fixed language extensions value for asn1 (Stanley). * Updated xml descriptions from kate repository. highlighting-kate 0.5.3.5 (19 Jan 2013) * Reverted use of \char13 and \char18 for ' and `. This is not robust enough across encodings. Recommend using upquote package instead. highlighting-kate 0.5.3.4 (04 Jan 2013) * Don't pop context on line end if we're already at root context. This helps with the erlang.xml file, which has some odd `#pop`s in it. Closes #26. * Avoid superfluous table lookup. We find the default attribute in ParseSyntaxFiles and embed it directly in the parser, rather than looking it up at runtime. This simplifies the parsers and should boost performance. * Don't pop last context in context stack. This helps with the erlang.xml file, which has some odd `#pop`s. * Changed cabal file so library need not be recompiled for executable. Moved Highlight.hs to extra/ directory. * Fixed alignment of line numbers with lines. * Make sure we parse the whole line when an error occurs. This fixes a problem wherein ends of lines were dropped after errors. highlighting-kate 0.5.3.3 (12 Oct 2012) * LaTeX output: Use \char13 and \char18 for ' and `. Reason: Otherwise these appear as curly quotes. The upquote package can alternatively be used, but it seems better to make it unnecessary to use it. * Make line number anchors into clickable links. This makes it easier to obtain the URL for a specific line of code. (Alp Mestanogullari) highlighting-kate 0.5.3.2 (07 Sep 2012) * Fixed handling of backslash in bash highlighting. Sometimes "\\" is used for backslash in the syntax definitions (as in bash), other times "\". We now handle both cases. highlighting-kate 0.5.3.1 (07 Sep 2012) * More changes to properly handle includes. This closes issue #22 with doxygen comments. pDefault has been incorporated into the ends of the context parsers, instead of being put in parseExpression. * Re-added doxygenlua, which now works. highlighting-kate 0.5.3 (07 Sep 2012) * Improved handling of include directives. This fixes bugs in comments caused by doxygen and javadoc includes. * Changes to internal Types and Common: - Context is now a (String, String) rather than a String. The first is the syntax name, the second the context name. - ContextStack is now a list of Contexts. - synStLanguage has been removed. - pEndLine parameter has been removed from mkParseSourceLine. - parseExpression now handles the endline. - parseExpressionInternal has been removed in the individual parsers; we now use parseExpression. highlighting-kate 0.5.2 (10 Aug 2012) * Updated xml syntax definitions from kate repository: bash, c, clojure, coffee (formerly coffeescript), cpp, doxygen, fortran, go, latex, prolog, r, ruby, tcl. highlighting-kate 0.5.1 (29 May 2012) * Fixed inline LaTeX formatting: it should be `|...|` rather than `\Verb{...}`. highlighting-kate 0.5.0.6 (27 Apr 2012) * Added zenburn style. * Updated for compatibility with blaze-html 0.5.*. highlighting-kate 0.5.0.5 (14 Feb 2012) * Update 'synStPrevNonspace' at end of line. This fixes a bug affecting every lexer that uses the 'first nonspace' property. (e.g. bash) highlighting-kate 0.5.0.4 (12 Feb 2012) * Fixed typo in version bounds for pcre-light. highlighting-kate 0.5.0.3 (12 Feb 2012) * Fixed compilation with the 'pcre-light' flag. highlighting-kate 0.5.0.2 (08 Feb 2012) * Fixed bug with lookahead parsers. Previously they didn't consume input, which caused an error starting with parsec 3.1.2 -- even though in fact there was no threat of infinite looping. highlighting-kate 0.5.0.1 (31 Jan 2012) * Give table.sourceCode width of 100%, for consistency between numbered and unnumbered code blocks. highlighting-kate 0.5 (25 Jan 2012) * Text.Highlighting.Kate.Format.HTML now exports styleToCss instead of styleToHtml. highlighting-kate 0.4 (21 Jan 2012) * Text.Highlighting.Kate.Definitions has been renamed as Text.Highlighting.Kate.Types. * Text.Highlighting.Kate.Format was replaced by two modules, Text.Highlighting.Format.HTML and Text.Highlighting.Format.LaTeX. * Text.Highlighting.Kate no longer exports functions from Style or Format. * highlightAs now lazily consumes lines and returns a list of SourceLine. Previously, the entire input had to be parsed before any output was produced. The output type is no longer an Either; if a parsing error occurs, the offending line is highlighted as ErrorTok, and we continue with the next line without change of state. If you call highlightAs with a language that isn't supported, all lines will be highlighted as NormalTok. * Monadic 'fail' now used instead of 'error'. Closes Issue #10. Thanks to mcmaniac for suggesting these changes. * TokenType is used instead of String for token types. * Completely changed Formatting API. + Instead of formatAsHtml, we now have four functions: formatHtmlInline, formatHtmlBlock, formatLaTeXInline, formatLaTeXBlock. + The options parameter is now a record, FormatOptions, rather than a list, [FormatOption]. + "Inline" is no longer a format option, since there are separate formatting functions for block and inline. + formatHtml no longer has a string parameter for language name, and the language name is no longer added as a class. + highlightingCss has been removed; we now have styleToHtml and styleToLaTeX, which take a Style and produce code for the HTML header or LaTeX preamble. + Only the short form of the attribute is now used. Removed OptDetailed. * blaze-html is now used instead of xhtml for HTML formatting. * Modules for individual languages are no longer exposed. * Removed BUGS; added link to github issue tracker in README. * Removed ilerp, mediawiki, xharbour syntaxes. * Updated haskell xml. Changed order of parsers in haskell.xml. This is needed so that floats can be parsed as floats. Otherwise '33.3' gets parsed as an integer, a function (.), and an integer. (These changes should be submitted upstream.) * Fixed lua highlighting problems. Improved lua highlighter. Removed doxygen-lua, which was messing things up. * Made pMatchRegex slightly faster. * Improved efficiency of pKeyword by checking to see if a potential keyword lies ahead. * Fixed normalizeTokens so that comments etc. don't get split up. * Made KateParser a synonym for GenParser Char SyntaxState. * Simplified pDefault. The check for non-newline is no longer needed. * Add sourceCode class to tr in tables. * Improved ParseSyntaxFiles.hs. It now generates no -Wall warnings. In addition, it produces cleaner syntax parsers. * Changed the SyntaxState type: Removed synStCurrentLine, synStCharsParsedInLine. Added synStLineNumber, synStPrevNonspace. * Common: Removed pHandleEndline. Added fromState. Added mkParseSourceLine. * Highlight executable: removed --css flag, added --style, --format. * Cleaned up Makefile, added clean, distclean targets. highlighting-kate 0.3.1 (27 Nov 2011) * Fixed a release bug in 0.3. The Clojure module was not included in the cabal file. highlighting-kate 0.3 (26 Nov 2011) * Use -O0 by default to speed compiling. This vastly improves compilation speed and reduces memory requirements. In some rough tests, it does not seem to hurt performance much, but those who need maximum performance should compile with -O2 (or use a different library, like illuminate). * Updated syntax descriptions from kate repository. * Removed some syntaxes to trim the bloated package. Removed: ansys, cisco, cue, desktop, fstab, gap, gdb, gettext, idl, m3u, pango, winehq, wml. * Added syntax definition for Clojure (thanks to Caspar Hasenclever). highlighting-kate 0.2.10 (16 Jul 2011) * Fixed class on line numbers td. (Thanks to tantignac) * Allow empty context stack. `currentContext` returns "" if stack is empty, and this is treated as the first context in the list by `parseRules`. This fixes a problem with syntax definitions like erlang.xml, which has `#pop` as `lineEndContext` in the first context, leading to an infinite loop with the old code. * Syntax highlighting for CoffeeScript (thanks to igstan). * Fixed links in README (thanks to John Gabriele). highlighting-kate 0.2.9 (29 Jan 2011) * Added OptInline to FormatOptions. Inline code is formatted with a "code" tag but no "pre" tag. * Put language class on "code" instead of "pre". Put "sourceCode" class on "pre" in addition to "code". * Fixed a bug in tango style with numbering. highlighting-kate 0.2.8.2 (28 Jan 2011) * formatAsXHtml: Don't put `
` after last line. * Added F# highlighting based on the present ocaml definitions (Bas Bossink). highlighting-kate 0.2.8.1 (02 Jan 2011) * Updated parseSyntaxFiles.hs to use HXT 9.0.0. * Added Makefile to help developers. When you check out the source from the repository, you can now do 'make prep' to generate the syntax parsers from the xml definitions. * Improved installation instructions. * Updated grammar files from Kate (Tianyi Cui). * Fixed bug in endline parsing (pointed out by Samuel Hym). + The bug occurs when you're nested two contexts in, and you hit the end of a line. Even if both contexts were set up to popContext at the end of line, previously only the first context was popped. Example: in bash, export A=a export B=b The second 'export' was being highlighted as VarName. + Common: Added pHandleEndline. + ParseSyntaxFiles: don't consume newline if you pop context at end of line; instead, fall back to next context and try the newline again. * Changed type of pPopContext. Now returns () instead of String. * Use doxygen instead of doxygenlua in lua parser. Using doxygenlua causes many lines to be erroneously interpreted as comments. Reverting to doxygen as before fixes things. Not sure if this is a bug in the lua.xml file or in highlighting-kate. * Added css based on Pygment’s tango style theme (Samuel Hym). highlighting-kate 0.2.7.1 (15 July 2010) * Don't use the withAttribute combinator with null attribute. * Fixed literate-haskell.xml to include attributes. highlighting-kate 0.2.7 (15 July 2010) * New, compressed format for classes. Two-letter class names are now used for default styles, and detailed lexical information is omitted unless the new OptDetailed option is specified. Also, the "Normal" style is no longer used, and spans are not used for "normal" markup. The result is significant compression of the highlighted source (in one test, 191K -> 72K). * Updated the css files in css/ to use the new two-letter class names. Users should update their css files, or highlighting will no longer work. * New OptDetailed option (see above). * Added languagesByFilename function. Unlike the old languagesByExtension, this properly handles things like "Makefile" and "CMake.txt." * A new -d/--detailed option has been provided in the Highlight executable. This selects OptDetailed. * Improvements to haskell.xml and literate-haskell.xml, due to Nicolas Wu. * Added octave syntax definition. * Changed ParseSyntaxFiles to work with GHC 6.12. * ParseSyntaxFiles now uses Text/Highlighting/Kate/Syntax.hs.in as a template for construction of Text.Highlighting.Kate.Syntax module. * Removed parsec < 3 restriction. * Minor code cleanup and improvement. highlighting-kate 0.2.6.2 (06 March 2010) * Use separate definitions for compiled regexes. This speeds up compilation significantly. * Replaced list_(hash) with list_(list_name) for readability. highlighting-kate 0.2.6.1 (06 March 2010) * Performance improvements suggested by Joachim Breitner. These reduce compile time and executable size significantly (by almost half), and yield a slight speedup in run time. + Use Set instead of list for keywords. + Put keyword sets in separate definitions. + Use words and unwords to trick GHC into not inlining the lists of keywords, which slows compilation considerably. * Changed ghc-prof-options to include -caf-all and -O0. highlighting-kate 0.2.6 (22 Jan 2010) * Added OptLineAnchors FormatOption. When used with OptNumberLines, this includes a link anchor on each line, so users can link to a particular line in a highlighted source file. Thanks to Daniel Patterson for the idea. * Default to using regex-pcre-builtin, unless pcre-light flag is turned on. regex-pcre-builtin contains c sources for pcre, so it should now be possible to install highlighting-kate without manually installing the pcre library first -- a hurdle for some users. highlighting-kate 0.2.5.1 (29 Nov 2009) * Modified ParseSyntaxFiles to use UTF8, since otherwise hscolour compiled with GHC 6.12 will choke on the latin1 characters in some of the comments giving the authors of the original kate syntax files. Thanks to Sergei Trofimovich for pointing out the problem. * Fixed regexp in single line comment detector so infix ops like --> are not treated as comments. (Thanks to Dmitri Golubovsky for the patch, also contributed to kate upstream.) * Use Cabal to get version instead of hardcoding it. highlighting-kate 0.2.5 (04 Jul 2009) * Changed highlightAs to go by file extension if unambiguous. * New Relaxngcompact syntax definition. * Removed unused mkIdentifier in ParseSyntaxFiles. * Moved 'capitalize' to ParseSyntaxFiles and fixed its defn. * Removed list of supported languages from description. Spell 50 as "fifty" in description. highlighting-kate 0.2.4 (15 Mar 2009) * Fixed bug in literate-haskell-xml. Also fixed now upstream. (Bjorn Buckwalter) * Modified ParseSyntaxFiles.hs to allow regeneration of individual syntax files. With the change ParseSyntaxFiles accepts any number of arguments. Those ending with .xml are assumed to be files while the rest are assumed to be directories containing .xml files. The syntaxes included in Syntax.hs are based on the contents of destDir rather than the arguments, this allows regenerating a subset of syntaxes but still having all syntaxes in Syntax.hs. (Bjorn Buckwalter) * ParseSyntaxFiles.hs: Change deprecated pragma, remove obsolete import. (Bjorn Buckwalter) highlighting-kate 0.2.3 (9 Jul 2008) * Removed -O2 in Ghc-Options, as it provides very little speedup highlighting-kate 0.2.2 (9 Jul 2008) * Added Cc-options -O0 to cabal file. This is needed to prevent gcc from using enormous amounts of memory on platforms that lack a native code generator and compile via C. See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469893. * Depend on parsec < 3, because parsec 3 is much slower. * normalizeHighlighting now strips out empty strings highlighting-kate 0.2.1 (10 Feb 2008) * Implemented lookAhead in parsers, which fixed bugs in perl, bash, and other parsers. highlighting-kate 0.2 (10 Feb 2008) * Initial release highlighting-kate-0.6.1/highlighting-kate.cabal0000644000000000000000000003100112633103275017643 0ustar0000000000000000Name: highlighting-kate Version: 0.6.1 Cabal-Version: >= 1.10 Build-Type: Simple Category: Text Synopsis: Syntax highlighting Description: highlighting-kate is a syntax highlighting library with support for nearly one hundred languages. The syntax parsers are automatically generated from Kate syntax descriptions (), so any syntax supported by Kate can be added. An (optional) command-line program is provided, along with a utility for generating new parsers from Kate XML syntax descriptions. License: GPL License-file: LICENSE Author: John MacFarlane Maintainer: jgm@berkeley.edu Homepage: http://github.com/jgm/highlighting-kate Extra-Source-Files: README.md changelog Makefile ParseSyntaxFiles.hs Text/Highlighting/Kate/Syntax.hs.in css/hk-espresso.css css/hk-kate.css css/hk-pyg.css css/hk-tango.css xml/*.xml xml/*.xml.patch tests/abc.ada tests/abc.ada.html tests/abc.agda tests/abc.agda.html tests/abc.c tests/abc.c.html tests/abc.clojure tests/abc.clojure.html tests/abc.cpp tests/abc.cpp.html tests/abc.cs tests/abc.cs.html tests/abc.d tests/abc.d.html tests/abc.fortran tests/abc.fortran.html tests/abc.go tests/abc.go.html tests/abc.haskell tests/abc.haskell.html tests/abc.java tests/abc.java.html tests/abc.javascript tests/abc.javascript.html tests/abc.julia tests/abc.julia.html tests/abc.kotlin tests/abc.kotlin.html tests/abc.lisp tests/abc.lisp.html tests/abc.matlab tests/abc.matlab.html tests/abc.ocaml tests/abc.ocaml.html tests/abc.perl tests/abc.perl.html tests/abc.php tests/abc.php.html tests/abc.prolog tests/abc.prolog.html tests/abc.python tests/abc.python.html tests/abc.r tests/abc.r.html tests/abc.ruby tests/abc.ruby.html tests/abc.scala tests/abc.scala.html tests/abc.scheme tests/abc.scheme.html tests/abc.tcl tests/abc.tcl.html tests/archive.rhtml tests/archive.rhtml.html tests/life.lua tests/life.lua.html Flag executable Description: Build the highlighting-kate executable. Default: False Flag pcre-light Description: Use the pcre-light library instead of regex-pcre-builtin Default: False Source-repository head type: git location: git://github.com/jgm/highlighting-kate.git Library Build-Depends: base >= 4.4 && < 5, containers, parsec, mtl, blaze-html >= 0.4.2 && < 0.9, utf8-string if flag(pcre-light) Build-depends: pcre-light >= 0.4 && < 0.5, bytestring cpp-options: -D_PCRE_LIGHT else Build-depends: regex-pcre-builtin >= 0.94.4.8.8.35 Exposed-Modules: Text.Highlighting.Kate Text.Highlighting.Kate.Syntax Text.Highlighting.Kate.Types Text.Highlighting.Kate.Styles Text.Highlighting.Kate.Format.HTML Text.Highlighting.Kate.Format.LaTeX Other-Modules: Text.Highlighting.Kate.Common Paths_highlighting_kate Text.Highlighting.Kate.Syntax.Abc Text.Highlighting.Kate.Syntax.Actionscript Text.Highlighting.Kate.Syntax.Ada Text.Highlighting.Kate.Syntax.Agda Text.Highlighting.Kate.Syntax.Alert Text.Highlighting.Kate.Syntax.Alert_indent Text.Highlighting.Kate.Syntax.Apache Text.Highlighting.Kate.Syntax.Asn1 Text.Highlighting.Kate.Syntax.Asp Text.Highlighting.Kate.Syntax.Awk Text.Highlighting.Kate.Syntax.Bash Text.Highlighting.Kate.Syntax.Bibtex Text.Highlighting.Kate.Syntax.Boo Text.Highlighting.Kate.Syntax.C Text.Highlighting.Kate.Syntax.Changelog Text.Highlighting.Kate.Syntax.Clojure Text.Highlighting.Kate.Syntax.Cmake Text.Highlighting.Kate.Syntax.Coffee Text.Highlighting.Kate.Syntax.Coldfusion Text.Highlighting.Kate.Syntax.Commonlisp Text.Highlighting.Kate.Syntax.Cpp Text.Highlighting.Kate.Syntax.Cs Text.Highlighting.Kate.Syntax.Css Text.Highlighting.Kate.Syntax.Curry Text.Highlighting.Kate.Syntax.D Text.Highlighting.Kate.Syntax.Diff Text.Highlighting.Kate.Syntax.Djangotemplate Text.Highlighting.Kate.Syntax.Dockerfile Text.Highlighting.Kate.Syntax.Dot Text.Highlighting.Kate.Syntax.Doxygen Text.Highlighting.Kate.Syntax.Doxygenlua Text.Highlighting.Kate.Syntax.Dtd Text.Highlighting.Kate.Syntax.Eiffel Text.Highlighting.Kate.Syntax.Email Text.Highlighting.Kate.Syntax.Erlang Text.Highlighting.Kate.Syntax.Fasm Text.Highlighting.Kate.Syntax.Fortran Text.Highlighting.Kate.Syntax.Fsharp Text.Highlighting.Kate.Syntax.Gcc Text.Highlighting.Kate.Syntax.Glsl Text.Highlighting.Kate.Syntax.Gnuassembler Text.Highlighting.Kate.Syntax.Go Text.Highlighting.Kate.Syntax.Haskell Text.Highlighting.Kate.Syntax.Haxe Text.Highlighting.Kate.Syntax.Html Text.Highlighting.Kate.Syntax.Idris Text.Highlighting.Kate.Syntax.Ini Text.Highlighting.Kate.Syntax.Isocpp Text.Highlighting.Kate.Syntax.Java Text.Highlighting.Kate.Syntax.Javadoc Text.Highlighting.Kate.Syntax.Javascript Text.Highlighting.Kate.Syntax.Json Text.Highlighting.Kate.Syntax.Jsp Text.Highlighting.Kate.Syntax.Julia Text.Highlighting.Kate.Syntax.Kotlin Text.Highlighting.Kate.Syntax.Latex Text.Highlighting.Kate.Syntax.Lex Text.Highlighting.Kate.Syntax.Lilypond Text.Highlighting.Kate.Syntax.LiterateCurry Text.Highlighting.Kate.Syntax.LiterateHaskell Text.Highlighting.Kate.Syntax.Llvm Text.Highlighting.Kate.Syntax.Lua Text.Highlighting.Kate.Syntax.M4 Text.Highlighting.Kate.Syntax.Makefile Text.Highlighting.Kate.Syntax.Mandoc Text.Highlighting.Kate.Syntax.Markdown Text.Highlighting.Kate.Syntax.Mathematica Text.Highlighting.Kate.Syntax.Matlab Text.Highlighting.Kate.Syntax.Maxima Text.Highlighting.Kate.Syntax.Mediawiki Text.Highlighting.Kate.Syntax.Metafont Text.Highlighting.Kate.Syntax.Mips Text.Highlighting.Kate.Syntax.Modelines Text.Highlighting.Kate.Syntax.Modula2 Text.Highlighting.Kate.Syntax.Modula3 Text.Highlighting.Kate.Syntax.Monobasic Text.Highlighting.Kate.Syntax.Nasm Text.Highlighting.Kate.Syntax.Noweb Text.Highlighting.Kate.Syntax.Objectivec Text.Highlighting.Kate.Syntax.Objectivecpp Text.Highlighting.Kate.Syntax.Ocaml Text.Highlighting.Kate.Syntax.Octave Text.Highlighting.Kate.Syntax.Opencl Text.Highlighting.Kate.Syntax.Pascal Text.Highlighting.Kate.Syntax.Perl Text.Highlighting.Kate.Syntax.Php Text.Highlighting.Kate.Syntax.Pike Text.Highlighting.Kate.Syntax.Postscript Text.Highlighting.Kate.Syntax.Prolog Text.Highlighting.Kate.Syntax.Pure Text.Highlighting.Kate.Syntax.Python Text.Highlighting.Kate.Syntax.R Text.Highlighting.Kate.Syntax.Relaxng Text.Highlighting.Kate.Syntax.Relaxngcompact Text.Highlighting.Kate.Syntax.Rest Text.Highlighting.Kate.Syntax.Rhtml Text.Highlighting.Kate.Syntax.Roff Text.Highlighting.Kate.Syntax.Ruby Text.Highlighting.Kate.Syntax.Rust Text.Highlighting.Kate.Syntax.Scala Text.Highlighting.Kate.Syntax.Scheme Text.Highlighting.Kate.Syntax.Sci Text.Highlighting.Kate.Syntax.Sed Text.Highlighting.Kate.Syntax.Sgml Text.Highlighting.Kate.Syntax.Sql Text.Highlighting.Kate.Syntax.SqlMysql Text.Highlighting.Kate.Syntax.SqlPostgresql Text.Highlighting.Kate.Syntax.Tcl Text.Highlighting.Kate.Syntax.Tcsh Text.Highlighting.Kate.Syntax.Texinfo Text.Highlighting.Kate.Syntax.Verilog Text.Highlighting.Kate.Syntax.Vhdl Text.Highlighting.Kate.Syntax.Xml Text.Highlighting.Kate.Syntax.Xorg Text.Highlighting.Kate.Syntax.Xslt Text.Highlighting.Kate.Syntax.Xul Text.Highlighting.Kate.Syntax.Yacc Text.Highlighting.Kate.Syntax.Yaml Text.Highlighting.Kate.Syntax.Zsh -- disable optimizations; it doesn't hurt performance much and -- massively improves compilation speed and memory usage Default-Language: Haskell98 Ghc-Options: -W -O0 Ghc-Prof-Options: -fprof-auto-exported -- the following line is needed to prevent gcc from consuming huge amounts of -- memory on platforms without a native code generator: Cc-Options: -O0 Executable highlighting-kate Main-Is: highlighting-kate.hs Build-Depends: base, containers, blaze-html >= 0.4.2 && < 0.9, filepath, highlighting-kate Hs-Source-Dirs: extra Default-Language: Haskell98 if flag(pcre-light) cpp-options: -D_PCRE_LIGHT Ghc-Options: -W -O0 -rtsopts Ghc-Prof-Options: -fprof-auto-exported -- the following line is needed to prevent gcc from consuming huge amounts of -- memory on platforms without a native code generator: Cc-Options: -O0 if flag(executable) Buildable: True else Buildable: False test-suite test-highlighting-kate Type: exitcode-stdio-1.0 Main-Is: test-highlighting-kate.hs Hs-Source-Dirs: tests build-depends: base >= 4, directory, highlighting-kate, filepath, process, Diff, containers, blaze-html >= 0.4.2 && < 0.9 default-language: Haskell98 highlighting-kate-0.6.1/LICENSE0000644000000000000000000004316012633103275014306 0ustar0000000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. highlighting-kate-0.6.1/Makefile0000644000000000000000000000165712633103275014746 0ustar0000000000000000# The build procedure, after a fresh checkout from the repository: # make prep # cabal install # # 'make prep' generates the Haskell syntax parsers from kate # xml syntax definitions. XMLS=$(glob xml/*.xml) .PHONY: prep all test clean distclean install prof all: prep cabal configure -fexecutable --enable-tests cabal build prof: cabal configure --enable-library-profiling --enable-executable-profiling --disable-optimization -fexecutable cabal build prep: clean ParseSyntaxFiles $(XMLS) ./ParseSyntaxFiles xml @echo "Syntax parsers have been generated." @echo "You may now use cabal to build the package." install: cabal install test: cabal test ParseSyntaxFiles: ParseSyntaxFiles.hs cabal install HXT regex-posix cabal exec ghc -- --make -Wall ParseSyntaxFiles.hs # requires HXT >= 9.0.0 clean: rm -rf Text/Highlighting/Kate/Syntax/* distclean: rm -rf ParseSyntaxFiles.o ParseSyntaxFiles.hi ParseSyntaxFiles highlighting-kate-0.6.1/ParseSyntaxFiles.hs0000644000000000000000000007460412633103275017110 0ustar0000000000000000{-# LANGUAGE Arrows #-} {- ParseSyntaxFiles.hs processes a directory containing Kate XML syntax highlighting definitions. For each xml file in the directory, it creates a syntax highlighting parser Text/Highlighting/Kate/Syntax/(name).hs. Finally, it creates a module Text/Highlighting/Kate/Syntax.hs with a wrapper around all these modules. Usage: runghc ParseSyntaxFiles.hs xml Requires HXT. -} module Main where import Text.XML.HXT.Core import Control.Monad import Data.List import Data.Char (toUpper, toLower, isAlphaNum) import System.Directory import System.Environment import System.FilePath import Text.PrettyPrint import Text.Printf (printf) import Data.Char (ord) import Text.Highlighting.Kate.Types import qualified Data.ByteString as B import Data.ByteString.UTF8 (fromString, toString) import Text.Regex.Posix ((=~)) data SyntaxDefinition = SyntaxDefinition { synLanguage :: String , synAuthor :: String , synVersion :: String , synLicense :: String , synExtensions :: String , synCaseSensitive :: Bool , synLists :: [(String, [String])] , synContexts :: [SyntaxContext] , synItemDatas :: [(String, String)] , synKeywordAttr :: SyntaxKeywordAttr } deriving (Read, Show) data SyntaxKeywordAttr = SyntaxKeywordAttr { keywordCaseSensitive :: Bool , keywordDelims :: [Char] } deriving (Read, Show) data SyntaxContext = SyntaxContext { contName :: String , contAttribute :: String , contLineEndContext :: String , contLineBeginContext :: String , contFallthrough :: Bool , contFallthroughContext :: String , contDynamic :: Bool , contParsers :: [SyntaxParser] } deriving (Read, Show) data SyntaxParser = SyntaxParser { parserType :: String , parserAttribute :: String , parserContext :: String , parserLookAhead :: Bool , parserIncludeAttrib :: Bool , parserFirstNonSpace :: Bool , parserColumn :: Maybe Int , parserDynamic :: Bool , parserString :: String -- could be a regex , parserChar :: Char , parserChar1 :: Char , parserChildren :: [SyntaxParser] } deriving (Read, Show) -- | Converts a list of files (ending in .xml) and directories containing -- .xml files into a list of .xml files. argFiles :: [String] -> IO [String] argFiles [] = error "Specify paths of xml files and/or directories." argFiles args = do let isXmlFile x = isSuffixOf ".xml" x let (files, dirs) = partition isXmlFile args dirContents <- forM dirs $ \dir -> do dc <- getDirectoryContents dir return $ map (combine dir) $ filter isXmlFile dc return $ nub (files ++ concat dirContents) libraryPath :: FilePath libraryPath = joinPath ["Text", "Highlighting", "Kate"] destDir :: FilePath destDir = joinPath [libraryPath, "Syntax"] main :: IO () main = do files <- getArgs >>= argFiles destDirExists <- doesDirectoryExist destDir unless destDirExists $ createDirectory destDir mapM_ processOneFile files names <- (sort . map dropExtension . filter (isSuffixOf ".hs")) `fmap` (getDirectoryContents destDir) writeSyntaxFile names writeCabalFile names writeSyntaxFile :: [String] -> IO () writeSyntaxFile names = do let syntaxFile = combine libraryPath (addExtension "Syntax" "hs") putStrLn $ "Writing " ++ syntaxFile -- Get all syntax files, not only the newly generated ones. let imports = unlines $ map (\name -> "import qualified Text.Highlighting.Kate.Syntax." ++ name ++ " as " ++ name) names let cases = unlines $ map (\name -> show (map toLower name) ++ " -> " ++ name ++ ".highlight") names let languageExtensions = "[" ++ (intercalate ", " $ map (\name -> "(" ++ show name ++ ", " ++ name ++ ".syntaxExtensions)") names) ++ "]" let languageFullNames = "[" ++ (intercalate ", " $ map (\name -> "(" ++ show name ++ ", " ++ name ++ ".syntaxName)") names) ++ "]" syntaxFileTemplate <- liftM toString $ B.readFile (syntaxFile <.> "in") let filledTemplate = fillTemplate 0 [("imports",imports), ("languages",show names), ("supportedlanguages", intercalate ", " $ map (\x -> "@" ++ map toLower x ++ "@") names), ("languageExtensions",languageExtensions), ("languageFullNames",languageFullNames), ("cases",cases)] syntaxFileTemplate B.writeFile syntaxFile $ fromString filledTemplate writeCabalFile :: [String] -> IO () writeCabalFile names = do copyFile "highlighting-kate.cabal" "highlighting-kate.cabal.orig" cabalLines <- lines `fmap` readFile "highlighting-kate.cabal.orig" let (front,rest) = break (=~ "Text\\.Highlighting\\.Kate\\.Syntax\\.") cabalLines let end = dropWhile (=~ "Text\\.Highlighting\\.Kate\\.Syntax\\.") rest let toMod n = replicate 21 ' ' ++ "Text.Highlighting.Kate.Syntax." ++ n let newCabalLines = front ++ (map toMod names) ++ end writeFile "highlighting-kate.cabal" $ unlines newCabalLines putStrLn "Modified highlighting-kate.cabal." putStrLn "Backed up original as highlighting-kate.cabal.orig." isIncludeRules :: SyntaxParser -> Bool isIncludeRules p = parserType p == "IncludeRules" && "##" `isInfixOf` parserContext p includeLangs :: SyntaxDefinition -> [String] includeLangs syntax = nub $ map (takeLang . parserContext) $ filter isIncludeRules $ concatMap contParsers $ synContexts syntax takeLang :: String -> String takeLang [] = [] takeLang ('#':'#':xs) = xs takeLang (_:xs) = takeLang xs processOneFile :: FilePath -> IO () processOneFile src = do [syntax] <- runX $ application src let name = nameFromPath src let outFile = joinPath [libraryPath, "Syntax", addExtension name "hs"] -- let includeLangs = nub $ filter (/= name) $ map (drop 2 . parserContext) $ -- filter isIncludeRules $ concatMap contParsers $ synContexts syntax let includeImports = map (("import qualified " ++) . langNameToModule) (filter (/= name) $ includeLangs syntax) putStrLn $ "Writing " ++ outFile B.writeFile outFile $ fromString $ "{- This module was generated from data in the Kate syntax\n\ \ highlighting file " ++ (takeFileName src) ++ ", version " ++ synVersion syntax ++ ", by " ++ synAuthor syntax ++ " -}\n\n" ++ "module Text.Highlighting.Kate.Syntax." ++ name ++ "\n " ++ "(highlight, parseExpression, syntaxName, syntaxExtensions)" ++ "\nwhere\n\ \import Text.Highlighting.Kate.Types\n\ \import Text.Highlighting.Kate.Common\n" ++ unlines includeImports ++ "import Text.ParserCombinators.Parsec hiding (State)\n\ \import Control.Monad.State\n\ \import Data.Char (isSpace)\n" ++ (if null (synLists syntax) then "\n" else "import qualified Data.Set as Set\n\n") ++ render (mkParser syntax) ++ "\n" labelFor :: SyntaxDefinition -> String -> TokenType labelFor syntax attr' = case lookup attr' (synItemDatas syntax) of Just "dsKeyword" -> KeywordTok Just "dsDataType" -> DataTypeTok Just "dsDecVal" -> DecValTok Just "dsBaseN" -> BaseNTok Just "dsFloat" -> FloatTok Just "dsConstant" -> ConstantTok Just "dsChar" -> CharTok Just "dsSpecialChar" -> SpecialCharTok Just "dsString" -> StringTok Just "dsVerbatimString" -> VerbatimStringTok Just "dsSpecialString" -> SpecialStringTok Just "dsImport" -> ImportTok Just "dsComment" -> CommentTok Just "dsDocumentation" -> DocumentationTok Just "dsAnnotation" -> AnnotationTok Just "dsCommentVar" -> CommentVarTok Just "dsOthers" -> OtherTok Just "dsFunction" -> FunctionTok Just "dsVariable" -> VariableTok Just "dsControlFlow" -> ControlFlowTok Just "dsOperator" -> OperatorTok Just "dsBuiltIn" -> BuiltInTok Just "dsExtension" -> ExtensionTok Just "dsPreprocessor" -> PreprocessorTok Just "dsAttribute" -> AttributeTok Just "dsRegionMarker" -> RegionMarkerTok Just "dsInformation" -> InformationTok Just "dsWarning" -> WarningTok Just "dsAlert" -> AlertTok Just "dsError" -> ErrorTok _ -> NormalTok mkParser :: SyntaxDefinition -> Doc mkParser syntax = let name = text "-- | Full name of language." $$ text "syntaxName :: String" $$ text ("syntaxName = " ++ show (synLanguage syntax)) exts = text "-- | Filename extensions for this language." $$ text "syntaxExtensions :: String" $$ text ("syntaxExtensions = " ++ show (synExtensions syntax)) withAttr = text "withAttribute attr txt = do" $$ (nest 2 $ text "when (null txt) $ fail \"Parser matched no text\"" $$ text "updateState $ \\st -> st { synStPrevChar = last txt" $$ text " , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }" $$ text "return (attr, txt)") parseExpression = text "-- | Parse an expression using appropriate local context." $$ text "parseExpression :: Maybe (String,String)" $$ text " -> KateParser Token" $$ text "parseExpression mbcontext = do" $$ (nest 2 $ text "(lang,cont) <- maybe currentContext return mbcontext" $$ text ("result <- parseRules (lang,cont)") $$ text "optional $ do eof" $$ text " updateState $ \\st -> st{ synStPrevChar = '\\n' }" $$ text " pEndLine" $$ text "return result") -- defaultAttributes = text $ "defaultAttributes = " ++ (show $ map (\cont -> ((synLanguage syntax, contName cont), labelFor syntax $ contAttribute cont)) $ synContexts syntax) -- Note: lineBeginContexts seems not to be used in any of the xml files -- lineBeginContexts = -- text $ "lineBeginContexts = " ++ (show $ map (\cont -> (contName cont, contLineBeginContext cont)) $ synContexts syntax) startingContext = head (synContexts syntax) -- contextNull = text $ "parseRules \"\" = parseRules " ++ show (synLanguage syntax, contName startingContext) -- includeLangs = nub $ map (drop 2 . parserContext) $ -- filter isIncludeRules $ -- concatMap contParsers $ synContexts syntax foreignContexts = vcat $ map (\l -> text ("parseRules (" ++ show l ++ ", _) = " ++ langNameToModule l ++ ".parseExpression Nothing")) (includeLangs syntax) contextCatchAll = text $ "parseRules x = parseRules " ++ show (synLanguage syntax, contName startingContext) ++ " <|> fail (\"Unknown context\" ++ show x)" contexts = map (mkRules syntax) $ synContexts syntax initialContextStack = [(synLanguage syntax, contName startingContext)] initState = text $ "startingState = " ++ show defaultSyntaxState{ synStContexts = initialContextStack , synStKeywordCaseSensitive = keywordCaseSensitive (synKeywordAttr syntax) } mainFunction = text $ "-- | Highlight source code using this syntax definition.\n\ \highlight :: String -> [SourceLine]\n\ \highlight input = evalState (mapM parseSourceLine $ lines input) startingState" lineParser = text $ "parseSourceLine :: String -> State SyntaxState SourceLine\n\ \parseSourceLine = mkParseSourceLine (parseExpression Nothing)" endLineParser = text "pEndLine = do" $$ (nest 2 $ text "updateState $ \\st -> st{ synStPrevNonspace = False }" $$ text "context <- currentContext" $$ text "contexts <- synStContexts `fmap` getState" $$ text "st <- getState" $$ text "if length contexts >= 2" $$ text " then case context of" $$ (nest 4 $ text "_ | synStContinuation st -> updateState $ \\st -> st{ synStContinuation = False }") $$ (nest 4 $ (vcat $ map (\cont -> text (show (synLanguage syntax, contName cont)) <> text " -> " <> switchContext (synLanguage syntax, contLineEndContext cont) (<> text " >> ") <> if "#pop" `isPrefixOf` (contLineEndContext cont) then text "pEndLine" else text "return ()") $ synContexts syntax) $$ (text $ "_ -> return ()")) $$ text " else return ()") {- text "pushContext (synLanguage syntax, fromMaybe \"#stay\" $ lookup context lineBeginContexts)" $$ -} -- we use 'words "blah blah2 blah3"' to keep ghc from inlining the list, which makes compiling take a long time listDef (n, list) = text $ listName n ++ " = Set.fromList $ words $ " ++ show (if keywordCaseSensitive (synKeywordAttr syntax) then unwords list else map toLower (unwords list)) lists = vcat $ map listDef $ synLists syntax regexDef re = text $ compiledRegexName re ++ " = compileRegex " ++ show (synCaseSensitive syntax) ++ " " ++ show re regexes = vcat $ map regexDef $ nub $ [parserString x | x <- concatMap contParsers (synContexts syntax), parserType x == "RegExpr", parserDynamic x == False] in vcat $ intersperse (text "") $ [name, exts, mainFunction, lineParser, parseExpression, initState, endLineParser, withAttr, lists, regexes {- ,defaultAttributes , lineBeginContexts -}] ++ contexts ++ [foreignContexts, contextCatchAll] mkAlternatives :: [Doc] -> Doc mkAlternatives docs = let contents = vcat $ intersperse (text "<|>") docs in if length docs > 1 then char '(' <> contents <> char ')' else contents mkRules :: SyntaxDefinition -> SyntaxContext -> Doc mkRules syntax context = let ctx = (synLanguage syntax, contName context) fallthroughParser = if contFallthrough context then [parens (switchContext (synLanguage syntax, contFallthroughContext context) (<> text " >> ") <> text "currentContext >>= parseRules")] else [parens $ text $ "currentContext >>= \\x -> guard (x == " ++ show ctx ++ ") >> pDefault >>= withAttribute " ++ show (labelFor syntax (contAttribute context))] in text ("parseRules " ++ show ctx ++ " =") $$ if null (contParsers context) && null fallthroughParser then nest 2 (text "pzero") else nest 2 $ mkAlternatives $ (map (mkSyntaxParser syntax context) $ contParsers context) ++ fallthroughParser mkSyntaxParser :: SyntaxDefinition -> SyntaxContext -> SyntaxParser -> Doc mkSyntaxParser syntax context parser = let attr' = case parserAttribute parser of "" -> labelFor syntax $ contAttribute context x -> labelFor syntax x mainParser = text $ case parserType parser of "DetectChar" -> "pDetectChar " ++ show (parserDynamic parser) ++ " " ++ show (parserChar parser) "Detect2Chars" -> "pDetect2Chars " ++ show (parserDynamic parser) ++ " " ++ show (parserChar parser) ++ " " ++ show (parserChar1 parser) "AnyChar" -> "pAnyChar " ++ show (parserString parser) "StringDetect" -> "pString " ++ show (parserDynamic parser) ++ " " ++ show (parserString parser) "RegExpr" -> if parserDynamic parser then "pRegExprDynamic " ++ show (parserString parser) else "pRegExpr " ++ compiledRegexName (parserString parser) "keyword" -> "pKeyword " ++ show (keywordDelims $ synKeywordAttr syntax) ++ " " ++ list where list = case lookup string (synLists syntax) of Just _ -> listName string Nothing -> "Set.empty" string = parserString parser "Int" -> "pInt" "Float" -> "pFloat" "HlCOct" -> "pHlCOct" "HlCHex" -> "pHlCHex" "HlCStringChar" -> "pHlCStringChar" "HlCChar" -> "pHlCChar" "RangeDetect" -> "pRangeDetect " ++ show (parserChar parser) ++ " " ++ show (parserChar1 parser) "LineContinue" -> "pLineContinue" "IncludeRules" -> case break (=='#') $ parserContext parser of (cont,'#':'#':lang) -> langNameToModule lang ++ ".parseExpression (" ++ show (Just (lang, cont)) ++ if parserIncludeAttrib parser || attr' == NormalTok then ")" else ") >>= ((withAttribute " ++ show attr' ++ ") . snd)" (cont,_) -> "parseRules " ++ show (synLanguage syntax, cont) "DetectSpaces" -> "pDetectSpaces" "DetectIdentifier" -> "pDetectIdentifier" _ -> "pUnimplemented" parserDoc = char '(' <> (case (parserColumn parser) of Just c -> text $ "pColumn " ++ show c ++ " >> " _ -> empty) <> (if parserFirstNonSpace parser then text "pFirstNonSpace >> " else empty) <> if parserType parser == "IncludeRules" then mainParser <> char ')' else if parserLookAhead parser then text "lookAhead (" <> mainParser <> char ')' <> switchContext (synLanguage syntax, parserContext parser) (text " >> " <>) <> text " >> currentContext >>= parseRules)" else mainParser <> text " >>= withAttribute " <> text (show attr') <> char ')' <> switchContext (synLanguage syntax, parserContext parser) (text " >>~ " <>) childParsers = parserChildren parser in char '(' <> (if null childParsers then parserDoc else text "withChildren " <> parserDoc <> char ' ' <> (mkAlternatives $ map (mkSyntaxParser syntax context) childParsers)) <> char ')' switchContext :: Context -> (Doc -> Doc) -> Doc switchContext (lang,next) finalizer = case next of x | "#pop" `isPrefixOf` x -> finalizer $ char '(' <> text (concat $ intersperse " >> " $ replicate (length (filter (=='#') x)) "popContext") <> char ')' "#stay" -> empty "" -> empty x -> finalizer $ text ("pushContext " ++ show (lang,x)) langNameToModule :: String -> String langNameToModule str = "Text.Highlighting.Kate.Syntax." ++ case str of "Alerts" -> "Alert" "Alerts_indent" -> "Alert_indent" "C++" -> "Cpp" "CSS" -> "Css" "Doxygen" -> "Doxygen" "HTML" -> "Html" "Javadoc" -> "Javadoc" "JavaScript" -> "Javascript" "SQL (MySQL)" -> "SqlMysql" "DoxygenLua" -> "Doxygenlua" "reStructuredText" -> "Restructuredtext" "ISO C++" -> "Isocpp" "GCCExtensions" -> "Gcc" x -> x listName :: String -> String listName n = "list_" ++ normalize n compiledRegexName :: String -> String compiledRegexName n = "regex_" ++ normalize n normalize :: String -> String normalize "" = "" normalize (x:xs) | isAlphaNum x = x : normalize xs normalize (' ':xs) = '_':normalize xs normalize (x:xs) = printf "'%2x" (ord x) ++ normalize xs capitalize :: String -> String capitalize (x:xs) = toUpper x : xs capitalize [] = [] nameFromPath :: FilePath -> String nameFromPath = concat . map capitalize . words . (map (\c -> if c == '-' then ' ' else c)) . takeFileName . dropExtension application :: String -> IOSArrow b SyntaxDefinition application src = readDocument [withValidate no, withInputEncoding utf8] src >>> multi (hasName "language") >>> extractSyntaxDefinition extractSyntaxDefinition :: IOSArrow XmlTree SyntaxDefinition extractSyntaxDefinition = proc x -> do lang <- getAttrValue "name" -< x author <- getAttrValue "author" -< x version <- getAttrValue "version" -< x license <- getAttrValue "license" -< x sources <- getAttrValue "extensions" -< x caseSensitive <- getAttrValue "casesensitive" -< x itemdatas <- getItemDatas -< x lists <- getLists -< x contexts <- getContexts -< x keywordAttr <- getKeywordAttrs -< x returnA -< SyntaxDefinition { synLanguage = lang , synAuthor = author , synVersion = version , synLicense = license , synExtensions = sources , synCaseSensitive = vBool True caseSensitive , synLists = lists , synContexts = contexts , synItemDatas = itemdatas , synKeywordAttr = if null keywordAttr then defaultKeywordAttr else head keywordAttr } getItemDatas :: IOSArrow XmlTree [(String,String)] getItemDatas = multi (hasName "itemDatas") >>> (listA $ getChildren >>> hasName "itemData" >>> getAttrValue "name" &&& getAttrValue "defStyleNum") getLists :: IOSArrow XmlTree [(String, [String])] getLists = listA $ multi (hasName "list") >>> getAttrValue "name" &&& getListContents getListContents :: IOSArrow XmlTree [String] getListContents = listA $ getChildren >>> hasName "item" >>> getChildren >>> getText >>> arr stripWhitespace getContexts :: IOSArrow XmlTree [SyntaxContext] getContexts = listA $ multi (hasName "context") >>> proc x -> do name <- getAttrValue "name" -< x attribute <- getAttrValue "attribute" -< x lineEndContext <- getAttrValue "lineEndContext" -< x lineBeginContext <- getAttrValue "lineBeginContext" -< x fallthrough <- getAttrValue "fallthrough" -< x fallthroughContext <- getAttrValue "fallthroughContext" -< x dynamic <- getAttrValue "dynamic" -< x parsers <- getParsers -< x returnA -< SyntaxContext { contName = name , contAttribute = attribute , contLineEndContext = if null lineEndContext then "#stay" else lineEndContext , contLineBeginContext = if null lineBeginContext then "#stay" else lineBeginContext , contFallthrough = vBool False fallthrough , contFallthroughContext = if null fallthroughContext then "#stay" else fallthroughContext , contDynamic = vBool False dynamic , contParsers = parsers } getParsers :: IOSArrow XmlTree [SyntaxParser] getParsers = listA $ getChildren >>> proc x -> do name <- getName -< x attribute <- getAttrValue "attribute" -< x context <- getAttrValue "context" -< x char0 <- getAttrValue "char" -< x char1 <- getAttrValue "char1" -< x str <- getAttrValue "String" -< x includeAttrib <- getAttrValue "includeAttrib" -< x lookahead <- getAttrValue "lookAhead" -< x firstNonSpace <- getAttrValue "firstNonSpace" -< x column <- getAttrValue "column" -< x dynamic <- getAttrValue "dynamic" -< x children <- getParsers -< x let tildeRegex = name == "RegExpr" && length str > 0 && head str == '^' returnA -< SyntaxParser { parserType = name , parserAttribute = attribute , parserContext = context , parserLookAhead = vBool False lookahead , parserIncludeAttrib = vBool False includeAttrib , parserFirstNonSpace = vBool False firstNonSpace , parserColumn = if tildeRegex then Just 0 else if null column then Nothing else Just (read column) , parserDynamic = vBool False dynamic , parserString = if tildeRegex then drop 1 str else str -- Note, some xml files have "\\" for a backslash, -- others have "\". Not sure what the rules are, but -- this covers both bases: , parserChar = case char0 of [c] -> c _ -> read $ "'" ++ char0 ++ "'" , parserChar1 = case char1 of [c] -> c _ -> read $ "'" ++ char1 ++ "'" , parserChildren = children } getKeywordAttrs :: IOSArrow XmlTree [SyntaxKeywordAttr] getKeywordAttrs = listA $ multi $ hasName "keywords" >>> proc x -> do caseSensitive <- getAttrValue "casesensitive" -< x weakDelim <- getAttrValue "weakDeliminator" -< x additionalDelim <- getAttrValue "additionalDeliminator" -< x returnA -< SyntaxKeywordAttr { keywordCaseSensitive = vBool True caseSensitive , keywordDelims = (standardDelims ++ additionalDelim) \\ weakDelim } standardDelims :: [Char] standardDelims = " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" defaultKeywordAttr :: SyntaxKeywordAttr defaultKeywordAttr = SyntaxKeywordAttr { keywordCaseSensitive = True , keywordDelims = standardDelims } stripWhitespace :: String -> String stripWhitespace = reverse . stripWhitespaceLeft . reverse . stripWhitespaceLeft where stripWhitespaceLeft = dropWhile isWhitespace isWhitespace x = x `elem` [' ', '\t', '\n'] vBool :: Bool -> String -> Bool vBool defaultVal value = case value of z | z `elem` ["true","yes","1"] -> True z | z `elem` ["false","no","0"] -> False _ -> defaultVal -- | Fill template. The template variables in the source text are -- surrounded by @'s: e.g., @myvar@. fillTemplate :: Int -> [(String,String)] -> String -> String fillTemplate _ _ [] = [] fillTemplate _ [] lst = lst fillTemplate _ subs ('\n':xs) = '\n' : fillTemplate 0 subs xs fillTemplate n subs ('@':xs) = let (pref, suff) = break (=='@') xs in if length pref > 0 && all isAlphaNum pref && length suff > 0 then case lookup pref subs of Just v -> intercalate ('\n':replicate n ' ') (lines v) ++ fillTemplate (n + length v) subs (tail suff) Nothing -> '@' : fillTemplate (n+1) subs xs else '@' : fillTemplate (n+1) subs xs fillTemplate n subs (x:xs) = x : fillTemplate (n+1) subs xs highlighting-kate-0.6.1/README.md0000644000000000000000000001010712633103275014553 0ustar0000000000000000highlighting-kate ----------------- A Haskell source code highlighting library, based on Kate's syntax description files (http://kate-editor.org/), now [part of the KDE Framework's "KTextEditor" component](http://kate-editor.org/2013/11/11/kate-on-5-the-future-of-ktexteditor-and-kate-part/). It can produce both HTML and LaTeX output. Currently, the following languages/formats are supported: - Abc - Actionscript - Ada - Agda - Apache - Asn1 - Asp - Awk - Bash - Bibtex - Boo - C - Changelog - Clojure - Cmake - Coffeescript - Coldfusion - Commonlisp - Cpp - Cs - Css - Curry - D - Diff - Djangotemplate - Dockerfile - Dot - Doxygen - Dtd - Eiffel - Email - Erlang - Fasm - Fortran - Fsharp - Gcc - Glsl - Gnuassembler - Go - Haskell - Haxe - Html - Idris - Ini - Isocpp - Java - Javadoc - Javascript - Json - Jsp - Julia - Latex - Lex - Lilypond - LiterateCurry - LiterateHaskell - Lua - M4 - Makefile - Mandoc - Markdown - Mathematica - Matlab - Maxima - Mediawiki - Metafont - Mips - Modula2 - Modula3 - Monobasic - Nasm - Noweb - Objectivec - Objectivecpp - Ocaml - Octave - Opencl - Pascal - Perl - Php - Pike - Postscript - Prolog - Pure - Python - R - Relaxng - Relaxngcompact - Rest - Rhtml - Roff - Ruby - Rust - Scala - Scheme - Sci - Sed - Sgml - Sql - SqlMysql - SqlPostgresql - Tcl - Tcsh - Texinfo - Verilog - Vhdl - Xml - Xorg - Xslt - Xul - Yacc - Yaml - Zsh To install, use the cabal tool: cabal install Note: If you have checked out the source from the git repository, you will first need to do: make prep which generates some of the needed source files from xml syntax definitions. To generate the documentation: cabal haddock To run the test suite: cabal test For an example of the use of the library, see highlighting-kate.hs. To compile this program along with the library, specify the 'executable' flag in the configure step above: cabal install -fexecutable To run `highlighting-kate`, specify the language name using -s: highlighting-kate -s haskell highlighting-kate.hs > example.html If you don't specify a language name, `highlighting-kate` will try to guess it from the file extension.`highlighting-kate` can also be used as a pipe, reading input from STDIN. For other options, highlighting-kate --help Styling is done using span tags. The Highlight program will include default styles in the generated HTML, unless a link to a CSS file is provided using the '--css' option. Some sample CSS files can be found in the css directory. These use generic class names (Normal, Keyword, DataType, DecVal, BaseN, Float, Char, String, Comment, Function, Others, Alert, Error). For more fine-grained highlighting, users may wish to create their own CSS files that use language-specific classes. The parsers in Text/Highlighting/Kate/Syntax were automatically generated from the Kate syntax definitions in the xml directory. You may modify the xml files in this directory, or add new ones, and then regenerate the parsers by doing: make prep or runghc ParseSyntaxFiles.hs xml Note that ParseSyntaxFiles.hs requires the HXT package (>= 9.0.0). To get the current Kate syntax highlighting files, clone the ktexteditor repository: git clone git://anongit.kde.org/ktexteditor The syntax definitions can then be found in src/syntax/data There is information on the syntax highlighting definitions at . See also . Thanks are due to all the authors of these syntax definitions. Changes have been made to the following xml files (diffs have been left in the directory, with .patch extensions): - haskell.xml: Small changes to mapping of styles to token types. - lua.xml: Variables and constants highlighted as "normal", not keywords. - perl.xml: Small regex change due to differences in regex engines. - php.xml: Added fallthrough so `. highlighting-kate-0.6.1/Setup.lhs0000644000000000000000000000011512633103275015102 0ustar0000000000000000#!/usr/bin/env runhaskell > import Distribution.Simple > main = defaultMain highlighting-kate-0.6.1/css/0000755000000000000000000000000012633103275014065 5ustar0000000000000000highlighting-kate-0.6.1/css/hk-espresso.css0000644000000000000000000000214012633103275017037 0ustar0000000000000000/* Based on ultraviolet's espresso_libre.css */ table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; } code.sourceCode, pre.sourceCode, table.sourceCode { background-color: #2A211C; color: #BDAE9D; } td.sourceCode { padding-left: 5px; } code.sourceCode span.kw { color: #43A8ED; font-weight: bold; } code.sourceCode span.dt { text-decoration: underline; } code.sourceCode span.dv { color: #44AA43; } code.sourceCode span.bn { color: #44AA43; } code.sourceCode span.fl { color: #44AA43; } code.sourceCode span.ch { color: #049B0A; } code.sourceCode span.st { color: #049B0A; } code.sourceCode span.co { color: #0066FF; font-style: italic; } code.sourceCode span.ot { } code.sourceCode span.al { color: yellow; font-weight: bold; } code.sourceCode span.fu { color: #FF9358; font-weight: bold; } code.sourceCode span.re { } code.sourceCode span.er { color: yellow; font-weight: bold; } highlighting-kate-0.6.1/css/hk-kate.css0000644000000000000000000000173412633103275016130 0ustar0000000000000000/* Based on kate's own default colors for Haskell */ table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } td.lineNumbers { text-align: right; background-color: #EBEBEB; color: black; padding-right: 5px; padding-left: 5px; } td.sourceCode { padding-left: 5px; } pre.sourceCode { } code.sourceCode span.kw { font-weight: bold; } code.sourceCode span.dt { color: #800000; } code.sourceCode span.dv { color: #0000FF; } code.sourceCode span.bn { color: #0000FF; } code.sourceCode span.fl { color: #800080; } code.sourceCode span.ch { color: #FF00FF; } code.sourceCode span.st { color: #DD0000; } code.sourceCode span.co { color: #808080; font-style: italic; } code.sourceCode span.ot { } code.sourceCode span.al { color: green; font-weight: bold; } code.sourceCode span.fu { color: #000080; } code.sourceCode span.re { } code.sourceCode span.er { color: red; font-weight: bold; } highlighting-kate-0.6.1/css/hk-pyg.css0000644000000000000000000000177512633103275016010 0ustar0000000000000000/* Loosely based on pygment's default colors */ table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; } td.lineNumbers { border-right: 1px solid #AAAAAA; text-align: right; color: #AAAAAA; padding-right: 5px; padding-left: 5px; } td.sourceCode { padding-left: 5px; } pre.sourceCode { } code.sourceCode span.kw { color: #007020; font-weight: bold; } code.sourceCode span.dt { color: #902000; } code.sourceCode span.dv { color: #40a070; } code.sourceCode span.bn { color: #40a070; } code.sourceCode span.fl { color: #40a070; } code.sourceCode span.ch { color: #4070a0; } code.sourceCode span.st { color: #4070a0; } code.sourceCode span.co { color: #60a0b0; font-style: italic; } code.sourceCode span.ot { color: #007020; } code.sourceCode span.al { color: red; font-weight: bold; } code.sourceCode span.fu { color: #06287e; } code.sourceCode span.re { } code.sourceCode span.er { color: red; font-weight: bold; } highlighting-kate-0.6.1/css/hk-tango.css0000644000000000000000000000255312633103275016314 0ustar0000000000000000/* Loosely based on pygment's tango colors */ table.sourceCode, tr.sourceCode, td.sourceCode, table.sourceCode pre { margin: 0; padding: 0; border: 0; vertical-align: baseline; border: none; background-color: #f8f8f8 } td.nums { text-align: right; padding-right: 5px; padding-left: 5px; background-color: #f0f0f0; } td.sourceCode { padding-left: 5px; } code.sourceCode { background-color: #f8f8f8; } pre.sourceCode { background-color: #f8f8f8; line-height: 125% } td.nums pre { background-color: #f0f0f0; line-height: 125% } code.sourceCode span.kw { color: #204a87; font-weight: bold } /* Keyword */ code.sourceCode span.dt { color: #204a87 } /* Keyword.Type */ code.sourceCode span.dv { color: #0000cf } /* Literal.Number.Integer */ code.sourceCode span.bn { color: #0000cf } /* Literal.Number.Hex */ code.sourceCode span.fl { color: #0000cf } /* Literal.Number.Float */ code.sourceCode span.ch { color: #4e9a06 } /* Literal.String.Char */ code.sourceCode span.st { color: #4e9a06 } /* Literal.String */ code.sourceCode span.co { color: #8f5902; font-style: italic } /* Comment */ code.sourceCode span.ot { color: #8f5902 } /* Comment.Preproc */ code.sourceCode span.al { color: #ef2929 } /* Generic.Error */ code.sourceCode span.fu { color: #000000 } /* Name.Function */ code.sourceCode span.re { } code.sourceCode span.er { color: #a40000; border: 1px solid #ef2929 } /* Error */ highlighting-kate-0.6.1/extra/0000755000000000000000000000000012633103275014420 5ustar0000000000000000highlighting-kate-0.6.1/extra/highlighting-kate.hs0000644000000000000000000001443412633103275020351 0ustar0000000000000000{-# LANGUAGE CPP, OverloadedStrings #-} module Main where import Text.Highlighting.Kate import System.IO (hPutStrLn, stderr) import System.Environment import System.Console.GetOpt import System.Exit import System.FilePath (takeFileName) import Data.Maybe (listToMaybe) import Data.Char (toLower) #if MIN_VERSION_blaze_html(0,5,0) import Text.Blaze.Html import Text.Blaze.Html.Renderer.String #else import Text.Blaze import Text.Blaze.Renderer.String #endif import qualified Text.Blaze.Html5 as H import qualified Text.Blaze.Html5.Attributes as A data Flag = Sty String | Format String | Help | Fragment | List | NumberLines | Syntax String | TitleAttributes | Version deriving (Eq, Show) options :: [OptDescr Flag] options = [ Option ['S'] ["style"] (ReqArg Sty "STYLE") "specify style" , Option ['F'] ["format"] (ReqArg Format "FORMAT") "output format (html|latex)" , Option ['f'] ["fragment"] (NoArg Fragment) "fragment, without document header" , Option ['h'] ["help"] (NoArg Help) "show usage message" , Option ['l'] ["list"] (NoArg List) "list available language syntaxes" , Option ['n'] ["number-lines"] (NoArg NumberLines) "number lines" , Option ['s'] ["syntax"] (ReqArg Syntax "SYNTAX") "specify language syntax to use" , Option ['t'] ["title-attributes"] (NoArg TitleAttributes) "include structure in title attributes" , Option ['v'] ["version"] (NoArg Version) "print version" ] syntaxOf :: [Flag] -> Maybe String syntaxOf [] = Nothing syntaxOf (Syntax s : _) = Just s syntaxOf (_:xs) = syntaxOf xs styleOf :: [Flag] -> Maybe Style styleOf [] = Nothing styleOf (Sty s : _) = case map toLower s of "pygments" -> Just pygments "espresso" -> Just espresso "kate" -> Just kate "tango" -> Just tango "haddock" -> Just haddock "monochrome" -> Just monochrome _ -> error $ "Unknown style: " ++ s styleOf (_ : xs) = styleOf xs formatOf :: [Flag] -> String formatOf [] = "html" -- default formatOf (Format s : _) = case map toLower s of "html" -> "html" "latex" -> "latex" _ -> error $ "Unknown format: " ++ s formatOf (_ : xs) = formatOf xs filterNewlines :: String -> String filterNewlines ('\r':'\n':xs) = '\n' : filterNewlines xs filterNewlines ('\r':xs) = '\n' : filterNewlines xs filterNewlines (x:xs) = x : filterNewlines xs filterNewlines [] = [] main = do (opts, fnames, errs) <- getArgs >>= return . getOpt Permute options prg <- getProgName let usageHeader = prg ++ " [options] [files...]" if not (null errs) then ioError (userError $ concat errs ++ usageInfo usageHeader options) else return () if List `elem` opts then putStrLn (unwords languages) >> exitWith ExitSuccess else return () if Help `elem` opts then hPutStrLn stderr (usageInfo usageHeader options) >> exitWith (ExitFailure 1) else return () if Version `elem` opts then putStrLn (prg ++ " " ++ highlightingKateVersion ++ " - (c) 2008 John MacFarlane") >> exitWith ExitSuccess else return () code <- if null fnames then getContents >>= return . filterNewlines else mapM readFile fnames >>= return . filterNewlines . concat let lang' = case syntaxOf opts of Just e -> Just e Nothing -> case fnames of [] -> Nothing (x:_) -> listToMaybe $ languagesByFilename $ takeFileName x lang <- if lang' == Nothing then hPutStrLn stderr "No syntax specified." >> hPutStrLn stderr (usageInfo usageHeader options) >> exitWith (ExitFailure 5) else do let (Just l) = lang' return (map toLower l) if not (lang `elem` (map (map toLower) languages)) then hPutStrLn stderr ("Unknown syntax: " ++ lang) >> exitWith (ExitFailure 4) else return () let highlightOpts = defaultFormatOpts{ titleAttributes = TitleAttributes `elem` opts , numberLines = NumberLines `elem` opts , lineAnchors = NumberLines `elem` opts } let fragment = Fragment `elem` opts let fname = case fnames of [] -> "" (x:_) -> x case formatOf opts of "html" -> hlHtml fragment fname highlightOpts (maybe pygments id $ styleOf opts) lang code "latex" -> hlLaTeX fragment fname highlightOpts (maybe pygments id $ styleOf opts) lang code x -> error $ "Uknown format " ++ x hlHtml :: Bool -- ^ Fragment -> FilePath -- ^ Filename -> FormatOptions -> Style -> String -- ^ language -> String -- ^ code -> IO () hlHtml frag fname opts sty lang code = if frag then putStrLn $ renderHtml fragment else putStrLn $ renderHtml $ H.head (pageTitle >> metadata >> css) >> H.body (toHtml fragment) where fragment = formatHtmlBlock opts $ highlightAs lang code css = H.style ! A.type_ "text/css" $ toHtml $ styleToCss sty pageTitle = H.title $ toHtml fname metadata = H.meta ! A.httpEquiv "Content-Type" ! A.content "text/html; charset=UTF-8" >> H.meta ! A.name "generator" ! A.content "highlight-kate" hlLaTeX :: Bool -- ^ Fragment -> FilePath -- ^ Filename -> FormatOptions -> Style -> String -- ^ language -> String -- ^ code -> IO () hlLaTeX frag fname opts sty lang code = if frag then putStrLn fragment else putStrLn $ "\\documentclass{article}\n\\usepackage[margin=1in]{geometry}\n" ++ macros ++ pageTitle ++ "\n\\begin{document}\n\\maketitle\n" ++ fragment ++ "\n\\end{document}" where fragment = formatLaTeXBlock opts $ highlightAs lang code macros = styleToLaTeX sty pageTitle = "\\title{" ++ fname ++ "}\n" highlighting-kate-0.6.1/tests/0000755000000000000000000000000012633103275014437 5ustar0000000000000000highlighting-kate-0.6.1/tests/abc.ada0000644000000000000000000000437612633103275015645 0ustar0000000000000000with Ada.Characters.Handling; use Ada.Characters.Handling; package Abc is type Block_Faces is array(1..2) of Character; type Block_List is array(positive range <>) of Block_Faces; function Can_Make_Word(W: String; Blocks: Block_List) return Boolean; end Abc; package body Abc is function Can_Make_Word(W: String; Blocks: Block_List) return Boolean is Used : array(Blocks'Range) of Boolean := (Others => False); subtype wIndex is Integer range W'First..W'Last; wPos : wIndex; begin if W'Length = 0 then return True; end if; wPos := W'First; while True loop declare C : Character := To_Upper(W(wPos)); X : constant wIndex := wPos; begin for I in Blocks'Range loop if (not Used(I)) then if C = To_Upper(Blocks(I)(1)) or C = To_Upper(Blocks(I)(2)) then Used(I) := True; if wPos = W'Last then return True; end if; wPos := wIndex'Succ(wPos); exit; end if; end if; end loop; if X = wPos then return False; end if; end; end loop; return False; end Can_Make_Word; end Abc; with Ada.Text_IO, Ada.Strings.Unbounded, Abc; use Ada.Text_IO, Ada.Strings.Unbounded, Abc; procedure Abc_Problem is Blocks : Block_List := ( ('B','O'), ('X','K'), ('D','Q'), ('C','P') , ('N','A'), ('G','T'), ('R','E'), ('T','G') , ('Q','D'), ('F','S'), ('J','W'), ('H','U') , ('V','I'), ('A','N'), ('O','B'), ('E','R') , ('F','S'), ('L','Y'), ('P','C'), ('Z','M') ); function "+" (S : String) return Unbounded_String renames To_Unbounded_String; words : array(positive range <>) of Unbounded_String := ( +"A" , +"BARK" , +"BOOK" , +"TREAT" , +"COMMON" , +"SQUAD" , +"CONFUSE" -- Border cases: -- , +"CONFUSE2" -- , +"" ); begin for I in words'Range loop Put_Line ( To_String(words(I)) & ": " & Boolean'Image(Can_Make_Word(To_String(words(I)),Blocks)) ); end loop; end Abc_Problem; highlighting-kate-0.6.1/tests/abc.ada.html0000644000000000000000000002560412633103275016605 0ustar0000000000000000
with Ada.Characters.Handling;
use Ada.Characters.Handling;


package Abc is
    type Block_Faces is array(1..2) of Character;
    type Block_List is array(positive range <>) of Block_Faces;
    function Can_Make_Word(W: String; Blocks: Block_List) return Boolean;
end Abc;


package body Abc is

function Can_Make_Word(W: String; Blocks: Block_List) return Boolean is
    Used : array(Blocks'Range) of Boolean := (Others => False);
    subtype wIndex is Integer range W'First..W'Last;
    wPos : wIndex;
begin
    if W'Length = 0 then
        return True;
    end if;
    wPos := W'First;
    while True loop
        declare
            C : Character := To_Upper(W(wPos));
            X : constant wIndex := wPos;
        begin
            for I in Blocks'Range loop
                if (not Used(I)) then
                    if C = To_Upper(Blocks(I)(1)) or C = To_Upper(Blocks(I)(2)) then
                        Used(I) := True;
                        if wPos = W'Last then
                            return True;
                        end if;
                        wPos := wIndex'Succ(wPos);
                        exit;
                    end if;
                end if;
            end loop;
            if X = wPos then
                return False;
            end if;
        end;
    end loop;
    return False;
end Can_Make_Word;

end Abc;

with Ada.Text_IO, Ada.Strings.Unbounded, Abc;
use Ada.Text_IO, Ada.Strings.Unbounded, Abc;

procedure Abc_Problem is
    Blocks : Block_List := (
          ('B','O'), ('X','K'), ('D','Q'), ('C','P')
        , ('N','A'), ('G','T'), ('R','E'), ('T','G')
        , ('Q','D'), ('F','S'), ('J','W'), ('H','U')
        , ('V','I'), ('A','N'), ('O','B'), ('E','R')
        , ('F','S'), ('L','Y'), ('P','C'), ('Z','M')
    );
    function "+" (S : String) return Unbounded_String renames To_Unbounded_String;
    words : array(positive range <>) of Unbounded_String := (
          +"A"
        , +"BARK"
        , +"BOOK"
        , +"TREAT"
        , +"COMMON"
        , +"SQUAD"
        , +"CONFUSE"
        -- Border cases:
        -- , +"CONFUSE2"
        -- , +""
    );
begin
    for I in words'Range loop
        Put_Line ( To_String(words(I)) & ": " & Boolean'Image(Can_Make_Word(To_String(words(I)),Blocks)) );
    end loop;
end Abc_Problem;
highlighting-kate-0.6.1/tests/abc.agda0000644000000000000000000000255012633103275016004 0ustar0000000000000000module Reals where -- (a set with properties of) the reals data ℝ : Set where r0 : ℝ r1 : ℝ _+_ : ℝ → ℝ → ℝ -- equality data _==_ : ℝ → ℝ → Set where AXrefl== : ∀ {r} → r == r AXsymm== : ∀ {r s} → r == s → s == r AXtrans== : ∀ {r s t} → r == s → s == t → r == t AX+0 : ∀ {r} → (r + r0) == r AXsymm+ : ∀ {r s} → (r + s) == (s + r) AX+== : ∀ {r s t} → r == s → (r + t) == (s + t) THM0+ : {r : ℝ} → r == (r0 + r) THM0+ = AXsymm== (AXtrans== AXsymm+ AX+0) -- AXsymm+ AX+0 r0 + r == r + r0 and r + r0 == r -- AXtrans== so r0 + r == r -- AXsymm== so r == r0 + r THM0+alt : {r : ℝ} → r == (r0 + r) THM0+alt {r} = AXsymm== {r0 + r} {r} ((AXtrans== {r0 + r} {r + r0} {r}) (AXsymm+ {r0} {r}) (AX+0 {r})) -- strict partial ordering data _<_ : ℝ → ℝ → Set where AXtrans<<< : ∀ {r s t} → r < s → s < t → r < t AX<=< : ∀ {r s t} → r < s → s == t → r < t AX=<< : ∀ {r s t} → r == s → s < t → r < t AX0<1 : r0 < r1 AX+<< : ∀ {r s t} → r < s → (r + t) < (s + t) THM<+1 : {r : ℝ} → r < (r + r1) THM<+1 = AX<=< (AX=<< THM0+ (AX+<< AX0<1)) AXsymm+ -- AX0<1 0 < 1 -- AX<+ % so 0 + r < 1 + r -- AX=<< lem0+ % so r < 1 + r -- AX<=< % AXsymm+ so r < r + 1 highlighting-kate-0.6.1/tests/abc.agda.html0000644000000000000000000002454512633103275016757 0ustar0000000000000000
module Reals where

  -- (a set with properties of) the reals
  data: Set where
    r0 : ℝ
    r1 :_+_ :-- equality
  data _==_ : Set where
    AXrefl== :  {r}  r == r
    AXsymm== :  {r s}  r == s  s == r
    AXtrans== :  {r s t}  r == s  s == t  r == t
    AX+0 :  {r}  (r + r0) == r
    AXsymm+ :  {r s}  (r + s) == (s + r)
    AX+== :  {r s t}  r == s  (r + t) == (s + t)

  THM0+ : {r :}  r == (r0 + r)
  THM0+ = AXsymm== (AXtrans== AXsymm+ AX+0)
  -- AXsymm+ AX+0   r0 + r == r + r0 and r + r0 == r
  -- AXtrans==      so r0 + r == r
  -- AXsymm==       so r == r0 + r

  THM0+alt : {r :}  r == (r0 + r)
  THM0+alt {r} = AXsymm== {r0 + r} {r} ((AXtrans== {r0 + r} {r + r0} {r}) (AXsymm+ {r0} {r}) (AX+0 {r}))

  -- strict partial ordering
  data _<_ : Set where
    AXtrans<<< :  {r s t}  r < s  s < t  r < t
    AX<=< :  {r s t}  r < s  s == t  r < t
    AX=<< :  {r s t}  r == s  s < t  r < t
    AX0<1 : r0 < r1
    AX+<< :  {r s t}  r < s  (r + t) < (s + t)

  THM<+1 : {r :}  r < (r + r1)
  THM<+1 = AX<=< (AX=<< THM0+ (AX+<< AX0<1)) AXsymm+
  -- AX0<1              0 < 1
  -- AX<+ %             so 0 + r < 1 + r
  -- AX=<< lem0+ %      so r < 1 + r
  -- AX<=< % AXsymm+    so r < r + 1
highlighting-kate-0.6.1/tests/abc.c0000644000000000000000000000177612633103275015343 0ustar0000000000000000#include #include int can_make_words(char **b, char *word) { int i, ret = 0, c = toupper(*word); #define SWAP(a, b) if (a != b) { char * tmp = a; a = b; b = tmp; } if (!c) return 1; if (!b[0]) return 0; for (i = 0; b[i] && !ret; i++) { if (b[i][0] != c && b[i][1] != c) continue; SWAP(b[i], b[0]); ret = can_make_words(b + 1, word + 1); SWAP(b[i], b[0]); } return ret; } int main(void) { char* blocks[] = { "BO", "XK", "DQ", "CP", "NA", "GT", "RE", "TG", "QD", "FS", "JW", "HU", "VI", "AN", "OB", "ER", "FS", "LY", "PC", "ZM", 0 }; char *words[] = { "", "A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "Confuse", 0 }; char **w; for (w = words; *w; w++) printf("%s\t%d\n", *w, can_make_words(blocks, *w)); return 0; } highlighting-kate-0.6.1/tests/abc.c.html0000644000000000000000000001461312633103275016300 0ustar0000000000000000
#include <stdio.h>
#include <ctype.h>

int can_make_words(char **b, char *word)
{
        int i, ret = 0, c = toupper(*word);

#define SWAP(a, b) if (a != b) { char * tmp = a; a = b; b = tmp; }

        if (!c) return 1;
        if (!b[0]) return 0;

        for (i = 0; b[i] && !ret; i++) {
                if (b[i][0] != c && b[i][1] != c) continue;
                SWAP(b[i], b[0]);
                ret = can_make_words(b + 1, word + 1);
                SWAP(b[i], b[0]);
        }

        return ret;
}

int main(void)
{
        char* blocks[] = {
                "BO", "XK", "DQ", "CP", "NA", 
                "GT", "RE", "TG", "QD", "FS", 
                "JW", "HU", "VI", "AN", "OB", 
                "ER", "FS", "LY", "PC", "ZM",
                0 };

        char *words[] = {
                "", "A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "Confuse", 0
        };

        char **w;
        for (w = words; *w; w++)
                printf("%s\t%d\n", *w, can_make_words(blocks, *w));

        return 0;
}
highlighting-kate-0.6.1/tests/abc.clojure0000644000000000000000000000115712633103275016555 0ustar0000000000000000 (def blocks (-> "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM" (.split " ") vec)) (defn omit "return bs with (one instance of) b omitted" [bs b] (let [[before after] (split-with #(not= b %) bs)] (concat before (rest after)))) (defn abc "return lazy sequence of solutions (i.e. block lists)" [blocks [c & cs]] (if-some c (for [b blocks :when (some #(= c %) b) bs (abc (omit blocks b) cs)] (cons b bs)) [[]])) (doseq [word ["A" "BARK" "Book" "treat" "COMMON" "SQUAD" "CONFUSE"]] (->> word .toUpperCase (abc blocks) first (printf "%s: %b\n" word))) highlighting-kate-0.6.1/tests/abc.clojure.html0000644000000000000000000001066312633103275017522 0ustar0000000000000000

(def blocks
  (-> "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM" (.split " ") vec))

(defn omit 
  "return bs with (one instance of) b omitted"
  [bs b] 
  (let [[before after] (split-with #(not= b %) bs)]
    (concat before (rest after))))

(defn abc 
  "return lazy sequence of solutions (i.e. block lists)"
  [blocks [c & cs]]
  (if-some c
    (for [b blocks :when (some #(= c %) b)
          bs (abc (omit blocks b) cs)]
      (cons b bs))
    [[]]))
    
      
(doseq [word ["A" "BARK" "Book" "treat" "COMMON" "SQUAD" "CONFUSE"]]
  (->> word .toUpperCase (abc blocks) first (printf "%s: %b\n" word)))
highlighting-kate-0.6.1/tests/abc.cpp0000644000000000000000000000231712633103275015673 0ustar0000000000000000#include #include #include #include #include typedef std::pair item_t; typedef std::vector list_t; bool can_make_word(const std::string& w, const list_t& vals) { std::set used; while (used.size() < w.size()) { const char c = toupper(w[used.size()]); uint32_t x = used.size(); for (uint32_t i = 0, ii = vals.size(); i < ii; ++i) { if (used.find(i) == used.end()) { if (toupper(vals[i].first) == c || toupper(vals[i].second) == c) { used.insert(i); break; } } } if (x == used.size()) break; } return used.size() == w.size(); } int main() { list_t vals{ {'B','O'}, {'X','K'}, {'D','Q'}, {'C','P'}, {'N','A'}, {'G','T'}, {'R','E'}, {'T','G'}, {'Q','D'}, {'F','S'}, {'J','W'}, {'H','U'}, {'V','I'}, {'A','N'}, {'O','B'}, {'E','R'}, {'F','S'}, {'L','Y'}, {'P','C'}, {'Z','M'} }; std::vector words{"A","BARK","BOOK","TREAT","COMMON","SQUAD","CONFUSE"}; for (const std::string& w : words) { std::cout << w << ": " << std::boolalpha << can_make_word(w,vals) << ".\n"; } } highlighting-kate-0.6.1/tests/abc.cpp.html0000644000000000000000000001636312633103275016644 0ustar0000000000000000
#include <iostream>
#include <vector>
#include <string>
#include <set>
#include <cctype>


typedef std::pair<char,char> item_t;
typedef std::vector<item_t> list_t;

bool can_make_word(const std::string& w, const list_t& vals) {
    std::set<uint32_t> used;
    while (used.size() < w.size()) {
        const char c = toupper(w[used.size()]);
        uint32_t x = used.size();
        for (uint32_t i = 0, ii = vals.size(); i < ii; ++i) {
            if (used.find(i) == used.end()) {
                if (toupper(vals[i].first) == c || toupper(vals[i].second) == c) {
                    used.insert(i);
                    break;
                }
            }
        }
        if (x == used.size()) break;
    }
    return used.size() == w.size();
}


int main() {
    list_t vals{ {'B','O'}, {'X','K'}, {'D','Q'}, {'C','P'}, {'N','A'}, {'G','T'}, {'R','E'}, {'T','G'}, {'Q','D'}, {'F','S'}, {'J','W'}, {'H','U'}, {'V','I'}, {'A','N'}, {'O','B'}, {'E','R'}, {'F','S'}, {'L','Y'}, {'P','C'}, {'Z','M'} };
    std::vector<std::string> words{"A","BARK","BOOK","TREAT","COMMON","SQUAD","CONFUSE"};
    for (const std::string& w : words) {
        std::cout << w << ": " << std::boolalpha << can_make_word(w,vals) << ".\n";
    }

}
highlighting-kate-0.6.1/tests/abc.cs0000644000000000000000000000444312633103275015520 0ustar0000000000000000using System.Collections.Generic; using System.Linq; void Main() { List blocks = new List() { "bo", "xk", "dq", "cp", "na", "gt", "re", "tg", "qd", "fs", "jw", "hu", "vi", "an", "ob", "er", "fs", "ly", "pc", "zm" }; List words = new List() { "A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "CONFUSE"}; var solver = new ABC(blocks); foreach( var word in words) { Console.WriteLine("{0} :{1}", word, solver.CanMake(word)); } } class ABC { readonly Dictionary> _blockDict = new Dictionary>(); bool[] _used; int _nextBlock; readonly List _blocks; private void AddBlockChar(char c) { if (!_blockDict.ContainsKey(c)) { _blockDict[c] = new List(); } _blockDict[c].Add(_nextBlock); } private void AddBlock(string block) { AddBlockChar(block[0]); AddBlockChar(block[1]); _nextBlock++; } public ABC(List blocks) { _blocks = blocks; foreach (var block in blocks) { AddBlock(block); } } public bool CanMake(string word) { word = word.ToLower(); if (word.Length > _blockDict.Count) { return false; } _used = new bool[_blocks.Count]; return TryMake(word); } public bool TryMake(string word) { if (word == string.Empty) { return true; } var blocks = _blockDict[word[0]].Where(b => !_used[b]); foreach (var block in blocks) { _used[block] = true; if (TryMake(word.Substring(1))) { return true; } _used[block] = false; } return false; } } highlighting-kate-0.6.1/tests/abc.cs.html0000644000000000000000000002372212633103275016464 0ustar0000000000000000
using System.Collections.Generic;
using System.Linq;

void Main()
{
        List<string> blocks =
        new List<string>() { "bo", "xk", "dq", "cp", "na", "gt", "re", "tg", "qd", "fs",
                "jw", "hu", "vi", "an", "ob", "er", "fs", "ly", "pc", "zm" };
        List<string> words = new List<string>() {
                "A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "CONFUSE"};
        
        var solver = new ABC(blocks);
        
        foreach( var word in words)
        {
                Console.WriteLine("{0} :{1}", word, solver.CanMake(word));
        }
}

class ABC
{
        readonly Dictionary<char, List<int>> _blockDict = new Dictionary<char, List<int>>();
        bool[] _used;
        int _nextBlock;

        readonly List<string> _blocks;

        private void AddBlockChar(char c)
        {
                if (!_blockDict.ContainsKey(c))
                {
                        _blockDict[c] = new List<int>();
                }
                _blockDict[c].Add(_nextBlock);
        }

        private void AddBlock(string block)
        {
                AddBlockChar(block[0]);
                AddBlockChar(block[1]);
                _nextBlock++;
        }

        public ABC(List<string> blocks)
        {
                _blocks = blocks;
                foreach (var block in blocks)
                {
                        AddBlock(block);
                }
        }

        public bool CanMake(string word)
        {
                word = word.ToLower();
                if (word.Length > _blockDict.Count)
                {
                        return false;
                }
                _used = new bool[_blocks.Count];
                return TryMake(word);
        }

        public bool TryMake(string word)
        {
                if (word == string.Empty)
                {
                        return true;
                }
                var blocks = _blockDict[word[0]].Where(b => !_used[b]);
                foreach (var block in blocks)
                {
                        _used[block] = true;
                        if (TryMake(word.Substring(1)))
                        {
                                return true;
                        }
                        _used[block] = false;
                }
                return false;
        }
}
highlighting-kate-0.6.1/tests/abc.d0000644000000000000000000000230612633103275015332 0ustar0000000000000000import std.stdio, std.ascii, std.algorithm, std.array, std.range; alias Block = char[2]; bool canMakeWord(immutable Block[] blocks, in string word) pure nothrow in { assert(blocks.all!(w => w[].all!isAlpha)); assert(word.all!isAlpha); } body { bool inner(size_t[] indexes, in string w) pure nothrow { if (w.empty) return true; immutable c = w[0].toUpper; foreach (ref idx; indexes) { if (blocks[idx][0].toUpper != c && blocks[idx][1].toUpper != c) continue; indexes[0].swap(idx); if (inner(indexes[1 .. $], w[1 .. $])) return true; indexes[0].swap(idx); } return false; } return inner(blocks.length.iota.array, word); } void main() { enum Block[] blocks = "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM".split; foreach (w; "" ~ "A BARK BoOK TrEAT COmMoN SQUAD conFUsE".split) writefln(`"%s" %s`, w, blocks.canMakeWord(w)); // Extra test. immutable Block[] blocks2 = ["AB", "AB", "AC", "AC"]; immutable word = "abba"; writefln(`"%s" %s`, word, blocks2.canMakeWord(word)); } highlighting-kate-0.6.1/tests/abc.d.html0000644000000000000000000001377312633103275016307 0ustar0000000000000000
import std.stdio, std.ascii, std.algorithm, std.array, std.range;

alias Block = char[2];

bool canMakeWord(immutable Block[] blocks, in string word) pure nothrow
in {
    assert(blocks.all!(w => w[].all!isAlpha));
    assert(word.all!isAlpha);
} body {
    bool inner(size_t[] indexes, in string w) pure nothrow {
        if (w.empty)
            return true;

        immutable c = w[0].toUpper;
        foreach (ref idx; indexes) {
            if (blocks[idx][0].toUpper != c &&
                blocks[idx][1].toUpper != c)
                continue;
            indexes[0].swap(idx);
            if (inner(indexes[1 .. $], w[1 .. $]))
                return true;
            indexes[0].swap(idx);
        }

        return false;
    }

    return inner(blocks.length.iota.array, word);
}

void main() {
    enum Block[] blocks = "BO XK DQ CP NA GT RE TG QD FS
                           JW HU VI AN OB ER FS LY PC ZM".split;

    foreach (w; "" ~ "A BARK BoOK TrEAT COmMoN SQUAD conFUsE".split)
        writefln(`"%s" %s`, w, blocks.canMakeWord(w));

    // Extra test.
    immutable Block[] blocks2 = ["AB", "AB", "AC", "AC"];
    immutable word = "abba";
    writefln(`"%s" %s`, word, blocks2.canMakeWord(word));
}
highlighting-kate-0.6.1/tests/abc.fortran0000644000000000000000000000443512633103275016567 0ustar0000000000000000!-*- mode: compilation; default-directory: "/tmp/" -*- !Compilation started at Thu Jun 5 01:52:03 ! !make f && for a in '' a bark book treat common squad confuse ; do echo $a | ./f ; done !gfortran -std=f2008 -Wall -fopenmp -ffree-form -fall-intrinsics -fimplicit-none -g f.f08 -o f ! T ! T A NA ! T BARK BO NA RE XK ! F BOOK OB BO -- -- ! T TREAT GT RE ER NA TG ! F COMMON PC OB ZM -- -- -- ! T SQUAD FS DQ HU NA QD ! T CONFUSE CP BO NA FS HU FS RE ! !Compilation finished at Thu Jun 5 01:52:03 program abc implicit none integer, parameter :: nblocks = 20 character(len=nblocks) :: goal integer, dimension(nblocks) :: solution character(len=2), dimension(0:nblocks) :: blocks_copy, blocks = & &(/'--','BO','XK','DQ','CP','NA','GT','RE','TG','QD','FS','JW','HU','VI','AN','OB','ER','FS','LY','PC','ZM'/) logical :: valid integer :: i, iostat read(5,*,iostat=iostat) goal if (iostat .ne. 0) goal = '' call ucase(goal) solution = 0 blocks_copy = blocks valid = assign_block(goal(1:len_trim(goal)), blocks, solution, 1) write(6,*) valid, ' '//goal, (' '//blocks_copy(solution(i)), i=1,len_trim(goal)) contains recursive function assign_block(goal, blocks, solution, n) result(valid) implicit none logical :: valid character(len=*), intent(in) :: goal character(len=2), dimension(0:), intent(inout) :: blocks integer, dimension(:), intent(out) :: solution integer, intent(in) :: n integer :: i character(len=2) :: backing_store valid = .true. if (len(goal)+1 .eq. n) return do i=1, size(blocks) if (index(blocks(i),goal(n:n)) .ne. 0) then backing_store = blocks(i) blocks(i) = '' solution(n) = i if (assign_block(goal, blocks, solution, n+1)) return blocks(i) = backing_store end if end do valid = .false. return end function assign_block subroutine ucase(a) implicit none character(len=*), intent(inout) :: a integer :: i, j do i = 1, len_trim(a) j = index('abcdefghijklmnopqrstuvwxyz',a(i:i)) if (j .ne. 0) a(i:i) = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'(j:j) end do end subroutine ucase end program abc highlighting-kate-0.6.1/tests/abc.fortran.html0000644000000000000000000002762012633103275017533 0ustar0000000000000000
!-*- mode: compilation; default-directory: "/tmp/" -*-
!Compilation started at Thu Jun  5 01:52:03
!
!make f && for a in '' a bark book treat common squad confuse ; do echo $a | ./f ; done
!gfortran -std=f2008 -Wall -fopenmp -ffree-form -fall-intrinsics -fimplicit-none -g f.f08 -o f
! T                      
! T  A                    NA
! T  BARK                 BO NA RE XK
! F  BOOK                 OB BO -- --
! T  TREAT                GT RE ER NA TG
! F  COMMON               PC OB ZM -- -- --
! T  SQUAD                FS DQ HU NA QD
! T  CONFUSE              CP BO NA FS HU FS RE
!
!Compilation finished at Thu Jun  5 01:52:03

program abc
  implicit none
  integer, parameter :: nblocks = 20
  character(len=nblocks) :: goal
  integer, dimension(nblocks) :: solution
  character(len=2), dimension(0:nblocks) :: blocks_copy, blocks = &
       &(/'--','BO','XK','DQ','CP','NA','GT','RE','TG','QD','FS','JW','HU','VI','AN','OB','ER','FS','LY','PC','ZM'/)
  logical :: valid
  integer :: i, iostat
  read(5,*,iostat=iostat) goal
  if (iostat .ne. 0) goal = ''
  call ucase(goal)
  solution = 0
  blocks_copy = blocks
  valid = assign_block(goal(1:len_trim(goal)), blocks, solution, 1)
  write(6,*) valid, ' '//goal, (' '//blocks_copy(solution(i)), i=1,len_trim(goal))

contains

  recursive function assign_block(goal, blocks, solution, n) result(valid)
    implicit none
    logical :: valid
    character(len=*), intent(in) :: goal
    character(len=2), dimension(0:), intent(inout) :: blocks
    integer, dimension(:), intent(out) :: solution
    integer, intent(in) :: n
    integer :: i
    character(len=2) :: backing_store
    valid = .true.
    if (len(goal)+1 .eq. n) return
    do i=1, size(blocks)
       if (index(blocks(i),goal(n:n)) .ne. 0) then
          backing_store = blocks(i)
          blocks(i) = ''
          solution(n) = i
          if (assign_block(goal, blocks, solution, n+1)) return
          blocks(i) = backing_store
       end if
    end do
    valid = .false.
    return
  end function assign_block

  subroutine ucase(a)
    implicit none
    character(len=*), intent(inout) :: a
    integer :: i, j
    do i = 1, len_trim(a)
       j = index('abcdefghijklmnopqrstuvwxyz',a(i:i))
       if (j .ne. 0) a(i:i) = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'(j:j)
    end do
  end subroutine ucase

end program abc
highlighting-kate-0.6.1/tests/abc.go0000644000000000000000000000176612633103275015525 0ustar0000000000000000package main import ( "fmt" "strings" ) func newSpeller(blocks string) func(string) bool { bl := strings.Fields(blocks) return func(word string) bool { return r(word, bl) } } func r(word string, bl []string) bool { if word == "" { return true } c := word[0] | 32 for i, b := range bl { if c == b[0]|32 || c == b[1]|32 { bl[i], bl[0] = bl[0], b if r(word[1:], bl[1:]) == true { return true } bl[i], bl[0] = bl[0], bl[i] } } return false } func main() { sp := newSpeller( "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM") for _, word := range []string{ "A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "CONFUSE"} { fmt.Println(word, sp(word)) } } highlighting-kate-0.6.1/tests/abc.go.html0000644000000000000000000001316312633103275016462 0ustar0000000000000000
package main

import (
        "fmt"
        "strings"
)

func newSpeller(blocks string) func(string) bool {
        bl := strings.Fields(blocks)
        return func(word string) bool {
                return r(word, bl)
        }
}

func r(word string, bl []string) bool {
        if word == "" {
                return true
        }
        c := word[0] | 32
        for i, b := range bl {
                if c == b[0]|32 || c == b[1]|32 {
                        bl[i], bl[0] = bl[0], b
                        if r(word[1:], bl[1:]) == true {
                                return true
                        }
                        bl[i], bl[0] = bl[0], bl[i]
                }
        }
        return false
}

func main() {
        sp := newSpeller(
                "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM")
        for _, word := range []string{
                "A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "CONFUSE"} {
                fmt.Println(word, sp(word))
        }
}
highlighting-kate-0.6.1/tests/abc.haskell0000644000000000000000000000113012633103275016524 0ustar0000000000000000import Data.List (delete) import Data.Char (toUpper) -- returns list of all solutions, each solution being a list of blocks abc :: (Eq a) => [[a]] -> [a] -> [[[a]]] abc _ [] = [[]] abc blocks (c:cs) = [b:ans | b <- blocks, c `elem` b, ans <- abc (delete b blocks) cs] blocks = ["BO", "XK", "DQ", "CP", "NA", "GT", "RE", "TG", "QD", "FS", "JW", "HU", "VI", "AN", "OB", "ER", "FS", "LY", "PC", "ZM"] main :: IO () main = mapM_ (\w -> print (w, not . null $ abc blocks (map toUpper w))) ["", "A", "BARK", "BoOK", "TrEAT", "COmMoN", "SQUAD", "conFUsE"] highlighting-kate-0.6.1/tests/abc.haskell.html0000644000000000000000000001246012633103275017477 0ustar0000000000000000
import Data.List (delete)
import Data.Char (toUpper)

-- returns list of all solutions, each solution being a list of blocks
abc :: (Eq a) => [[a]] -> [a] -> [[[a]]]
abc _ [] = [[]]
abc blocks (c:cs) = [b:ans | b <- blocks, c `elem` b,
                             ans <- abc (delete b blocks) cs]

blocks = ["BO", "XK", "DQ", "CP", "NA", "GT", "RE", "TG", "QD", "FS",
          "JW", "HU", "VI", "AN", "OB", "ER", "FS", "LY", "PC", "ZM"]

main :: IO ()
main = mapM_ (\w -> print (w, not . null $ abc blocks (map toUpper w)))
         ["", "A", "BARK", "BoOK", "TrEAT", "COmMoN", "SQUAD", "conFUsE"]
highlighting-kate-0.6.1/tests/abc.java0000644000000000000000000000352312633103275016032 0ustar0000000000000000import java.util.Arrays; public class ABC{ private static void swap(int i, int j, Object... arr){ Object tmp = arr[i]; arr[i] = arr[j]; arr[j] = tmp; } public static boolean canMakeWord(String word, String... blocks) { if(word.length() == 0) return true; char c = Character.toUpperCase(word.charAt(0)); for(int i = 0; i < blocks.length; i++) { String b = blocks[i]; if(Character.toUpperCase(b.charAt(0)) != c && Character.toUpperCase(b.charAt(1)) != c) continue; swap(0, i, blocks); if(canMakeWord(word.substring(1), Arrays.copyOfRange(blocks, 1, blocks.length))) return true; swap(0, i, blocks); } return false; } public static void main(String[] args){ String[] blocks = {"BO", "XK", "DQ", "CP", "NA", "GT", "RE", "TG", "QD", "FS", "JW", "HU", "VI", "AN", "OB", "ER", "FS", "LY", "PC", "ZM"}; System.out.println("\"\": " + canMakeWord("", blocks)); System.out.println("A: " + canMakeWord("A", blocks)); System.out.println("BARK: " + canMakeWord("BARK", blocks)); System.out.println("book: " + canMakeWord("book", blocks)); System.out.println("treat: " + canMakeWord("treat", blocks)); System.out.println("COMMON: " + canMakeWord("COMMON", blocks)); System.out.println("SQuAd: " + canMakeWord("SQuAd", blocks)); System.out.println("CONFUSE: " + canMakeWord("CONFUSE", blocks)); } } highlighting-kate-0.6.1/tests/abc.java.html0000644000000000000000000002254112633103275016776 0ustar0000000000000000
import java.util.Arrays;

public class ABC{
        private static void swap(int i, int j, Object... arr){
                Object tmp = arr[i];
                arr[i] = arr[j];
                arr[j] = tmp;
        }
        
        public static boolean canMakeWord(String word, String... blocks) {
            if(word.length() == 0)
                return true;
         
            char c = Character.toUpperCase(word.charAt(0));
            for(int i = 0; i < blocks.length; i++) {
                String b = blocks[i];
                if(Character.toUpperCase(b.charAt(0)) != c && Character.toUpperCase(b.charAt(1)) != c)
                    continue;
                swap(0, i, blocks);
                if(canMakeWord(word.substring(1), Arrays.copyOfRange(blocks, 1, blocks.length)))
                    return true;
                swap(0, i, blocks);
            }
         
            return false;
        }
        
        public static void main(String[] args){
                String[] blocks = {"BO", "XK", "DQ", "CP", "NA", 
                                "GT", "RE", "TG", "QD", "FS", 
                                "JW", "HU", "VI", "AN", "OB", 
                                "ER", "FS", "LY", "PC", "ZM"};

                System.out.println("\"\": " + canMakeWord("", blocks));
                System.out.println("A: " + canMakeWord("A", blocks));
                System.out.println("BARK: " + canMakeWord("BARK", blocks));
                System.out.println("book: " + canMakeWord("book", blocks));
                System.out.println("treat: " + canMakeWord("treat", blocks));
                System.out.println("COMMON: " + canMakeWord("COMMON", blocks));
                System.out.println("SQuAd: " + canMakeWord("SQuAd", blocks));
                System.out.println("CONFUSE: " + canMakeWord("CONFUSE", blocks));
                
        }
}
highlighting-kate-0.6.1/tests/abc.javascript0000644000000000000000000000124012633103275017251 0ustar0000000000000000let characters = "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM"; let blocks = characters.split(" ").map(pair => pair.split("")); function isWordPossible(word) { var letters = [...word.toUpperCase()]; var length = letters.length; var copy = new Set(blocks); for (let letter of letters) { for (let block of copy) { let index = block.indexOf(letter); if (index !== -1) { length--; copy.delete(block); break; } } } return !length; } [ "A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "CONFUSE" ].forEach(word => console.log(`${word}: ${isWordPossible(word)}`)); highlighting-kate-0.6.1/tests/abc.javascript.html0000644000000000000000000001545312633103275020227 0ustar0000000000000000
let characters = "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM";
let blocks = characters.split(" ").map(pair => pair.split(""));
 
function isWordPossible(word) {
  var letters = [...word.toUpperCase()];
  var length = letters.length;
  var copy = new Set(blocks);

  for (let letter of letters) {
    for (let block of copy) {
      let index = block.indexOf(letter);
 
      if (index !== -1) {
        length--;
        copy.delete(block);
        break;  
      }
    }

  }
  return !length;
}    
 
[ 
  "A", 
  "BARK", 
  "BOOK", 
  "TREAT", 
  "COMMON", 
  "SQUAD", 
  "CONFUSE" 
].forEach(word => console.log(`${word}: ${isWordPossible(word)}`));
highlighting-kate-0.6.1/tests/abc.julia0000644000000000000000000000031012633103275016204 0ustar0000000000000000function abc (str, list) isempty(str) && return true for i = 1:length(list) str[end] in list[i] && any([abc(str[1:end-1], deleteat!(copy(list), i))]) && return true end false end highlighting-kate-0.6.1/tests/abc.julia.html0000644000000000000000000000570612633103275017165 0ustar0000000000000000
function abc (str, list)
  isempty(str) && return true
  for i = 1:length(list)
    str[end] in list[i] && 
    any([abc(str[1:end-1], deleteat!(copy(list), i))]) &&
    return true
  end
  false
end
highlighting-kate-0.6.1/tests/abc.kotlin0000644000000000000000000000315612633103275016413 0ustar0000000000000000import java.util.Arrays /* Swap elements i and j of a Kotlin Array. */ fun Array.swap(i: Int, j: Int) { val tmp = this[i] this[i] = this[j] this[j] = tmp } data class Block(val block: String) /* * Not the most elegant way but interesting from an highlighting perspective ;) */ public class ABC() { class object { public fun canMakeWord(word: String, blocks: Array): Boolean { if (word.length() == 0) return true val c = Character.toUpperCase(word.charAt(0)) for (i in 0..blocks.size - 1) { val b = blocks[i] if (Character.toUpperCase(b.block.charAt(0)) != c && Character.toUpperCase(b.block.charAt(1)) != c) continue blocks.swap(0, i) if (canMakeWord(word.substring(1), Arrays.copyOfRange(blocks, 1, blocks.size))) return true blocks.swap(0, i) } return false } public fun main(args: Array) { val blocksString = array("BO", "XK", "DQ", "CP", "NA", "GT", "RE", "TG", "QD", "FS", "JW", "HU", "VI", "AN", "OB", "ER", "FS", "LY", "PC", "ZM"); val blocks = Array(blocksString.size, { s -> Block(blocksString[s])}) val words = array("", "A", "BARK", "book", "treat", "COMMON", "SQuAd", "CONFUSE"); for (word in words) { System.out.println("${word}: " + canMakeWord("${word}", blocks)) } } } } fun main(args: Array) = ABC.main(args) highlighting-kate-0.6.1/tests/abc.kotlin.html0000644000000000000000000002177012633103275017360 0ustar0000000000000000
import java.util.Arrays

/*
    Swap elements i and j of a Kotlin Array.
 */
fun <T> Array<T>.swap(i: Int, j: Int) {
    val tmp = this[i]
    this[i] = this[j]
    this[j] = tmp
}

data class Block(val block: String)

/*
 *  Not the most elegant way but interesting from an highlighting perspective ;)
 */
public class ABC() {
    class object {

        public fun canMakeWord(word: String, blocks: Array<Block>): Boolean {
            if (word.length() == 0)
                return true

            val c = Character.toUpperCase(word.charAt(0))
            for (i in 0..blocks.size - 1) {
                val b = blocks[i]
                if (Character.toUpperCase(b.block.charAt(0)) != c && Character.toUpperCase(b.block.charAt(1)) != c)
                    continue
                blocks.swap(0, i)
                if (canMakeWord(word.substring(1), Arrays.copyOfRange(blocks, 1, blocks.size)))
                    return true
                blocks.swap(0, i)
            }

            return false
        }

        public fun main(args: Array<String>) {

            val blocksString = array("BO", "XK", "DQ", "CP", "NA", "GT", "RE", "TG", "QD", "FS", "JW",
                                             "HU", "VI", "AN", "OB", "ER", "FS", "LY", "PC", "ZM");

            val blocks = Array(blocksString.size, { s -> Block(blocksString[s])})

            val words = array("", "A", "BARK", "book", "treat", "COMMON", "SQuAd", "CONFUSE");

            for (word in words) {
                System.out.println("${word}: " + canMakeWord("${word}", blocks))
            }

        }
    }
}

fun main(args: Array<String>) = ABC.main(args)
highlighting-kate-0.6.1/tests/abc.lisp0000644000000000000000000000076112633103275016061 0ustar0000000000000000 (defun word-possible-p (word blocks) (cond ((= (length word) 0) t) ((null blocks) nil) (t (let* ((c (aref word 0)) (bs (remove-if-not #'(lambda (b) (find c b :test #'char-equal)) blocks))) (some #'identity (loop for b in bs collect (word-possible-p (subseq word 1) (remove b blocks)))))))) highlighting-kate-0.6.1/tests/abc.lisp.html0000644000000000000000000000472212633103275017025 0ustar0000000000000000

(defun word-possible-p (word blocks)
  (cond 
    ((= (length word) 0) t)
    ((null blocks) nil)
    (t (let* 
         ((c (aref word 0))
          (bs (remove-if-not #'(lambda (b) 
                                 (find c b :test #'char-equal))
                             blocks)))
         (some #'identity 
               (loop for b in bs
                     collect (word-possible-p
                               (subseq word 1)
                               (remove b blocks))))))))
highlighting-kate-0.6.1/tests/abc.matlab0000644000000000000000000000142612633103275016351 0ustar0000000000000000function testABC combos = ['BO' ; 'XK' ; 'DQ' ; 'CP' ; 'NA' ; 'GT' ; 'RE' ; 'TG' ; 'QD' ; ... 'FS' ; 'JW' ; 'HU' ; 'VI' ; 'AN' ; 'OB' ; 'ER' ; 'FS' ; 'LY' ; ... 'PC' ; 'ZM']; words = {'A' 'BARK' 'BOOK' 'TREAT' 'COMMON' 'SQUAD' 'CONFUSE'}; for k = 1:length(words) possible = canMakeWord(words{k}, combos); fprintf('Can%s make word %s.\n', char(~possible.*'NOT'), words{k}) end end function isPossible = canMakeWord(word, combos) word = lower(word); combos = lower(combos); isPossible = true; k = 1; while isPossible && k <= length(word) [r, c] = find(combos == word(k), 1); if ~isempty(r) combos(r, :) = ''; else isPossible = false; end k = k+1; end end highlighting-kate-0.6.1/tests/abc.matlab.html0000644000000000000000000001121112633103275017305 0ustar0000000000000000
function testABC
    combos = ['BO' ; 'XK' ; 'DQ' ; 'CP' ; 'NA' ; 'GT' ; 'RE' ; 'TG' ; 'QD' ; ...
        'FS' ; 'JW' ; 'HU' ; 'VI' ; 'AN' ; 'OB' ; 'ER' ; 'FS' ; 'LY' ; ...
        'PC' ; 'ZM'];
    words = {'A' 'BARK' 'BOOK' 'TREAT' 'COMMON' 'SQUAD' 'CONFUSE'};
    for k = 1:length(words)
        possible = canMakeWord(words{k}, combos);
        fprintf('Can%s make word %s.\n', char(~possible.*'NOT'), words{k})
    end
end

function isPossible = canMakeWord(word, combos)
    word = lower(word);
    combos = lower(combos);
    isPossible = true;
    k = 1;
    while isPossible && k <= length(word)
        [r, c] = find(combos == word(k), 1);
        if ~isempty(r)
            combos(r, :) = '';
        else
            isPossible = false;
        end
        k = k+1;
    end
end
highlighting-kate-0.6.1/tests/abc.ocaml0000644000000000000000000000201012633103275016172 0ustar0000000000000000let blocks = [ ('B', 'O'); ('X', 'K'); ('D', 'Q'); ('C', 'P'); ('N', 'A'); ('G', 'T'); ('R', 'E'); ('T', 'G'); ('Q', 'D'); ('F', 'S'); ('J', 'W'); ('H', 'U'); ('V', 'I'); ('A', 'N'); ('O', 'B'); ('E', 'R'); ('F', 'S'); ('L', 'Y'); ('P', 'C'); ('Z', 'M'); ] let find_letter blocks c = let found, remaining = List.partition (fun (c1, c2) -> c1 = c || c2 = c) blocks in match found with | _ :: res -> Some (res @ remaining) | _ -> None let can_make_word w = let n = String.length w in let rec aux i _blocks = if i >= n then true else match find_letter _blocks w.[i] with | None -> false | Some rem_blocks -> aux (succ i) rem_blocks in aux 0 blocks let test label f (word, should) = Printf.printf "- %s %S = %B (should: %B)\n" label word (f word) should let () = List.iter (test "can make word" can_make_word) [ "A", true; "BARK", true; "BOOK", false; "TREAT", true; "COMMON", false; "SQUAD", true; "CONFUSE", true; ] highlighting-kate-0.6.1/tests/abc.ocaml.html0000644000000000000000000001641512633103275017153 0ustar0000000000000000
let blocks = [
  ('B', 'O');  ('X', 'K');  ('D', 'Q');  ('C', 'P');
  ('N', 'A');  ('G', 'T');  ('R', 'E');  ('T', 'G');
  ('Q', 'D');  ('F', 'S');  ('J', 'W');  ('H', 'U');
  ('V', 'I');  ('A', 'N');  ('O', 'B');  ('E', 'R');
  ('F', 'S');  ('L', 'Y');  ('P', 'C');  ('Z', 'M');
]

let find_letter blocks c =
  let found, remaining =
    List.partition (fun (c1, c2) -> c1 = c || c2 = c) blocks
  in
  match found with
  | _ :: res -> Some (res @ remaining)
  | _ -> None

let can_make_word w =
  let n = String.length w in
  let rec aux i _blocks =
    if i >= n then true else
      match find_letter _blocks w.[i] with
      | None -> false
      | Some rem_blocks ->
          aux (succ i) rem_blocks
  in
  aux 0 blocks

let test label f (word, should) =
  Printf.printf "- %s %S = %B  (should: %B)\n" label word (f word) should

let () =
  List.iter (test "can make word" can_make_word) [
    "A", true;
    "BARK", true;
    "BOOK", false;
    "TREAT", true;
    "COMMON", false;
    "SQUAD", true;
    "CONFUSE", true;
  ]
highlighting-kate-0.6.1/tests/abc.perl0000644000000000000000000000075112633103275016053 0ustar0000000000000000use Test::More tests => 8; my @blocks1 = qw(BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM); is(can_make_word("A", @blocks1), 1); is(can_make_word("BARK", @blocks1), 1); is(can_make_word("BOOK", @blocks1), undef); is(can_make_word("TREAT", @blocks1), 1); is(can_make_word("COMMON", @blocks1), undef); is(can_make_word("SQUAD", @blocks1), 1); is(can_make_word("CONFUSE", @blocks1), 1); my @blocks2 = qw(US TZ AO QA); is(can_make_word('auto', @blocks2), 1); highlighting-kate-0.6.1/tests/abc.perl.html0000644000000000000000000001166212633103275017021 0ustar0000000000000000
use Test::More tests => 8;

my @blocks1 = qw(BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM);
is(can_make_word("A",       @blocks1), 1);
is(can_make_word("BARK",    @blocks1), 1);
is(can_make_word("BOOK",    @blocks1), undef);
is(can_make_word("TREAT",   @blocks1), 1);
is(can_make_word("COMMON",  @blocks1), undef);
is(can_make_word("SQUAD",   @blocks1), 1);
is(can_make_word("CONFUSE", @blocks1), 1);

my @blocks2 = qw(US TZ AO QA);
is(can_make_word('auto', @blocks2), 1);
highlighting-kate-0.6.1/tests/abc.php0000644000000000000000000000133412633103275015676 0ustar0000000000000000 $block) { if (strpos($block, $char) !== FALSE) { unset($blocks[$k]); continue(2); } } return false; } return true; } foreach ($words as $word) { echo $word.': '; echo canMakeWord($word) ? "True" : "False"; echo "\r\n"; } highlighting-kate-0.6.1/tests/abc.php.html0000644000000000000000000002155712633103275016652 0ustar0000000000000000

<?php
$words = array("A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "Confuse");

function canMakeWord($word) {
    $word = strtoupper($word);
    $blocks = array(
            "BO", "XK", "DQ", "CP", "NA",
            "GT", "RE", "TG", "QD", "FS",
            "JW", "HU", "VI", "AN", "OB",
            "ER", "FS", "LY", "PC", "ZM",
    );

    foreach (str_split($word) as $char) {
        foreach ($blocks as $k => $block) {
            if (strpos($block, $char) !== FALSE) {
                unset($blocks[$k]);
                continue(2);
            }
        }
        return false;
    }
    return true;
}

foreach ($words as $word) {
    echo $word.': ';
    echo canMakeWord($word) ? "True" : "False";
    echo "\r\n";
}
highlighting-kate-0.6.1/tests/abc.prolog0000644000000000000000000000124012633103275016405 0ustar0000000000000000abc_problem :- maplist(abc_problem, ['', 'A', bark, bOOk, treAT, 'COmmon', sQuaD, 'CONFUSE']). abc_problem(Word) :- L = [[b,o],[x,k],[d,q],[c,p],[n,a],[g,t],[r,e],[t,g],[q,d],[f,s], [j,w],[h,u],[v,i],[a,n],[o,b],[e,r],[f,s],[l,y],[p,c],[z,m]], ( abc_problem(L, Word) -> format('~w OK~n', [Word]) ; format('~w KO~n', [Word])). abc_problem(L, Word) :- atom_chars(Word, C_Words), maplist(downcase_atom, C_Words, D_Words), can_makeword(L, D_Words). can_makeword(_L, []). can_makeword(L, [H | T]) :- ( select([H, _], L, L1); select([_, H], L, L1)), can_makeword(L1, T). highlighting-kate-0.6.1/tests/abc.prolog.html0000644000000000000000000001406112633103275017355 0ustar0000000000000000
abc_problem :-
        maplist(abc_problem, ['', 'A', bark, bOOk, treAT, 'COmmon', sQuaD, 'CONFUSE']).


abc_problem(Word) :-
        L = [[b,o],[x,k],[d,q],[c,p],[n,a],[g,t],[r,e],[t,g],[q,d],[f,s],
             [j,w],[h,u],[v,i],[a,n],[o,b],[e,r],[f,s],[l,y],[p,c],[z,m]],

        (   abc_problem(L, Word)
        ->  format('~w OK~n', [Word])
        ;   format('~w KO~n', [Word])).

abc_problem(L, Word) :-
        atom_chars(Word, C_Words),
        maplist(downcase_atom, C_Words, D_Words),
        can_makeword(L, D_Words).

can_makeword(_L, []).

can_makeword(L, [H | T]) :-
        (   select([H, _], L, L1); select([_, H], L, L1)),
        can_makeword(L1, T).
highlighting-kate-0.6.1/tests/abc.python0000644000000000000000000000073612633103275016435 0ustar0000000000000000def mkword(w, b): if not w: return [] c,w = w[0],w[1:] for i in range(len(b)): if c in b[i]: m = mkword(w, b[0:i] + b[i+1:]) if m != None: return [b[i]] + m def abc(w, blk): return mkword(w.upper(), [a.upper() for a in blk]) blocks = 'BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM'.split() for w in ", A, bark, book, treat, common, SQUAD, conFUsEd".split(', '): print '\'' + w + '\'' + ' ->', abc(w, blocks) highlighting-kate-0.6.1/tests/abc.python.html0000644000000000000000000001113512633103275017373 0ustar0000000000000000
def mkword(w, b):
    if not w: return []

    c,w = w[0],w[1:]
    for i in range(len(b)):
        if c in b[i]:
            m = mkword(w, b[0:i] + b[i+1:])
            if m != None: return [b[i]] + m

def abc(w, blk):
    return mkword(w.upper(), [a.upper() for a in blk])

blocks = 'BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM'.split()

for w in ", A, bark, book, treat, common, SQUAD, conFUsEd".split(', '):
    print '\'' + w + '\'' + ' ->', abc(w, blocks)
highlighting-kate-0.6.1/tests/abc.r0000644000000000000000000000131612633103275015350 0ustar0000000000000000canMakeNoRecursion <- function(x) { x <- toupper(x) charList <- strsplit(x, character(0)) getCombos <- function(chars) { charBlocks <- data.matrix(expand.grid(lapply(chars, function(char) which(blocks == char, arr.ind=TRUE)[, 1L]))) charBlocks <- charBlocks[!apply(charBlocks, 1, function(row) any(duplicated(row))), , drop=FALSE] if (dim(charBlocks)[1L] > 0L) { t(apply(charBlocks, 1, function(row) apply(blocks[row, , drop=FALSE], 1, paste, collapse=""))) } else { character(0) } } setNames(lapply(charList, getCombos), x) } canMakeNoRecursion(c("A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "CONFUSE")) highlighting-kate-0.6.1/tests/abc.r.html0000644000000000000000000001167512633103275016324 0ustar0000000000000000
canMakeNoRecursion <- function(x) {
  x <- toupper(x)
  charList <- strsplit(x, character(0))
  getCombos <- function(chars) {
    charBlocks <-  data.matrix(expand.grid(lapply(chars, function(char) which(blocks == char, arr.ind=TRUE)[, 1L])))
    charBlocks <- charBlocks[!apply(charBlocks, 1, function(row) any(duplicated(row))), , drop=FALSE]
    if (dim(charBlocks)[1L] > 0L) {
      t(apply(charBlocks, 1, function(row) apply(blocks[row, , drop=FALSE], 1, paste, collapse="")))
    } else {
      character(0)
    }
  }
  setNames(lapply(charList, getCombos), x)
}
canMakeNoRecursion(c("A",
           "BARK",
           "BOOK",
           "TREAT",
           "COMMON",
           "SQUAD",
           "CONFUSE"))
highlighting-kate-0.6.1/tests/abc.ruby0000644000000000000000000000045112633103275016067 0ustar0000000000000000words = %w(A BaRK BOoK tREaT COmMOn SqUAD CoNfuSE) << "" words.each do |word| blocks = "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM" res = word.each_char.all?{|c| blocks.sub!(/\w?#{c}\w?/i, "")} #regexps can be interpolated like strings puts "#{word.inspect}: #{res}" end highlighting-kate-0.6.1/tests/abc.ruby.html0000644000000000000000000000645612633103275017045 0ustar0000000000000000
words = %w(A BaRK BOoK tREaT COmMOn SqUAD CoNfuSE) << ""

words.each do |word|
  blocks = "BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM"
  res = word.each_char.all?{|c| blocks.sub!(/\w?#{c}\w?/i, "")}  #regexps can be interpolated like strings
  puts "#{word.inspect}: #{res}"
end
highlighting-kate-0.6.1/tests/abc.scala0000644000000000000000000000354712633103275016202 0ustar0000000000000000object AbcBlocks extends App { protected class Block(face1: Char, face2: Char) { def isFacedWith(that: Char) = { that == face1 || that == face2 } override def toString() = face1.toString + face2 } protected object Block { def apply(faces: String) = new Block(faces.head, faces.last) } type word = Seq[Block] private val blocks = List(Block("BO"), Block("XK"), Block("DQ"), Block("CP"), Block("NA"), Block("GT"), Block("RE"), Block("TG"), Block("QD"), Block("FS"), Block("JW"), Block("HU"), Block("VI"), Block("AN"), Block("OB"), Block("ER"), Block("FS"), Block("LY"), Block("PC"), Block("ZM")) private def isMakeable(word: String, blocks: word) = { def getTheBlocks(word: String, blocks: word) = { def inner(word: String, toCompare: word, rest: word, accu: word): word = { if (word.isEmpty || rest.isEmpty || toCompare.isEmpty) accu else if (toCompare.head.isFacedWith(word.head)) { val restant = rest diff List(toCompare.head) inner(word.tail, restant, restant, accu :+ toCompare.head) } else inner(word, toCompare.tail, rest, accu) } inner(word, blocks, blocks, Nil) } word.lengthCompare(getTheBlocks(word, blocks).size) == 0 } val words = List("A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "CONFUSED", "ANBOCPDQERSFTGUVWXLZ") // Automatic tests assert(isMakeable(words(0), blocks)) assert(isMakeable(words(1), blocks)) assert(!isMakeable(words(2), blocks)) // BOOK not assert(isMakeable(words(3), blocks)) assert(!isMakeable(words(4), blocks)) // COMMON not assert(isMakeable(words(5), blocks)) assert(isMakeable(words(6), blocks)) assert(isMakeable(words(7), blocks)) //words(7).mkString.permutations.foreach(s => assert(isMakeable(s, blocks))) words.foreach(w => println(s"$w can${if (isMakeable(w, blocks)) " " else "not "}be made.")) } highlighting-kate-0.6.1/tests/abc.scala.html0000644000000000000000000002453312633103275017143 0ustar0000000000000000
object AbcBlocks extends App {

  protected class Block(face1: Char, face2: Char) {

    def isFacedWith(that: Char) = { that == face1 || that == face2 }
    override def toString() = face1.toString + face2
  }
  protected object Block {
    def apply(faces: String) = new Block(faces.head, faces.last)
  }

  type word = Seq[Block]

  private val blocks = List(Block("BO"), Block("XK"), Block("DQ"), Block("CP"), Block("NA"),
    Block("GT"), Block("RE"), Block("TG"), Block("QD"), Block("FS"),
    Block("JW"), Block("HU"), Block("VI"), Block("AN"), Block("OB"),
    Block("ER"), Block("FS"), Block("LY"), Block("PC"), Block("ZM"))

  private def isMakeable(word: String, blocks: word) = {

    def getTheBlocks(word: String, blocks: word) = {

      def inner(word: String, toCompare: word, rest: word, accu: word): word = {
        if (word.isEmpty || rest.isEmpty || toCompare.isEmpty) accu
        else if (toCompare.head.isFacedWith(word.head)) {
          val restant = rest diff List(toCompare.head)
          inner(word.tail, restant, restant, accu :+ toCompare.head)
        } else inner(word, toCompare.tail, rest, accu)
      }
      inner(word, blocks, blocks, Nil)
    }

    word.lengthCompare(getTheBlocks(word, blocks).size) == 0
  }

  val words = List("A", "BARK", "BOOK", "TREAT", "COMMON", "SQUAD", "CONFUSED", "ANBOCPDQERSFTGUVWXLZ")
  // Automatic tests
  assert(isMakeable(words(0), blocks))
  assert(isMakeable(words(1), blocks))
  assert(!isMakeable(words(2), blocks)) // BOOK not
  assert(isMakeable(words(3), blocks))
  assert(!isMakeable(words(4), blocks)) // COMMON not
  assert(isMakeable(words(5), blocks))
  assert(isMakeable(words(6), blocks))
  assert(isMakeable(words(7), blocks))

  //words(7).mkString.permutations.foreach(s => assert(isMakeable(s, blocks)))

  words.foreach(w => println(s"$w can${if (isMakeable(w, blocks)) " " else "not "}be made."))
}
highlighting-kate-0.6.1/tests/abc.scheme0000644000000000000000000000255512633103275016361 0ustar0000000000000000#lang racket (define block-strings (list "BO" "XK" "DQ" "CP" "NA" "GT" "RE" "TG" "QD" "FS" "JW" "HU" "VI" "AN" "OB" "ER" "FS" "LY" "PC" "ZM")) (define BLOCKS (map string->list block-strings)) (define (can-make-word? w) (define (usable-block blocks word-char) (for/first ((b (in-list blocks)) #:when (memf (curry char-ci=? word-char) b)) b)) (define (inner word-chars blocks tried-blocks) (cond [(null? word-chars) #t] [(usable-block blocks (car word-chars)) => (lambda (b) (or (inner (cdr word-chars) (append tried-blocks (remove b blocks)) null) (inner word-chars (remove b blocks) (cons b tried-blocks))))] [else #f])) (inner (string->list w) BLOCKS null)) (define WORD-LIST '("" "A" "BARK" "BOOK" "TREAT" "COMMON" "SQUAD" "CONFUSE")) (define (report-word w) (printf "Can we make: ~a? ~a~%" (~s w #:min-width 9) (if (can-make-word? w) "yes" "no"))) (module+ main (for-each report-word WORD-LIST)) (module+ test (require rackunit) (check-true (can-make-word? "")) (check-true (can-make-word? "A")) (check-true (can-make-word? "BARK")) (check-false (can-make-word? "BOOK")) (check-true (can-make-word? "TREAT")) (check-false (can-make-word? "COMMON")) (check-true (can-make-word? "SQUAD")) (check-true (can-make-word? "CONFUSE"))) highlighting-kate-0.6.1/tests/abc.scheme.html0000644000000000000000000001573512633103275017330 0ustar0000000000000000
#lang racket
(define block-strings
  (list "BO" "XK" "DQ" "CP" "NA"
        "GT" "RE" "TG" "QD" "FS"
        "JW" "HU" "VI" "AN" "OB"
        "ER" "FS" "LY" "PC" "ZM"))
(define BLOCKS (map string->list block-strings))

(define (can-make-word? w)
  (define (usable-block blocks word-char)
    (for/first ((b (in-list blocks)) #:when (memf (curry char-ci=? word-char) b)) b))
  
  (define (inner word-chars blocks tried-blocks)
    (cond
      [(null? word-chars) #t]
      [(usable-block blocks (car word-chars))
       =>
       (lambda (b)
         (or
          (inner (cdr word-chars) (append tried-blocks (remove b blocks)) null)
          (inner word-chars (remove b blocks) (cons b tried-blocks))))]
      [else #f]))
  (inner (string->list w) BLOCKS null))

(define WORD-LIST '("" "A" "BARK" "BOOK" "TREAT" "COMMON" "SQUAD" "CONFUSE"))
(define (report-word w)
  (printf "Can we make: ~a? ~a~%"
          (~s w #:min-width 9)
          (if (can-make-word? w) "yes" "no")))

(module+ main
  (for-each report-word WORD-LIST))  

(module+ test
  (require rackunit)
  (check-true  (can-make-word? ""))
  (check-true  (can-make-word? "A"))
  (check-true  (can-make-word? "BARK"))
  (check-false (can-make-word? "BOOK"))
  (check-true  (can-make-word? "TREAT"))
  (check-false (can-make-word? "COMMON"))
  (check-true  (can-make-word? "SQUAD"))
  (check-true  (can-make-word? "CONFUSE")))
highlighting-kate-0.6.1/tests/abc.tcl0000644000000000000000000000122512633103275015670 0ustar0000000000000000package require Tcl 8.6 proc abc {word {blocks {BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM}}} { set abc {{letters blocks abc} { set rest [lassign $letters ch] set i 0 foreach blk $blocks { if {$ch in $blk && (![llength $rest] || [apply $abc $rest [lreplace $blocks $i $i] $abc])} { return true } incr i } return false }} return [apply $abc [split $word ""] [lmap b $blocks {split $b ""}] $abc] } foreach word {"" A BARK BOOK TREAT COMMON SQUAD CONFUSE} { puts [format "Can we spell %9s? %s" '$word' [abc $word]] } highlighting-kate-0.6.1/tests/abc.tcl.html0000644000000000000000000001420212633103275016632 0ustar0000000000000000
package require Tcl 8.6

proc abc {word {blocks {BO XK DQ CP NA GT RE TG QD FS JW HU VI AN OB ER FS LY PC ZM}}} {
    set abc {{letters blocks abc} {
        set rest [lassign $letters ch]
        set i 0
        foreach blk $blocks {
            if {$ch in $blk && (![llength $rest]
                    || [apply $abc $rest [lreplace $blocks $i $i] $abc])} {
                return true
            }
            incr i
        }
        return false
    }}
    return [apply $abc [split $word ""] [lmap b $blocks {split $b ""}] $abc]
}

foreach word {"" A BARK BOOK TREAT COMMON SQUAD CONFUSE} {
    puts [format "Can we spell %9s? %s" '$word' [abc $word]]
}
highlighting-kate-0.6.1/tests/archive.rhtml0000644000000000000000000000104312633103275017126 0ustar0000000000000000

Event Archive

<% form_for :to_date, @to_date, :url => {:action => 'archive'} do |f| %>

<%= select_date @from_date, :prefix => 'from' %> <%= select_date @to_date, :prefix => 'to', :start_year => 2000 %>

<%= select_tag "series", options_for_select(series_list('All'), @series) %> <%= f.submit 'Show events' %>

<% end %>
    <% if @events %> <%= render :partial => 'events' %> <% end %>
highlighting-kate-0.6.1/tests/archive.rhtml.html0000644000000000000000000001372712633103275020105 0ustar0000000000000000
<h1>Event Archive</h1>


<% form_for :to_date, @to_date, :url => {:action => 'archive'} do |f| %>
  <p><label for="start_date">From</label>
  <%= select_date @from_date, :prefix => 'from' %>
  <label for="end_date">To</label>
  <%= select_date @to_date, :prefix => 'to', :start_year => 2000 %></p>
  <p><label for="event_series">Series</label>
  <%= select_tag "series", options_for_select(series_list('All'), @series) %>
  <%= f.submit 'Show events' %>
  </p>
<% end %>

<ul>
<%
if @events
%>
  <%= render :partial => 'events' %>
<%
end
%>
</ul>
highlighting-kate-0.6.1/tests/life.lua0000644000000000000000000000511512633103275016063 0ustar0000000000000000-- life.lua -- original by Dave Bollinger posted to lua-l -- modified to use ANSI terminal escape sequences -- modified to use for instead of while local write=io.write ALIVE="¥" DEAD="þ" ALIVE="O" DEAD="-" function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary for i=1,10000 do end -- local i=os.clock()+1 while(os.clock() 0 do local xm1,x,xp1,xi=self.w-1,self.w,1,self.w while xi > 0 do local sum = self[ym1][xm1] + self[ym1][x] + self[ym1][xp1] + self[y][xm1] + self[y][xp1] + self[yp1][xm1] + self[yp1][x] + self[yp1][xp1] next[y][x] = ((sum==2) and self[y][x]) or ((sum==3) and 1) or 0 xm1,x,xp1,xi = x,xp1,xp1+1,xi-1 end ym1,y,yp1,yi = y,yp1,yp1+1,yi-1 end end -- output the array to screen function _CELLS:draw() local out="" -- accumulate to reduce flicker for y=1,self.h do for x=1,self.w do out=out..(((self[y][x]>0) and ALIVE) or DEAD) end out=out.."\n" end write(out) end -- constructor function CELLS(w,h) local c = ARRAY2D(w,h) c.spawn = _CELLS.spawn c.evolve = _CELLS.evolve c.draw = _CELLS.draw return c end -- -- shapes suitable for use with spawn() above -- HEART = { 1,0,1,1,0,1,1,1,1; w=3,h=3 } GLIDER = { 0,0,1,1,0,1,0,1,1; w=3,h=3 } EXPLODE = { 0,1,0,1,1,1,1,0,1,0,1,0; w=3,h=4 } FISH = { 0,1,1,1,1,1,0,0,0,1,0,0,0,0,1,1,0,0,1,0; w=5,h=4 } BUTTERFLY = { 1,0,0,0,1,0,1,1,1,0,1,0,0,0,1,1,0,1,0,1,1,0,0,0,1; w=5,h=5 } -- the main routine function LIFE(w,h) -- create two arrays local thisgen = CELLS(w,h) local nextgen = CELLS(w,h) -- create some life -- about 1000 generations of fun, then a glider steady-state thisgen:spawn(GLIDER,5,4) thisgen:spawn(EXPLODE,25,10) thisgen:spawn(FISH,4,12) -- run until break local gen=1 write("\027[2J") -- ANSI clear screen while 1 do thisgen:evolve(nextgen) thisgen,nextgen = nextgen,thisgen write("\027[H") -- ANSI home cursor thisgen:draw() write("Life - generation ",gen,"\n") gen=gen+1 if gen>2000 then break end --delay() -- no delay end end LIFE(40,20) highlighting-kate-0.6.1/tests/life.lua.html0000644000000000000000000007006112633103275017030 0ustar0000000000000000
-- life.lua
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
-- modified to use ANSI terminal escape sequences
-- modified to use for instead of while

local write=io.write

ALIVE="¥"	DEAD="þ"
ALIVE="O"	DEAD="-"

function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
  for i=1,10000 do end
  -- local i=os.clock()+1 while(os.clock()<i) do end
end

function ARRAY2D(w,h)
  local t = {w=w,h=h}
  for y=1,h do
    t[y] = {}
    for x=1,w do
      t[y][x]=0
    end
  end
  return t
end

_CELLS = {}

-- give birth to a "shape" within the cell array
function _CELLS:spawn(shape,left,top)
  for y=0,shape.h-1 do
    for x=0,shape.w-1 do
      self[top+y][left+x] = shape[y*shape.w+x+1]
    end
  end
end

-- run the CA and produce the next generation
function _CELLS:evolve(next)
  local ym1,y,yp1,yi=self.h-1,self.h,1,self.h
  while yi > 0 do
    local xm1,x,xp1,xi=self.w-1,self.w,1,self.w
    while xi > 0 do
      local sum = self[ym1][xm1] + self[ym1][x] + self[ym1][xp1] +
                  self[y][xm1] + self[y][xp1] +
                  self[yp1][xm1] + self[yp1][x] + self[yp1][xp1]
      next[y][x] = ((sum==2) and self[y][x]) or ((sum==3) and 1) or 0
      xm1,x,xp1,xi = x,xp1,xp1+1,xi-1
    end
    ym1,y,yp1,yi = y,yp1,yp1+1,yi-1
  end
end

-- output the array to screen
function _CELLS:draw()
  local out="" -- accumulate to reduce flicker
  for y=1,self.h do
   for x=1,self.w do
      out=out..(((self[y][x]>0) and ALIVE) or DEAD)
    end
    out=out.."\n"
  end
  write(out)
end

-- constructor
function CELLS(w,h)
  local c = ARRAY2D(w,h)
  c.spawn = _CELLS.spawn
  c.evolve = _CELLS.evolve
  c.draw = _CELLS.draw
  return c
end

--
-- shapes suitable for use with spawn() above
--
HEART = { 1,0,1,1,0,1,1,1,1; w=3,h=3 }
GLIDER = { 0,0,1,1,0,1,0,1,1; w=3,h=3 }
EXPLODE = { 0,1,0,1,1,1,1,0,1,0,1,0; w=3,h=4 }
FISH = { 0,1,1,1,1,1,0,0,0,1,0,0,0,0,1,1,0,0,1,0; w=5,h=4 }
BUTTERFLY = { 1,0,0,0,1,0,1,1,1,0,1,0,0,0,1,1,0,1,0,1,1,0,0,0,1; w=5,h=5 }

-- the main routine
function LIFE(w,h)
  -- create two arrays
  local thisgen = CELLS(w,h)
  local nextgen = CELLS(w,h)

  -- create some life
  -- about 1000 generations of fun, then a glider steady-state
  thisgen:spawn(GLIDER,5,4)
  thisgen:spawn(EXPLODE,25,10)
  thisgen:spawn(FISH,4,12)

  -- run until break
  local gen=1
  write("\027[2J")	-- ANSI clear screen
  while 1 do
    thisgen:evolve(nextgen)
    thisgen,nextgen = nextgen,thisgen
    write("\027[H")	-- ANSI home cursor
    thisgen:draw()
    write("Life - generation ",gen,"\n")
    gen=gen+1
    if gen>2000 then break end
    --delay()		-- no delay
  end
end

LIFE(40,20)
highlighting-kate-0.6.1/tests/test-highlighting-kate.hs0000644000000000000000000000514512633103275021344 0ustar0000000000000000{-# LANGUAGE CPP, OverloadedStrings #-} module Main where import Data.Char (toLower) import Control.Monad import System.Exit import System.Directory import System.FilePath import Data.Maybe (fromMaybe) import Text.Printf import System.IO import Data.Monoid (mempty) import Text.Printf import Text.Highlighting.Kate import Data.Algorithm.Diff import Control.Applicative import System.Environment (getArgs) #if MIN_VERSION_blaze_html(0,5,0) import Text.Blaze.Html import Text.Blaze.Html.Renderer.String #else import Text.Blaze import Text.Blaze.Renderer.String #endif import qualified Text.Blaze.Html5 as H import qualified Text.Blaze.Html5.Attributes as A data TestResult = Pass | Fail | Error deriving (Eq, Show) main = do inputs <- map ("tests" ) <$> filter isTestFile <$> getDirectoryContents "tests" args <- getArgs let regen = "--regenerate" `elem` args results <- forM inputs (runTest regen) let numfailures = length $ filter (== Fail) results let numerrors = length $ filter (== Error) results exitWith $ if numfailures == 0 && numerrors == 0 then ExitSuccess else ExitFailure $ numfailures + numerrors isTestFile :: FilePath -> Bool isTestFile f = case drop 1 $ takeExtension f of x -> x `elem` map (map toLower) languages && null (takeExtension (dropExtension f)) err :: String -> IO () err = hPutStrLn stderr runTest regen inpFile = do code <- readFile inpFile let lang = drop 1 $ takeExtension inpFile let actual = formatHtml $ highlightAs lang code when regen $ writeFile (inpFile <.> "html") actual expectedString <- readFile (inpFile <.> "html") if expectedString == actual then do putStrLn $ "[PASSED] " ++ inpFile return Pass else do putStrLn $ "[FAILED] " ++ inpFile putStrLn $ "--- " ++ inpFile <.> "html" putStrLn $ "+++ actual" printDiff expectedString actual return Fail formatHtml toks = renderHtml $ H.head (metadata >> css) >> H.body (toHtml fragment) where css = H.style ! A.type_ "text/css" $ toHtml $ styleToCss pygments fragment = formatHtmlBlock opts toks metadata = H.meta ! A.httpEquiv "Content-Type" ! A.content "text/html; charset=UTF-8" opts = defaultFormatOpts{ titleAttributes = True } vividize :: Diff String -> String vividize (Both s _) = " " ++ s vividize (First s) = "- " ++ s vividize (Second s) = "+ " ++ s printDiff :: String -> String -> IO () printDiff expected actual = do mapM_ putStrLn $ map vividize $ getDiff (lines expected) (lines actual) highlighting-kate-0.6.1/Text/0000755000000000000000000000000012633103275014221 5ustar0000000000000000highlighting-kate-0.6.1/Text/Highlighting/0000755000000000000000000000000012633103275016626 5ustar0000000000000000highlighting-kate-0.6.1/Text/Highlighting/Kate.hs0000644000000000000000000000350512633103275020051 0ustar0000000000000000{- | Module : Text.Highlighting.Kate Copyright : Copyright (C) 2008-2011 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane Stability : alpha Portability : portable This helper module exports the main highlighting and formatting functions. A typical application will combine a highlighter and a formatter. This one reads ruby code from stdin and writes HTML: > import Text.Highlighting.Kate > import Text.Blaze.Html.Renderer.String (renderHtml) > import Text.Blaze.Html (toHtml) > import Text.Blaze.Html5 as H > import Text.Blaze.Html5.Attributes as A > > main = do > code <- getContents > putStrLn $ renderHtml > $ do H.head $ H.style ! A.type_ (toValue "text/css") > $ toHtml $ styleToCss tango > H.body $ toHtml > $ formatHtmlBlock defaultFormatOpts > $ highlightAs "ruby" code -} module Text.Highlighting.Kate ( highlightAs , languages , languagesByExtension , languagesByFilename , highlightingKateVersion , module Text.Highlighting.Kate.Types , module Text.Highlighting.Kate.Styles , module Text.Highlighting.Kate.Format.HTML , module Text.Highlighting.Kate.Format.LaTeX ) where import Text.Highlighting.Kate.Syntax import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Styles import Text.Highlighting.Kate.Format.HTML import Text.Highlighting.Kate.Format.LaTeX import Data.Version (showVersion) import Paths_highlighting_kate (version) highlightingKateVersion = showVersion version highlighting-kate-0.6.1/Text/Highlighting/Kate/0000755000000000000000000000000012633103275017512 5ustar0000000000000000highlighting-kate-0.6.1/Text/Highlighting/Kate/Common.hs0000644000000000000000000002620412633103275021302 0ustar0000000000000000{-# LANGUAGE CPP, ScopedTypeVariables #-} {- | Module : Text.Highlighting.Kate.Common Copyright : Copyright (C) 2008 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane Stability : alpha Portability : portable Parsers used in all the individual syntax parsers. -} module Text.Highlighting.Kate.Common where import Data.ByteString.UTF8 (fromString, toString) #ifdef _PCRE_LIGHT import Text.Regex.PCRE.Light import Data.ByteString (ByteString) #else import System.IO.Unsafe (unsafePerformIO) import Text.Regex.PCRE.ByteString #endif import Text.Highlighting.Kate.Types import Text.ParserCombinators.Parsec hiding (State) import Data.Char (isDigit, toLower, isSpace) import Data.List (tails) import Text.Printf import Control.Monad.State import qualified Data.Set as Set -- | Match filename against a list of globs contained in a semicolon-separated -- string. matchGlobs :: String -> String -> Bool matchGlobs fn globs = any (flip matchGlob fn) (splitBySemi $ filter (/=' ') globs) -- | Match filename against a glob pattern with asterisks. matchGlob :: String -> String -> Bool matchGlob ('*':xs) fn = any (matchGlob xs) (tails fn) matchGlob (x:xs) (y:ys) = x == y && matchGlob xs ys matchGlob "" "" = True matchGlob _ _ = False -- | Splits semicolon-separated list splitBySemi :: String -> [String] splitBySemi "" = [] splitBySemi xs = let (pref, suff) = break (==';') xs in case suff of [] -> [pref] (';':ys) -> pref : splitBySemi ys _ -> error $ "The impossible happened (splitBySemi)" -- | Like >>, but returns the operation on the left. -- (Suggested by Tillmann Rendel on Haskell-cafe list.) (>>~) :: (Monad m) => m a -> m b -> m a a >>~ b = a >>= \x -> b >> return x normalizeHighlighting :: [Token] -> [Token] normalizeHighlighting [] = [] normalizeHighlighting ((_,""):xs) = normalizeHighlighting xs normalizeHighlighting ((NormalTok,x):xs) | all isSpace x = (NormalTok,x) : normalizeHighlighting xs normalizeHighlighting ((a,x):(b,y):xs) | a == b = normalizeHighlighting ((a, x++y):xs) normalizeHighlighting (x:xs) = x : normalizeHighlighting xs pushContext :: Context -> KateParser () pushContext (lang,context) = if context == "#stay" then return () else do st <- getState let contexts = synStContexts st updateState $ \st -> st{ synStContexts = (lang,context) : contexts } popContext :: KateParser () popContext = do st <- getState case synStContexts st of [_] -> return () -- stay if we're at the root (_:xs) -> updateState $ \st -> st{ synStContexts = xs } [] -> fail "Stack empty" currentContext :: KateParser Context currentContext = do st <- getState case synStContexts st of (x:_) -> return x [] -> fail "Stack empty" withChildren :: KateParser Token -> KateParser Token -> KateParser Token withChildren parent child = do (pAttr, pResult) <- parent (_, cResult) <- option (NormalTok,"") child return (pAttr, pResult ++ cResult) pFirstNonSpace :: KateParser () pFirstNonSpace = do rest <- getInput prevNonspace <- fromState synStPrevNonspace guard $ not $ prevNonspace || null rest || isSpace (head rest) currentColumn :: GenParser tok st Column currentColumn = sourceColumn `fmap` getPosition pColumn :: Column -> GenParser tok st () pColumn col = do curCol <- currentColumn guard $ col == (curCol - 1) -- parsec's columns start with 1 pGetCapture :: Int -> KateParser String pGetCapture capNum = do captures <- getState >>= return . synStCaptures if length captures < capNum then fail "Not enough captures" else return $ captures !! (capNum - 1) pDetectChar :: Bool -> Char -> KateParser String pDetectChar dynamic ch = do if dynamic && isDigit ch then pGetCapture (read [ch]) >>= try . string else char ch >>= return . (:[]) pDetect2Chars :: Bool -> Char -> Char -> KateParser [Char] pDetect2Chars dynamic ch1 ch2 = try $ do [c1] <- pDetectChar dynamic ch1 [c2] <- pDetectChar dynamic ch2 return [c1, c2] pKeyword :: [Char] -> Set.Set [Char] -> KateParser [Char] pKeyword delims kws = try $ do notFollowedBy (oneOf delims) prevChar <- fromState synStPrevChar caseSensitive <- fromState synStKeywordCaseSensitive guard $ prevChar `elem` delims word <- many1 (noneOf delims) let word' = if caseSensitive then word else map toLower word if word' `Set.member` kws then return word else fail "Keyword not in list" pString :: Bool -> [Char] -> KateParser String pString dynamic str = if dynamic then subDynamic str >>= try . string else try $ string str pAnyChar :: [Char] -> KateParser [Char] pAnyChar chars = oneOf chars >>= return . (:[]) pDefault :: KateParser [Char] pDefault = (:[]) `fmap` anyChar subDynamic :: [Char] -> KateParser [Char] subDynamic ('%':x:xs) | isDigit x = do captures <- getState >>= return . synStCaptures let capNum = read [x] let escapeRegexChar c | c `elem` "^$\\[](){}*+.?" = ['\\',c] | otherwise = [c] let escapeRegex = concatMap escapeRegexChar let replacement = if length captures < capNum then ['%',x] else captures !! (capNum - 1) subDynamic xs >>= return . (escapeRegex replacement ++) subDynamic (x:xs) = subDynamic xs >>= return . (x:) subDynamic "" = return "" -- convert octal escapes to the form pcre wants. Note: -- need at least pcre 8.34 for the form \o{dddd}. -- So we prefer \ddd or \x{...}. convertOctal :: String -> String convertOctal [] = "" convertOctal ('\\':'0':x:y:z:rest) | all isOctalDigit [x,y,z] = '\\':x:y:z: convertOctal rest convertOctal ('\\':x:y:z:rest) | all isOctalDigit [x,y,z] ='\\':x:y:z: convertOctal rest convertOctal ('\\':'o':'{':zs) = case break (=='}') zs of (ds, '}':rest) | all isOctalDigit ds && not (null ds) -> case reads ('0':'o':ds) of ((n :: Int,[]):_) -> printf "\\x{%x}" n ++ convertOctal rest _ -> error $ "Unable to read octal number: " ++ ds _ -> '\\':'o':'{': convertOctal zs convertOctal (x:xs) = x : convertOctal xs isOctalDigit :: Char -> Bool isOctalDigit c = c == '0' || c == '1' || c == '2' || c == '3' || c == '4' || c == '5' || c == '6' || c == '7' compileRegex :: Bool -> String -> Regex compileRegex caseSensitive regexpStr = #ifdef _PCRE_LIGHT let opts = [anchored, utf8] ++ [caseless | not caseSensitive] in compile (fromString ('.' : convertOctal regexpStr)) opts #else let opts = compAnchored + compUTF8 + if caseSensitive then 0 else compCaseless in case unsafePerformIO $ compile opts (execNotEmpty) (fromString ('.' : convertOctal regexpStr)) of Left e -> error $ "Error compiling regex: " ++ show regexpStr ++ "\n" ++ show e Right r -> r #endif matchRegex :: Regex -> String -> KateParser (Maybe [String]) #ifdef _PCRE_LIGHT matchRegex r s = return $ toString' $ match r (fromString s) [exec_notempty] where toString' :: Maybe [ByteString] -> Maybe [String] toString' (Just xs) = Just $ fmap toString xs toString' Nothing = Nothing #else matchRegex r s = case unsafePerformIO (regexec r (fromString s)) of Right (Just (_, mat, _ , capts)) -> return $ Just $ map toString (mat : capts) Right Nothing -> return Nothing Left matchError -> fail $ show matchError #endif pRegExpr :: Regex -> KateParser String pRegExpr regex = do rest <- getInput prevChar <- fromState synStPrevChar -- Note: we keep one preceding character, so initial \b can match or not... let target = if prevChar == '\n' then ' ':rest else prevChar:rest matches <- matchRegex regex target case matches of Just (x:xs) | null x -> fail "Regex matched null string!" | otherwise -> do unless (null xs) $ updateState (\st -> st {synStCaptures = xs}) count (length x - 1) anyChar _ -> pzero pRegExprDynamic :: [Char] -> KateParser String pRegExprDynamic regexpStr = do regexpStr' <- subDynamic regexpStr caseSensitive <- synStCaseSensitive `fmap` getState pRegExpr $ compileRegex caseSensitive regexpStr' integerRegex :: Regex integerRegex = compileRegex True "\\b[-+]?(0[Xx][0-9A-Fa-f]+|0[Oo][0-7]+|[0-9]+)\\b" pInt :: KateParser String pInt = pRegExpr integerRegex floatRegex :: Regex floatRegex = compileRegex True "\\b[-+]?(([0-9]+\\.[0-9]*|[0-9]*\\.[0-9]+)([Ee][-+]?[0-9]+)?|[0-9]+[Ee][-+]?[0-9]+)\\b" pFloat :: KateParser String pFloat = pRegExpr floatRegex octRegex :: Regex octRegex = compileRegex True "\\b[-+]?0[Oo][0-7]+\\b" pHlCOct :: KateParser String pHlCOct = pRegExpr octRegex hexRegex :: Regex hexRegex = compileRegex True "\\b[-+]?0[Xx][0-9A-Fa-f]+\\b" pHlCHex :: KateParser String pHlCHex = pRegExpr hexRegex pHlCStringChar :: KateParser [Char] pHlCStringChar = try $ do char '\\' (oneOf "abefnrtv\"'?\\" >>= return . (\x -> ['\\',x])) <|> (do a <- satisfy (\c -> c == 'x' || c == 'X') b <- many1 hexDigit return ('\\':a:b)) <|> (do a <- char '0' b <- many1 octDigit return ('\\':a:b)) pHlCChar :: KateParser [Char] pHlCChar = try $ do char '\'' c <- pHlCStringChar char '\'' return ('\'' : c ++ "'") pRangeDetect :: Char -> Char -> KateParser [Char] pRangeDetect startChar endChar = try $ do char startChar body <- manyTill (satisfy (/= endChar)) (char endChar) return $ startChar : (body ++ [endChar]) pLineContinue :: KateParser String pLineContinue = try $ do char '\\' eof updateState $ \st -> st{ synStContinuation = True } return "\\" pDetectSpaces :: KateParser [Char] pDetectSpaces = many1 (satisfy $ \c -> c == ' ' || c == '\t') -- http://docs.kde.org/stable/en/applications/kate/kate-highlight-rules-detailled.html says this is -- [a-zA-Z_][a-zA-Z0-9_]* pDetectIdentifier :: KateParser [Char] pDetectIdentifier = do first <- letter <|> char '_' rest <- many (alphaNum <|> char '_') return (first:rest) fromState :: (SyntaxState -> a) -> KateParser a fromState f = f `fmap` getState mkParseSourceLine :: KateParser Token -- ^ parseExpressionInternal -> String -> State SyntaxState SourceLine mkParseSourceLine parseExpression ln = do modify $ \st -> st{ synStLineNumber = synStLineNumber st + 1 } st <- get let lineName = "line " ++ show (synStLineNumber st) let pline = do ts <- manyTill parseExpression eof s <- getState return (s, ts) let (newst, result) = case runParser pline st lineName ln of Left _ -> (st, [(ErrorTok,ln)]) Right (s,r) -> (s,r) put $! newst return $! normalizeHighlighting result highlighting-kate-0.6.1/Text/Highlighting/Kate/Styles.hs0000644000000000000000000003166612633103275021345 0ustar0000000000000000{- | Module : Text.Highlighting.Kate.Styles Copyright : Copyright (C) 2011 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane Stability : alpha Portability : portable Styles for rendering annotated source lines. -} module Text.Highlighting.Kate.Styles ( pygments, kate, espresso, tango, haddock, monochrome, zenburn ) where import Text.Highlighting.Kate.Types color :: Int -> Maybe Color color = toColor -- | Style based on pygments's default colors. pygments :: Style pygments = Style{ backgroundColor = Nothing , defaultColor = Nothing , lineNumberColor = color 0xaaaaaa , lineNumberBackgroundColor = Nothing , tokenStyles = [ (KeywordTok, defStyle{ tokenColor = color 0x007020, tokenBold = True }) , (DataTypeTok, defStyle{ tokenColor = color 0x902000 }) , (DecValTok, defStyle{ tokenColor = color 0x40a070 }) , (BaseNTok, defStyle{ tokenColor = color 0x40a070 }) , (FloatTok, defStyle{ tokenColor = color 0x40a070 }) , (CharTok, defStyle{ tokenColor = color 0x4070a0 }) , (StringTok, defStyle{ tokenColor = color 0x4070a0 }) , (CommentTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True }) , (OtherTok, defStyle{ tokenColor = color 0x007020 }) , (AlertTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True }) , (FunctionTok, defStyle{ tokenColor = color 0x06287e }) , (ErrorTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True }) , (WarningTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True, tokenBold = True }) , (ConstantTok, defStyle{ tokenColor = color 0x880000 }) , (SpecialCharTok, defStyle{ tokenColor = color 0x4070a0 }) , (VerbatimStringTok, defStyle{ tokenColor = color 0x4070a0 }) , (SpecialStringTok, defStyle{ tokenColor = color 0xBB6688 }) , (ImportTok, defStyle) , (VariableTok, defStyle{ tokenColor = color 0x19177C }) , (ControlFlowTok, defStyle{ tokenColor = color 0x007020, tokenBold = True }) , (OperatorTok, defStyle{ tokenColor = color 0x666666 }) , (BuiltInTok, defStyle) , (ExtensionTok, defStyle) , (PreprocessorTok, defStyle{ tokenColor = color 0xBC7A00 }) , (AttributeTok, defStyle{ tokenColor = color 0x7D9029 }) , (DocumentationTok, defStyle{ tokenColor = color 0xBA2121, tokenItalic = True }) , (AnnotationTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True, tokenBold = True }) , (CommentVarTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True, tokenBold = True }) , (InformationTok, defStyle{ tokenColor = color 0x60a0b0, tokenItalic = True, tokenBold = True }) ] } -- | Style based on kate's default colors. kate :: Style kate = Style{ backgroundColor = Nothing , defaultColor = Nothing , lineNumberColor = Nothing , lineNumberBackgroundColor = color 0xdddddd , tokenStyles = [ (KeywordTok, defStyle{ tokenBold = True }) , (DataTypeTok, defStyle{ tokenColor = color 0x800000 }) , (DecValTok, defStyle{ tokenColor = color 0x0000FF }) , (BaseNTok, defStyle{ tokenColor = color 0x0000FF }) , (FloatTok, defStyle{ tokenColor = color 0x800080 }) , (CharTok, defStyle{ tokenColor = color 0xFF00FF }) , (StringTok, defStyle{ tokenColor = color 0xDD0000 }) , (CommentTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True }) , (AlertTok, defStyle{ tokenColor = color 0x00ff00, tokenBold = True }) , (FunctionTok, defStyle{ tokenColor = color 0x000080 }) , (ErrorTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True }) , (WarningTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True }) , (ConstantTok, defStyle{ tokenColor = color 0x000000 }) , (SpecialCharTok, defStyle{ tokenColor = color 0xFF00FF }) , (VerbatimStringTok, defStyle{ tokenColor = color 0xDD0000 }) , (SpecialStringTok, defStyle{ tokenColor = color 0xDD0000 }) , (ImportTok, defStyle) , (VariableTok, defStyle) , (ControlFlowTok, defStyle) , (OperatorTok, defStyle) , (BuiltInTok, defStyle) , (ExtensionTok, defStyle) , (PreprocessorTok, defStyle{ tokenBold = True }) , (AttributeTok, defStyle) , (DocumentationTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True }) , (AnnotationTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True, tokenBold = True }) , (CommentVarTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True, tokenBold = True }) , (InformationTok, defStyle{ tokenColor = color 0x808080, tokenItalic = True, tokenBold = True }) ] } -- | Style based on pygments's tango colors. tango :: Style tango = Style{ backgroundColor = color 0xf8f8f8 , defaultColor = Nothing , lineNumberColor = color 0xaaaaaa , lineNumberBackgroundColor = Nothing , tokenStyles = [ (KeywordTok, defStyle{ tokenColor = color 0x204a87, tokenBold = True }) , (DataTypeTok, defStyle{ tokenColor = color 0x204a87 }) , (DecValTok, defStyle{ tokenColor = color 0x0000cf }) , (BaseNTok, defStyle{ tokenColor = color 0x0000cf }) , (FloatTok, defStyle{ tokenColor = color 0x0000cf }) , (CharTok, defStyle{ tokenColor = color 0x4e9a06 }) , (StringTok, defStyle{ tokenColor = color 0x4e9a06 }) , (CommentTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True }) , (OtherTok, defStyle{ tokenColor = color 0x8f5902 }) , (AlertTok, defStyle{ tokenColor = color 0xef2929 }) , (FunctionTok, defStyle{ tokenColor = color 0x000000 }) , (ErrorTok, defStyle{ tokenColor = color 0xa40000, tokenBold = True }) , (WarningTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True,tokenBold = True }) , (ConstantTok, defStyle{ tokenColor = color 0x000000 }) , (SpecialCharTok, defStyle{ tokenColor = color 0x000000 }) , (VerbatimStringTok, defStyle{ tokenColor = color 0x4e9a06 }) , (SpecialStringTok, defStyle{ tokenColor = color 0x4e9a06 }) , (ImportTok, defStyle) , (VariableTok, defStyle{ tokenColor = color 0x000000 }) , (ControlFlowTok, defStyle{ tokenColor = color 0x204a87, tokenBold = True }) , (OperatorTok, defStyle{ tokenColor = color 0xce5c00, tokenBold = True }) , (PreprocessorTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True} ) , (ExtensionTok, defStyle) , (AttributeTok, defStyle{ tokenColor = color 0xc4a000 }) , (DocumentationTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True, tokenBold = True }) , (AnnotationTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True,tokenBold = True }) , (CommentVarTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True,tokenBold = True }) , (InformationTok, defStyle{ tokenColor = color 0x8f5902, tokenItalic = True,tokenBold = True }) ] } -- | Style based on ultraviolet's espresso_libre.css (dark background). espresso :: Style espresso = Style{ backgroundColor = color 0x2A211C , defaultColor = color 0xBDAE9D , lineNumberColor = color 0xBDAE9D , lineNumberBackgroundColor = color 0x2A211C , tokenStyles = [ (KeywordTok, defStyle{ tokenColor = color 0x43A8ED, tokenBold = True }) , (DataTypeTok, defStyle{ tokenUnderline = True }) , (DecValTok, defStyle{ tokenColor = color 0x44AA43 }) , (BaseNTok, defStyle{ tokenColor = color 0x44AA43 }) , (FloatTok, defStyle{ tokenColor = color 0x44AA43 }) , (CharTok, defStyle{ tokenColor = color 0x049B0A }) , (StringTok, defStyle{ tokenColor = color 0x049B0A }) , (CommentTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True }) , (AlertTok, defStyle{ tokenColor = color 0xffff00 }) , (FunctionTok, defStyle{ tokenColor = color 0xFF9358, tokenBold = True }) , (ErrorTok, defStyle{ tokenColor = color 0xffff00, tokenBold = True }) , (WarningTok, defStyle{ tokenColor = color 0xffff00, tokenBold = True }) , (ConstantTok, defStyle) , (SpecialCharTok, defStyle{ tokenColor = color 0x049B0A }) , (VerbatimStringTok, defStyle{ tokenColor = color 0x049B0A }) , (SpecialStringTok, defStyle{ tokenColor = color 0x049B0A }) , (ImportTok, defStyle) , (VariableTok, defStyle) , (ControlFlowTok, defStyle{ tokenColor = color 0x43A8ED, tokenBold = True }) , (OperatorTok, defStyle) , (BuiltInTok, defStyle) , (ExtensionTok, defStyle) , (PreprocessorTok, defStyle{ tokenBold = True }) , (AttributeTok, defStyle) , (DocumentationTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True }) , (AnnotationTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True, tokenBold = True }) , (CommentTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True, tokenBold = True }) , (InformationTok, defStyle{ tokenColor = color 0x0066FF, tokenItalic = True, tokenBold = True }) ] } -- | Style based on haddock's source highlighting. haddock :: Style haddock = Style{ backgroundColor = Nothing , defaultColor = Nothing , lineNumberColor = color 0xaaaaaa , lineNumberBackgroundColor = Nothing , tokenStyles = [ (KeywordTok, defStyle{ tokenColor = color 0x0000FF }) , (CharTok, defStyle{ tokenColor = color 0x008080 }) , (StringTok, defStyle{ tokenColor = color 0x008080 }) , (CommentTok, defStyle{ tokenColor = color 0x008000 }) , (OtherTok, defStyle{ tokenColor = color 0xff4000 }) , (AlertTok, defStyle{ tokenColor = color 0xff0000 }) , (ErrorTok, defStyle{ tokenColor = color 0xff0000, tokenBold = True }) , (WarningTok, defStyle{ tokenColor = color 0x008000, tokenBold = True }) , (ConstantTok, defStyle) , (SpecialCharTok, defStyle{ tokenColor = color 0x008080 }) , (VerbatimStringTok, defStyle{ tokenColor = color 0x008080 }) , (SpecialStringTok, defStyle{ tokenColor = color 0x008080 }) , (ImportTok, defStyle) , (VariableTok, defStyle) , (ControlFlowTok, defStyle{ tokenColor = color 0x0000FF }) , (OperatorTok, defStyle) , (BuiltInTok, defStyle) , (ExtensionTok, defStyle) , (PreprocessorTok, defStyle{ tokenColor = color 0xff4000 }) , (DocumentationTok, defStyle{ tokenColor = color 0x008000 }) , (AnnotationTok, defStyle{ tokenColor = color 0x008000 }) , (CommentVarTok, defStyle{ tokenColor = color 0x008000 }) , (AttributeTok, defStyle) , (InformationTok, defStyle{ tokenColor = color 0x008000 }) ] } -- | Style with no colors. monochrome :: Style monochrome = Style{ backgroundColor = Nothing , defaultColor = Nothing , lineNumberColor = Nothing , lineNumberBackgroundColor = Nothing , tokenStyles = [ (KeywordTok, defStyle{ tokenBold = True }) , (DataTypeTok, defStyle{ tokenUnderline = True }) , (CommentTok, defStyle{ tokenItalic = True }) , (AlertTok, defStyle{ tokenBold = True }) , (ErrorTok, defStyle{ tokenBold = True }) , (WarningTok, defStyle{ tokenItalic = True }) , (ControlFlowTok, defStyle{ tokenBold = True }) , (PreprocessorTok, defStyle{ tokenBold = True }) , (DocumentationTok, defStyle{ tokenItalic = True }) , (AnnotationTok, defStyle{ tokenItalic = True }) , (CommentVarTok, defStyle{ tokenItalic = True }) , (InformationTok, defStyle{ tokenItalic = True }) ] } -- | Style based on the popular zenburn vim color scheme zenburn :: Style zenburn = Style{ backgroundColor = color 0x303030 , defaultColor = color 0xcccccc , lineNumberColor = Nothing , lineNumberBackgroundColor = Nothing , tokenStyles = [ (KeywordTok, defStyle{ tokenColor = color 0xf0dfaf }) , (DataTypeTok, defStyle{ tokenColor = color 0xdfdfbf }) , (DecValTok, defStyle{ tokenColor = color 0xdcdccc }) , (BaseNTok, defStyle{ tokenColor = color 0xdca3a3 }) , (FloatTok, defStyle{ tokenColor = color 0xc0bed1 }) , (CharTok, defStyle{ tokenColor = color 0xdca3a3 }) , (StringTok, defStyle{ tokenColor = color 0xcc9393 }) , (CommentTok, defStyle{ tokenColor = color 0x7f9f7f }) , (OtherTok, defStyle{ tokenColor = color 0xefef8f }) , (AlertTok, defStyle{ tokenColor = color 0xffcfaf }) , (FunctionTok, defStyle{ tokenColor = color 0xefef8f }) , (ErrorTok, defStyle{ tokenColor = color 0xc3bf9f }) , (WarningTok, defStyle{ tokenColor = color 0x7f9f7f, tokenBold = True }) , (ConstantTok, defStyle{ tokenColor = color 0xdca3a3, tokenBold = True }) , (SpecialCharTok, defStyle{ tokenColor = color 0xdca3a3 }) , (VerbatimStringTok, defStyle{ tokenColor = color 0xcc9393 }) , (SpecialStringTok, defStyle{ tokenColor = color 0xcc9393 }) , (ImportTok, defStyle) , (VariableTok, defStyle) , (ControlFlowTok, defStyle{ tokenColor = color 0xf0dfaf }) , (OperatorTok, defStyle{ tokenColor = color 0xf0efd0 }) , (BuiltInTok, defStyle) , (ExtensionTok, defStyle) , (PreprocessorTok, defStyle{ tokenColor = color 0xffcfaf, tokenBold = True }) , (AttributeTok, defStyle) , (DocumentationTok, defStyle{ tokenColor = color 0x7f9f7f }) , (AnnotationTok, defStyle{ tokenColor = color 0x7f9f7f, tokenBold = True }) , (CommentVarTok, defStyle{ tokenColor = color 0x7f9f7f, tokenBold = True }) , (InformationTok, defStyle{ tokenColor = color 0x7f9f7f, tokenBold = True }) ] } highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax.hs0000644000000000000000000006056412633103275021347 0ustar0000000000000000{- | Module : Text.Highlighting.Kate.Syntax Copyright : Copyright (C) 2008-2011 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane Stability : alpha Portability : portable Token lexer for various languages. -} module Text.Highlighting.Kate.Syntax ( highlightAs, languages, languageByFullName, languagesByExtension, languagesByFilename ) where import Data.Char (toLower) import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common (matchGlobs) import qualified Text.Highlighting.Kate.Syntax.Abc as Abc import qualified Text.Highlighting.Kate.Syntax.Actionscript as Actionscript import qualified Text.Highlighting.Kate.Syntax.Ada as Ada import qualified Text.Highlighting.Kate.Syntax.Agda as Agda import qualified Text.Highlighting.Kate.Syntax.Alert as Alert import qualified Text.Highlighting.Kate.Syntax.Alert_indent as Alert_indent import qualified Text.Highlighting.Kate.Syntax.Apache as Apache import qualified Text.Highlighting.Kate.Syntax.Asn1 as Asn1 import qualified Text.Highlighting.Kate.Syntax.Asp as Asp import qualified Text.Highlighting.Kate.Syntax.Awk as Awk import qualified Text.Highlighting.Kate.Syntax.Bash as Bash import qualified Text.Highlighting.Kate.Syntax.Bibtex as Bibtex import qualified Text.Highlighting.Kate.Syntax.Boo as Boo import qualified Text.Highlighting.Kate.Syntax.C as C import qualified Text.Highlighting.Kate.Syntax.Changelog as Changelog import qualified Text.Highlighting.Kate.Syntax.Clojure as Clojure import qualified Text.Highlighting.Kate.Syntax.Cmake as Cmake import qualified Text.Highlighting.Kate.Syntax.Coffee as Coffee import qualified Text.Highlighting.Kate.Syntax.Coldfusion as Coldfusion import qualified Text.Highlighting.Kate.Syntax.Commonlisp as Commonlisp import qualified Text.Highlighting.Kate.Syntax.Cpp as Cpp import qualified Text.Highlighting.Kate.Syntax.Cs as Cs import qualified Text.Highlighting.Kate.Syntax.Css as Css import qualified Text.Highlighting.Kate.Syntax.Curry as Curry import qualified Text.Highlighting.Kate.Syntax.D as D import qualified Text.Highlighting.Kate.Syntax.Diff as Diff import qualified Text.Highlighting.Kate.Syntax.Djangotemplate as Djangotemplate import qualified Text.Highlighting.Kate.Syntax.Dockerfile as Dockerfile import qualified Text.Highlighting.Kate.Syntax.Dot as Dot import qualified Text.Highlighting.Kate.Syntax.Doxygen as Doxygen import qualified Text.Highlighting.Kate.Syntax.Doxygenlua as Doxygenlua import qualified Text.Highlighting.Kate.Syntax.Dtd as Dtd import qualified Text.Highlighting.Kate.Syntax.Eiffel as Eiffel import qualified Text.Highlighting.Kate.Syntax.Email as Email import qualified Text.Highlighting.Kate.Syntax.Erlang as Erlang import qualified Text.Highlighting.Kate.Syntax.Fasm as Fasm import qualified Text.Highlighting.Kate.Syntax.Fortran as Fortran import qualified Text.Highlighting.Kate.Syntax.Fsharp as Fsharp import qualified Text.Highlighting.Kate.Syntax.Gcc as Gcc import qualified Text.Highlighting.Kate.Syntax.Glsl as Glsl import qualified Text.Highlighting.Kate.Syntax.Gnuassembler as Gnuassembler import qualified Text.Highlighting.Kate.Syntax.Go as Go import qualified Text.Highlighting.Kate.Syntax.Haskell as Haskell import qualified Text.Highlighting.Kate.Syntax.Haxe as Haxe import qualified Text.Highlighting.Kate.Syntax.Html as Html import qualified Text.Highlighting.Kate.Syntax.Idris as Idris import qualified Text.Highlighting.Kate.Syntax.Ini as Ini import qualified Text.Highlighting.Kate.Syntax.Isocpp as Isocpp import qualified Text.Highlighting.Kate.Syntax.Java as Java import qualified Text.Highlighting.Kate.Syntax.Javadoc as Javadoc import qualified Text.Highlighting.Kate.Syntax.Javascript as Javascript import qualified Text.Highlighting.Kate.Syntax.Json as Json import qualified Text.Highlighting.Kate.Syntax.Jsp as Jsp import qualified Text.Highlighting.Kate.Syntax.Julia as Julia import qualified Text.Highlighting.Kate.Syntax.Kotlin as Kotlin import qualified Text.Highlighting.Kate.Syntax.Latex as Latex import qualified Text.Highlighting.Kate.Syntax.Lex as Lex import qualified Text.Highlighting.Kate.Syntax.Lilypond as Lilypond import qualified Text.Highlighting.Kate.Syntax.LiterateCurry as LiterateCurry import qualified Text.Highlighting.Kate.Syntax.LiterateHaskell as LiterateHaskell import qualified Text.Highlighting.Kate.Syntax.Llvm as Llvm import qualified Text.Highlighting.Kate.Syntax.Lua as Lua import qualified Text.Highlighting.Kate.Syntax.M4 as M4 import qualified Text.Highlighting.Kate.Syntax.Makefile as Makefile import qualified Text.Highlighting.Kate.Syntax.Mandoc as Mandoc import qualified Text.Highlighting.Kate.Syntax.Markdown as Markdown import qualified Text.Highlighting.Kate.Syntax.Mathematica as Mathematica import qualified Text.Highlighting.Kate.Syntax.Matlab as Matlab import qualified Text.Highlighting.Kate.Syntax.Maxima as Maxima import qualified Text.Highlighting.Kate.Syntax.Mediawiki as Mediawiki import qualified Text.Highlighting.Kate.Syntax.Metafont as Metafont import qualified Text.Highlighting.Kate.Syntax.Mips as Mips import qualified Text.Highlighting.Kate.Syntax.Modelines as Modelines import qualified Text.Highlighting.Kate.Syntax.Modula2 as Modula2 import qualified Text.Highlighting.Kate.Syntax.Modula3 as Modula3 import qualified Text.Highlighting.Kate.Syntax.Monobasic as Monobasic import qualified Text.Highlighting.Kate.Syntax.Nasm as Nasm import qualified Text.Highlighting.Kate.Syntax.Noweb as Noweb import qualified Text.Highlighting.Kate.Syntax.Objectivec as Objectivec import qualified Text.Highlighting.Kate.Syntax.Objectivecpp as Objectivecpp import qualified Text.Highlighting.Kate.Syntax.Ocaml as Ocaml import qualified Text.Highlighting.Kate.Syntax.Octave as Octave import qualified Text.Highlighting.Kate.Syntax.Opencl as Opencl import qualified Text.Highlighting.Kate.Syntax.Pascal as Pascal import qualified Text.Highlighting.Kate.Syntax.Perl as Perl import qualified Text.Highlighting.Kate.Syntax.Php as Php import qualified Text.Highlighting.Kate.Syntax.Pike as Pike import qualified Text.Highlighting.Kate.Syntax.Postscript as Postscript import qualified Text.Highlighting.Kate.Syntax.Prolog as Prolog import qualified Text.Highlighting.Kate.Syntax.Pure as Pure import qualified Text.Highlighting.Kate.Syntax.Python as Python import qualified Text.Highlighting.Kate.Syntax.R as R import qualified Text.Highlighting.Kate.Syntax.Relaxng as Relaxng import qualified Text.Highlighting.Kate.Syntax.Relaxngcompact as Relaxngcompact import qualified Text.Highlighting.Kate.Syntax.Rest as Rest import qualified Text.Highlighting.Kate.Syntax.Rhtml as Rhtml import qualified Text.Highlighting.Kate.Syntax.Roff as Roff import qualified Text.Highlighting.Kate.Syntax.Ruby as Ruby import qualified Text.Highlighting.Kate.Syntax.Rust as Rust import qualified Text.Highlighting.Kate.Syntax.Scala as Scala import qualified Text.Highlighting.Kate.Syntax.Scheme as Scheme import qualified Text.Highlighting.Kate.Syntax.Sci as Sci import qualified Text.Highlighting.Kate.Syntax.Sed as Sed import qualified Text.Highlighting.Kate.Syntax.Sgml as Sgml import qualified Text.Highlighting.Kate.Syntax.Sql as Sql import qualified Text.Highlighting.Kate.Syntax.SqlMysql as SqlMysql import qualified Text.Highlighting.Kate.Syntax.SqlPostgresql as SqlPostgresql import qualified Text.Highlighting.Kate.Syntax.Tcl as Tcl import qualified Text.Highlighting.Kate.Syntax.Tcsh as Tcsh import qualified Text.Highlighting.Kate.Syntax.Texinfo as Texinfo import qualified Text.Highlighting.Kate.Syntax.Verilog as Verilog import qualified Text.Highlighting.Kate.Syntax.Vhdl as Vhdl import qualified Text.Highlighting.Kate.Syntax.Xml as Xml import qualified Text.Highlighting.Kate.Syntax.Xorg as Xorg import qualified Text.Highlighting.Kate.Syntax.Xslt as Xslt import qualified Text.Highlighting.Kate.Syntax.Xul as Xul import qualified Text.Highlighting.Kate.Syntax.Yacc as Yacc import qualified Text.Highlighting.Kate.Syntax.Yaml as Yaml import qualified Text.Highlighting.Kate.Syntax.Zsh as Zsh -- | List of supported languages. languages :: [String] languages = ["Abc","Actionscript","Ada","Agda","Alert","Alert_indent","Apache","Asn1","Asp","Awk","Bash","Bibtex","Boo","C","Changelog","Clojure","Cmake","Coffee","Coldfusion","Commonlisp","Cpp","Cs","Css","Curry","D","Diff","Djangotemplate","Dockerfile","Dot","Doxygen","Doxygenlua","Dtd","Eiffel","Email","Erlang","Fasm","Fortran","Fsharp","Gcc","Glsl","Gnuassembler","Go","Haskell","Haxe","Html","Idris","Ini","Isocpp","Java","Javadoc","Javascript","Json","Jsp","Julia","Kotlin","Latex","Lex","Lilypond","LiterateCurry","LiterateHaskell","Llvm","Lua","M4","Makefile","Mandoc","Markdown","Mathematica","Matlab","Maxima","Mediawiki","Metafont","Mips","Modelines","Modula2","Modula3","Monobasic","Nasm","Noweb","Objectivec","Objectivecpp","Ocaml","Octave","Opencl","Pascal","Perl","Php","Pike","Postscript","Prolog","Pure","Python","R","Relaxng","Relaxngcompact","Rest","Rhtml","Roff","Ruby","Rust","Scala","Scheme","Sci","Sed","Sgml","Sql","SqlMysql","SqlPostgresql","Tcl","Tcsh","Texinfo","Verilog","Vhdl","Xml","Xorg","Xslt","Xul","Yacc","Yaml","Zsh"] -- | List of language extensions. languageExtensions :: [(String, String)] languageExtensions = [("Abc", Abc.syntaxExtensions), ("Actionscript", Actionscript.syntaxExtensions), ("Ada", Ada.syntaxExtensions), ("Agda", Agda.syntaxExtensions), ("Alert", Alert.syntaxExtensions), ("Alert_indent", Alert_indent.syntaxExtensions), ("Apache", Apache.syntaxExtensions), ("Asn1", Asn1.syntaxExtensions), ("Asp", Asp.syntaxExtensions), ("Awk", Awk.syntaxExtensions), ("Bash", Bash.syntaxExtensions), ("Bibtex", Bibtex.syntaxExtensions), ("Boo", Boo.syntaxExtensions), ("C", C.syntaxExtensions), ("Changelog", Changelog.syntaxExtensions), ("Clojure", Clojure.syntaxExtensions), ("Cmake", Cmake.syntaxExtensions), ("Coffee", Coffee.syntaxExtensions), ("Coldfusion", Coldfusion.syntaxExtensions), ("Commonlisp", Commonlisp.syntaxExtensions), ("Cpp", Cpp.syntaxExtensions), ("Cs", Cs.syntaxExtensions), ("Css", Css.syntaxExtensions), ("Curry", Curry.syntaxExtensions), ("D", D.syntaxExtensions), ("Diff", Diff.syntaxExtensions), ("Djangotemplate", Djangotemplate.syntaxExtensions), ("Dockerfile", Dockerfile.syntaxExtensions), ("Dot", Dot.syntaxExtensions), ("Doxygen", Doxygen.syntaxExtensions), ("Doxygenlua", Doxygenlua.syntaxExtensions), ("Dtd", Dtd.syntaxExtensions), ("Eiffel", Eiffel.syntaxExtensions), ("Email", Email.syntaxExtensions), ("Erlang", Erlang.syntaxExtensions), ("Fasm", Fasm.syntaxExtensions), ("Fortran", Fortran.syntaxExtensions), ("Fsharp", Fsharp.syntaxExtensions), ("Gcc", Gcc.syntaxExtensions), ("Glsl", Glsl.syntaxExtensions), ("Gnuassembler", Gnuassembler.syntaxExtensions), ("Go", Go.syntaxExtensions), ("Haskell", Haskell.syntaxExtensions), ("Haxe", Haxe.syntaxExtensions), ("Html", Html.syntaxExtensions), ("Idris", Idris.syntaxExtensions), ("Ini", Ini.syntaxExtensions), ("Isocpp", Isocpp.syntaxExtensions), ("Java", Java.syntaxExtensions), ("Javadoc", Javadoc.syntaxExtensions), ("Javascript", Javascript.syntaxExtensions), ("Json", Json.syntaxExtensions), ("Jsp", Jsp.syntaxExtensions), ("Julia", Julia.syntaxExtensions), ("Kotlin", Kotlin.syntaxExtensions), ("Latex", Latex.syntaxExtensions), ("Lex", Lex.syntaxExtensions), ("Lilypond", Lilypond.syntaxExtensions), ("LiterateCurry", LiterateCurry.syntaxExtensions), ("LiterateHaskell", LiterateHaskell.syntaxExtensions), ("Llvm", Llvm.syntaxExtensions), ("Lua", Lua.syntaxExtensions), ("M4", M4.syntaxExtensions), ("Makefile", Makefile.syntaxExtensions), ("Mandoc", Mandoc.syntaxExtensions), ("Markdown", Markdown.syntaxExtensions), ("Mathematica", Mathematica.syntaxExtensions), ("Matlab", Matlab.syntaxExtensions), ("Maxima", Maxima.syntaxExtensions), ("Mediawiki", Mediawiki.syntaxExtensions), ("Metafont", Metafont.syntaxExtensions), ("Mips", Mips.syntaxExtensions), ("Modelines", Modelines.syntaxExtensions), ("Modula2", Modula2.syntaxExtensions), ("Modula3", Modula3.syntaxExtensions), ("Monobasic", Monobasic.syntaxExtensions), ("Nasm", Nasm.syntaxExtensions), ("Noweb", Noweb.syntaxExtensions), ("Objectivec", Objectivec.syntaxExtensions), ("Objectivecpp", Objectivecpp.syntaxExtensions), ("Ocaml", Ocaml.syntaxExtensions), ("Octave", Octave.syntaxExtensions), ("Opencl", Opencl.syntaxExtensions), ("Pascal", Pascal.syntaxExtensions), ("Perl", Perl.syntaxExtensions), ("Php", Php.syntaxExtensions), ("Pike", Pike.syntaxExtensions), ("Postscript", Postscript.syntaxExtensions), ("Prolog", Prolog.syntaxExtensions), ("Pure", Pure.syntaxExtensions), ("Python", Python.syntaxExtensions), ("R", R.syntaxExtensions), ("Relaxng", Relaxng.syntaxExtensions), ("Relaxngcompact", Relaxngcompact.syntaxExtensions), ("Rest", Rest.syntaxExtensions), ("Rhtml", Rhtml.syntaxExtensions), ("Roff", Roff.syntaxExtensions), ("Ruby", Ruby.syntaxExtensions), ("Rust", Rust.syntaxExtensions), ("Scala", Scala.syntaxExtensions), ("Scheme", Scheme.syntaxExtensions), ("Sci", Sci.syntaxExtensions), ("Sed", Sed.syntaxExtensions), ("Sgml", Sgml.syntaxExtensions), ("Sql", Sql.syntaxExtensions), ("SqlMysql", SqlMysql.syntaxExtensions), ("SqlPostgresql", SqlPostgresql.syntaxExtensions), ("Tcl", Tcl.syntaxExtensions), ("Tcsh", Tcsh.syntaxExtensions), ("Texinfo", Texinfo.syntaxExtensions), ("Verilog", Verilog.syntaxExtensions), ("Vhdl", Vhdl.syntaxExtensions), ("Xml", Xml.syntaxExtensions), ("Xorg", Xorg.syntaxExtensions), ("Xslt", Xslt.syntaxExtensions), ("Xul", Xul.syntaxExtensions), ("Yacc", Yacc.syntaxExtensions), ("Yaml", Yaml.syntaxExtensions), ("Zsh", Zsh.syntaxExtensions)] -- | List of full names of languages. languageFullNames :: [(String, String)] languageFullNames = [("Abc", Abc.syntaxName), ("Actionscript", Actionscript.syntaxName), ("Ada", Ada.syntaxName), ("Agda", Agda.syntaxName), ("Alert", Alert.syntaxName), ("Alert_indent", Alert_indent.syntaxName), ("Apache", Apache.syntaxName), ("Asn1", Asn1.syntaxName), ("Asp", Asp.syntaxName), ("Awk", Awk.syntaxName), ("Bash", Bash.syntaxName), ("Bibtex", Bibtex.syntaxName), ("Boo", Boo.syntaxName), ("C", C.syntaxName), ("Changelog", Changelog.syntaxName), ("Clojure", Clojure.syntaxName), ("Cmake", Cmake.syntaxName), ("Coffee", Coffee.syntaxName), ("Coldfusion", Coldfusion.syntaxName), ("Commonlisp", Commonlisp.syntaxName), ("Cpp", Cpp.syntaxName), ("Cs", Cs.syntaxName), ("Css", Css.syntaxName), ("Curry", Curry.syntaxName), ("D", D.syntaxName), ("Diff", Diff.syntaxName), ("Djangotemplate", Djangotemplate.syntaxName), ("Dockerfile", Dockerfile.syntaxName), ("Dot", Dot.syntaxName), ("Doxygen", Doxygen.syntaxName), ("Doxygenlua", Doxygenlua.syntaxName), ("Dtd", Dtd.syntaxName), ("Eiffel", Eiffel.syntaxName), ("Email", Email.syntaxName), ("Erlang", Erlang.syntaxName), ("Fasm", Fasm.syntaxName), ("Fortran", Fortran.syntaxName), ("Fsharp", Fsharp.syntaxName), ("Gcc", Gcc.syntaxName), ("Glsl", Glsl.syntaxName), ("Gnuassembler", Gnuassembler.syntaxName), ("Go", Go.syntaxName), ("Haskell", Haskell.syntaxName), ("Haxe", Haxe.syntaxName), ("Html", Html.syntaxName), ("Idris", Idris.syntaxName), ("Ini", Ini.syntaxName), ("Isocpp", Isocpp.syntaxName), ("Java", Java.syntaxName), ("Javadoc", Javadoc.syntaxName), ("Javascript", Javascript.syntaxName), ("Json", Json.syntaxName), ("Jsp", Jsp.syntaxName), ("Julia", Julia.syntaxName), ("Kotlin", Kotlin.syntaxName), ("Latex", Latex.syntaxName), ("Lex", Lex.syntaxName), ("Lilypond", Lilypond.syntaxName), ("LiterateCurry", LiterateCurry.syntaxName), ("LiterateHaskell", LiterateHaskell.syntaxName), ("Llvm", Llvm.syntaxName), ("Lua", Lua.syntaxName), ("M4", M4.syntaxName), ("Makefile", Makefile.syntaxName), ("Mandoc", Mandoc.syntaxName), ("Markdown", Markdown.syntaxName), ("Mathematica", Mathematica.syntaxName), ("Matlab", Matlab.syntaxName), ("Maxima", Maxima.syntaxName), ("Mediawiki", Mediawiki.syntaxName), ("Metafont", Metafont.syntaxName), ("Mips", Mips.syntaxName), ("Modelines", Modelines.syntaxName), ("Modula2", Modula2.syntaxName), ("Modula3", Modula3.syntaxName), ("Monobasic", Monobasic.syntaxName), ("Nasm", Nasm.syntaxName), ("Noweb", Noweb.syntaxName), ("Objectivec", Objectivec.syntaxName), ("Objectivecpp", Objectivecpp.syntaxName), ("Ocaml", Ocaml.syntaxName), ("Octave", Octave.syntaxName), ("Opencl", Opencl.syntaxName), ("Pascal", Pascal.syntaxName), ("Perl", Perl.syntaxName), ("Php", Php.syntaxName), ("Pike", Pike.syntaxName), ("Postscript", Postscript.syntaxName), ("Prolog", Prolog.syntaxName), ("Pure", Pure.syntaxName), ("Python", Python.syntaxName), ("R", R.syntaxName), ("Relaxng", Relaxng.syntaxName), ("Relaxngcompact", Relaxngcompact.syntaxName), ("Rest", Rest.syntaxName), ("Rhtml", Rhtml.syntaxName), ("Roff", Roff.syntaxName), ("Ruby", Ruby.syntaxName), ("Rust", Rust.syntaxName), ("Scala", Scala.syntaxName), ("Scheme", Scheme.syntaxName), ("Sci", Sci.syntaxName), ("Sed", Sed.syntaxName), ("Sgml", Sgml.syntaxName), ("Sql", Sql.syntaxName), ("SqlMysql", SqlMysql.syntaxName), ("SqlPostgresql", SqlPostgresql.syntaxName), ("Tcl", Tcl.syntaxName), ("Tcsh", Tcsh.syntaxName), ("Texinfo", Texinfo.syntaxName), ("Verilog", Verilog.syntaxName), ("Vhdl", Vhdl.syntaxName), ("Xml", Xml.syntaxName), ("Xorg", Xorg.syntaxName), ("Xslt", Xslt.syntaxName), ("Xul", Xul.syntaxName), ("Yacc", Yacc.syntaxName), ("Yaml", Yaml.syntaxName), ("Zsh", Zsh.syntaxName)] languageShortNames :: [(String, String)] languageShortNames = [(map toLower y, map toLower x) | (x, y) <- languageFullNames] -- | Lookup canonical language name by full syntaxName (e.g. "C#" for "Cs"). languageByFullName :: String -> Maybe String languageByFullName s = lookup s languageShortNames -- | Returns a list of languages appropriate for the given file extension. languagesByExtension :: String -> [String] languagesByExtension ('.':ext) = languagesByFilename ("*." ++ ext) languagesByExtension ext = languagesByFilename ("*." ++ ext) -- | Returns a list of languages appropriate for the given filename. languagesByFilename :: FilePath -> [String] languagesByFilename fn = [lang | (lang, globs) <- languageExtensions, matchGlobs fn globs] -- | Highlight source code. The source language may be specified -- by its canonical name (case-insensitive) or by a canonical -- extension (if unique). -- The parsers read the input lazily and parse line by line; -- results are returned immediately. -- Supported languages: @abc@, @actionscript@, @ada@, @agda@, @alert@, @alert_indent@, @apache@, @asn1@, @asp@, @awk@, @bash@, @bibtex@, @boo@, @c@, @changelog@, @clojure@, @cmake@, @coffee@, @coldfusion@, @commonlisp@, @cpp@, @cs@, @css@, @curry@, @d@, @diff@, @djangotemplate@, @dockerfile@, @dot@, @doxygen@, @doxygenlua@, @dtd@, @eiffel@, @email@, @erlang@, @fasm@, @fortran@, @fsharp@, @gcc@, @glsl@, @gnuassembler@, @go@, @haskell@, @haxe@, @html@, @idris@, @ini@, @isocpp@, @java@, @javadoc@, @javascript@, @json@, @jsp@, @julia@, @kotlin@, @latex@, @lex@, @lilypond@, @literatecurry@, @literatehaskell@, @llvm@, @lua@, @m4@, @makefile@, @mandoc@, @markdown@, @mathematica@, @matlab@, @maxima@, @mediawiki@, @metafont@, @mips@, @modelines@, @modula2@, @modula3@, @monobasic@, @nasm@, @noweb@, @objectivec@, @objectivecpp@, @ocaml@, @octave@, @opencl@, @pascal@, @perl@, @php@, @pike@, @postscript@, @prolog@, @pure@, @python@, @r@, @relaxng@, @relaxngcompact@, @rest@, @rhtml@, @roff@, @ruby@, @rust@, @scala@, @scheme@, @sci@, @sed@, @sgml@, @sql@, @sqlmysql@, @sqlpostgresql@, @tcl@, @tcsh@, @texinfo@, @verilog@, @vhdl@, @xml@, @xorg@, @xslt@, @xul@, @yacc@, @yaml@, @zsh@. highlightAs :: String -- ^ Language syntax (e.g. "haskell") or extension (e.g. "hs"). -> String -- ^ Source code to highlight -> [SourceLine] -- ^ List of highlighted source lines highlightAs lang = let lang' = map toLower lang lang'' = if lang' `elem` map (map toLower) languages then lang' else case languageByFullName lang' of Just l -> l Nothing -> case languagesByExtension lang' of -- go by extension if unambiguous [l] -> map toLower l _ -> lang' in case lang'' of "abc" -> Abc.highlight "actionscript" -> Actionscript.highlight "ada" -> Ada.highlight "agda" -> Agda.highlight "alert" -> Alert.highlight "alert_indent" -> Alert_indent.highlight "apache" -> Apache.highlight "asn1" -> Asn1.highlight "asp" -> Asp.highlight "awk" -> Awk.highlight "bash" -> Bash.highlight "bibtex" -> Bibtex.highlight "boo" -> Boo.highlight "c" -> C.highlight "changelog" -> Changelog.highlight "clojure" -> Clojure.highlight "cmake" -> Cmake.highlight "coffee" -> Coffee.highlight "coldfusion" -> Coldfusion.highlight "commonlisp" -> Commonlisp.highlight "cpp" -> Cpp.highlight "cs" -> Cs.highlight "css" -> Css.highlight "curry" -> Curry.highlight "d" -> D.highlight "diff" -> Diff.highlight "djangotemplate" -> Djangotemplate.highlight "dockerfile" -> Dockerfile.highlight "dot" -> Dot.highlight "doxygen" -> Doxygen.highlight "doxygenlua" -> Doxygenlua.highlight "dtd" -> Dtd.highlight "eiffel" -> Eiffel.highlight "email" -> Email.highlight "erlang" -> Erlang.highlight "fasm" -> Fasm.highlight "fortran" -> Fortran.highlight "fsharp" -> Fsharp.highlight "gcc" -> Gcc.highlight "glsl" -> Glsl.highlight "gnuassembler" -> Gnuassembler.highlight "go" -> Go.highlight "haskell" -> Haskell.highlight "haxe" -> Haxe.highlight "html" -> Html.highlight "idris" -> Idris.highlight "ini" -> Ini.highlight "isocpp" -> Isocpp.highlight "java" -> Java.highlight "javadoc" -> Javadoc.highlight "javascript" -> Javascript.highlight "json" -> Json.highlight "jsp" -> Jsp.highlight "julia" -> Julia.highlight "kotlin" -> Kotlin.highlight "latex" -> Latex.highlight "lex" -> Lex.highlight "lilypond" -> Lilypond.highlight "literatecurry" -> LiterateCurry.highlight "literatehaskell" -> LiterateHaskell.highlight "llvm" -> Llvm.highlight "lua" -> Lua.highlight "m4" -> M4.highlight "makefile" -> Makefile.highlight "mandoc" -> Mandoc.highlight "markdown" -> Markdown.highlight "mathematica" -> Mathematica.highlight "matlab" -> Matlab.highlight "maxima" -> Maxima.highlight "mediawiki" -> Mediawiki.highlight "metafont" -> Metafont.highlight "mips" -> Mips.highlight "modelines" -> Modelines.highlight "modula2" -> Modula2.highlight "modula3" -> Modula3.highlight "monobasic" -> Monobasic.highlight "nasm" -> Nasm.highlight "noweb" -> Noweb.highlight "objectivec" -> Objectivec.highlight "objectivecpp" -> Objectivecpp.highlight "ocaml" -> Ocaml.highlight "octave" -> Octave.highlight "opencl" -> Opencl.highlight "pascal" -> Pascal.highlight "perl" -> Perl.highlight "php" -> Php.highlight "pike" -> Pike.highlight "postscript" -> Postscript.highlight "prolog" -> Prolog.highlight "pure" -> Pure.highlight "python" -> Python.highlight "r" -> R.highlight "relaxng" -> Relaxng.highlight "relaxngcompact" -> Relaxngcompact.highlight "rest" -> Rest.highlight "rhtml" -> Rhtml.highlight "roff" -> Roff.highlight "ruby" -> Ruby.highlight "rust" -> Rust.highlight "scala" -> Scala.highlight "scheme" -> Scheme.highlight "sci" -> Sci.highlight "sed" -> Sed.highlight "sgml" -> Sgml.highlight "sql" -> Sql.highlight "sqlmysql" -> SqlMysql.highlight "sqlpostgresql" -> SqlPostgresql.highlight "tcl" -> Tcl.highlight "tcsh" -> Tcsh.highlight "texinfo" -> Texinfo.highlight "verilog" -> Verilog.highlight "vhdl" -> Vhdl.highlight "xml" -> Xml.highlight "xorg" -> Xorg.highlight "xslt" -> Xslt.highlight "xul" -> Xul.highlight "yacc" -> Yacc.highlight "yaml" -> Yaml.highlight "zsh" -> Zsh.highlight -- special cases: "csharp" -> highlightAs "cs" _ -> map (\l -> [(NormalTok, l)]) . lines highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax.hs.in0000644000000000000000000000563512633103275021752 0ustar0000000000000000{- | Module : Text.Highlighting.Kate.Syntax Copyright : Copyright (C) 2008-2011 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane Stability : alpha Portability : portable Token lexer for various languages. -} module Text.Highlighting.Kate.Syntax ( highlightAs, languages, languageByFullName, languagesByExtension, languagesByFilename ) where import Data.Char (toLower) import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common (matchGlobs) @imports@ -- | List of supported languages. languages :: [String] languages = @languages@ -- | List of language extensions. languageExtensions :: [(String, String)] languageExtensions = @languageExtensions@ -- | List of full names of languages. languageFullNames :: [(String, String)] languageFullNames = @languageFullNames@ languageShortNames :: [(String, String)] languageShortNames = [(map toLower y, map toLower x) | (x, y) <- languageFullNames] -- | Lookup canonical language name by full syntaxName (e.g. "C#" for "Cs"). languageByFullName :: String -> Maybe String languageByFullName s = lookup s languageShortNames -- | Returns a list of languages appropriate for the given file extension. languagesByExtension :: String -> [String] languagesByExtension ('.':ext) = languagesByFilename ("*." ++ ext) languagesByExtension ext = languagesByFilename ("*." ++ ext) -- | Returns a list of languages appropriate for the given filename. languagesByFilename :: FilePath -> [String] languagesByFilename fn = [lang | (lang, globs) <- languageExtensions, matchGlobs fn globs] -- | Highlight source code. The source language may be specified -- by its canonical name (case-insensitive) or by a canonical -- extension (if unique). -- The parsers read the input lazily and parse line by line; -- results are returned immediately. -- Supported languages: @supportedlanguages@. highlightAs :: String -- ^ Language syntax (e.g. "haskell") or extension (e.g. "hs"). -> String -- ^ Source code to highlight -> [SourceLine] -- ^ List of highlighted source lines highlightAs lang = let lang' = map toLower lang lang'' = if lang' `elem` map (map toLower) languages then lang' else case languageByFullName lang' of Just l -> l Nothing -> case languagesByExtension lang' of -- go by extension if unambiguous [l] -> map toLower l _ -> lang' in case lang'' of @cases@ -- special cases: "csharp" -> highlightAs "cs" _ -> map (\l -> [(NormalTok, l)]) . lines highlighting-kate-0.6.1/Text/Highlighting/Kate/Types.hs0000644000000000000000000001410012633103275021146 0ustar0000000000000000{-# LANGUAGE TypeSynonymInstances, FlexibleInstances, CPP, DeriveDataTypeable #-} {- | Module : Text.Highlighting.Kate.Types Copyright : Copyright (C) 2008 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane Stability : alpha Portability : portable Definitions for data structures needed by highlighting-kate. -} module Text.Highlighting.Kate.Types where import Text.ParserCombinators.Parsec import Data.Word import Text.Printf import Data.Data (Data) import Data.Bits import Data.Typeable (Typeable) -- | A context: pair of syntax name and context name. type Context = (String, String) -- | A stack of contexts. (Language-specific context -- stacks must be maintained because of IncludeRules.) type ContextStack = [Context] -- | State for syntax parser. data SyntaxState = SyntaxState { synStContexts :: ContextStack -- ^ Stack of contexts , synStLineNumber :: Int -- ^ Number of current line , synStPrevChar :: Char -- ^ Last character parsed , synStPrevNonspace :: Bool -- ^ True if we've parsed a nonspace , synStContinuation :: Bool -- ^ True if last thing parsed is -- a LineContinue , synStCaseSensitive :: Bool -- ^ Language is case-sensitive , synStKeywordCaseSensitive :: Bool -- ^ Keywords are case-sensitive , synStCaptures :: [String] -- ^ List of regex captures from -- last capturing match } deriving Show defaultSyntaxState :: SyntaxState defaultSyntaxState = SyntaxState{ synStContexts = [] , synStLineNumber = 0 , synStPrevNonspace = False , synStContinuation = False , synStPrevChar = '\n' , synStCaseSensitive = True , synStKeywordCaseSensitive = True , synStCaptures = [] } -- | A pair consisting of a list of attributes and some text. type Token = (TokenType, String) data TokenType = KeywordTok | DataTypeTok | DecValTok | BaseNTok | FloatTok | ConstantTok | CharTok | SpecialCharTok | StringTok | VerbatimStringTok | SpecialStringTok | ImportTok | CommentTok | DocumentationTok | AnnotationTok | CommentVarTok | OtherTok | FunctionTok | VariableTok | ControlFlowTok | OperatorTok | BuiltInTok | ExtensionTok | PreprocessorTok | AttributeTok | RegionMarkerTok | InformationTok | WarningTok | AlertTok | ErrorTok | NormalTok deriving (Read, Show, Eq, Enum, Data, Typeable) -- | A line of source, list of labeled source items. type SourceLine = [Token] type KateParser = GenParser Char SyntaxState data TokenStyle = TokenStyle { tokenColor :: Maybe Color , tokenBackground :: Maybe Color , tokenBold :: Bool , tokenItalic :: Bool , tokenUnderline :: Bool } deriving (Show, Read, Data, Typeable) defStyle :: TokenStyle defStyle = TokenStyle { tokenColor = Nothing , tokenBackground = Nothing , tokenBold = False , tokenItalic = False , tokenUnderline = False } data Color = RGB Word8 Word8 Word8 deriving (Show, Read, Data, Typeable) class ToColor a where toColor :: a -> Maybe Color instance ToColor String where toColor ['#',r1,r2,g1,g2,b1,b2] = case reads ['(','0','x',r1,r2,',','0','x',g1,g2,',','0','x',b1,b2,')'] of ((r,g,b),_) : _ -> Just $ RGB r g b _ -> Nothing toColor _ = Nothing instance ToColor Int where toColor x = toColor (fromIntegral x1 :: Word8, fromIntegral x2 :: Word8, fromIntegral x3 :: Word8) where x1 = (shiftR x 16) .&. 0xFF x2 = (shiftR x 8 ) .&. 0xFF x3 = x .&. 0xFF instance ToColor (Word8, Word8, Word8) where toColor (r,g,b) = Just $ RGB r g b instance ToColor (Double, Double, Double) where toColor (r,g,b) | r >= 0 && g >= 0 && b >= 0 && r <= 1 && g <= 1 && b <= 1 = Just $ RGB (floor $ r * 255) (floor $ g * 255) (floor $ b * 255) toColor _ = Nothing class FromColor a where fromColor :: Color -> a instance FromColor String where fromColor (RGB r g b) = printf "#%02x%02x%02x" r g b instance FromColor (Double, Double, Double) where fromColor (RGB r g b) = (fromIntegral r / 255, fromIntegral g / 255, fromIntegral b / 255) instance FromColor (Word8, Word8, Word8) where fromColor (RGB r g b) = (r, g, b) data Style = Style { tokenStyles :: [(TokenType, TokenStyle)] , defaultColor :: Maybe Color , backgroundColor :: Maybe Color , lineNumberColor :: Maybe Color , lineNumberBackgroundColor :: Maybe Color } deriving (Read, Show, Data, Typeable) -- | Options for formatting source code. data FormatOptions = FormatOptions{ numberLines :: Bool -- ^ Number lines , startNumber :: Int -- ^ Number of first line , lineAnchors :: Bool -- ^ Anchors on each line number , titleAttributes :: Bool -- ^ Html titles with token types , codeClasses :: [String] -- ^ Additional classes for Html code tag , containerClasses :: [String] -- ^ Additional classes for Html container tag -- (pre or table depending on numberLines) } deriving (Eq, Show, Read) defaultFormatOpts :: FormatOptions defaultFormatOpts = FormatOptions{ numberLines = False , startNumber = 1 , lineAnchors = False , titleAttributes = False , codeClasses = [] , containerClasses = [] } highlighting-kate-0.6.1/Text/Highlighting/Kate/Format/0000755000000000000000000000000012633103275020742 5ustar0000000000000000highlighting-kate-0.6.1/Text/Highlighting/Kate/Format/HTML.hs0000644000000000000000000001632412633103275022050 0ustar0000000000000000{-# LANGUAGE CPP #-} {- | Module : Text.Highlighting.Kate.Format.HTML Copyright : Copyright (C) 2008-2011 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane Stability : alpha Portability : portable Formatters that convert a list of annotated source lines to HTML. -} module Text.Highlighting.Kate.Format.HTML ( formatHtmlInline, formatHtmlBlock, styleToCss ) where import Text.Highlighting.Kate.Types #if MIN_VERSION_blaze_html(0,5,0) import Text.Blaze.Html #else import Text.Blaze #endif import qualified Text.Blaze.Html5 as H import qualified Text.Blaze.Html5.Attributes as A import Data.Monoid import Data.List (intersperse) -- | Format tokens using HTML spans inside @code@ tags. For example, -- A @KeywordTok@ is rendered as a span with class @kw@. -- Short class names correspond to 'TokenType's as follows: -- 'KeywordTok' = @kw@, 'DataTypeTok' = @dt@, -- 'DecValTok' = @dv@, 'BaseNTok' = @bn@, 'FloatTok' = @fl@, -- 'CharTok' = @ch@, 'StringTok' = @st@, 'CommontTok' = @co@, -- 'OtherTok' = @ot@, 'AlertTok' = @al@, 'FunctionTok' = @fu@, -- 'RegionMarkerTok' = @re@, 'ErrorTok' = @er@, -- 'ConstantTok' = @cn@, 'SpecialCharTok' = @sc@, -- 'VerbatimStringTok' = @vs@, 'SpecialStringTok' = @ss@, -- 'ImportTok' = @im@, 'DocumentationTok' = @do@, -- 'AnnotationTok' = @an@, 'CommentVarTok' = @cv@, -- 'VariableTok' = @va@, 'ControlFlowTok' = @cf@, -- 'OperatorTok' = @op@, 'BuiltInTok' = @bu@, -- 'ExtensionTok' = @ex@, 'PreprocessorTok' = @pp@, -- 'AttributeTok' = @at@, 'InformationTok' = @in@, -- 'WarningTok' = @wa@. -- A 'NormalTok' is not marked up at all. formatHtmlInline :: FormatOptions -> [SourceLine] -> Html formatHtmlInline opts = (H.code ! A.class_ (toValue $ unwords $ "sourceCode" : codeClasses opts)) . mconcat . intersperse (toHtml "\n") . map (sourceLineToHtml opts) tokenToHtml :: FormatOptions -> Token -> Html tokenToHtml _ (NormalTok, txt) = toHtml txt tokenToHtml opts (toktype, txt) = if titleAttributes opts then sp ! A.title (toValue $ show toktype) else sp where sp = H.span ! A.class_ (toValue $ short toktype) $ toHtml txt short :: TokenType -> String short KeywordTok = "kw" short DataTypeTok = "dt" short DecValTok = "dv" short BaseNTok = "bn" short FloatTok = "fl" short CharTok = "ch" short StringTok = "st" short CommentTok = "co" short OtherTok = "ot" short AlertTok = "al" short FunctionTok = "fu" short RegionMarkerTok = "re" short ErrorTok = "er" short ConstantTok = "cn" short SpecialCharTok = "sc" short VerbatimStringTok = "vs" short SpecialStringTok = "ss" short ImportTok = "im" short DocumentationTok = "do" short AnnotationTok = "an" short CommentVarTok = "cv" short VariableTok = "va" short ControlFlowTok = "cf" short OperatorTok = "op" short BuiltInTok = "bu" short ExtensionTok = "ex" short PreprocessorTok = "pp" short AttributeTok = "at" short InformationTok = "in" short WarningTok = "wa" short NormalTok = "" sourceLineToHtml :: FormatOptions -> SourceLine -> Html sourceLineToHtml opts contents = mapM_ (tokenToHtml opts) contents formatHtmlBlockPre :: FormatOptions -> [SourceLine] -> Html formatHtmlBlockPre opts = H.pre . formatHtmlInline opts -- | Format tokens as an HTML @pre@ block. If line numbering is -- selected, this is put into a table row with line numbers in the -- left cell. The whole code block is wrapped in a @div@ element -- to aid styling (e.g. the overflow-x property). formatHtmlBlock :: FormatOptions -> [SourceLine] -> Html formatHtmlBlock opts ls = H.div ! A.class_ sourceCode $ container ! A.class_ (toValue $ unwords classes) where container = if numberLines opts then H.table $ H.tr ! A.class_ sourceCode $ nums >> source else pre sourceCode = toValue "sourceCode" classes = "sourceCode" : [x | x <- containerClasses opts, x /= "sourceCode"] pre = formatHtmlBlockPre opts ls source = H.td ! A.class_ sourceCode $ pre startNum = startNumber opts nums = H.td ! A.class_ (toValue "lineNumbers") $ H.pre $ mapM_ lineNum [startNum..(startNum + length ls - 1)] lineNum n = if lineAnchors opts then (H.a ! A.id (toValue nStr) ! A.href (toValue $ "#" ++ nStr) $ toHtml $ show n) >> toHtml "\n" else toHtml $ show n ++ "\n" where nStr = show n -- | Returns CSS for styling highlighted code according to the given style. styleToCss :: Style -> String styleToCss f = unlines $ divspec ++ tablespec ++ colorspec ++ map toCss (tokenStyles f) where colorspec = case (defaultColor f, backgroundColor f) of (Nothing, Nothing) -> [] (Just c, Nothing) -> ["pre, code { color: " ++ fromColor c ++ "; }"] (Nothing, Just c) -> ["pre, code { background-color: " ++ fromColor c ++ "; }"] (Just c1, Just c2) -> ["pre, code { color: " ++ fromColor c1 ++ "; background-color: " ++ fromColor c2 ++ "; }"] tablespec = [ "table.sourceCode, tr.sourceCode, td.lineNumbers, td.sourceCode {" ," margin: 0; padding: 0; vertical-align: baseline; border: none; }" ,"table.sourceCode { width: 100%; line-height: 100%; " ++ maybe "" (\c -> "background-color: " ++ fromColor c ++ "; ") (backgroundColor f) ++ maybe "" (\c -> "color: " ++ fromColor c ++ "; ") (defaultColor f) ++ "}" ,"td.lineNumbers { text-align: right; padding-right: 4px; padding-left: 4px; " ++ maybe "" (\c -> "background-color: " ++ fromColor c ++ "; ") (lineNumberBackgroundColor f) ++ maybe "" (\c -> "color: " ++ fromColor c ++ "; ") (lineNumberColor f) ++ maybe "" (\c -> "border-right: 1px solid " ++ fromColor c ++ "; ") (lineNumberColor f) ++ "}" ,"td.sourceCode { padding-left: 5px; }" ] divspec = [ "div.sourceCode { overflow-x: auto; }" ] toCss :: (TokenType, TokenStyle) -> String toCss (t,tf) = "code > span." ++ short t ++ " { " ++ colorspec ++ backgroundspec ++ weightspec ++ stylespec ++ decorationspec ++ "} /* " ++ showTokenType t ++ " */" where colorspec = maybe "" (\col -> "color: " ++ fromColor col ++ "; ") $ tokenColor tf backgroundspec = maybe "" (\col -> "background-color: " ++ fromColor col ++ "; ") $ tokenBackground tf weightspec = if tokenBold tf then "font-weight: bold; " else "" stylespec = if tokenItalic tf then "font-style: italic; " else "" decorationspec = if tokenUnderline tf then "text-decoration: underline; " else "" showTokenType t = case reverse (show t) of 'k':'o':'T':xs -> reverse xs _ -> "" highlighting-kate-0.6.1/Text/Highlighting/Kate/Format/LaTeX.hs0000644000000000000000000001254712633103275022264 0ustar0000000000000000{- | Module : Text.Highlighting.Kate.Format.LaTeX Copyright : Copyright (C) 2008-2011 John MacFarlane License : GNU GPL, version 2 or above Maintainer : John MacFarlane Stability : alpha Portability : portable Formatters that convert a list of annotated source lines to LaTeX. -} module Text.Highlighting.Kate.Format.LaTeX ( formatLaTeXInline, formatLaTeXBlock, styleToLaTeX ) where import Text.Highlighting.Kate.Types import Text.Printf import Data.List (intercalate) import Control.Monad (mplus) import Data.Char (isSpace) formatLaTeX :: Bool -> [SourceLine] -> String formatLaTeX inline = intercalate "\n" . map (sourceLineToLaTeX inline) -- | Formats tokens as LaTeX using custom commands inside -- @|@ characters. Assumes that @|@ is defined as a short verbatim -- command by the macros produced by 'styleToLaTeX'. -- A @KeywordTok@ is rendered using @\\KeywordTok{..}@, and so on. formatLaTeXInline :: FormatOptions -> [SourceLine] -> String formatLaTeXInline _opts ls = "\\VERB|" ++ formatLaTeX True ls ++ "|" sourceLineToLaTeX :: Bool -> SourceLine -> String sourceLineToLaTeX inline contents = concatMap (tokenToLaTeX inline) contents tokenToLaTeX :: Bool -> Token -> String tokenToLaTeX inline (NormalTok, txt) | all isSpace txt = escapeLaTeX inline txt tokenToLaTeX inline (toktype, txt) = '\\':(show toktype ++ "{" ++ escapeLaTeX inline txt ++ "}") escapeLaTeX :: Bool -> String -> String escapeLaTeX inline = concatMap escapeLaTeXChar where escapeLaTeXChar '\\' = "\\textbackslash{}" escapeLaTeXChar '{' = "\\{" escapeLaTeXChar '}' = "\\}" escapeLaTeXChar '|' = if inline then "\\VerbBar{}" -- used in inline verbatim else "|" escapeLaTeXChar x = [x] -- LaTeX -- | Format tokens as a LaTeX @Highlighting@ environment inside a -- @Shaded@ environment. @Highlighting@ and @Shaded@ are -- defined by the macros produced by 'styleToLaTeX'. @Highlighting@ -- is a verbatim environment using @fancyvrb@; @\\@, @{@, and @}@ -- have their normal meanings inside this environment, so that -- formatting commands work. @Shaded@ is either nothing -- (if the style's background color is default) or a @snugshade@ -- environment from @framed@, providing a background color -- for the whole code block, even if it spans multiple pages. formatLaTeXBlock :: FormatOptions -> [SourceLine] -> String formatLaTeXBlock opts ls = unlines ["\\begin{Shaded}" ,"\\begin{Highlighting}[" ++ (if numberLines opts then "numbers=left," ++ (if startNumber opts == 1 then "" else ",firstnumber=" ++ show (startNumber opts)) ++ "," else "") ++ "]" ,formatLaTeX False ls ,"\\end{Highlighting}" ,"\\end{Shaded}"] -- | Converts a 'Style' to a set of LaTeX macro definitions, -- which should be placed in the document's preamble. -- Note: default LaTeX setup doesn't allow boldface typewriter font. -- To make boldface work in styles, you need to use a different typewriter -- font. This will work for computer modern: -- -- > \DeclareFontShape{OT1}{cmtt}{bx}{n}{<5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>cmttb10}{} -- -- Or, with xelatex: -- -- > \usepackage{fontspec} -- > \setmainfont[SmallCapsFont={* Caps}]{Latin Modern Roman} -- > \setsansfont{Latin Modern Sans} -- > \setmonofont[SmallCapsFont={Latin Modern Mono Caps}]{Latin Modern Mono Light} -- styleToLaTeX :: Style -> String styleToLaTeX f = unlines $ [ "\\usepackage{color}" , "\\usepackage{fancyvrb}" , "\\newcommand{\\VerbBar}{|}" , "\\newcommand{\\VERB}{\\Verb[commandchars=\\\\\\{\\}]}" , "\\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\\\\{\\}}" , "% Add ',fontsize=\\small' for more characters per line" ] ++ (case backgroundColor f of Nothing -> ["\\newenvironment{Shaded}{}{}"] Just (RGB r g b) -> ["\\usepackage{framed}" ,printf "\\definecolor{shadecolor}{RGB}{%d,%d,%d}" r g b ,"\\newenvironment{Shaded}{\\begin{snugshade}}{\\end{snugshade}}"]) ++ map (macrodef (defaultColor f) (tokenStyles f)) (enumFromTo KeywordTok NormalTok) macrodef :: Maybe Color -> [(TokenType, TokenStyle)] -> TokenType -> String macrodef defaultcol tokstyles tokt = "\\newcommand{\\" ++ show tokt ++ "}[1]{" ++ (co . ul . bf . it . bg $ "{#1}") ++ "}" where tokf = case lookup tokt tokstyles of Nothing -> defStyle Just x -> x ul x = if tokenUnderline tokf then "\\underline{" ++ x ++ "}" else x it x = if tokenItalic tokf then "\\textit{" ++ x ++ "}" else x bf x = if tokenBold tokf then "\\textbf{" ++ x ++ "}" else x bcol = fromColor `fmap` tokenBackground tokf :: Maybe (Double, Double, Double) bg x = case bcol of Nothing -> x Just (r, g, b) -> printf "\\colorbox[rgb]{%0.2f,%0.2f,%0.2f}{%s}" r g b x col = fromColor `fmap` (tokenColor tokf `mplus` defaultcol) :: Maybe (Double, Double, Double) co x = case col of Nothing -> x Just (r, g, b) -> printf "\\textcolor[rgb]{%0.2f,%0.2f,%0.2f}{%s}" r g b x highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/0000755000000000000000000000000012633103275021000 5ustar0000000000000000highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Abc.hs0000644000000000000000000001424712633103275022031 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file abc.xml, version 1.10, by Andrea Primiani (primiani@dag.it) -} module Text.Highlighting.Kate.Syntax.Abc (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) -- | Full name of language. syntaxName :: String syntaxName = "ABC" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.abc;*.ABC" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("ABC","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("ABC","Normal") -> return () ("ABC","Preprocessor") -> (popContext) >> pEndLine ("ABC","Lyrics") -> (popContext) >> pEndLine ("ABC","Part") -> (popContext) >> pEndLine ("ABC","Comment") -> (popContext) >> pEndLine ("ABC","Bar") -> (popContext) >> pEndLine ("ABC","Header") -> return () ("ABC","Header2") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) regex_'5c'28'5b23456789'5d'3a'3f'5b23456789'5d'3f'3a'3f'5b23456789'5d'3f = compileRegex True "\\([23456789]:?[23456789]?:?[23456789]?" regex_'5c'5b'5bABCGHILMNOQRSTUVZ'5d'3a = compileRegex True "\\[[ABCGHILMNOQRSTUVZ]:" regex_'5bABCGHILMNOPQRSTUVZ'5d'3a = compileRegex True "[ABCGHILMNOPQRSTUVZ]:" regex_'5b'5f'7c'5c'5e'5d'3f'5b'5f'7c'3d'7c'5c'5e'5d'5bA'2dGa'2dg'5d = compileRegex True "[_|\\^]?[_|=|\\^][A-Ga-g]" regex_'5bA'2dGa'2dgZz'5d = compileRegex True "[A-Ga-gZz]" regex_'3a'2a'5c'7c'2a'5b1'2d9'5d'7c'2f'2a'5c'7c = compileRegex True ":*\\|*[1-9]|/*\\|" regex_K'3a'2e'2b = compileRegex True "K:.+" parseRules ("ABC","Normal") = (((pRegExpr regex_'5c'28'5b23456789'5d'3a'3f'5b23456789'5d'3f'3a'3f'5b23456789'5d'3f >>= withAttribute DataTypeTok)) <|> ((pRangeDetect '"' '"' >>= withAttribute StringTok)) <|> ((pRangeDetect '!' '!' >>= withAttribute FloatTok)) <|> ((pRegExpr regex_'5c'5b'5bABCGHILMNOQRSTUVZ'5d'3a >>= withAttribute FloatTok) >>~ pushContext ("ABC","Header")) <|> ((pRegExpr regex_'5bABCGHILMNOPQRSTUVZ'5d'3a >>= withAttribute FloatTok) >>~ pushContext ("ABC","Header2")) <|> ((pColumn 0 >> pDetect2Chars False 'X' ':' >>= withAttribute FloatTok) >>~ pushContext ("ABC","Header")) <|> ((pAnyChar "|:[" >>= withAttribute CharTok) >>~ pushContext ("ABC","Bar")) <|> ((pDetectChar False ']' >>= withAttribute CharTok)) <|> ((pAnyChar "()" >>= withAttribute DataTypeTok)) <|> ((pAnyChar "{}" >>= withAttribute DataTypeTok)) <|> ((pDetect2Chars False 'W' ':' >>= withAttribute DataTypeTok) >>~ pushContext ("ABC","Lyrics")) <|> ((pDetect2Chars False 'w' ':' >>= withAttribute DataTypeTok) >>~ pushContext ("ABC","Lyrics")) <|> ((pDetect2Chars False '%' '%' >>= withAttribute StringTok) >>~ pushContext ("ABC","Preprocessor")) <|> ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("ABC","Comment")) <|> ((pRegExpr regex_'5b'5f'7c'5c'5e'5d'3f'5b'5f'7c'3d'7c'5c'5e'5d'5bA'2dGa'2dg'5d >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("ABC","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ABC","Preprocessor") = (currentContext >>= \x -> guard (x == ("ABC","Preprocessor")) >> pDefault >>= withAttribute StringTok) parseRules ("ABC","Lyrics") = (currentContext >>= \x -> guard (x == ("ABC","Lyrics")) >> pDefault >>= withAttribute DataTypeTok) parseRules ("ABC","Part") = (currentContext >>= \x -> guard (x == ("ABC","Part")) >> pDefault >>= withAttribute FloatTok) parseRules ("ABC","Comment") = (currentContext >>= \x -> guard (x == ("ABC","Comment")) >> pDefault >>= withAttribute CommentTok) parseRules ("ABC","Bar") = (((pDetectChar False '"' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pRegExpr regex_'5bA'2dGa'2dgZz'5d >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pDetectChar False ' ' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pRangeDetect '!' '!' >>= withAttribute FloatTok)) <|> ((pAnyChar "()" >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'3a'2a'5c'7c'2a'5b1'2d9'5d'7c'2f'2a'5c'7c >>= withAttribute CharTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ABC","Bar")) >> pDefault >>= withAttribute CharTok)) parseRules ("ABC","Header") = (((pColumn 0 >> pRegExpr regex_K'3a'2e'2b >>= withAttribute FloatTok) >>~ (popContext)) <|> ((pDetectChar False ']' >>= withAttribute FloatTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ABC","Header")) >> pDefault >>= withAttribute FloatTok)) parseRules ("ABC","Header2") = (currentContext >>= \x -> guard (x == ("ABC","Header2")) >> pDefault >>= withAttribute FloatTok) parseRules x = parseRules ("ABC","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Actionscript.hs0000644000000000000000000002567412633103275024014 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file actionscript.xml, version 1.0, by Aaron Miller (armantic101@gmail.com) -} module Text.Highlighting.Kate.Syntax.Actionscript (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Javadoc import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "ActionScript 2.0" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.as" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("ActionScript 2.0","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("ActionScript 2.0","Normal") -> return () ("ActionScript 2.0","String") -> (popContext) >> pEndLine ("ActionScript 2.0","Member") -> (popContext) >> pEndLine ("ActionScript 2.0","StaticImports") -> (popContext) >> pEndLine ("ActionScript 2.0","Imports") -> (popContext) >> pEndLine ("ActionScript 2.0","Commentar 1") -> (popContext) >> pEndLine ("ActionScript 2.0","Commentar 2") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_properties = Set.fromList $ words $ "_accProps _focusrect _global _highquality _level _parent _quality _root _soundbuftime maxscroll scroll this" list_global'5ffunctions = Set.fromList $ words $ "asfunction call chr clearInterval duplicateMovieClip escape eval fscommand getProperty getTimer getURL getVersion gotoAndPlay gotoAndStop ifFrameLoaded int isFinite isNaN length loadMovie loadMovieNum loadVariables loadVariablesNum mbchr mblength mbord mbsubstring nextFrame nextScene on onClipEvent ord parseFloat parseInt play prevFrame prevScene print printAsBitmap printAsBitmapNum printNum random removeMovieClip setInterval setProperty showRedrawRegions startDrag stop stopAllSounds stopDrag substring targetPath tellTarget toggleHighQuality trace typeof unescape unloadMovie unloadMovieNum updateAfterEvent" list_classes = Set.fromList $ words $ "Accessibility Accordion Alert Binding Button Camera CellRenderer CheckBox Collection Color ComboBox ComponentMixins ContextMenu ContextMenuItem CustomActions CustomFormatter CustomValidator DataGrid DataHolder DataProvider DataSet DataType Date DateChooser DateField Delta DeltaItem DeltaPacket DepthManager EndPoint Error FaultEvent FocusManager Form Function Iterator Key Label List LoadVars Loader LocalConnection Log Math Media Menu MenuBar Microphone Mouse MovieClip MovieClipLoader NetConnection NetStream Number NumericStepper PendingCall PopUpManager PrintJob ProgressBar RDBMSResolver RadioButton RelayResponder SOAPCall Screen ScrollPane Selection SharedObject Slide Sound Stage StyleManager System TextArea TextField TextFormat TextInput TextSnapshot TransferObject Tree TreeDataProvider TypedValue UIComponent UIEventDispatcher UIObject Video WebService WebServiceConnector Window XML XMLConnector XUpdateResolver" list_keywords = Set.fromList $ words $ "add and break case catch class continue default delete do dynamic else eq extends finally for function ge get gt if implements import in instanceof interface intrinsic le lt ne new not or private public return set static switch throw try var void while with" list_const = Set.fromList $ words $ "false Infinity -Infinity NaN newline null true undefined" list_types = Set.fromList $ words $ "Array Boolean Number Object String Void" regex_'2f'2f'5cs'2aBEGIN'2e'2a'24 = compileRegex True "//\\s*BEGIN.*$" regex_'2f'2f'5cs'2aEND'2e'2a'24 = compileRegex True "//\\s*END.*$" regex_'5c'2e'7b3'2c3'7d'5cs'2b = compileRegex True "\\.{3,3}\\s+" regex_'5cb'28import'5cs'2bstatic'29'5cb = compileRegex True "\\b(import\\s+static)\\b" regex_'5cb'28package'7cimport'29'5cb = compileRegex True "\\b(package|import)\\b" regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'28'2f'5c'2a'5cs'2a'5cd'2b'5cs'2a'5c'2a'2f'5cs'2a'29'3f'5b'28'5d'29 = compileRegex True "\\b[_\\w][_\\w\\d]*(?=[\\s]*(/\\*\\s*\\d+\\s*\\*/\\s*)?[(])" regex_'5b'2e'5d'7b1'2c1'7d = compileRegex True "[.]{1,1}" regex_'5cb'5b'5fa'2dzA'2dZ'5d'5cw'2a'28'3f'3d'5b'5cs'5d'2a'29 = compileRegex True "\\b[_a-zA-Z]\\w*(?=[\\s]*)" regex_'5cs'2a'2e'2a'24 = compileRegex True "\\s*.*$" parseRules ("ActionScript 2.0","Normal") = (((Text.Highlighting.Kate.Syntax.Javadoc.parseExpression (Just ("Javadoc","")))) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_properties >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_global'5ffunctions >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_classes >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_const >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok)) <|> (withChildren (pFloat >>= withAttribute FloatTok) ((pAnyChar "fF" >>= withAttribute FloatTok))) <|> ((pHlCOct >>= withAttribute BaseNTok)) <|> ((pHlCHex >>= withAttribute BaseNTok)) <|> (withChildren (pInt >>= withAttribute DecValTok) (((pString False "ULL" >>= withAttribute DecValTok)) <|> ((pString False "LUL" >>= withAttribute DecValTok)) <|> ((pString False "LLU" >>= withAttribute DecValTok)) <|> ((pString False "UL" >>= withAttribute DecValTok)) <|> ((pString False "LU" >>= withAttribute DecValTok)) <|> ((pString False "LL" >>= withAttribute DecValTok)) <|> ((pString False "U" >>= withAttribute DecValTok)) <|> ((pString False "L" >>= withAttribute DecValTok)))) <|> ((pHlCChar >>= withAttribute CharTok)) <|> ((pRegExpr regex_'2f'2f'5cs'2aBEGIN'2e'2a'24 >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'2f'2f'5cs'2aEND'2e'2a'24 >>= withAttribute DecValTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("ActionScript 2.0","String")) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("ActionScript 2.0","Commentar 1")) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ActionScript 2.0","Commentar 2")) <|> ((pDetectChar False '{' >>= withAttribute NormalTok)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5c'2e'7b3'2c3'7d'5cs'2b >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cb'28import'5cs'2bstatic'29'5cb >>= withAttribute KeywordTok) >>~ pushContext ("ActionScript 2.0","StaticImports")) <|> ((pRegExpr regex_'5cb'28package'7cimport'29'5cb >>= withAttribute KeywordTok) >>~ pushContext ("ActionScript 2.0","Imports")) <|> ((pRegExpr regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'28'2f'5c'2a'5cs'2a'5cd'2b'5cs'2a'5c'2a'2f'5cs'2a'29'3f'5b'28'5d'29 >>= withAttribute FunctionTok)) <|> ((pRegExpr regex_'5b'2e'5d'7b1'2c1'7d >>= withAttribute NormalTok) >>~ pushContext ("ActionScript 2.0","Member")) <|> ((pAnyChar ":!%&()+,-/.*<=>?[]|~^;" >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("ActionScript 2.0","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ActionScript 2.0","String") = (((pLineContinue >>= withAttribute StringTok)) <|> ((pHlCStringChar >>= withAttribute CharTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ActionScript 2.0","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("ActionScript 2.0","Member") = (((pRegExpr regex_'5cb'5b'5fa'2dzA'2dZ'5d'5cw'2a'28'3f'3d'5b'5cs'5d'2a'29 >>= withAttribute FunctionTok) >>~ (popContext)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("ActionScript 2.0","StaticImports") = (((pRegExpr regex_'5cs'2a'2e'2a'24 >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ActionScript 2.0","StaticImports")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ActionScript 2.0","Imports") = (((pRegExpr regex_'5cs'2a'2e'2a'24 >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ActionScript 2.0","Imports")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ActionScript 2.0","Commentar 1") = (currentContext >>= \x -> guard (x == ("ActionScript 2.0","Commentar 1")) >> pDefault >>= withAttribute CommentTok) parseRules ("ActionScript 2.0","Commentar 2") = (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ActionScript 2.0","Commentar 2")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Javadoc", _) = Text.Highlighting.Kate.Syntax.Javadoc.parseExpression Nothing parseRules x = parseRules ("ActionScript 2.0","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Ada.hs0000644000000000000000000001565112633103275022031 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file ada.xml, version 1.08, by -} module Text.Highlighting.Kate.Syntax.Ada (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Ada" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.adb;*.ads;*.ada;*.a" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Ada","Default")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Ada","Default") -> return () ("Ada","Region Marker") -> (popContext) >> pEndLine ("Ada","String") -> (popContext) >> pEndLine ("Ada","Comment") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_keywords = Set.fromList $ words $ "abort abs abstract accept access aliased all and array at begin body constant declare delay delta digits do else elsif end entry exception exit for function generic goto in interface is limited mod new not null of or others out overriding package pragma private procedure protected raise range rem record renames requeue return reverse separate subtype tagged task terminate then type until use when while with xor" list_pragmas = Set.fromList $ words $ "all_calls_remote assert assertion_policy asynchronous atomic atomic_components attach_handler controlled convention detect_blocking discard_names elaborate elaborate_all elaborate_body export import inline inspection_point interrupt_handler interrupt_priority linker_options list locking_policy no_return normalize_scalars optimize pack page partition_elaboration_policy preelaborable_initialization preelaborate priority priority_specific_dispatching profile pure queuing_policy relative_deadline remote_call_interface remote_types restrictions reviewable shared_passive storage_size suppress task_dispatching_policy unchecked_union unsuppress volatile volatile_components" list_types = Set.fromList $ words $ "boolean char float integer long_float long_integer long_long_float long_long_integer short_float short_integer string wide_string wide_char wide_wide_char wide_wide_string" regex_'5cbrecord'5cb = compileRegex True "\\brecord\\b" regex_'5cbend'5cs'2brecord'5cb = compileRegex True "\\bend\\s+record\\b" regex_'5cbcase'5cb = compileRegex True "\\bcase\\b" regex_'5cbend'5cs'2bcase'5cb = compileRegex True "\\bend\\s+case\\b" regex_'5cbif'5cb = compileRegex True "\\bif\\b" regex_'5cbend'5cs'2bif'5cb = compileRegex True "\\bend\\s+if\\b" regex_'5cbloop'5cb = compileRegex True "\\bloop\\b" regex_'5cbend'5cs'2bloop'5cb = compileRegex True "\\bend\\s+loop\\b" regex_'5cbselect'5cb = compileRegex True "\\bselect\\b" regex_'5cbend'5cs'2bselect'5cb = compileRegex True "\\bend\\s+select\\b" regex_'5cbbegin'5cb = compileRegex True "\\bbegin\\b" regex_'5cbend'5cb = compileRegex True "\\bend\\b" regex_'27'2e'27 = compileRegex True "'.'" parseRules ("Ada","Default") = (((pRegExpr regex_'5cbrecord'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbend'5cs'2brecord'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbcase'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbend'5cs'2bcase'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbif'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbend'5cs'2bif'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbloop'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbend'5cs'2bloop'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbselect'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbend'5cs'2bselect'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbbegin'5cb >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbend'5cb >>= withAttribute KeywordTok)) <|> ((pFirstNonSpace >> pString False "-- BEGIN" >>= withAttribute RegionMarkerTok) >>~ pushContext ("Ada","Region Marker")) <|> ((pFirstNonSpace >> pString False "-- END" >>= withAttribute RegionMarkerTok) >>~ pushContext ("Ada","Region Marker")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_pragmas >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok)) <|> ((pFloat >>= withAttribute FloatTok)) <|> ((pInt >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'27'2e'27 >>= withAttribute CharTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Ada","String")) <|> ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("Ada","Comment")) <|> ((pAnyChar ":!%&()+,-/.*<=>|" >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("Ada","Default")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Ada","Region Marker") = (currentContext >>= \x -> guard (x == ("Ada","Region Marker")) >> pDefault >>= withAttribute RegionMarkerTok) parseRules ("Ada","String") = (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Ada","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("Ada","Comment") = (currentContext >>= \x -> guard (x == ("Ada","Comment")) >> pDefault >>= withAttribute CommentTok) parseRules x = parseRules ("Ada","Default") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Agda.hs0000644000000000000000000001454612633103275022202 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file agda.xml, version 1.0, by Matthias C. M. Troffaes -} module Text.Highlighting.Kate.Syntax.Agda (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Agda" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.agda" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Agda","code")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Agda","code") -> return () ("Agda","comment") -> (popContext) >> pEndLine ("Agda","comments") -> return () ("Agda","hole") -> return () ("Agda","char") -> (popContext) >> pEndLine ("Agda","string") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_reserved_keywords = Set.fromList $ words $ "abstract codata coinductive constructor data field forall hiding import in inductive infix infixl infixr let open pattern postulate primitive private public module mutual quote quoteGoal quoteTerm record renaming rewrite syntax to unquote using where with" regex_'5c'7b'2d'23'2e'2a'23'2d'5c'7d = compileRegex True "\\{-#.*#-\\}" regex_'28Prop'7cSet'5b₀'2d₉'5d'2b'7cSet'5b0'2d9'5d'2a'29'28'3f'3d'28'5b'5f'3b'2e'22'28'29'7b'7d'40'5d'7c'5cs'7c'24'29'29 = compileRegex True "(Prop|Set[\8320-\8329]+|Set[0-9]*)(?=([_;.\"(){}@]|\\s|$))" regex_'28'2d'3e'7c'2192'7c'2200'7cλ'7c'3a'7c'3d'7c'5c'7c'29'28'3f'3d'28'5b'5f'3b'2e'22'28'29'7b'7d'40'5d'7c'5cs'7c'24'29'29 = compileRegex True "(->|\8594|\8704|\955|:|=|\\|)(?=([_;.\"(){}@]|\\s|$))" regex_'5cd'2b'5c'2e'5cd'2b'28'3f'3d'28'5b'5f'3b'2e'22'28'29'7b'7d'40'5d'7c'5cs'7c'24'29'29 = compileRegex True "\\d+\\.\\d+(?=([_;.\"(){}@]|\\s|$))" regex_'5b0'2d9'5d'2b'28'3f'3d'28'5b'5f'3b'2e'22'28'29'7b'7d'40'5d'7c'5cs'7c'24'29'29 = compileRegex True "[0-9]+(?=([_;.\"(){}@]|\\s|$))" regex_'5b'5e'5f'3b'2e'22'28'29'7b'7d'40'5cs'5d'2b = compileRegex True "[^_;.\"(){}@\\s]+" parseRules ("Agda","code") = (((pRegExpr regex_'5c'7b'2d'23'2e'2a'23'2d'5c'7d >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.();{}_;.\"(){}@" list_reserved_keywords >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'28Prop'7cSet'5b₀'2d₉'5d'2b'7cSet'5b0'2d9'5d'2a'29'28'3f'3d'28'5b'5f'3b'2e'22'28'29'7b'7d'40'5d'7c'5cs'7c'24'29'29 >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'28'2d'3e'7c'2192'7c'2200'7cλ'7c'3a'7c'3d'7c'5c'7c'29'28'3f'3d'28'5b'5f'3b'2e'22'28'29'7b'7d'40'5d'7c'5cs'7c'24'29'29 >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5cd'2b'5c'2e'5cd'2b'28'3f'3d'28'5b'5f'3b'2e'22'28'29'7b'7d'40'5d'7c'5cs'7c'24'29'29 >>= withAttribute FloatTok)) <|> ((pRegExpr regex_'5b0'2d9'5d'2b'28'3f'3d'28'5b'5f'3b'2e'22'28'29'7b'7d'40'5d'7c'5cs'7c'24'29'29 >>= withAttribute DecValTok)) <|> ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("Agda","char")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Agda","string")) <|> ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("Agda","comment")) <|> ((pDetect2Chars False '{' '-' >>= withAttribute CommentTok) >>~ pushContext ("Agda","comments")) <|> ((pDetect2Chars False '{' '!' >>= withAttribute OtherTok) >>~ pushContext ("Agda","hole")) <|> ((pAnyChar "_;.\"(){}@\\\\" >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5b'5e'5f'3b'2e'22'28'29'7b'7d'40'5cs'5d'2b >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("Agda","code")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Agda","comment") = (currentContext >>= \x -> guard (x == ("Agda","comment")) >> pDefault >>= withAttribute CommentTok) parseRules ("Agda","comments") = (((pDetect2Chars False '{' '-' >>= withAttribute CommentTok) >>~ pushContext ("Agda","comments")) <|> ((pDetect2Chars False '-' '}' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Agda","comments")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Agda","hole") = (((pDetect2Chars False '!' '}' >>= withAttribute OtherTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Agda","hole")) >> pDefault >>= withAttribute OtherTok)) parseRules ("Agda","char") = (((pDetect2Chars False '\\' '\'' >>= withAttribute CharTok)) <|> ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Agda","char")) >> pDefault >>= withAttribute CharTok)) parseRules ("Agda","string") = (((pDetect2Chars False '\\' '"' >>= withAttribute StringTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Agda","string")) >> pDefault >>= withAttribute StringTok)) parseRules x = parseRules ("Agda","code") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Alert.hs0000644000000000000000000000633012633103275022405 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file alert.xml, version 1.11, by Dominik Haumann (dhdev@gmx.de) -} module Text.Highlighting.Kate.Syntax.Alert (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Alerts" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Alerts","Normal Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Alerts","Normal Text") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_alerts'5fhi = Set.fromList $ words $ "ALERT ATTENTION DANGER HACK SECURITY" list_alerts'5fmid = Set.fromList $ words $ "BUG FIXME DEPRECATED TASK TODO TBD WARNING CAUTION NOLINT" list_alerts'5flo = Set.fromList $ words $ "### NOTE NOTICE TEST TESTING" parseRules ("Alerts","Normal Text") = (((pString False "{{{" >>= withAttribute RegionMarkerTok)) <|> ((pString False "}}}" >>= withAttribute RegionMarkerTok)) <|> ((pString False "BEGIN" >>= withAttribute RegionMarkerTok)) <|> ((pString False "END" >>= withAttribute RegionMarkerTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_alerts'5fhi >>= withAttribute AlertTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_alerts'5fmid >>= withAttribute AlertTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_alerts'5flo >>= withAttribute AlertTok)) <|> (currentContext >>= \x -> guard (x == ("Alerts","Normal Text")) >> pDefault >>= withAttribute NormalTok)) parseRules x = parseRules ("Alerts","Normal Text") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Alert_indent.hs0000644000000000000000000000521712633103275023751 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file alert_indent.xml, version 1.10, by Dominik Haumann (dhdev@gmx.de) -} module Text.Highlighting.Kate.Syntax.Alert_indent (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) -- | Full name of language. syntaxName :: String syntaxName = "Alerts_indent" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Alerts_indent","Normal Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Alerts_indent","Normal Text") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) parseRules ("Alerts_indent","Normal Text") = (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")))) <|> (currentContext >>= \x -> guard (x == ("Alerts_indent","Normal Text")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules x = parseRules ("Alerts_indent","Normal Text") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Apache.hs0000644000000000000000000003421012633103275022515 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file apache.xml, version 1.11, by Jan Janssen (medhefgo@googlemail.com) -} module Text.Highlighting.Kate.Syntax.Apache (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Apache Configuration" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "httpd.conf;httpd2.conf;apache.conf;apache2.conf;.htaccess*;.htpasswd*" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Apache Configuration","apache")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Apache Configuration","apache") -> return () ("Apache Configuration","String Directives") -> (popContext) >> pEndLine ("Apache Configuration","Integer Directives") -> (popContext) >> pEndLine ("Apache Configuration","Alternative Directives") -> (popContext) >> pEndLine ("Apache Configuration","Comment") -> (popContext) >> pEndLine ("Apache Configuration","Container Open") -> (popContext) >> pEndLine ("Apache Configuration","Container Close") -> (popContext) >> pEndLine ("Apache Configuration","Comment Alert") -> (popContext) >> pEndLine ("Apache Configuration","Alert") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_String_Directives = Set.fromList $ words $ "acceptfilter accessfilename action addalt addaltbyencoding addaltbytype addcharset adddefaultcharset adddescription addencoding addhandler addicon addiconbyencoding addiconbytype addinputfilter addlanguage addmoduleinfo addoutputfilter addoutputfilterbytype addtype alias aliasmatch allow anonymous authbasicprovider authdbmgroupfile authdbmuserfile authdigestdomain authdigestfile authdigestgroupfile authdigestnonceformat authdigestprovider authgroupfile authldapbinddn authldapbindpassword authldapcharsetconfig authldapgroupattribute authldapurl authname authuserfile browsermatch browsermatchnocase bs2000account cachedisable cacheenable cachefile cachegcclean cachegcunused cacheroot cgimapextension charsetdefault charsetoptions charsetsourceenc cookiedomain cookielog cookiename coredumpdirectory customlog dav davgenericlockdb davlockdb dbdparams dbdpreparesql dbdriver defaulticon defaultlanguage defaulttype deflatefilternote deny directoryindex documentroot errordocument errorlog example expiresbytype expiresdefault extfilterdefine extfilteroptions filterchain filterdeclare filterprotocol filterprovider filtertrace forcetype forensiclog group header headername imapbase include indexignore indexoptions indexstylesheet isapicachefile languagepriority ldapsharedcachefile ldaptrustedca ldaptrustedcatype ldaptrustedclientcert ldaptrustedglobalcert listen loadfile loadmodule lockfile logformat metadir metasuffix mimemagicfile mmapfile namevirtualhost noproxy nwssltrustedcerts nwsslupgradeable passenv pidfile proxyblock proxydomain proxypass proxypassreverse proxypassreversecookiedomain proxypassreversecookiepath proxyremote proxyremotematch readmename redirect redirectmatch redirectpermanent redirecttemp removecharset removeencoding removehandler removeinputfilter removelanguage removeoutputfilter removetype requestheader require rewritebase rewritecond rewritelock rewritelog rewritemap rewriterule scoreboardfile script scriptalias scriptaliasmatch scriptlog scriptsock securelisten serveradmin serveralias servername serverpath serverroot setenv setenvif setenvifnocase sethandler setinputfilter setoutputfilter ssiendtag ssierrormsg ssistarttag ssitimeformat ssiundefinedecho sslcacertificatefile sslcacertificatepath sslcadnrequestfile sslcadnrequestpath sslcarevocationfile sslcarevocationpath sslcertificatechainfile sslcertificatefile sslcertificatekeyfile sslciphersuite sslcryptodevice sslhonorciperorder sslpassphrasedialog sslproxycacertificatefile sslproxycacertificatepath sslproxycarevocationfile sslproxycarevocationpath sslproxyciphersuite sslproxymachinecertificatefile sslproxymachinecertificatepath sslproxyprotocol sslrandomseed sslrequire sslrequiressl sslusername suexecusergroup transferlog typesconfig unsetenv user userdir virtualdocumentroot virtualdocumentrootip virtualscriptalias virtualscriptaliasip win32disableacceptex" list_Integer_Directives = Set.fromList $ words $ "allowconnect assignuserid authdigestnoncelifetime authdigestshmemsize cachedefaultexpire cachedirlength cachedirlevels cacheforcecompletion cachegcdaily cachegcinterval cachegcmemusage cachelastmodifiedfactor cachemaxexpire cachemaxfilesize cacheminfilesize cachesize cachetimemargin childperuserid cookieexpires davmintimeout dbdexptime dbdkeep dbdmax dbdmin dbdpersist deflatebuffersize deflatecompressionlevel deflatememlevel deflatewindowsize identitychecktimeout isapireadaheadbuffer keepalivetimeout ldapcacheentries ldapcachettl ldapconnectiontimeout ldapopcacheentries ldapopcachettl ldapsharedcachesize limitinternalrecursion limitrequestbody limitrequestfields limitrequestfieldsize limitrequestline limitxmlrequestbody listenbacklog maxclients maxkeepaliverequests maxmemfree maxrequestsperchild maxrequestsperthread maxspareservers maxsparethreads maxthreads maxthreadsperchild mcachemaxobjectcount mcachemaxobjectsize mcachemaxstreamingbuffer mcacheminobjectsize mcachesize minspareservers minsparethreads numservers proxyiobuffersize proxymaxforwards proxyreceivebuffersize proxytimeout rewriteloglevel rlimitcpu rlimitmem rlimitnproc scriptlogbuffer scriptloglength sendbuffersize serverlimit sslproxyverifydepth sslsessioncachetimeout sslverifydepth startservers startthreads threadlimit threadsperchild threadstacksize timeout" list_Alternative_Directives = Set.fromList $ words $ "acceptmutex acceptpathinfo allowencodedslashes allowoverride anonymous_authoritative anonymous_logemail anonymous_mustgiveemail anonymous_nouserid anonymous_verifyemail authauthoritative authbasicauthoritative authbasicprovider authdbmauthoritative authdbmtype authdefaultauthoritative authdigestalgorithm authdigestnccheck authdigestqop authldapauthoritative authldapcomparednonserver authldapdereferencealiases authldapenabled authldapfrontpagehack authldapgroupattributeisdn authldapremoteuserisdn authtype authzdbmauthoritative authzdbmtype authzdefaultauthoritative authzgroupfileauthoritative authzldapauthoritative authzownerauthoritative authzuserauthoritative bufferedlogs cacheexpirycheck cacheignorecachecontrol cacheignoreheaders cacheignorenolastmod cachenegotiateddocs cachestorenostore cachestoreprivate checkspelling contentdigest cookiestyle cookietracking coredumpdirectory customlog davdepthinfinity directoryslash dumpioinput dumpiooutput enableexceptionhook enablemmap enablesendfile expiresactive extendedstatus fileetag forcelanguagepriority hostnamelookups identitycheck imapdefault imapmenu indexorderdefault isapiappendlogtoerrors isapiappendlogtoquery isapifakeasync isapilognotsupported keepalive ldaptrustedmode ldapverifyservercert loglevel mcacheremovalalgorithm metafiles modmimeusepathinfo multiviewsmatch options order protocolecho proxybadheader proxyerroroverride proxypreservehost proxyrequests proxyvia rewriteengine rewriteoptions satisfy scriptinterpretersource serversignature servertokens sslengine sslmutex ssloptions sslprotocol sslproxyengine sslproxyverify sslsessioncache sslverifyclient usecanonicalname xbithack" list_Alternates = Set.fromList $ words $ "on off default flock fcntl posixsem pthread sysvsem all none authconfig fileinfo indexes limit options execcgi followsymlinks includes includesnoexec indexes multiviews symlinksifownermatch stdenvvars compatenvvars exportcertdata fakebasicauth strictrequire optrenegotiate sdbm gdbm ndbm db md5 md5-sess auth auth-int never searching finding always basic digest connection keep-alive proxy-authenticate proxy-authorization te trailers transfer-encoding upgrade netscape cookie cookie2 rfc2109 rfc2965 inode mtime size prefer fallback double error nocontent map referer formatted semiformatted unformatted ascending descending name date size description ssl tls starttls emerg alert crit error warn notice info debug lru gdsf any negotiatedonly filters handlers deny,allow allow,deny mutual-failure iserror ignore startbody full block inherit registry registry-strict script email major minor min minimal prod productonly os full optional posixsem sysvsem sem pthread fcntl: flock: file: yes no sslv2 sslv3 tlsv1 require optional_no_ca nonenotnull dbm: shm: dc: dns" regex_'3c'5cw'2b = compileRegex True "<\\w+" regex_'3c'2f'5cw'2b = compileRegex True "]*" parseRules ("Apache Configuration","apache") = (((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_String_Directives >>= withAttribute NormalTok) >>~ pushContext ("Apache Configuration","String Directives")) <|> ((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_Integer_Directives >>= withAttribute OtherTok) >>~ pushContext ("Apache Configuration","Integer Directives")) <|> ((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_Alternative_Directives >>= withAttribute OtherTok) >>~ pushContext ("Apache Configuration","Alternative Directives")) <|> ((pRegExpr regex_'3c'5cw'2b >>= withAttribute FunctionTok) >>~ pushContext ("Apache Configuration","Container Open")) <|> ((pRegExpr regex_'3c'2f'5cw'2b >>= withAttribute FunctionTok) >>~ pushContext ("Apache Configuration","Container Close")) <|> ((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Apache Configuration","Comment")) <|> (currentContext >>= \x -> guard (x == ("Apache Configuration","apache")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Apache Configuration","String Directives") = (((pRegExpr regex_'5b'5e'23'5d'2a >>= withAttribute StringTok)) <|> ((parseRules ("Apache Configuration","Comment Alert"))) <|> (currentContext >>= \x -> guard (x == ("Apache Configuration","String Directives")) >> pDefault >>= withAttribute OtherTok)) parseRules ("Apache Configuration","Integer Directives") = (((pFloat >>= withAttribute FloatTok) >>~ pushContext ("Apache Configuration","Integer Directives")) <|> ((pInt >>= withAttribute FloatTok) >>~ pushContext ("Apache Configuration","Integer Directives")) <|> ((parseRules ("Apache Configuration","Comment Alert"))) <|> (currentContext >>= \x -> guard (x == ("Apache Configuration","Integer Directives")) >> pDefault >>= withAttribute CharTok)) parseRules ("Apache Configuration","Alternative Directives") = (((pKeyword " \n\t.():!+-<=>%&*/;?[]^{|}~\\" list_Alternates >>= withAttribute KeywordTok)) <|> ((pDetectChar False '-' >>= withAttribute KeywordTok)) <|> ((pDetectChar False '+' >>= withAttribute KeywordTok)) <|> ((parseRules ("Apache Configuration","Comment Alert"))) <|> (currentContext >>= \x -> guard (x == ("Apache Configuration","Alternative Directives")) >> pDefault >>= withAttribute CharTok)) parseRules ("Apache Configuration","Comment") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> (currentContext >>= \x -> guard (x == ("Apache Configuration","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Apache Configuration","Container Open") = (((pDetectChar False '>' >>= withAttribute FunctionTok) >>~ pushContext ("Apache Configuration","Alert")) <|> ((pRegExpr regex_'5b'5e'23'3e'5d'2a >>= withAttribute OtherTok)) <|> ((parseRules ("Apache Configuration","Comment Alert"))) <|> (currentContext >>= \x -> guard (x == ("Apache Configuration","Container Open")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Apache Configuration","Container Close") = (((pDetectChar False '>' >>= withAttribute FunctionTok) >>~ pushContext ("Apache Configuration","Alert")) <|> (currentContext >>= \x -> guard (x == ("Apache Configuration","Container Close")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Apache Configuration","Comment Alert") = (((pDetectChar False '#' >>= withAttribute ErrorTok) >>~ pushContext ("Apache Configuration","Alert")) <|> (currentContext >>= \x -> guard (x == ("Apache Configuration","Comment Alert")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Apache Configuration","Alert") = (currentContext >>= \x -> guard (x == ("Apache Configuration","Alert")) >> pDefault >>= withAttribute ErrorTok) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules x = parseRules ("Apache Configuration","apache") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Asn1.hs0000644000000000000000000000620312633103275022137 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file asn1.xml, version 1.01, by Philippe Rigault -} module Text.Highlighting.Kate.Syntax.Asn1 (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "ASN.1" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.asn;*.asn1" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("ASN.1","Normal Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("ASN.1","Normal Text") -> return () ("ASN.1","Comment") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_keywords = Set.fromList $ words $ "DEFINITIONS BEGIN END EXPORTS IMPORTS FROM APPLICATION PRIVATE UNIVERSAL DEFAULT OPTIONAL FALSE TRUE" list_types = Set.fromList $ words $ "BOOLEAN INTEGER OCTET STRING NULL REAL ENUMERATED SEQUENCE SET CHOICE OF VisibleString StringStore" parseRules ("ASN.1","Normal Text") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok)) <|> ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("ASN.1","Comment")) <|> (currentContext >>= \x -> guard (x == ("ASN.1","Normal Text")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ASN.1","Comment") = (currentContext >>= \x -> guard (x == ("ASN.1","Comment")) >> pDefault >>= withAttribute CommentTok) parseRules x = parseRules ("ASN.1","Normal Text") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Asp.hs0000644000000000000000000004006312633103275022062 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file asp.xml, version 1.04, by Antonio Salazar (savedfastcool@gmail.com) -} module Text.Highlighting.Kate.Syntax.Asp (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "ASP" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.asp;" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("ASP","nosource")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("ASP","nosource") -> return () ("ASP","aspsource") -> return () ("ASP","asp_onelinecomment") -> (popContext) >> pEndLine ("ASP","doublequotestring") -> return () ("ASP","singlequotestring") -> return () ("ASP","htmltag") -> return () ("ASP","htmlcomment") -> return () ("ASP","identifiers") -> return () ("ASP","types1") -> return () ("ASP","types2") -> return () ("ASP","scripts") -> return () ("ASP","scripts_onelinecomment") -> (popContext) >> pEndLine ("ASP","twolinecomment") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_control_structures = Set.fromList $ words $ "select case end select if then else elseif end if while do until loop wend for each to in next exit continue" list_keywords = Set.fromList $ words $ "dim redim preserve const erase nothing set new me function sub call class private public with randomize open close movenext execute eof not true false or and xor" list_functions = Set.fromList $ words $ "response write redirect end request form querystring servervariables cookies session server createobject abs array asc atn cbool cbyte ccur cdate cdbl chr cint clng cos csng cstr date dateadd datediff datepart dateserial datevalue date day exp filter fix formatcurrency formatdatetime formatnumber formatpercent getobject hex hour inputbox instr instrrev int isarray isdate isempty isnull isnumeric isobject join lbound lcase left len loadpicture log ltrim mid minute month monthname msgbox now oct replace rgb right rnd round rtrim scriptengine scriptenginebuildversion scriptenginemajorversion scriptengineminorversion second sgn sin space split sqr strcomp strreverse string tan time timer timeserial timevalue trim typename ubound ucase vartype weekday weekdayname year add addfolders buildpath clear close copy copyfile copyfolder createfolder createtextfile delete deletefile deletefolder driveexists exists fileexists folderexists getabsolutepathname getbasename getdrive getdrivename getextensionname getfile getfilename getfolder getparentfoldername getspecialfolder gettempname items item keys move movefile movefolder openastextstream opentextfile raise read readall readline remove removeall skip skipline write writeblanklines writeline" regex_'3c'5cs'2ascript'5cs'2alanguage'3d'22VBScript'22'5b'5e'3e'5d'2a'3e = compileRegex True "<\\s*script\\s*language=\"VBScript\"[^>]*>" regex_'3c'5cs'2ascript'28'5cs'7c'3e'29 = compileRegex True "<\\s*script(\\s|>)" regex_'3c'5cs'2a'5c'2f'3f'5cs'2a'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a = compileRegex True "<\\s*\\/?\\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" regex_'3c'5cs'2a'5c'2f'5cs'2ascript'5cs'2a'3e = compileRegex True "<\\s*\\/\\s*script\\s*>" regex_ = compileRegex True "" regex_'5b0123456789'5d'2a'5c'2e'5c'2e'5c'2e'5b0123456789'5d'2a = compileRegex True "[0123456789]*\\.\\.\\.[0123456789]*" regex_'5cbelseif'5cb = compileRegex True "\\belseif\\b" regex_'5cbelse'5cb = compileRegex True "\\belse\\b" regex_'5cbif'5cb = compileRegex True "\\bif\\b" regex_'5cbend_if'5cb = compileRegex True "\\bend if\\b" regex_'5cbexit_function'5cb = compileRegex True "\\bexit function\\b" regex_'5cbfunction'5cb = compileRegex True "\\bfunction\\b" regex_'5cbend_function'5cb = compileRegex True "\\bend function\\b" regex_'5cbexit_sub'5cb = compileRegex True "\\bexit sub\\b" regex_'5cbsub'5cb = compileRegex True "\\bsub\\b" regex_'5cbend_sub'5cb = compileRegex True "\\bend sub\\b" regex_'5cbclass'5cb = compileRegex True "\\bclass\\b" regex_'5cbend_class'5cb = compileRegex True "\\bend class\\b" regex_'5cbexit_do'5cb = compileRegex True "\\bexit do\\b" regex_'5cbdo'28'5cs'2b'28while'29'29'3f'5cb = compileRegex True "\\bdo(\\s+(while))?\\b" regex_'5cbloop'5cb = compileRegex True "\\bloop\\b" regex_'5cbexit_while'5cb = compileRegex True "\\bexit while\\b" regex_'5cbwhile'5cb = compileRegex True "\\bwhile\\b" regex_'5cbwend'5cb = compileRegex True "\\bwend\\b" regex_'5cbexit_for'5cb = compileRegex True "\\bexit for\\b" regex_'5cbfor'5cb = compileRegex True "\\bfor\\b" regex_'5cbnext'5cb = compileRegex True "\\bnext\\b" regex_'5cbselect_case'5cb = compileRegex True "\\bselect case\\b" regex_'5cbend_select'5cb = compileRegex True "\\bend select\\b" regex_'5c'5c'5b0'2d7'5d'7b1'2c3'7d = compileRegex True "\\\\[0-7]{1,3}" regex_'5c'5cx'5b0'2d9A'2dFa'2df'5d'7b1'2c2'7d = compileRegex True "\\\\x[0-9A-Fa-f]{1,2}" regex_'5cs'2a'3d'5cs'2a = compileRegex True "\\s*=\\s*" regex_'5cs'2a'23'3f'5ba'2dzA'2dZ0'2d9'5d'2a = compileRegex True "\\s*#?[a-zA-Z0-9]*" parseRules ("ASP","nosource") = (((pString False "<%" >>= withAttribute KeywordTok) >>~ pushContext ("ASP","aspsource")) <|> ((pRegExpr regex_'3c'5cs'2ascript'5cs'2alanguage'3d'22VBScript'22'5b'5e'3e'5d'2a'3e >>= withAttribute KeywordTok) >>~ pushContext ("ASP","aspsource")) <|> ((pRegExpr regex_'3c'5cs'2ascript'28'5cs'7c'3e'29 >>= withAttribute KeywordTok) >>~ pushContext ("ASP","scripts")) <|> ((pRegExpr regex_'3c'5cs'2a'5c'2f'3f'5cs'2a'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a >>= withAttribute KeywordTok) >>~ pushContext ("ASP","htmltag")) <|> ((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> ((pRegExpr regex_'5cs'2a'3d'5cs'2a >>= withAttribute NormalTok) >>~ pushContext ("ASP","identifiers")) <|> (currentContext >>= \x -> guard (x == ("ASP","htmlcomment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("ASP","identifiers") = (((pRegExpr regex_'5cs'2a'23'3f'5ba'2dzA'2dZ0'2d9'5d'2a >>= withAttribute StringTok) >>~ (popContext)) <|> ((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ pushContext ("ASP","types1")) <|> ((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ pushContext ("ASP","types2")) <|> (currentContext >>= \x -> guard (x == ("ASP","identifiers")) >> pDefault >>= withAttribute OtherTok)) parseRules ("ASP","types1") = (((pString False "<%" >>= withAttribute KeywordTok) >>~ pushContext ("ASP","aspsource")) <|> ((pString False "<%" >>= withAttribute KeywordTok) >>~ pushContext ("ASP","aspsource")) <|> ((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("ASP","types1")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("ASP","types2") = (((pString False "<%" >>= withAttribute KeywordTok) >>~ pushContext ("ASP","aspsource")) <|> ((pString False "<%" >>= withAttribute KeywordTok) >>~ pushContext ("ASP","aspsource")) <|> ((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("ASP","types2")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("ASP","scripts") = (((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("ASP","scripts_onelinecomment")) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ASP","twolinecomment")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_control_structures >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute KeywordTok)) <|> ((pString False "<%" >>= withAttribute KeywordTok) >>~ pushContext ("ASP","aspsource")) <|> ((pRegExpr regex_'3c'5cs'2a'5c'2f'5cs'2ascript'5cs'2a'3e >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("ASP","doublequotestring")) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("ASP","singlequotestring")) <|> ((pHlCOct >>= withAttribute BaseNTok)) <|> ((pHlCHex >>= withAttribute BaseNTok)) <|> ((pFloat >>= withAttribute FloatTok)) <|> ((pInt >>= withAttribute DecValTok)) <|> ((pDetectChar False '{' >>= withAttribute NormalTok)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok)) <|> ((pAnyChar ";()}{:,[]" >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" Set.empty >>= withAttribute OtherTok)) <|> (currentContext >>= \x -> guard (x == ("ASP","scripts")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ASP","scripts_onelinecomment") = (((pRegExpr regex_'3c'5cs'2a'5c'2f'5cs'2ascript'5cs'2a'3e >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("ASP","scripts_onelinecomment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("ASP","twolinecomment") = (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ASP","twolinecomment")) >> pDefault >>= withAttribute CommentTok)) parseRules x = parseRules ("ASP","nosource") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Awk.hs0000644000000000000000000002620212633103275022060 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file awk.xml, version 0.93, by -} module Text.Highlighting.Kate.Syntax.Awk (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "AWK" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.awk" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("AWK","Pattern")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("AWK","Pattern") -> return () ("AWK","Block") -> return () ("AWK","base") -> return () ("AWK","String") -> return () ("AWK","Comment") -> (popContext) >> pEndLine ("AWK","Escape") -> (popContext) >> pEndLine ("AWK","Match") -> (popContext) >> pEndLine ("AWK","Regex") -> return () ("AWK","regex") -> return () ("AWK","Regex Escape") -> (popContext) >> pEndLine ("AWK","RegexChar") -> (popContext) >> pEndLine ("AWK","InChar") -> return () ("AWK","CharClass") -> (popContext) >> pEndLine ("AWK","MatchPattern") -> (popContext) >> pEndLine ("AWK","RegexPattern") -> return () ("AWK","CheckRange") -> (popContext >> popContext >> popContext) >> pEndLine ("AWK","RangePattern") -> (popContext >> popContext >> popContext >> popContext) >> pEndLine ("AWK","Pattern2") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_keywords = Set.fromList $ words $ "if else while do for in continue break print printf getline function return next exit" list_builtins = Set.fromList $ words $ "ARGC ARGV CONVFMT ENVIRON FILENAME FNR FS NF NR OFMT OFS ORS RS RSTART RLENGTH SUBSEP" list_functions = Set.fromList $ words $ "gsub gensub index length match split sprintf sub substr tolower toupper atan2 cos exp int log rand sin sqrt srand close fflush system" list_special = Set.fromList $ words $ "BEGIN END" regex_'5c'24'5bA'2dZa'2dz0'2d9'5f'5d'2b = compileRegex True "\\$[A-Za-z0-9_]+" regex_'2e = compileRegex True "." regex_'5c'5b'3a'28'3f'3d'5b'5f'5cw'5d'5b'5f'5cd'5cw'5d'2a'3a'5c'5d'29 = compileRegex True "\\[:(?=[_\\w][_\\d\\w]*:\\])" regex_'28alpha'7calnum'7cblank'7ccntrl'7cdigit'7cgraph'7clower'7cpunct'7cspace'7cupper'7cxdigit'29'28'3f'3d'3a'5c'5d'29 = compileRegex True "(alpha|alnum|blank|cntrl|digit|graph|lower|punct|space|upper|xdigit)(?=:\\])" regex_'5cs'2a'2c'5cs'2a'28'3f'3d'2f'29 = compileRegex True "\\s*,\\s*(?=/)" parseRules ("AWK","Pattern") = (((pDetectChar False '{' >>= withAttribute KeywordTok) >>~ pushContext ("AWK","Block")) <|> ((pDetectChar False '}' >>= withAttribute ErrorTok)) <|> ((pFirstNonSpace >> lookAhead (pDetectChar False '/') >> pushContext ("AWK","MatchPattern") >> currentContext >>= parseRules)) <|> ((parseRules ("AWK","base"))) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_special >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("AWK","Pattern")) >> pDefault >>= withAttribute NormalTok)) parseRules ("AWK","Block") = (((pDetectChar False '}' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pDetectChar False '{' >>= withAttribute KeywordTok) >>~ pushContext ("AWK","Block")) <|> ((parseRules ("AWK","base"))) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_special >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("AWK","Block")) >> pDefault >>= withAttribute NormalTok)) parseRules ("AWK","base") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("AWK","Comment")) <|> ((pDetectChar False '~' >>= withAttribute NormalTok) >>~ pushContext ("AWK","Match")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("AWK","String")) <|> ((pAnyChar "!%&*+,-./:;<=>?^|" >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_builtins >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute FunctionTok)) <|> ((pFloat >>= withAttribute FloatTok)) <|> ((pInt >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5c'24'5bA'2dZa'2dz0'2d9'5f'5d'2b >>= withAttribute DataTypeTok)) <|> (currentContext >>= \x -> guard (x == ("AWK","base")) >> pDefault >>= withAttribute NormalTok)) parseRules ("AWK","String") = (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetectChar False '\\' >>= withAttribute NormalTok) >>~ pushContext ("AWK","Escape")) <|> (currentContext >>= \x -> guard (x == ("AWK","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("AWK","Comment") = (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("AWK","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("AWK","Escape") = (((pRegExpr regex_'2e >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("AWK","Escape")) >> pDefault >>= withAttribute NormalTok)) parseRules ("AWK","Match") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetect2Chars False '/' '^' >>= withAttribute OtherTok) >>~ pushContext ("AWK","Regex")) <|> ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("AWK","Regex")) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("AWK","Regex") = (((parseRules ("AWK","regex"))) <|> ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("AWK","Regex")) >> pDefault >>= withAttribute StringTok)) parseRules ("AWK","regex") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetectChar False '\\' >>= withAttribute OtherTok) >>~ pushContext ("AWK","Regex Escape")) <|> ((pDetect2Chars False '[' '^' >>= withAttribute OtherTok) >>~ pushContext ("AWK","RegexChar")) <|> ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("AWK","RegexChar")) <|> ((pAnyChar "$.+?*()|" >>= withAttribute OtherTok)) <|> (currentContext >>= \x -> guard (x == ("AWK","regex")) >> pDefault >>= withAttribute NormalTok)) parseRules ("AWK","Regex Escape") = (((pRegExpr regex_'2e >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("AWK","Regex Escape")) >> pDefault >>= withAttribute NormalTok)) parseRules ("AWK","RegexChar") = (((pDetect2Chars False '-' ']' >>= withAttribute StringTok) >>~ pushContext ("AWK","InChar")) <|> ((pAnyChar "-]" >>= withAttribute StringTok) >>~ pushContext ("AWK","InChar")) <|> (pushContext ("AWK","InChar") >> currentContext >>= parseRules)) parseRules ("AWK","InChar") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetectChar False '\\' >>= withAttribute OtherTok) >>~ pushContext ("AWK","Regex Escape")) <|> ((lookAhead (pDetect2Chars False '-' ']') >> pushContext ("AWK","Regex Escape") >> currentContext >>= parseRules)) <|> ((pDetectChar False ']' >>= withAttribute OtherTok) >>~ (popContext >> popContext)) <|> ((pDetectChar False '-' >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5c'5b'3a'28'3f'3d'5b'5f'5cw'5d'5b'5f'5cd'5cw'5d'2a'3a'5c'5d'29 >>= withAttribute OtherTok) >>~ pushContext ("AWK","CharClass")) <|> (currentContext >>= \x -> guard (x == ("AWK","InChar")) >> pDefault >>= withAttribute StringTok)) parseRules ("AWK","CharClass") = (((pRegExpr regex_'28alpha'7calnum'7cblank'7ccntrl'7cdigit'7cgraph'7clower'7cpunct'7cspace'7cupper'7cxdigit'29'28'3f'3d'3a'5c'5d'29 >>= withAttribute StringTok)) <|> ((pDetect2Chars False ':' ']' >>= withAttribute OtherTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("AWK","CharClass")) >> pDefault >>= withAttribute StringTok)) parseRules ("AWK","MatchPattern") = (((pDetect2Chars False '/' '^' >>= withAttribute OtherTok) >>~ pushContext ("AWK","RegexPattern")) <|> ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("AWK","RegexPattern")) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("AWK","RegexPattern") = (((parseRules ("AWK","regex"))) <|> ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("AWK","CheckRange")) <|> (currentContext >>= \x -> guard (x == ("AWK","RegexPattern")) >> pDefault >>= withAttribute StringTok)) parseRules ("AWK","CheckRange") = (((pRegExpr regex_'5cs'2a'2c'5cs'2a'28'3f'3d'2f'29 >>= withAttribute NormalTok) >>~ pushContext ("AWK","RangePattern")) <|> ((popContext >> popContext >> popContext) >> currentContext >>= parseRules)) parseRules ("AWK","RangePattern") = (((pDetect2Chars False '/' '^' >>= withAttribute OtherTok) >>~ pushContext ("AWK","Pattern2")) <|> ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("AWK","Pattern2")) <|> ((popContext >> popContext >> popContext >> popContext) >> currentContext >>= parseRules)) parseRules ("AWK","Pattern2") = (((parseRules ("AWK","regex"))) <|> ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ (popContext >> popContext >> popContext >> popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("AWK","Pattern2")) >> pDefault >>= withAttribute StringTok)) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules x = parseRules ("AWK","Pattern") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Bash.hs0000644000000000000000000013237512633103275022224 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file bash.xml, version 2.17, by Wilbert Berendsen (wilbert@kde.nl) -} module Text.Highlighting.Kate.Syntax.Bash (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import qualified Text.Highlighting.Kate.Syntax.Modelines import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Bash" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Bash","Start")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Bash","Start") -> return () ("Bash","FindAll") -> return () ("Bash","FindMost") -> return () ("Bash","FindComments") -> (popContext) >> pEndLine ("Bash","Comment") -> (popContext) >> pEndLine ("Bash","FindCommentsParen") -> (popContext) >> pEndLine ("Bash","CommentParen") -> (popContext) >> pEndLine ("Bash","FindCommentsBackq") -> (popContext) >> pEndLine ("Bash","CommentBackq") -> (popContext) >> pEndLine ("Bash","FindCommands") -> return () ("Bash","FindSpecialCommands") -> return () ("Bash","FindNormalCommands") -> return () ("Bash","CommandArgs") -> (popContext) >> pEndLine ("Bash","FindCommandsBackq") -> return () ("Bash","FindNormalCommandsBackq") -> return () ("Bash","CommandArgsBackq") -> (popContext) >> pEndLine ("Bash","FindOthers") -> return () ("Bash","FindStrings") -> return () ("Bash","FindSubstitutions") -> return () ("Bash","FindTests") -> return () ("Bash","ExprDblParen") -> return () ("Bash","ExprDblParenSubst") -> return () ("Bash","ExprSubParen") -> return () ("Bash","ExprBracket") -> return () ("Bash","ExprDblBracket") -> return () ("Bash","Group") -> return () ("Bash","SubShell") -> return () ("Bash","Assign") -> (popContext) >> pEndLine ("Bash","AssignArray") -> (popContext) >> pEndLine ("Bash","AssignSubscr") -> (popContext) >> pEndLine ("Bash","Subscript") -> return () ("Bash","FunctionDef") -> (popContext) >> pEndLine ("Bash","VarName") -> (popContext) >> pEndLine ("Bash","ProcessSubst") -> return () ("Bash","StringSQ") -> return () ("Bash","StringDQ") -> return () ("Bash","StringEsc") -> return () ("Bash","VarBrace") -> return () ("Bash","VarAlt") -> return () ("Bash","VarSubst") -> return () ("Bash","VarSubst2") -> return () ("Bash","VarSub") -> return () ("Bash","VarSub2") -> return () ("Bash","SubstFile") -> return () ("Bash","SubstCommand") -> return () ("Bash","SubstBackq") -> return () ("Bash","Case") -> return () ("Bash","CaseIn") -> return () ("Bash","CaseExpr") -> return () ("Bash","HereDoc") -> return () ("Bash","HereDocRemainder") -> (popContext) >> pEndLine ("Bash","HereDocQ") -> return () ("Bash","HereDocNQ") -> return () ("Bash","HereDocIQ") -> return () ("Bash","HereDocINQ") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_keywords = Set.fromList $ words $ "else for function in select until while elif then set" list_builtins = Set.fromList $ words $ ": source alias bg bind break builtin cd caller command compgen complete continue dirs disown echo enable eval exec exit fc fg getopts hash help history jobs kill let logout popd printf pushd pwd return set shift shopt suspend test time times trap type ulimit umask unalias wait" list_builtins'5fvar = Set.fromList $ words $ "export unset declare typeset local read readonly" list_unixcommands = Set.fromList $ words $ "arch awk bash bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore cat chattr chgrp chmod chown chvt cp date dd deallocvt df dir dircolors dmesg dnsdomainname domainname du dumpkeys echo ed egrep false fgconsole fgrep fuser gawk getkeycodes gocr grep groff groups gunzip gzexe gzip hostname igawk install kbd_mode kbdrate killall last lastb link ln loadkeys loadunimap login ls lsattr lsmod lsmod.old lzcat lzcmp lzdiff lzegrep lzfgrep lzgrep lzless lzcat lzma lzmainfo lzmore mapscrn mesg mkdir mkfifo mknod mktemp more mount mv nano netstat nisdomainname nroff openvt pgawk pidof ping ps pstree pwd rbash readlink red resizecons rm rmdir run-parts sash sed setfont setkeycodes setleds setmetamode setserial sh showkey shred sleep ssed stat stty su sync tar tempfile touch troff true umount uname unicode_start unicode_stop unlink unlzma unxz utmpdump uuidgen vdir wall wc xz xzcat ypdomainname zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew zsh aclocal aconnect aplay apm apmsleep apropos ar arecord as as86 autoconf autoheader automake awk basename bc bison c++ cal cat cc cdda2wav cdparanoia cdrdao cd-read cdrecord chfn chgrp chmod chown chroot chsh clear cmp co col comm cp cpio cpp cut dc dd df diff diff3 dir dircolors directomatic dirname du env expr fbset file find flex flex++ fmt free ftp funzip fuser g++ gawk gc gcc gdb getent getopt gettext gettextize gimp gimp-remote gimptool gmake gs head hexdump id install join kill killall ld ld86 ldd less lex ln locate lockfile logname lp lpr ls lynx m4 make man mkdir mknod msgfmt mv namei nasm nawk nice nl nm nm86 nmap nohup nop od passwd patch pcregrep pcretest perl perror pidof pr printf procmail prune ps2ascii ps2epsi ps2frag ps2pdf ps2ps psbook psmerge psnup psresize psselect pstops rcs rev rm scp sed seq setterm shred size size86 skill slogin snice sort sox split ssh ssh-add ssh-agent ssh-keygen ssh-keyscan stat strings strip sudo suidperl sum tac tail tee test tr uniq unlink unzip updatedb updmap uptime users vmstat w wc wget whatis whereis which who whoami write xargs yacc yes zip zsoelim dcop kdialog kfile xhost xmodmap xset" regex_'5b'5cs'3b'5d'28'3f'3d'23'29 = compileRegex True "[\\s;](?=#)" regex_'5b'5e'29'5d'28'3f'3d'5c'29'29 = compileRegex True "[^)](?=\\))" regex_'5b'5e'60'5d'28'3f'3d'60'29 = compileRegex True "[^`](?=`)" regex_'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\[\\[(?=($|\\s))" regex_'5cs'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\s\\[\\[(?=($|\\s))" regex_'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\[(?=($|\\s))" regex_'5cs'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\s\\[(?=($|\\s))" regex_'5c'7b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\{(?=($|\\s))" regex_'5cbdo'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bdo(?![\\w$+-])" regex_'5cbdone'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bdone(?![\\w$+-])" regex_'5cbif'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\bif(?=($|\\s))" regex_'5cbfi'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bfi(?![\\w$+-])" regex_'5cbcase'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bcase(?![\\w$+-])" regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'2b'3f'3d = compileRegex True "\\b[A-Za-z_][A-Za-z0-9_]*\\+?=" regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'3f'3d'5c'5b'2e'2b'5c'5d'5c'2b'3f'3d'29 = compileRegex True "\\b[A-Za-z_][A-Za-z0-9_]*(?=\\[.+\\]\\+?=)" regex_'5cbfunction'5cb = compileRegex True "\\bfunction\\b" regex_'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'5cs'2a'5c'28'5c'29 = compileRegex True "[A-Za-z_:][A-Za-z0-9_:#%@-]*\\s*\\(\\)" regex_'5c'2e'28'3f'3d'5cs'29 = compileRegex True "\\.(?=\\s)" regex_'5cd'2a'3c'3c'3c = compileRegex True "\\d*<<<" regex_'5b'3c'3e'5d'5c'28 = compileRegex True "[<>]\\(" regex_'28'5b0'2d9'5d'2a'28'3e'7b1'2c2'7d'7c'3c'29'28'26'5b0'2d9'5d'2b'2d'3f'29'3f'7c'26'3e'7c'3e'26'7c'5b0'2d9'5d'2a'3c'3e'29 = compileRegex True "([0-9]*(>{1,2}|<)(&[0-9]+-?)?|&>|>&|[0-9]*<>)" regex_'28'5b'7c'26'5d'29'5c1'3f = compileRegex True "([|&])\\1?" regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 = compileRegex True "([\\w_@.%*?+-]|\\\\ )*(?=/)" regex_'7e'5cw'2a = compileRegex True "~\\w*" regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'2f'29'3b'24'60'27'22'5d'7c'24'29'29 = compileRegex True "/([\\w_@.%*?+-]|\\\\ )*(?=([/);$`'\"]|$))" regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'29'3b'24'60'27'22'5d'7c'24'29'29 = compileRegex True "/([\\w_@.%*?+-]|\\\\ )*(?=([\\s);$`'\"]|$))" regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a = compileRegex True "([\\w_@.%*?+-]|\\\\ )*" regex_'5c'5c'24 = compileRegex True "\\\\$" regex_'28'5b'7c'26'3b'5d'29'5c1'3f = compileRegex True "([|&;])\\1?" regex_'2d'3f'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a = compileRegex True "-?-[a-z][A-Za-z0-9_-]*" regex_'5c'5c'5b'5d'5b'3b'5c'5c'24'60'7b'7d'28'29'7c'26'3c'3e'2a_'5d = compileRegex True "\\\\[][;\\\\$`{}()|&<>* ]" regex_'5c'7b'28'3f'21'28'5cs'7c'24'29'29'5cS'2a'5c'7d = compileRegex True "\\{(?!(\\s|$))\\S*\\}" regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'2f'29'3a'3b'24'60'27'22'5d'7c'24'29'29 = compileRegex True "/([\\w_@.%*?+-]|\\\\ )*(?=([\\s/):;$`'\"]|$))" regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'5b = compileRegex True "\\$[A-Za-z_][A-Za-z0-9_]*\\[" regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "\\$[A-Za-z_][A-Za-z0-9_]*" regex_'5c'24'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d = compileRegex True "\\$[*@#?$!_0-9-]" regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'5c'7d = compileRegex True "\\$\\{[*@#?$!_0-9-]\\}" regex_'5c'24'5c'7b'23'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'5c'5b'5b'2a'40'5d'5c'5d'29'3f'5c'7d = compileRegex True "\\$\\{#[A-Za-z_][A-Za-z0-9_]*(\\[[*@]\\])?\\}" regex_'5c'24'5c'7b'21'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'5c'5b'5b'2a'40'5d'5c'5d'7c'5b'2a'40'5d'29'3f'5c'7d = compileRegex True "\\$\\{![A-Za-z_][A-Za-z0-9_]*(\\[[*@]\\]|[*@])?\\}" regex_'5c'24'5c'7b'23'5b0'2d9'5d'2b'5c'7d = compileRegex True "\\$\\{#[0-9]+\\}" regex_'5c'24'5c'7b'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "\\$\\{[A-Za-z_][A-Za-z0-9_]*" regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'28'3f'3d'5b'3a'23'25'2f'3d'3f'2b'2d'5d'29 = compileRegex True "\\$\\{[*@#?$!_0-9-](?=[:#%/=?+-])" regex_'5c'5c'5b'60'24'5c'5c'5d = compileRegex True "\\\\[`$\\\\]" regex_'2d'5babcdefghkprstuwxOGLSNozn'5d'28'3f'3d'5cs'29 = compileRegex True "-[abcdefghkprstuwxOGLSNozn](?=\\s)" regex_'2d'28'5bno'5dt'7cef'29'28'3f'3d'5cs'29 = compileRegex True "-([no]t|ef)(?=\\s)" regex_'28'5b'21'3d'5d'3d'3f'7c'5b'3e'3c'5d'29'28'3f'3d'5cs'29 = compileRegex True "([!=]=?|[><])(?=\\s)" regex_'2d'28eq'7cne'7c'5bgl'5d'5bte'5d'29'28'3f'3d'5cs'29 = compileRegex True "-(eq|ne|[gl][te])(?=\\s)" regex_'5cs'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 = compileRegex True "\\s\\](?=($|[\\s;|&]))" regex_'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 = compileRegex True "\\](?=($|[\\s;|&]))" regex_'5cs'5c'5d'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 = compileRegex True "\\s\\]\\](?=($|[\\s;|&]))" regex_'5c'5d'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 = compileRegex True "\\]\\](?=($|[\\s;|&]))" regex_'5b'5cw'3a'2c'2b'5f'2e'2f'2d'5d = compileRegex True "[\\w:,+_./-]" regex_'5cs'2b'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'28'5cs'2a'5c'28'5c'29'29'3f = compileRegex True "\\s+[A-Za-z_:][A-Za-z0-9_:#%@-]*(\\s*\\(\\))?" regex_'2d'5bA'2dZa'2dz0'2d9'5d'2b = compileRegex True "-[A-Za-z0-9]+" regex_'2d'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a = compileRegex True "--[a-z][A-Za-z0-9_-]*" regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "\\b[A-Za-z_][A-Za-z0-9_]*" regex_'5b'5e'5d'7d'29'7c'3b'60'26'3e'3c'5d = compileRegex True "[^]})|;`&><]" regex_'5c'5c'5b'60'22'5c'5c'24'5cn'5d = compileRegex True "\\\\[`\"\\\\$\\n]" regex_'5c'5c'5babefnrtv'5c'5c'27'5d = compileRegex True "\\\\[abefnrtv\\\\']" regex_'5c'5c'28'5b0'2d7'5d'7b1'2c3'7d'7cx'5bA'2dFa'2df0'2d9'5d'7b1'2c2'7d'7cc'2e'29 = compileRegex True "\\\\([0-7]{1,3}|x[A-Fa-f0-9]{1,2}|c.)" regex_'28'3a'3f'5b'2d'3d'3f'2b'5d'7c'23'23'3f'7c'25'25'3f'29 = compileRegex True "(:?[-=?+]|##?|%%?)" regex_'2f'2f'3f = compileRegex True "//?" regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "[A-Za-z_][A-Za-z0-9_]*" regex_'5b0'2d9'5d'2b'28'3f'3d'5b'3a'7d'5d'29 = compileRegex True "[0-9]+(?=[:}])" regex_'5b0'2d9'5d'28'3f'3d'5b'3a'7d'5d'29 = compileRegex True "[0-9](?=[:}])" regex_'5csin'5cb = compileRegex True "\\sin\\b" regex_'5cbesac'28'3f'3d'24'7c'5b'5cs'3b'29'5d'29 = compileRegex True "\\besac(?=$|[\\s;)])" regex_esac'28'3f'3d'24'7c'5b'5cs'3b'29'5d'29 = compileRegex True "esac(?=$|[\\s;)])" regex_'28'3c'3c'2d'5cs'2a'22'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'22'29 = compileRegex True "(<<-\\s*\"([^|&;()<>\\s]+)\")" regex_'28'3c'3c'2d'5cs'2a'27'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'27'29 = compileRegex True "(<<-\\s*'([^|&;()<>\\s]+)')" regex_'28'3c'3c'2d'5cs'2a'5c'5c'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29 = compileRegex True "(<<-\\s*\\\\([^|&;()<>\\s]+))" regex_'28'3c'3c'2d'5cs'2a'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29 = compileRegex True "(<<-\\s*([^|&;()<>\\s]+))" regex_'28'3c'3c'5cs'2a'22'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'22'29 = compileRegex True "(<<\\s*\"([^|&;()<>\\s]+)\")" regex_'28'3c'3c'5cs'2a'27'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'27'29 = compileRegex True "(<<\\s*'([^|&;()<>\\s]+)')" regex_'28'3c'3c'5cs'2a'5c'5c'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29 = compileRegex True "(<<\\s*\\\\([^|&;()<>\\s]+))" regex_'28'3c'3c'5cs'2a'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29 = compileRegex True "(<<\\s*([^|&;()<>\\s]+))" parseRules ("Bash","Start") = (((parseRules ("Bash","FindAll"))) <|> (currentContext >>= \x -> guard (x == ("Bash","Start")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindAll") = (((parseRules ("Bash","FindComments"))) <|> ((parseRules ("Bash","FindCommands"))) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> (currentContext >>= \x -> guard (x == ("Bash","FindAll")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindMost") = (((parseRules ("Bash","FindComments"))) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> (currentContext >>= \x -> guard (x == ("Bash","FindMost")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindComments") = (((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Bash","Comment")) <|> ((pRegExpr regex_'5b'5cs'3b'5d'28'3f'3d'23'29 >>= withAttribute NormalTok) >>~ pushContext ("Bash","Comment")) <|> (currentContext >>= \x -> guard (x == ("Bash","FindComments")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","Comment") = (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((Text.Highlighting.Kate.Syntax.Modelines.parseExpression (Just ("Modelines","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("Bash","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Bash","FindCommentsParen") = (((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Bash","CommentParen")) <|> ((pRegExpr regex_'5b'5cs'3b'5d'28'3f'3d'23'29 >>= withAttribute NormalTok) >>~ pushContext ("Bash","CommentParen")) <|> (currentContext >>= \x -> guard (x == ("Bash","FindCommentsParen")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","CommentParen") = (((pRegExpr regex_'5b'5e'29'5d'28'3f'3d'5c'29'29 >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("Bash","CommentParen")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Bash","FindCommentsBackq") = (((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Bash","CommentBackq")) <|> ((pRegExpr regex_'5b'5cs'3b'5d'28'3f'3d'23'29 >>= withAttribute NormalTok) >>~ pushContext ("Bash","CommentBackq")) <|> (currentContext >>= \x -> guard (x == ("Bash","FindCommentsBackq")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","CommentBackq") = (((pRegExpr regex_'5b'5e'60'5d'28'3f'3d'60'29 >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("Bash","CommentBackq")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Bash","FindCommands") = (((parseRules ("Bash","FindSpecialCommands"))) <|> ((parseRules ("Bash","FindNormalCommands"))) <|> (currentContext >>= \x -> guard (x == ("Bash","FindCommands")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindSpecialCommands") = (((pDetect2Chars False '(' '(' >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ExprDblParen")) <|> ((pColumn 0 >> pRegExpr regex_'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ExprDblBracket")) <|> ((pRegExpr regex_'5cs'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ExprDblBracket")) <|> ((pColumn 0 >> pRegExpr regex_'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ExprBracket")) <|> ((pRegExpr regex_'5cs'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ExprBracket")) <|> ((pRegExpr regex_'5c'7b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","Group")) <|> ((pDetectChar False '(' >>= withAttribute KeywordTok) >>~ pushContext ("Bash","SubShell")) <|> ((pRegExpr regex_'5cbdo'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbdone'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbif'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbfi'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbcase'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","Case")) <|> ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'2b'3f'3d >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign")) <|> ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'3f'3d'5c'5b'2e'2b'5c'5d'5c'2b'3f'3d'29 >>= withAttribute OtherTok) >>~ pushContext ("Bash","AssignSubscr")) <|> ((pString False ":()" >>= withAttribute FunctionTok)) <|> ((pRegExpr regex_'5cbfunction'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Bash","FunctionDef")) <|> ((pRegExpr regex_'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'5cs'2a'5c'28'5c'29 >>= withAttribute FunctionTok)) <|> ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_keywords >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5c'2e'28'3f'3d'5cs'29 >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins'5fvar >>= withAttribute KeywordTok) >>~ pushContext ("Bash","VarName")) <|> ((pRegExpr regex_'5cd'2a'3c'3c'3c >>= withAttribute KeywordTok)) <|> ((lookAhead (pString False "<<") >> pushContext ("Bash","HereDoc") >> currentContext >>= parseRules)) <|> ((pRegExpr regex_'5b'3c'3e'5d'5c'28 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ProcessSubst")) <|> ((pRegExpr regex_'28'5b0'2d9'5d'2a'28'3e'7b1'2c2'7d'7c'3c'29'28'26'5b0'2d9'5d'2b'2d'3f'29'3f'7c'26'3e'7c'3e'26'7c'5b0'2d9'5d'2a'3c'3e'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'28'5b'7c'26'5d'29'5c1'3f >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("Bash","FindSpecialCommands")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindNormalCommands") = (((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs")) <|> ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_unixcommands >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs")) <|> ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'7e'5cw'2a >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'2f'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs")) <|> ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs")) <|> (currentContext >>= \x -> guard (x == ("Bash","FindNormalCommands")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","CommandArgs") = (((pLineContinue >>= withAttribute NormalTok)) <|> ((parseRules ("Bash","FindMost"))) <|> ((pRegExpr regex_'5c'5c'24 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5c'2e'28'3f'3d'5cs'29 >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5cd'2a'3c'3c'3c >>= withAttribute KeywordTok)) <|> ((lookAhead (pString False "<<") >> pushContext ("Bash","HereDoc") >> currentContext >>= parseRules)) <|> ((pRegExpr regex_'5b'3c'3e'5d'5c'28 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","ProcessSubst")) <|> ((pRegExpr regex_'28'5b0'2d9'5d'2a'28'3e'7b1'2c2'7d'7c'3c'29'28'26'5b0'2d9'5d'2b'2d'3f'29'3f'7c'26'3e'7c'3e'26'7c'5b0'2d9'5d'2a'3c'3e'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'28'5b'7c'26'3b'5d'29'5c1'3f >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pRegExpr regex_'2d'3f'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_keywords >>= withAttribute NormalTok)) <|> ((lookAhead (pAnyChar ")}") >> (popContext) >> currentContext >>= parseRules)) <|> (currentContext >>= \x -> guard (x == ("Bash","CommandArgs")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindCommandsBackq") = (((parseRules ("Bash","FindSpecialCommands"))) <|> ((parseRules ("Bash","FindNormalCommandsBackq"))) <|> (currentContext >>= \x -> guard (x == ("Bash","FindCommandsBackq")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindNormalCommandsBackq") = (((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgsBackq")) <|> ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_unixcommands >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgsBackq")) <|> ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'7e'5cw'2a >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'2f'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'29'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgsBackq")) <|> ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgsBackq")) <|> (currentContext >>= \x -> guard (x == ("Bash","FindNormalCommandsBackq")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","CommandArgsBackq") = (((pLineContinue >>= withAttribute NormalTok)) <|> ((lookAhead (pDetectChar False '`') >> (popContext) >> currentContext >>= parseRules)) <|> ((parseRules ("Bash","CommandArgs"))) <|> (currentContext >>= \x -> guard (x == ("Bash","CommandArgsBackq")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindOthers") = (((pRegExpr regex_'5c'5c'5b'5d'5b'3b'5c'5c'24'60'7b'7d'28'29'7c'26'3c'3e'2a_'5d >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'5c'5c'24 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5c'7b'28'3f'21'28'5cs'7c'24'29'29'5cS'2a'5c'7d >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'7e'5cw'2a >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'2f'29'3a'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("Bash","FindOthers")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindStrings") = (((pDetect2Chars False '\\' '\'' >>= withAttribute DataTypeTok)) <|> ((pDetect2Chars False '\\' '"' >>= withAttribute DataTypeTok)) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Bash","StringSQ")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Bash","StringDQ")) <|> ((pDetect2Chars False '$' '\'' >>= withAttribute StringTok) >>~ pushContext ("Bash","StringEsc")) <|> ((pDetect2Chars False '$' '"' >>= withAttribute StringTok) >>~ pushContext ("Bash","StringDQ")) <|> (currentContext >>= \x -> guard (x == ("Bash","FindStrings")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindSubstitutions") = (((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'5b >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript")) <|> ((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5c'24'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'5c'7d >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5c'24'5c'7b'23'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'5c'5b'5b'2a'40'5d'5c'5d'29'3f'5c'7d >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5c'24'5c'7b'21'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'28'5c'5b'5b'2a'40'5d'5c'5d'7c'5b'2a'40'5d'29'3f'5c'7d >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5c'24'5c'7b'23'5b0'2d9'5d'2b'5c'7d >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5c'24'5c'7b'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarBrace")) <|> ((pRegExpr regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'28'3f'3d'5b'3a'23'25'2f'3d'3f'2b'2d'5d'29 >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarBrace")) <|> ((pString False "$((" >>= withAttribute OtherTok) >>~ pushContext ("Bash","ExprDblParenSubst")) <|> ((pString False "$(<" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","SubstFile")) <|> ((pString False "$(" >>= withAttribute OtherTok) >>~ pushContext ("Bash","SubstCommand")) <|> ((pDetectChar False '`' >>= withAttribute KeywordTok) >>~ pushContext ("Bash","SubstBackq")) <|> ((pRegExpr regex_'5c'5c'5b'60'24'5c'5c'5d >>= withAttribute DataTypeTok)) <|> (currentContext >>= \x -> guard (x == ("Bash","FindSubstitutions")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","FindTests") = (((pRegExpr regex_'2d'5babcdefghkprstuwxOGLSNozn'5d'28'3f'3d'5cs'29 >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'2d'28'5bno'5dt'7cef'29'28'3f'3d'5cs'29 >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'28'5b'21'3d'5d'3d'3f'7c'5b'3e'3c'5d'29'28'3f'3d'5cs'29 >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'2d'28eq'7cne'7c'5bgl'5d'5bte'5d'29'28'3f'3d'5cs'29 >>= withAttribute OtherTok)) <|> (currentContext >>= \x -> guard (x == ("Bash","FindTests")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","ExprDblParen") = (((pDetect2Chars False ')' ')' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Bash","ExprSubParen")) <|> ((parseRules ("Bash","FindMost"))) <|> (currentContext >>= \x -> guard (x == ("Bash","ExprDblParen")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","ExprDblParenSubst") = (((pDetect2Chars False ')' ')' >>= withAttribute OtherTok) >>~ (popContext)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Bash","ExprSubParen")) <|> ((parseRules ("Bash","FindMost"))) <|> (currentContext >>= \x -> guard (x == ("Bash","ExprDblParenSubst")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","ExprSubParen") = (((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Bash","ExprSubParen")) <|> ((parseRules ("Bash","FindMost"))) <|> (currentContext >>= \x -> guard (x == ("Bash","ExprSubParen")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","ExprBracket") = (((pRegExpr regex_'5cs'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pColumn 0 >> pRegExpr regex_'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Bash","ExprSubParen")) <|> ((parseRules ("Bash","FindTests"))) <|> ((parseRules ("Bash","FindMost"))) <|> (currentContext >>= \x -> guard (x == ("Bash","ExprBracket")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","ExprDblBracket") = (((pRegExpr regex_'5cs'5c'5d'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pColumn 0 >> pRegExpr regex_'5c'5d'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Bash","ExprSubParen")) <|> ((parseRules ("Bash","FindTests"))) <|> ((parseRules ("Bash","FindMost"))) <|> (currentContext >>= \x -> guard (x == ("Bash","ExprDblBracket")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","Group") = (((pDetectChar False '}' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((parseRules ("Bash","FindAll"))) <|> (currentContext >>= \x -> guard (x == ("Bash","Group")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","SubShell") = (((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((parseRules ("Bash","FindAll"))) <|> (currentContext >>= \x -> guard (x == ("Bash","SubShell")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","Assign") = (((pDetectChar False '(' >>= withAttribute OtherTok) >>~ pushContext ("Bash","AssignArray")) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> ((pRegExpr regex_'5b'5cw'3a'2c'2b'5f'2e'2f'2d'5d >>= withAttribute NormalTok)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("Bash","AssignArray") = (((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext)) <|> ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript")) <|> ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign")) <|> ((parseRules ("Bash","FindMost"))) <|> (currentContext >>= \x -> guard (x == ("Bash","AssignArray")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","AssignSubscr") = (((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript")) <|> ((pDetect2Chars False '+' '=' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign")) <|> ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign")) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("Bash","Subscript") = (((pDetectChar False ']' >>= withAttribute OtherTok) >>~ (popContext)) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> (currentContext >>= \x -> guard (x == ("Bash","Subscript")) >> pDefault >>= withAttribute OtherTok)) parseRules ("Bash","FunctionDef") = (((pRegExpr regex_'5cs'2b'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'28'5cs'2a'5c'28'5c'29'29'3f >>= withAttribute FunctionTok) >>~ (popContext)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("Bash","VarName") = (((pRegExpr regex_'2d'5bA'2dZa'2dz0'2d9'5d'2b >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'2d'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok)) <|> ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript")) <|> ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Assign")) <|> ((parseRules ("Bash","FindMost"))) <|> ((pRegExpr regex_'5b'5e'5d'7d'29'7c'3b'60'26'3e'3c'5d >>= withAttribute NormalTok)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("Bash","ProcessSubst") = (((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((parseRules ("Bash","FindCommentsParen"))) <|> ((parseRules ("Bash","FindCommands"))) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> (currentContext >>= \x -> guard (x == ("Bash","ProcessSubst")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","StringSQ") = (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Bash","StringSQ")) >> pDefault >>= withAttribute StringTok)) parseRules ("Bash","StringDQ") = (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pRegExpr regex_'5c'5c'5b'60'22'5c'5c'24'5cn'5d >>= withAttribute DataTypeTok)) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> (currentContext >>= \x -> guard (x == ("Bash","StringDQ")) >> pDefault >>= withAttribute StringTok)) parseRules ("Bash","StringEsc") = (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pRegExpr regex_'5c'5c'5babefnrtv'5c'5c'27'5d >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'5c'5c'28'5b0'2d7'5d'7b1'2c3'7d'7cx'5bA'2dFa'2df0'2d9'5d'7b1'2c2'7d'7cc'2e'29 >>= withAttribute DataTypeTok)) <|> (currentContext >>= \x -> guard (x == ("Bash","StringEsc")) >> pDefault >>= withAttribute StringTok)) parseRules ("Bash","VarBrace") = (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext)) <|> ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Bash","Subscript")) <|> ((pRegExpr regex_'28'3a'3f'5b'2d'3d'3f'2b'5d'7c'23'23'3f'7c'25'25'3f'29 >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarAlt")) <|> ((pRegExpr regex_'2f'2f'3f >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarSubst")) <|> ((pDetectChar False ':' >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarSub")) <|> (currentContext >>= \x -> guard (x == ("Bash","VarBrace")) >> pDefault >>= withAttribute ErrorTok)) parseRules ("Bash","VarAlt") = (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext)) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> (currentContext >>= \x -> guard (x == ("Bash","VarAlt")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","VarSubst") = (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext)) <|> ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarSubst2")) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> (currentContext >>= \x -> guard (x == ("Bash","VarSubst")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","VarSubst2") = (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext >> popContext)) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> (currentContext >>= \x -> guard (x == ("Bash","VarSubst2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","VarSub") = (((pDetectChar False ':' >>= withAttribute OtherTok) >>~ pushContext ("Bash","VarSub2")) <|> ((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5b0'2d9'5d'2b'28'3f'3d'5b'3a'7d'5d'29 >>= withAttribute OtherTok)) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> (currentContext >>= \x -> guard (x == ("Bash","VarSub")) >> pDefault >>= withAttribute ErrorTok)) parseRules ("Bash","VarSub2") = (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext >> popContext >> popContext)) <|> ((pRegExpr regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5b0'2d9'5d'28'3f'3d'5b'3a'7d'5d'29 >>= withAttribute OtherTok)) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> (currentContext >>= \x -> guard (x == ("Bash","VarSub2")) >> pDefault >>= withAttribute ErrorTok)) parseRules ("Bash","SubstFile") = (((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((parseRules ("Bash","FindCommentsParen"))) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> (currentContext >>= \x -> guard (x == ("Bash","SubstFile")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","SubstCommand") = (((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext)) <|> ((parseRules ("Bash","FindCommentsParen"))) <|> ((parseRules ("Bash","FindCommands"))) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> (currentContext >>= \x -> guard (x == ("Bash","SubstCommand")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","SubstBackq") = (((pDetectChar False '`' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((parseRules ("Bash","FindCommentsBackq"))) <|> ((parseRules ("Bash","FindCommandsBackq"))) <|> ((parseRules ("Bash","FindStrings"))) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> ((parseRules ("Bash","FindOthers"))) <|> (currentContext >>= \x -> guard (x == ("Bash","SubstBackq")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","Case") = (((pRegExpr regex_'5csin'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CaseIn")) <|> ((parseRules ("Bash","FindMost"))) <|> (currentContext >>= \x -> guard (x == ("Bash","Case")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","CaseIn") = (((pRegExpr regex_'5cbesac'28'3f'3d'24'7c'5b'5cs'3b'29'5d'29 >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> ((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CaseExpr")) <|> ((pAnyChar "(|" >>= withAttribute KeywordTok)) <|> ((parseRules ("Bash","FindMost"))) <|> (currentContext >>= \x -> guard (x == ("Bash","CaseIn")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","CaseExpr") = (((pDetect2Chars False ';' ';' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pFirstNonSpace >> lookAhead (pRegExpr regex_esac'28'3f'3d'24'7c'5b'5cs'3b'29'5d'29) >> (popContext) >> currentContext >>= parseRules)) <|> ((parseRules ("Bash","FindAll"))) <|> (currentContext >>= \x -> guard (x == ("Bash","CaseExpr")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","HereDoc") = (((lookAhead (pRegExpr regex_'28'3c'3c'2d'5cs'2a'22'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'22'29) >> pushContext ("Bash","HereDocIQ") >> currentContext >>= parseRules)) <|> ((lookAhead (pRegExpr regex_'28'3c'3c'2d'5cs'2a'27'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'27'29) >> pushContext ("Bash","HereDocIQ") >> currentContext >>= parseRules)) <|> ((lookAhead (pRegExpr regex_'28'3c'3c'2d'5cs'2a'5c'5c'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Bash","HereDocIQ") >> currentContext >>= parseRules)) <|> ((lookAhead (pRegExpr regex_'28'3c'3c'2d'5cs'2a'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Bash","HereDocINQ") >> currentContext >>= parseRules)) <|> ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'22'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'22'29) >> pushContext ("Bash","HereDocQ") >> currentContext >>= parseRules)) <|> ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'27'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'27'29) >> pushContext ("Bash","HereDocQ") >> currentContext >>= parseRules)) <|> ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'5c'5c'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Bash","HereDocQ") >> currentContext >>= parseRules)) <|> ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'28'5b'5e'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Bash","HereDocNQ") >> currentContext >>= parseRules)) <|> ((pString False "<<" >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Bash","HereDoc")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","HereDocRemainder") = (((parseRules ("Bash","FindAll"))) <|> (currentContext >>= \x -> guard (x == ("Bash","HereDocRemainder")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","HereDocQ") = (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","HereDocRemainder")) <|> ((pColumn 0 >> pRegExprDynamic "%2\\b" >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("Bash","HereDocQ")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","HereDocNQ") = (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","HereDocRemainder")) <|> ((pColumn 0 >> pRegExprDynamic "%2\\b" >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> (currentContext >>= \x -> guard (x == ("Bash","HereDocNQ")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","HereDocIQ") = (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","HereDocRemainder")) <|> ((pColumn 0 >> pRegExprDynamic "\\t*%2\\b" >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("Bash","HereDocIQ")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Bash","HereDocINQ") = (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Bash","HereDocRemainder")) <|> ((pColumn 0 >> pRegExprDynamic "\\t*%2\\b" >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> ((parseRules ("Bash","FindSubstitutions"))) <|> (currentContext >>= \x -> guard (x == ("Bash","HereDocINQ")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules ("Modelines", _) = Text.Highlighting.Kate.Syntax.Modelines.parseExpression Nothing parseRules x = parseRules ("Bash","Start") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Bibtex.hs0000644000000000000000000001547512633103275022565 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file bibtex.xml, version 1.17, by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de) -} module Text.Highlighting.Kate.Syntax.Bibtex (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "BibTeX" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.bib" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("BibTeX","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("BibTeX","Normal") -> return () ("BibTeX","PreambleCommand") -> return () ("BibTeX","StringCommand") -> return () ("BibTeX","Entry") -> return () ("BibTeX","Field") -> return () ("BibTeX","CurlyBracket") -> return () ("BibTeX","QuotedText") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_kw'5fentry = Set.fromList $ words $ "@article @book @booklet @conference @collection @electronic @inbook @incollection @inproceedings @manual @mastersthesis @misc @online @patent @periodical @proceedings @report @phdthesis @set @thesis @techreport @unpublished @www @person @company @place" regex_'5ba'2dzA'2dZ0'2d9'5c'2d'5d'2b = compileRegex True "[a-zA-Z0-9\\-]+" regex_'5ba'2dzA'2dZ0'2d9'5f'40'5c'5c'2d'5c'5c'3a'5d'2b = compileRegex True "[a-zA-Z0-9_@\\\\-\\\\:]+" regex_'5ba'2dzA'2dZ0'2d9'5c'2d'5f'5c'2e'5d'2b = compileRegex True "[a-zA-Z0-9\\-_\\.]+" regex_'5b0'2d9'5d'2b = compileRegex True "[0-9]+" regex_'2e = compileRegex True "." regex_'5c'5c'28'5ba'2dzA'2dZ'40'5d'2b'7c'5b'5e_'5d'29 = compileRegex True "\\\\([a-zA-Z@]+|[^ ])" regex_'7d'24 = compileRegex True "}$" parseRules ("BibTeX","Normal") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~" list_kw'5fentry >>= withAttribute KeywordTok) >>~ pushContext ("BibTeX","Entry")) <|> ((pString False "@string" >>= withAttribute FunctionTok) >>~ pushContext ("BibTeX","StringCommand")) <|> ((pString False "@preamble" >>= withAttribute FunctionTok) >>~ pushContext ("BibTeX","PreambleCommand")) <|> ((pString False "@comment" >>= withAttribute CommentTok)) <|> (currentContext >>= \x -> guard (x == ("BibTeX","Normal")) >> pDefault >>= withAttribute CommentTok)) parseRules ("BibTeX","PreambleCommand") = (((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("BibTeX","CurlyBracket")) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("BibTeX","StringCommand") = (((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("BibTeX","CurlyBracket")) <|> ((pRegExpr regex_'5ba'2dzA'2dZ0'2d9'5c'2d'5d'2b >>= withAttribute StringTok) >>~ pushContext ("BibTeX","CurlyBracket")) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("BibTeX","Entry") = (((pDetectChar False '{' >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5ba'2dzA'2dZ0'2d9'5f'40'5c'5c'2d'5c'5c'3a'5d'2b >>= withAttribute OtherTok)) <|> ((pDetectChar False ',' >>= withAttribute NormalTok) >>~ pushContext ("BibTeX","Field")) <|> ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("BibTeX","Entry")) >> pDefault >>= withAttribute NormalTok)) parseRules ("BibTeX","Field") = (((pFirstNonSpace >> pRegExpr regex_'5ba'2dzA'2dZ0'2d9'5c'2d'5f'5c'2e'5d'2b >>= withAttribute DataTypeTok)) <|> ((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectChar False '=' >>= withAttribute NormalTok)) <|> ((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("BibTeX","CurlyBracket")) <|> ((lookAhead (pDetectChar False '}') >> (popContext) >> currentContext >>= parseRules)) <|> ((pDetectChar False '"' >>= withAttribute NormalTok) >>~ pushContext ("BibTeX","QuotedText")) <|> ((pDetectChar False ',' >>= withAttribute NormalTok)) <|> ((pDetectChar False '#' >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5b0'2d9'5d'2b >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5ba'2dzA'2dZ0'2d9'5c'2d'5d'2b >>= withAttribute StringTok)) <|> ((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'2e >>= withAttribute AlertTok)) <|> (currentContext >>= \x -> guard (x == ("BibTeX","Field")) >> pDefault >>= withAttribute NormalTok)) parseRules ("BibTeX","CurlyBracket") = (((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("BibTeX","CurlyBracket")) <|> ((pRegExpr regex_'5c'5c'28'5ba'2dzA'2dZ'40'5d'2b'7c'5b'5e_'5d'29 >>= withAttribute CharTok)) <|> ((pRegExpr regex_'7d'24 >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("BibTeX","CurlyBracket")) >> pDefault >>= withAttribute NormalTok)) parseRules ("BibTeX","QuotedText") = (((pDetectChar False '"' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pRegExpr regex_'5c'5c'28'5ba'2dzA'2dZ'40'5d'2b'7c'5b'5e_'5d'29 >>= withAttribute CharTok)) <|> (currentContext >>= \x -> guard (x == ("BibTeX","QuotedText")) >> pDefault >>= withAttribute StringTok)) parseRules x = parseRules ("BibTeX","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Boo.hs0000644000000000000000000003543412633103275022064 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file boo.xml, version 0.91, by Marc Dassonneville -} module Text.Highlighting.Kate.Syntax.Boo (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Boo" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.boo" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Boo","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Boo","Normal") -> return () ("Boo","parenthesised") -> return () ("Boo","Quasi-Quotation") -> return () ("Boo","Tripple A-comment") -> return () ("Boo","Tripple Q-comment") -> return () ("Boo","Tripple A-string") -> return () ("Boo","Raw Tripple A-string") -> return () ("Boo","Tripple Q-string") -> return () ("Boo","Raw Tripple Q-string") -> return () ("Boo","Comment SlashSlash") -> (popContext) >> pEndLine ("Boo","Single A-comment") -> return () ("Boo","Single Q-comment") -> return () ("Boo","Single A-string") -> return () ("Boo","Single Q-string") -> return () ("Boo","Raw A-string") -> return () ("Boo","Raw Q-string") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_namespace = Set.fromList $ words $ "import from as namespace" list_operators = Set.fromList $ words $ "and assert in is not or" list_primitive = Set.fromList $ words $ "bool byte sbyte double decimal single short ushort int char uint long ulong object duck string regex date timespan" list_definition = Set.fromList $ words $ "abstract virtual override static final transient macro protected private public internal partial class struct interface enum callable of def constructor destructor do get set event return yield" list_boolean = Set.fromList $ words $ "true false" list_literals = Set.fromList $ words $ "null self super" list_keywords = Set.fromList $ words $ "and break cast continue elif else except ensure for given goto if in is isa not or otherwise pass raise try unless when while ref" list_builtins = Set.fromList $ words $ "assert __eval__ __switch__ enumerate filter len typeof map max min property using getter required lock range zip checked unchecked rawArrayIndexing normalArrayIndexing print array matrix yieldAll" regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2b = compileRegex True "[a-zA-Z_][a-zA-Z_0-9]+" regex__'28'28'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'7c'28'5b0'2d9'5d'2b'7c'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'29'5beE'5d'28'5c'2b'7c'2d'29'3f'5b0'2d9'5d'2b'29'7c'5b0'2d9'5d'2b'29'5bjJ'5d = compileRegex True " ((([0-9]*\\.[0-9]+|[0-9]+\\.)|([0-9]+|([0-9]*\\.[0-9]+|[0-9]+\\.))[eE](\\+|-)?[0-9]+)|[0-9]+)[jJ]" regex_'28'5b0'2d9'5d'2b'5c'2e'5b0'2d9'5d'2a'7c'5c'2e'5b0'2d9'5d'2b'29'28'5beE'5d'5b0'2d9'5d'2b'29'3f = compileRegex True "([0-9]+\\.[0-9]*|\\.[0-9]+)([eE][0-9]+)?" regex_'28'5b1'2d9'5d'5b0'2d9'5d'2a'28'5beE'5d'5b0'2d9'5d'2b'29'3f'7c0'29 = compileRegex True "([1-9][0-9]*([eE][0-9]+)?|0)" regex_'5b1'2d9'5d'5b0'2d9'5d'2a'28'5beE'5d'5b0'2d9'2e'5d'2b'29'3f'5bLl'5d = compileRegex True "[1-9][0-9]*([eE][0-9.]+)?[Ll]" regex_0'5bXx'5d'5b0'2d9a'2dfA'2dF'5d'2b = compileRegex True "0[Xx][0-9a-fA-F]+" regex_0'5b1'2d9'5d'5b0'2d9'5d'2a = compileRegex True "0[1-9][0-9]*" regex_'5brR'5d'27'27'27 = compileRegex True "[rR]'''" regex_'5brR'5d'22'22'22 = compileRegex True "[rR]\"\"\"" regex_'5brR'5d'27 = compileRegex True "[rR]'" regex_'5brR'5d'22 = compileRegex True "[rR]\"" regex_'23'2e'2a'24 = compileRegex True "#.*$" regex_'5cs'2au'3f'27'27'27 = compileRegex True "\\s*u?'''" regex_'5cs'2au'3f'22'22'22 = compileRegex True "\\s*u?\"\"\"" regex_'5b'2b'2a'2f'25'5c'7c'3d'3b'5c'21'3c'3e'21'5e'26'7e'2d'5d = compileRegex True "[+*/%\\|=;\\!<>!^&~-]" regex_'25'5ba'2dzA'2dZ'5d = compileRegex True "%[a-zA-Z]" regex_'22'22'22 = compileRegex True "\"\"\"" regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d = compileRegex True "%\\([a-zA-Z0-9_]+\\)[a-zA-Z]" regex_'27'27'27 = compileRegex True "'''" parseRules ("Boo","Normal") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_namespace >>= withAttribute CharTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_definition >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_operators >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_builtins >>= withAttribute DataTypeTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_literals >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_boolean >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_primitive >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2b >>= withAttribute NormalTok)) <|> ((pRegExpr regex__'28'28'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'7c'28'5b0'2d9'5d'2b'7c'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'29'5beE'5d'28'5c'2b'7c'2d'29'3f'5b0'2d9'5d'2b'29'7c'5b0'2d9'5d'2b'29'5bjJ'5d >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'28'5b0'2d9'5d'2b'5c'2e'5b0'2d9'5d'2a'7c'5c'2e'5b0'2d9'5d'2b'29'28'5beE'5d'5b0'2d9'5d'2b'29'3f >>= withAttribute FloatTok)) <|> ((pRegExpr regex_'28'5b1'2d9'5d'5b0'2d9'5d'2a'28'5beE'5d'5b0'2d9'5d'2b'29'3f'7c0'29 >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5b1'2d9'5d'5b0'2d9'5d'2a'28'5beE'5d'5b0'2d9'2e'5d'2b'29'3f'5bLl'5d >>= withAttribute OtherTok)) <|> ((pRegExpr regex_0'5bXx'5d'5b0'2d9a'2dfA'2dF'5d'2b >>= withAttribute OtherTok)) <|> ((pRegExpr regex_0'5b1'2d9'5d'5b0'2d9'5d'2a >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5brR'5d'27'27'27 >>= withAttribute StringTok) >>~ pushContext ("Boo","Raw Tripple A-string")) <|> ((pRegExpr regex_'5brR'5d'22'22'22 >>= withAttribute StringTok) >>~ pushContext ("Boo","Raw Tripple Q-string")) <|> ((pRegExpr regex_'5brR'5d'27 >>= withAttribute StringTok) >>~ pushContext ("Boo","Raw A-string")) <|> ((pRegExpr regex_'5brR'5d'22 >>= withAttribute StringTok) >>~ pushContext ("Boo","Raw Q-string")) <|> ((pRegExpr regex_'23'2e'2a'24 >>= withAttribute CommentTok)) <|> ((pColumn 0 >> pRegExpr regex_'5cs'2au'3f'27'27'27 >>= withAttribute CommentTok) >>~ pushContext ("Boo","Tripple A-comment")) <|> ((pColumn 0 >> pRegExpr regex_'5cs'2au'3f'22'22'22 >>= withAttribute CommentTok) >>~ pushContext ("Boo","Tripple Q-comment")) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Boo","Comment SlashSlash")) <|> ((pString False "'''" >>= withAttribute StringTok) >>~ pushContext ("Boo","Tripple A-string")) <|> ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Boo","Tripple Q-string")) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Boo","Single A-string")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Boo","Single Q-string")) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Boo","parenthesised")) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pString False "[|" >>= withAttribute NormalTok) >>~ pushContext ("Boo","Quasi-Quotation")) <|> ((pString False "|]" >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pRegExpr regex_'5b'2b'2a'2f'25'5c'7c'3d'3b'5c'21'3c'3e'21'5e'26'7e'2d'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("Boo","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Boo","parenthesised") = (((parseRules ("Boo","Normal"))) <|> (currentContext >>= \x -> guard (x == ("Boo","parenthesised")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Boo","Quasi-Quotation") = (((parseRules ("Boo","Normal"))) <|> (currentContext >>= \x -> guard (x == ("Boo","Quasi-Quotation")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Boo","Tripple A-comment") = (((pString False "'''" >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Tripple A-comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Boo","Tripple Q-comment") = (((pHlCChar >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'22'22'22 >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Tripple Q-comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Boo","Tripple A-string") = (((pHlCStringChar >>= withAttribute CharTok)) <|> ((pRegExpr regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'27'27'27 >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Tripple A-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Boo","Raw Tripple A-string") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pRegExpr regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'27'27'27 >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Raw Tripple A-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Boo","Tripple Q-string") = (((pHlCStringChar >>= withAttribute CharTok)) <|> ((pRegExpr regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'22'22'22 >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Tripple Q-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Boo","Raw Tripple Q-string") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pRegExpr regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'22'22'22 >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Raw Tripple Q-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Boo","Comment SlashSlash") = (((pLineContinue >>= withAttribute CommentTok)) <|> (currentContext >>= \x -> guard (x == ("Boo","Comment SlashSlash")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Boo","Single A-comment") = (((pHlCStringChar >>= withAttribute CommentTok)) <|> ((pDetectChar False '\'' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Single A-comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Boo","Single Q-comment") = (((pHlCStringChar >>= withAttribute CommentTok)) <|> ((pDetectChar False '"' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Single Q-comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Boo","Single A-string") = (((pHlCStringChar >>= withAttribute CharTok)) <|> ((pRegExpr regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Single A-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Boo","Single Q-string") = (((pHlCStringChar >>= withAttribute CharTok)) <|> ((pRegExpr regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Single Q-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Boo","Raw A-string") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pRegExpr regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Raw A-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Boo","Raw Q-string") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pRegExpr regex_'25'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'25'5ba'2dzA'2dZ'5d >>= withAttribute NormalTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Boo","Raw Q-string")) >> pDefault >>= withAttribute StringTok)) parseRules x = parseRules ("Boo","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/C.hs0000644000000000000000000003273312633103275021526 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file c.xml, version 1.46, by -} module Text.Highlighting.Kate.Syntax.C (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Doxygen import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "C" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.c;*.C;*.h" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("C","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("C","Normal") -> return () ("C","String") -> (popContext) >> pEndLine ("C","Region Marker") -> (popContext) >> pEndLine ("C","Commentar 1") -> (popContext) >> pEndLine ("C","Commentar 2") -> return () ("C","AfterHash") -> (popContext) >> pEndLine ("C","Include") -> (popContext) >> pEndLine ("C","Preprocessor") -> (popContext) >> pEndLine ("C","Define") -> (popContext) >> pEndLine ("C","Commentar/Preprocessor") -> return () ("C","Outscoped") -> return () ("C","Outscoped intern") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_keywords = Set.fromList $ words $ "break case continue default do else enum extern for goto if inline return sizeof struct switch typedef union while" list_types = Set.fromList $ words $ "auto char const double float int long register restrict short signed static unsigned void volatile int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t wchar_t _Imaginary _Complex _Bool" regex_'23'5cs'2aif'5cs'2b0'5cs'2a'24 = compileRegex True "#\\s*if\\s+0\\s*$" regex_0b'5b01'5d'2b'5bul'5d'7b0'2c3'7d = compileRegex True "0b[01]+[ul]{0,3}" regex_'23'5cs'2a'28'3f'3ainclude'7cinclude'5fnext'29 = compileRegex True "#\\s*(?:include|include_next)" regex_'23'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'5cs'2b'5cS'29 = compileRegex True "#\\s*if(?:def|ndef)?(?=\\s+\\S)" regex_'23'5cs'2aendif = compileRegex True "#\\s*endif" regex_'23'5cs'2adefine'2e'2a'28'28'3f'3d'5c'5c'29'29 = compileRegex True "#\\s*define.*((?=\\\\))" regex_'23'5cs'2apragma'5cs'2bmark'5cs'2b'2d'5cs'2a'24 = compileRegex True "#\\s*pragma\\s+mark\\s+-\\s*$" regex_'23'5cs'2apragma'5cs'2bmark = compileRegex True "#\\s*pragma\\s+mark" regex_'23'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 = compileRegex True "#\\s*(?:el(?:se|if)|define|undef|line|error|warning|pragma)" regex_'23'5cs'2b'5b0'2d9'5d'2b = compileRegex True "#\\s+[0-9]+" regex_'23'5cs'2aif = compileRegex True "#\\s*if" regex_'23'5cs'2ael'28'3f'3ase'7cif'29 = compileRegex True "#\\s*el(?:se|if)" parseRules ("C","Normal") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'5cs'2b0'5cs'2a'24 >>= withAttribute OtherTok) >>~ pushContext ("C","Outscoped")) <|> ((pFirstNonSpace >> lookAhead (pDetectChar False '#') >> pushContext ("C","AfterHash") >> currentContext >>= parseRules)) <|> ((pFirstNonSpace >> pString False "//BEGIN" >>= withAttribute RegionMarkerTok) >>~ pushContext ("C","Region Marker")) <|> ((pFirstNonSpace >> pString False "//END" >>= withAttribute RegionMarkerTok) >>~ pushContext ("C","Region Marker")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\'\"" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\'\"" list_types >>= withAttribute DataTypeTok)) <|> ((pDetectIdentifier >>= withAttribute NormalTok)) <|> ((pDetectChar False '{' >>= withAttribute NormalTok)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok)) <|> (withChildren (pFloat >>= withAttribute FloatTok) ((pAnyChar "fF" >>= withAttribute FloatTok))) <|> ((pHlCOct >>= withAttribute BaseNTok)) <|> ((pHlCHex >>= withAttribute BaseNTok)) <|> ((pRegExpr regex_0b'5b01'5d'2b'5bul'5d'7b0'2c3'7d >>= withAttribute BaseNTok)) <|> (withChildren (pInt >>= withAttribute DecValTok) (((pString False "ULL" >>= withAttribute DecValTok)) <|> ((pString False "LUL" >>= withAttribute DecValTok)) <|> ((pString False "LLU" >>= withAttribute DecValTok)) <|> ((pString False "UL" >>= withAttribute DecValTok)) <|> ((pString False "LU" >>= withAttribute DecValTok)) <|> ((pString False "LL" >>= withAttribute DecValTok)) <|> ((pString False "U" >>= withAttribute DecValTok)) <|> ((pString False "L" >>= withAttribute DecValTok)))) <|> ((pHlCChar >>= withAttribute CharTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("C","String")) <|> ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")))) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar 1")) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar 2")) <|> ((pAnyChar ":!%&()+,-/.*<=>?[]|~^;" >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("C","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("C","String") = (((pLineContinue >>= withAttribute StringTok)) <|> ((pHlCStringChar >>= withAttribute CharTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("C","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("C","Region Marker") = (currentContext >>= \x -> guard (x == ("C","Region Marker")) >> pDefault >>= withAttribute RegionMarkerTok) parseRules ("C","Commentar 1") = (((pLineContinue >>= withAttribute CommentTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("C","Commentar 1")) >> pDefault >>= withAttribute CommentTok)) parseRules ("C","Commentar 2") = (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("C","Commentar 2")) >> pDefault >>= withAttribute CommentTok)) parseRules ("C","AfterHash") = (((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28'3f'3ainclude'7cinclude'5fnext'29 >>= withAttribute OtherTok) >>~ pushContext ("C","Include")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif'28'3f'3adef'7cndef'29'3f'28'3f'3d'5cs'2b'5cS'29 >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2adefine'2e'2a'28'28'3f'3d'5c'5c'29'29 >>= withAttribute OtherTok) >>~ pushContext ("C","Define")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2apragma'5cs'2bmark'5cs'2b'2d'5cs'2a'24 >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2apragma'5cs'2bmark >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2a'28'3f'3ael'28'3f'3ase'7cif'29'7cdefine'7cundef'7cline'7cerror'7cwarning'7cpragma'29 >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2b'5b0'2d9'5d'2b >>= withAttribute OtherTok) >>~ pushContext ("C","Preprocessor")) <|> (currentContext >>= \x -> guard (x == ("C","AfterHash")) >> pDefault >>= withAttribute ErrorTok)) parseRules ("C","Include") = (((pLineContinue >>= withAttribute OtherTok)) <|> ((pRangeDetect '"' '"' >>= withAttribute OtherTok)) <|> ((pRangeDetect '<' '>' >>= withAttribute OtherTok)) <|> ((parseRules ("C","Preprocessor"))) <|> (currentContext >>= \x -> guard (x == ("C","Include")) >> pDefault >>= withAttribute OtherTok)) parseRules ("C","Preprocessor") = (((pLineContinue >>= withAttribute OtherTok)) <|> ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute OtherTok) . snd))) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar/Preprocessor")) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar 1")) <|> (currentContext >>= \x -> guard (x == ("C","Preprocessor")) >> pDefault >>= withAttribute OtherTok)) parseRules ("C","Define") = (((pLineContinue >>= withAttribute OtherTok)) <|> (currentContext >>= \x -> guard (x == ("C","Define")) >> pDefault >>= withAttribute OtherTok)) parseRules ("C","Commentar/Preprocessor") = (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("C","Commentar/Preprocessor")) >> pDefault >>= withAttribute CommentTok)) parseRules ("C","Outscoped") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("C","String")) <|> ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar 1")) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar 2")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif >>= withAttribute CommentTok) >>~ pushContext ("C","Outscoped intern")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2ael'28'3f'3ase'7cif'29 >>= withAttribute OtherTok) >>~ (popContext)) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute OtherTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("C","Outscoped")) >> pDefault >>= withAttribute CommentTok)) parseRules ("C","Outscoped intern") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("C","String")) <|> ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar 1")) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("C","Commentar 2")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aif >>= withAttribute CommentTok) >>~ pushContext ("C","Outscoped intern")) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aendif >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("C","Outscoped intern")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen", _) = Text.Highlighting.Kate.Syntax.Doxygen.parseExpression Nothing parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules x = parseRules ("C","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Changelog.hs0000644000000000000000000000714212633103275023227 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file changelog.xml, version 1.04, by Dominik Haumann (dhdev@gmx.de) -} module Text.Highlighting.Kate.Syntax.Changelog (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) -- | Full name of language. syntaxName :: String syntaxName = "ChangeLog" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "ChangeLog" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("ChangeLog","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("ChangeLog","Normal") -> return () ("ChangeLog","line") -> (popContext) >> pEndLine ("ChangeLog","entry") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) regex_'5cd'5cd'5cd'5cd'5cs'2a'2d'5cs'2a'5cd'5cd'5cs'2a'2d'5cs'2a'5cd'5cd'5cs'2a = compileRegex True "\\d\\d\\d\\d\\s*-\\s*\\d\\d\\s*-\\s*\\d\\d\\s*" regex_'28'5cw'5cs'2a'29'2b = compileRegex True "(\\w\\s*)+" regex_'3c'2e'2a'3e'5cs'2a'24 = compileRegex True "<.*>\\s*$" regex_'2e'2a'3a = compileRegex True ".*:" parseRules ("ChangeLog","Normal") = (((pFirstNonSpace >> pDetectChar False '*' >>= withAttribute DecValTok) >>~ pushContext ("ChangeLog","entry")) <|> ((pColumn 0 >> pRegExpr regex_'5cd'5cd'5cd'5cd'5cs'2a'2d'5cs'2a'5cd'5cd'5cs'2a'2d'5cs'2a'5cd'5cd'5cs'2a >>= withAttribute DataTypeTok) >>~ pushContext ("ChangeLog","line")) <|> (currentContext >>= \x -> guard (x == ("ChangeLog","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ChangeLog","line") = (((pRegExpr regex_'28'5cw'5cs'2a'29'2b >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'3c'2e'2a'3e'5cs'2a'24 >>= withAttribute OtherTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ChangeLog","line")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ChangeLog","entry") = (((pRegExpr regex_'2e'2a'3a >>= withAttribute DecValTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ChangeLog","entry")) >> pDefault >>= withAttribute NormalTok)) parseRules x = parseRules ("ChangeLog","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Clojure.hs0000644000000000000000000003600112633103275022737 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file clojure.xml, version 2, by Dominik Haumann [lisp] modified for clojure by Caspar Hasenclever -} module Text.Highlighting.Kate.Syntax.Clojure (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Clojure" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.clj" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Clojure","Level0")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Clojure","Level0") -> return () ("Clojure","Default") -> return () ("Clojure","function_decl") -> return () ("Clojure","SpecialNumber") -> (popContext) >> pEndLine ("Clojure","String") -> return () ("Clojure","Level1") -> return () ("Clojure","Level2") -> return () ("Clojure","Level3") -> return () ("Clojure","Level4") -> return () ("Clojure","Level5") -> return () ("Clojure","Level6") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_definitions = Set.fromList $ words $ "def def- defalias defhinted definline defmacro defmacro- defmethod defmulti defn defn- defnk defn-memo defonce defonce- defprotocol defrecord defstruct defstruct- deftest deftest- deftype defunbound defunbound- defvar defvar-" list_keywords = Set.fromList $ words $ "< <= = == > >= - -> ->> / . .. * + accessor aclone add-classpath add-watcher agent agent-errors aget alength alias all-ns alter alter-meta! alter-var-root amap ancestors and append-child apply apply-template are areduce array-map aset aset-boolean aset-byte aset-char aset-double aset-float aset-int aset-long aset-short assert assert-any assert-expr assert-predicate assoc assoc! associative? assoc-in atom atom? attrs await await1 await-for bases bean bigdec bigint binding bit-and bit-and-not bit-clear bit-flip bit-not bit-or bit-set bit-shift-left bit-shift-right bit-test bit-xor boolean boolean-array booleans bound-fn bound-fn* branch? butlast byte byte-array bytes case cast catch char char? char-array char-escape-string char-name-string chars children chunk chunk-append chunk-buffer chunk-cons chunked-seq? chunk-first chunk-next chunk-rest class class? clear-agent-errors clojure-version coll? collection-tag comment commute comp comparator compare compare-and-set! compile complement compose-fixtures concat cond condp conj conj! cons constantly construct-proxy contains? content content-handler count counted? create-ns create-struct cycle dec decimal? declare delay delay? deliver deref derive descendants destructure difference disj disj! dissoc dissoc! distinct distinct? do doall doc dorun doseq dosync do-template dotimes doto double double-array doubles down drop drop-last drop-while e edit element emit emit-element empty empty? end? ensure enumeration-seq eval even? every? extend extenders extend-protocol extends? extend-type false? ffirst file-position file-seq filter finally find find-doc find-ns find-var first float float? float-array floats flush fn fn? fnext for force format function? future future? future-call future-cancel future-cancelled? future-done? gen-and-load-class gen-and-save-class gen-class gen-interface gensym get get-child get-child-count get-in get-method get-possibly-unbound-var get-proxy-class get-thread-bindings get-validator handle handler-case hash hash-map hash-set identical? identity if if-let ifn? if-not import inc inc-report-counter index init-proxy in-ns insert-child insert-left insert-right inspect inspect-table inspect-tree instance? int int-array integer? interleave intern interpose intersection into into-array ints io! is isa? is-leaf iterate iterator-seq join join-fixtures juxt key keys keyword keyword? keywordize-keys last lazy-cat lazy-seq left leftmost lefts let letfn line-seq list list* list? list-model list-provider load loaded-libs load-file load-reader load-script load-string locking long long-array longs loop macroexpand macroexpand-1 macroexpand-all main make-array make-hierarchy make-node map map? mapcat map-invert max max-key memfn memoize merge merge-with meta methods method-sig min min-key mod name namespace neg? newline next nfirst nil? nnext node not not= not-any? not-empty not-every? ns ns-aliases ns-imports ns-interns ns-map ns-name ns-publics ns-refers ns-resolve ns-unalias ns-unmap nth nthnext num number? odd? or parents partial partition path pcalls peek persistent! pmap pop pop! pop-thread-bindings pos? postwalk postwalk-demo postwalk-replace pr prefer-method prefers prev prewalk prewalk-demo prewalk-replace primitives-classnames print print-cause-trace print-ctor print-doc print-dup printf println println-str print-method print-namespace-doc print-simple print-special-doc print-stack-trace print-str print-throwable print-trace-element prn prn-str project promise proxy proxy-call-with-super proxy-mappings proxy-name proxy-super pr-str push-thread-bindings pvalues quot rand rand-int range ratio? rational? rationalize read read-line read-string recur reduce ref refer refer-clojure ref-history-count re-find ref-max-history ref-min-history ref-set re-groups reify release-pending-sends rem re-matcher re-matches remove remove-method remove-ns remove-watcher rename rename-keys re-pattern repeat repeatedly repl replace repl-caught repl-exception replicate repl-prompt repl-read report require re-seq reset! reset-meta! resolve rest resultset-seq reverse reversible? right rightmost rights root rseq rsubseq run-all-tests run-tests satisfies? second select select-keys send send-off seq seq? seque sequence sequential? seq-zip set set? set-test set-validator! short short-array shorts shutdown-agents skip-if-eol skip-whitespace slurp some sort sort-by sorted? sorted-map sorted-map-by sorted-set sorted-set-by special-form-anchor special-symbol? split-at split-with str stream? string? stringify-keys struct struct-map subs subseq subvec successful? supers swap! symbol symbol? sync syntax-symbol-anchor take take-last take-nth take-while test test-all-vars testing testing-contexts-str testing-vars-str test-ns test-var the-ns throw time to-array to-array-2d trampoline transient tree-seq true? try try-expr type unchecked-add unchecked-dec unchecked-divide unchecked-inc unchecked-multiply unchecked-negate unchecked-remainder unchecked-subtract underive unimport union unquote unquote-splicing up update-in update-proxy use use-fixtures val vals var? var-get var-set vary-meta vec vector vector? walk when when-first when-let when-not while with-bindings with-bindings* with-in-str with-loading-context with-local-vars with-meta with-open with-out-str with-precision with-test with-test-out xml-seq zero?" list_variables = Set.fromList $ words $ "*1 *2 *3 *agent* *allow-unresolved-vars* *assert* *clojure-version* *command-line-args* *compile-files* *compile-path* *current* *e *err* *file* *flush-on-newline* *in* *initial-report-counters* *load-tests* *macro-meta* *math-context* *ns* *out* *print-dup* *print-length* *print-level* *print-meta* *print-readably* *read-eval* *report-counters* *sb* *source-path* *stack* *stack-trace-depth* *state* *testing-contexts* *testing-vars* *test-out* *use-context-classloader* *warn-on-reflection*" regex_'3b'2e'2a'24 = compileRegex True ";.*$" regex_'5b'40'7e'5d'5cS'2b = compileRegex True "[@~]\\S+" regex_'3a'3a'3f'5ba'2dzA'2dZ0'2d9'5c'2d'5d'2b = compileRegex True "::?[a-zA-Z0-9\\-]+" regex_'5c'5c'2e = compileRegex True "\\\\." regex_'5cs'2a'5bA'2dZa'2dz0'2d9'2d'2b'5c'3c'5c'3e'2f'2f'5c'2a'5d'2a'5cs'2a = compileRegex True "\\s*[A-Za-z0-9-+\\<\\>//\\*]*\\s*" regex_'23'5c'5c'2e = compileRegex True "#\\\\." parseRules ("Clojure","Level0") = (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level1")) <|> ((pDetect2Chars False '#' '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level1")) <|> ((parseRules ("Clojure","Default"))) <|> (currentContext >>= \x -> guard (x == ("Clojure","Level0")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Clojure","Default") = (((pRegExpr regex_'3b'2e'2a'24 >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '#' '_' >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5b'40'7e'5d'5cS'2b >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'3a'3a'3f'5ba'2dzA'2dZ0'2d9'5c'2d'5d'2b >>= withAttribute KeywordTok)) <|> ((pDetect2Chars False '#' '{' >>= withAttribute NormalTok)) <|> ((pDetect2Chars False '^' '{' >>= withAttribute NormalTok)) <|> ((pDetectChar False '{' >>= withAttribute NormalTok)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok)) <|> ((pDetectChar False '[' >>= withAttribute NormalTok)) <|> ((pDetectChar False ']' >>= withAttribute NormalTok)) <|> ((pDetect2Chars False '#' '\'' >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.(),%&;[]^{|}~" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.(),%&;[]^{|}~" list_variables >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.(),%&;[]^{|}~" list_definitions >>= withAttribute KeywordTok) >>~ pushContext ("Clojure","function_decl")) <|> ((pRegExpr regex_'5c'5c'2e >>= withAttribute CharTok)) <|> ((pDetect2Chars False '#' '"' >>= withAttribute StringTok) >>~ pushContext ("Clojure","String")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Clojure","String")) <|> ((pFloat >>= withAttribute FloatTok)) <|> ((pInt >>= withAttribute DecValTok)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level1")) <|> (currentContext >>= \x -> guard (x == ("Clojure","Default")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Clojure","function_decl") = (((pRegExpr regex_'5cs'2a'5bA'2dZa'2dz0'2d9'2d'2b'5c'3c'5c'3e'2f'2f'5c'2a'5d'2a'5cs'2a >>= withAttribute FunctionTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Clojure","function_decl")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Clojure","SpecialNumber") = (((pFloat >>= withAttribute FloatTok) >>~ (popContext)) <|> ((pInt >>= withAttribute DecValTok) >>~ (popContext)) <|> ((pHlCOct >>= withAttribute BaseNTok) >>~ (popContext)) <|> ((pHlCHex >>= withAttribute FloatTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Clojure","SpecialNumber")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Clojure","String") = (((pRegExpr regex_'23'5c'5c'2e >>= withAttribute CharTok)) <|> ((pHlCStringChar >>= withAttribute NormalTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Clojure","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("Clojure","Level1") = (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level2")) <|> ((pDetect2Chars False '#' '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level2")) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((parseRules ("Clojure","Default"))) <|> (currentContext >>= \x -> guard (x == ("Clojure","Level1")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Clojure","Level2") = (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level3")) <|> ((pDetect2Chars False '#' '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level3")) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((parseRules ("Clojure","Default"))) <|> (currentContext >>= \x -> guard (x == ("Clojure","Level2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Clojure","Level3") = (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level4")) <|> ((pDetect2Chars False '#' '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level4")) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((parseRules ("Clojure","Default"))) <|> (currentContext >>= \x -> guard (x == ("Clojure","Level3")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Clojure","Level4") = (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level5")) <|> ((pDetect2Chars False '#' '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level5")) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((parseRules ("Clojure","Default"))) <|> (currentContext >>= \x -> guard (x == ("Clojure","Level4")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Clojure","Level5") = (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level6")) <|> ((pDetect2Chars False '#' '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level6")) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((parseRules ("Clojure","Default"))) <|> (currentContext >>= \x -> guard (x == ("Clojure","Level5")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Clojure","Level6") = (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level1")) <|> ((pDetect2Chars False '#' '(' >>= withAttribute NormalTok) >>~ pushContext ("Clojure","Level1")) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((parseRules ("Clojure","Default"))) <|> (currentContext >>= \x -> guard (x == ("Clojure","Level6")) >> pDefault >>= withAttribute NormalTok)) parseRules x = parseRules ("Clojure","Level0") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Cmake.hs0000644000000000000000000011177412633103275022367 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file cmake.xml, version 1.30, by Alexander Neundorf (neundorf@kde.org) -} module Text.Highlighting.Kate.Syntax.Cmake (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import qualified Text.Highlighting.Kate.Syntax.Modelines import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "CMake" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "CMakeLists.txt;*.cmake;*.cmake.in" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("CMake","Normal Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("CMake","Normal Text") -> return () ("CMake","Detect More Builtin Variables") -> return () ("CMake","Detect Builtin Variables") -> return () ("CMake","VarSubst") -> (popContext) >> pEndLine ("CMake","Detect Variables") -> return () ("CMake","DetectSimpleGEEnd") -> (popContext >> popContext) >> pEndLine ("CMake","Generator Expression") -> (popContext) >> pEndLine ("CMake","Detect Generator Expressions") -> return () ("CMake","Command Args") -> return () ("CMake","Macro Args") -> return () ("CMake","Comment") -> (popContext) >> pEndLine ("CMake","RST Documentation") -> return () ("CMake","Bracketed Comment") -> return () ("CMake","String") -> return () ("CMake","Bracketed String") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_commands = Set.fromList $ words $ "add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_subdirectory add_test aux_source_directory break build_command build_name cmake_host_system_information cmake_minimum_required cmake_policy configure_file create_test_sourcelist define_property else elseif enable_language enable_testing endforeach endfunction endif endmacro endwhile exec_program execute_process export export_library_dependencies file find_file find_library find_package find_path find_program fltk_wrap_ui foreach function get_cmake_property get_directory_property get_filename_component get_property get_source_file_property get_target_property get_test_property if include include_directories include_external_msproject include_regular_expression install install_files install_programs install_targets link_directories link_libraries list load_cache load_command macro make_directory mark_as_advanced math message option output_required_files project qt_wrap_cpp qt_wrap_ui remove remove_definitions return separate_arguments set set_directory_properties set_property set_source_files_properties set_target_properties set_tests_properties site_name source_group string subdir_depends subdirs target_compile_definitions target_compile_options target_include_directories target_link_libraries try_compile try_run unset use_mangled_mesa utility_source variable_requires variable_watch while write_file" list_itkvtk'5fcommands = Set.fromList $ words $ "itk_wrap_tcl vtk_make_instantiator vtk_wrap_java vtk_wrap_python vtk_wrap_tcl" list_special'5fargs = Set.fromList $ words $ "AFTER ALIAS ALL ALPHABET AND APPEND APPEND_STRING ARCHIVE ARGS ASCII AUTHOR_WARNING BEFORE BRIEF_DOCS BUNDLE CACHE CACHED_VARIABLE CLEAR CMAKE_FIND_ROOT_PATH_BOTH CMAKE_FLAGS CODE COMMAND COMMAND_NAME COMMENT COMPARE COMPILE_DEFINITIONS COMPILE_OUTPUT_VARIABLE COMPILE_RESULT_VAR COMPONENT COMPONENTS CONDITION CONFIG CONFIGS CONFIGURATION CONFIGURATIONS CONFIGURE CONTENT COPY COPYONLY COPY_FILE COPY_FILE_ERROR CRLF DEFINED DEFINITION DEPENDS DESTINATION DIRECTORY DIRECTORY_PERMISSIONS DOC DOS DOWNLOAD ENV EQUAL ERROR_FILE ERROR_QUIET ERROR_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE ESCAPE_QUOTES EXACT EXCLUDE EXCLUDE_FROM_ALL EXISTS EXPECTED_HASH EXPECTED_MD5 EXPORT EXPORT_LINK_INTERFACE_LIBRARIES EXPR EXTRA_INCLUDE FATAL_ERROR FILE FILES FILES_MATCHING FILE_PERMISSIONS FIND FOLLOW_SYMLINKS FORCE FRAMEWORK FULL_DOCS FUNCTION GENERATE GET GLOB GLOBAL GLOB_RECURSE GREATER GROUP_EXECUTE GROUP_READ GUID HEX HINTS IMPLICIT_DEPENDS IMPORTED IN INACTIVITY_TIMEOUT INCLUDES INCLUDE_INTERNALS INHERITED INPUT INPUT_FILE INSERT INSTALL INTERFACE IS_ABSOLUTE IS_DIRECTORY IS_NEWER_THAN IS_SYMLINK ITEMS LENGTH LENGTH_MAXIMUM LENGTH_MINIMUM LESS LF LIBRARY LIMIT LIMIT_COUNT LIMIT_INPUT LIMIT_OUTPUT LINK_INTERFACE_LIBRARIES LINK_LIBRARIES LINK_PRIVATE LINK_PUBLIC LISTS LOG MACOSX_BUNDLE MAIN_DEPENDENCY MAKE_C_IDENTIFIER MAKE_DIRECTORY MATCH MATCHALL MATCHES MD5 MODULE NAME NAMELINK_ONLY NAMELINK_SKIP NAMES NAMESPACE NAMES_PER_DIR NEW NEWLINE_CONSUME NEWLINE_STYLE NOT NOTEQUAL NO_CMAKE_BUILDS_PATH NO_CMAKE_ENVIRONMENT_PATH NO_CMAKE_FIND_ROOT_PATH NO_CMAKE_PACKAGE_REGISTRY NO_CMAKE_PATH NO_CMAKE_SYSTEM_PACKAGE_REGISTRY NO_CMAKE_SYSTEM_PATH NO_DEFAULT_PATH NO_HEX_CONVERSION NO_MODULE NO_POLICY_SCOPE NO_SOURCE_PERMISSIONS NO_SYSTEM_ENVIRONMENT_PATH OBJECT OFFSET OLD ONLY_CMAKE_FIND_ROOT_PATH OPTIONAL OPTIONAL_COMPONENTS OR OUTPUT OUTPUT_DIRECTORY OUTPUT_FILE OUTPUT_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE OWNER_EXECUTE OWNER_READ OWNER_WRITE PACKAGE PARENT_SCOPE PATHS PATH_SUFFIXES PATH_TO_MESA PATTERN PERMISSIONS PLATFORM POLICY POP POST_BUILD PREORDER PRE_BUILD PRE_LINK PRIVATE PRIVATE_HEADER PROGRAM PROGRAMS PROGRAM_ARGS PROJECT_NAME PROPERTIES PROPERTY PUBLIC PUBLIC_HEADER PUSH QUERY QUIET RANDOM RANDOM_SEED RANGE READ READ_WITH_PREFIX REGEX REGULAR_EXPRESSION RELATIVE RELATIVE_PATH REMOVE REMOVE_AT REMOVE_DUPLICATES REMOVE_ITEM REMOVE_RECURSE RENAME REPLACE REQUIRED REQUIRED_VARIABLE1 REQUIRED_VARIABLE2 RESOURCE RESULT RESULT_VAR RESULT_VARIABLE RETURN_VALUE REVERSE RUNTIME RUNTIME_DIRECTORY RUN_OUTPUT_VARIABLE RUN_RESULT_VAR SCRIPT SEND_ERROR SET SHA1 SHA224 SHA256 SHA384 SHA512 SHARED SHOW_PROGRESS SORT SOURCE SOURCES STATIC STATUS STREQUAL STRGREATER STRINGS STRIP STRLESS SUBSTRING SYSTEM TARGET TARGETS TEST TEST_VARIABLE TIMEOUT TIMESTAMP TLS_CAINFO TLS_VERIFY TOLOWER TOUPPER TO_CMAKE_PATH TO_NATIVE_PATH TYPE UNIX UNIX_COMMAND UNKNOWN UPLOAD USE_SOURCE_PERMISSIONS UTC VALUE VARIABLE VERBATIM VERSION VERSION_EQUAL VERSION_GREATER VERSION_LESS WARNING WIN32 WINDOWS_COMMAND WORKING_DIRECTORY WRITE" list_extra'5fspecial'5fargs = Set.fromList $ words $ "PATH NAME EXT NAME_WE ABSOLUTE REALPATH FILEPATH STRING BOOL INTERNAL NUMBER_OF_LOGICAL_CORES NUMBER_OF_PHYSICAL_CORES HOSTNAME FQDN TOTAL_VIRTUAL_MEMORY AVAILABLE_VIRTUAL_MEMORY TOTAL_PHYSICAL_MEMORY AVAILABLE_PHYSICAL_MEMORY" list_properties = Set.fromList $ words $ "ABSTRACT ADDITIONAL_MAKE_CLEAN_FILES ADVANCED ALIASED_TARGET ALLOW_DUPLICATE_CUSTOM_TARGETS ARCHIVE_OUTPUT_DIRECTORY ARCHIVE_OUTPUT_NAME ATTACHED_FILES ATTACHED_FILES_ON_FAIL AUTOMOC AUTOMOC_MOC_OPTIONS AUTOMOC_TARGETS_FOLDER BUILD_WITH_INSTALL_RPATH BUNDLE BUNDLE_EXTENSION CACHE_VARIABLES CLEAN_NO_CUSTOM COMPATIBLE_INTERFACE_BOOL COMPATIBLE_INTERFACE_STRING COMPILE_DEFINITIONS COMPILE_FLAGS COMPILE_OPTIONS COST DEBUG_CONFIGURATIONS DEBUG_POSTFIX DEFINE_SYMBOL DEFINITIONS DEPENDS DISABLED_FEATURES ENABLED_FEATURES ENABLED_LANGUAGES ENABLE_EXPORTS ENVIRONMENT EXCLUDE_FROM_ALL EXCLUDE_FROM_DEFAULT_BUILD EXPORT_NAME EXTERNAL_OBJECT EchoString FAIL_REGULAR_EXPRESSION FIND_LIBRARY_USE_LIB64_PATHS FIND_LIBRARY_USE_OPENBSD_VERSIONING FOLDER FRAMEWORK Fortran_FORMAT Fortran_MODULE_DIRECTORY GENERATED GENERATOR_FILE_NAME GLOBAL_DEPENDS_DEBUG_MODE GLOBAL_DEPENDS_NO_CYCLES GNUtoMS HAS_CXX HEADER_FILE_ONLY HELPSTRING IMPLICIT_DEPENDS_INCLUDE_TRANSFORM IMPORTED IMPORTED_CONFIGURATIONS IMPORTED_IMPLIB IMPORTED_LINK_DEPENDENT_LIBRARIES IMPORTED_LINK_INTERFACE_LANGUAGES IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_INTERFACE_MULTIPLICITY IMPORTED_LOCATION IMPORTED_NO_SONAME IMPORTED_SONAME IMPORT_PREFIX IMPORT_SUFFIX INCLUDE_DIRECTORIES INCLUDE_REGULAR_EXPRESSION INSTALL_NAME_DIR INSTALL_RPATH INSTALL_RPATH_USE_LINK_PATH INTERFACE_COMPILE_DEFINITIONS INTERFACE_COMPILE_OPTIONS INTERFACE_INCLUDE_DIRECTORIES INTERFACE_LINK_LIBRARIES INTERFACE_POSITION_INDEPENDENT_CODE INTERFACE_SYSTEM_INCLUDE_DIRECTORIES INTERPROCEDURAL_OPTIMIZATION IN_TRY_COMPILE KEEP_EXTENSION LABELS LANGUAGE LIBRARY_OUTPUT_DIRECTORY LIBRARY_OUTPUT_NAME LINKER_LANGUAGE LINK_DEPENDS LINK_DEPENDS_NO_SHARED LINK_DIRECTORIES LINK_FLAGS LINK_INTERFACE_LIBRARIES LINK_INTERFACE_MULTIPLICITY LINK_LIBRARIES LINK_SEARCH_END_STATIC LINK_SEARCH_START_STATIC LISTFILE_STACK LOCATION MACOSX_BUNDLE MACOSX_BUNDLE_INFO_PLIST MACOSX_FRAMEWORK_INFO_PLIST MACOSX_PACKAGE_LOCATION MACOSX_RPATH MACROS MEASUREMENT MODIFIED NAME NO_SONAME OBJECT_DEPENDS OBJECT_OUTPUTS OSX_ARCHITECTURES OUTPUT_NAME PACKAGES_FOUND PACKAGES_NOT_FOUND PARENT_DIRECTORY PASS_REGULAR_EXPRESSION PDB_NAME PDB_OUTPUT_DIRECTORY POSITION_INDEPENDENT_CODE POST_INSTALL_SCRIPT PREDEFINED_TARGETS_FOLDER PREFIX PRE_INSTALL_SCRIPT PRIVATE_HEADER PROCESSORS PROJECT_LABEL PUBLIC_HEADER REPORT_UNDEFINED_PROPERTIES REQUIRED_FILES RESOURCE RESOURCE_LOCK RULE_LAUNCH_COMPILE RULE_LAUNCH_CUSTOM RULE_LAUNCH_LINK RULE_MESSAGES RUNTIME_OUTPUT_DIRECTORY RUNTIME_OUTPUT_NAME RUN_SERIAL SKIP_BUILD_RPATH SOURCES SOVERSION STATIC_LIBRARY_FLAGS STRINGS SUFFIX SYMBOLIC TARGET_ARCHIVES_MAY_BE_SHARED_LIBS TARGET_SUPPORTS_SHARED_LIBS TEST_INCLUDE_FILE TIMEOUT TYPE USE_FOLDERS VALUE VARIABLES VERSION VISIBILITY_INLINES_HIDDEN VS_DOTNET_REFERENCES VS_DOTNET_TARGET_FRAMEWORK_VERSION VS_GLOBAL_KEYWORD VS_GLOBAL_PROJECT_TYPES VS_GLOBAL_ROOTNAMESPACE VS_KEYWORD VS_SCC_AUXPATH VS_SCC_LOCALPATH VS_SCC_PROJECTNAME VS_SCC_PROVIDER VS_WINRT_EXTENSIONS VS_WINRT_REFERENCES WILL_FAIL WIN32_EXECUTABLE WORKING_DIRECTORY WRAP_EXCLUDE __CMAKE_DELETE_CACHE_CHANGE_VARS_" list_extra'5fproperties = Set.fromList $ words $ "COMMANDS DEFINITION" list_cmake'5fvars = Set.fromList $ words $ "APPLE BORLAND BUILD_SHARED_LIBS CMAKE_ABSOLUTE_DESTINATION_FILES CMAKE_AR CMAKE_ARCHIVE_OUTPUT_DIRECTORY CMAKE_ARGC CMAKE_ARGV0 CMAKE_AUTOMOC CMAKE_AUTOMOC_MOC_OPTIONS CMAKE_AUTOMOC_RELAXED_MODE CMAKE_BACKWARDS_COMPATIBILITY CMAKE_BINARY_DIR CMAKE_BUILD_TOOL CMAKE_BUILD_TYPE CMAKE_BUILD_WITH_INSTALL_RPATH CMAKE_CACHEFILE_DIR CMAKE_CACHE_MAJOR_VERSION CMAKE_CACHE_MINOR_VERSION CMAKE_CACHE_PATCH_VERSION CMAKE_CFG_INTDIR CMAKE_CL_64 CMAKE_COLOR_MAKEFILE CMAKE_COMMAND CMAKE_COMPILER_2005 CMAKE_CONFIGURATION_TYPES CMAKE_CROSSCOMPILING CMAKE_CTEST_COMMAND CMAKE_CURRENT_BINARY_DIR CMAKE_CURRENT_LIST_DIR CMAKE_CURRENT_LIST_FILE CMAKE_CURRENT_LIST_LINE CMAKE_CURRENT_SOURCE_DIR CMAKE_DEBUG_POSTFIX CMAKE_DEBUG_TARGET_PROPERTIES CMAKE_DL_LIBS CMAKE_EDIT_COMMAND CMAKE_ERROR_DEPRECATED CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION CMAKE_EXECUTABLE_SUFFIX CMAKE_EXE_LINKER_FLAGS CMAKE_EXTRA_GENERATOR CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES CMAKE_FIND_LIBRARY_PREFIXES CMAKE_FIND_LIBRARY_SUFFIXES CMAKE_FIND_PACKAGE_WARN_NO_MODULE CMAKE_Fortran_FORMAT CMAKE_Fortran_MODDIR_DEFAULT CMAKE_Fortran_MODDIR_FLAG CMAKE_Fortran_MODOUT_FLAG CMAKE_Fortran_MODULE_DIRECTORY CMAKE_GENERATOR CMAKE_GENERATOR_TOOLSET CMAKE_GNUtoMS CMAKE_HOME_DIRECTORY CMAKE_HOST_APPLE CMAKE_HOST_SYSTEM CMAKE_HOST_SYSTEM_NAME CMAKE_HOST_SYSTEM_PROCESSOR CMAKE_HOST_SYSTEM_VERSION CMAKE_HOST_UNIX CMAKE_HOST_WIN32 CMAKE_IGNORE_PATH CMAKE_IMPORT_LIBRARY_PREFIX CMAKE_IMPORT_LIBRARY_SUFFIX CMAKE_INCLUDE_CURRENT_DIR CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE CMAKE_INCLUDE_PATH CMAKE_INSTALL_DEFAULT_COMPONENT_NAME CMAKE_INSTALL_NAME_DIR CMAKE_INSTALL_PREFIX CMAKE_INSTALL_RPATH CMAKE_INSTALL_RPATH_USE_LINK_PATH CMAKE_INTERNAL_PLATFORM_ABI CMAKE_LIBRARY_ARCHITECTURE CMAKE_LIBRARY_ARCHITECTURE_REGEX CMAKE_LIBRARY_OUTPUT_DIRECTORY CMAKE_LIBRARY_PATH CMAKE_LIBRARY_PATH_FLAG CMAKE_LINK_DEF_FILE_FLAG CMAKE_LINK_DEPENDS_NO_SHARED CMAKE_LINK_INTERFACE_LIBRARIES CMAKE_LINK_LIBRARY_FILE_FLAG CMAKE_LINK_LIBRARY_FLAG CMAKE_LINK_LIBRARY_SUFFIX CMAKE_MACOSX_BUNDLE CMAKE_MAJOR_VERSION CMAKE_MAKE_PROGRAM CMAKE_MFC_FLAG CMAKE_MINIMUM_REQUIRED_VERSION CMAKE_MINOR_VERSION CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_PATH CMAKE_NOT_USING_CONFIG_FLAGS CMAKE_NO_BUILTIN_CHRPATH CMAKE_OBJECT_PATH_MAX CMAKE_PARENT_LIST_FILE CMAKE_PATCH_VERSION CMAKE_PDB_OUTPUT_DIRECTORY CMAKE_POSITION_INDEPENDENT_CODE CMAKE_PREFIX_PATH CMAKE_PROGRAM_PATH CMAKE_PROJECT_NAME CMAKE_RANLIB CMAKE_ROOT CMAKE_RUNTIME_OUTPUT_DIRECTORY CMAKE_SCRIPT_MODE_FILE CMAKE_SHARED_LIBRARY_PREFIX CMAKE_SHARED_LIBRARY_SUFFIX CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_MODULE_PREFIX CMAKE_SHARED_MODULE_SUFFIX CMAKE_SIZEOF_VOID_P CMAKE_SKIP_BUILD_RPATH CMAKE_SKIP_INSTALL_ALL_DEPENDENCY CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_RPATH CMAKE_SOURCE_DIR CMAKE_STANDARD_LIBRARIES CMAKE_STATIC_LIBRARY_PREFIX CMAKE_STATIC_LIBRARY_SUFFIX CMAKE_STATIC_LINKER_FLAGS CMAKE_SYSTEM CMAKE_SYSTEM_IGNORE_PATH CMAKE_SYSTEM_INCLUDE_PATH CMAKE_SYSTEM_LIBRARY_PATH CMAKE_SYSTEM_NAME CMAKE_SYSTEM_PREFIX_PATH CMAKE_SYSTEM_PROCESSOR CMAKE_SYSTEM_PROGRAM_PATH CMAKE_SYSTEM_VERSION CMAKE_TRY_COMPILE_CONFIGURATION CMAKE_TWEAK_VERSION CMAKE_USER_MAKE_RULES_OVERRIDE CMAKE_USE_RELATIVE_PATHS CMAKE_VERBOSE_MAKEFILE CMAKE_VERSION CMAKE_VISIBILITY_INLINES_HIDDEN CMAKE_VS_PLATFORM_TOOLSET CMAKE_WARN_DEPRECATED CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION CMAKE_WIN32_EXECUTABLE CMAKE_XCODE_PLATFORM_TOOLSET CYGWIN ENV EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH MSVC MSVC10 MSVC11 MSVC12 MSVC60 MSVC70 MSVC71 MSVC80 MSVC90 MSVC_IDE MSVC_VERSION PROJECT_BINARY_DIR PROJECT_NAME PROJECT_SOURCE_DIR UNIX WIN32 XCODE_VERSION" list_simple'5fgenerator'5fexpr = Set.fromList $ words $ "CONFIGURATION ANGLE-R COMMA SEMICOLON INSTALL_PREFIX" list_generator'5fexpr = Set.fromList $ words $ "0 1 CONFIG BOOL STREQUAL JOIN TARGET_NAME INSTALL_INTERFACE BUILD_INTERFACE C_COMPILER_ID CXX_COMPILER_ID VERSION_GREATER VERSION_LESS VERSION_EQUAL C_COMPILER_VERSION CXX_COMPILER_VERSION TARGET_FILE TARGET_LINKER_FILE TARGET_SONAME_FILE TARGET_FILE_DIR TARGET_FILE_NAME TARGET_DIR TARGET_LINKER_FILE_DIR TARGET_LINKER_FILE_NAME TARGET_SONAME_FILE_DIR TARGET_SONAME_FILE_NAME TARGET_PROPERTY TARGET_OBJECTS TARGET_POLICY AND OR NOT" regex_'5cbif'5cb = compileRegex True "\\bif\\b" regex_'5cbelse'5cb = compileRegex True "\\belse\\b" regex_'5cbelseif'5cb = compileRegex True "\\belseif\\b" regex_'5cbendif'5cb = compileRegex True "\\bendif\\b" regex_'5cbmacro'5cb = compileRegex True "\\bmacro\\b" regex_'5cbendmacro'5cb = compileRegex True "\\bendmacro\\b" regex_'5cbforeach'5cb = compileRegex True "\\bforeach\\b" regex_'5cbendforeach'5cb = compileRegex True "\\bendforeach\\b" regex_'5cbwhile'5cb = compileRegex True "\\bwhile\\b" regex_'5cbendwhile'5cb = compileRegex True "\\bendwhile\\b" regex_'23'5cs'2aBEGIN'2e'2a'24 = compileRegex True "#\\s*BEGIN.*$" regex_'23'5cs'2aEND'2e'2a'24 = compileRegex True "#\\s*END.*$" regex_'23'5c'5b'28'3d'2a'29'5c'5b'5c'2erst'3a = compileRegex True "#\\[(=*)\\[\\.rst:" regex_'23'5c'5b'28'3d'2a'29'5c'5b = compileRegex True "#\\[(=*)\\[" regex_'5cw'2b'5cs'2a'28'3f'3d'5c'28'29 = compileRegex True "\\w+\\s*(?=\\()" regex_'5cbCMAKE'5fCOMPILER'5fIS'5fGNU'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_COMPILER_IS_GNU[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fDISABLE'5fFIND'5fPACKAGE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_DISABLE_FIND_PACKAGE_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fEXE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_EXE_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fMODULE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_MODULE_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fPOLICY'5fDEFAULT'5fCMP'5b0'2d9'5d'2b'5cb = compileRegex True "\\bCMAKE_POLICY_DEFAULT_CMP[0-9]+\\b" regex_'5cbCMAKE'5fSHARED'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_SHARED_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fSTATIC'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_STATIC_LINKER_FLAGS_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5fUSER'5fMAKE'5fRULES'5fOVERRIDE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb = compileRegex True "\\bCMAKE_USER_MAKE_RULES_OVERRIDE_[A-Za-z_][A-Za-z_0-9]*\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fAPPEND'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_APPEND\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fCREATE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_CREATE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fFINISH'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_ARCHIVE_FINISH\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fABI'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_ABI\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fID'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_ID\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fLOADED'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_LOADED\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fVERSION'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILER_VERSION\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILE'5fOBJECT'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_COMPILE_OBJECT\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fLIBRARY'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_CREATE_SHARED_LIBRARY\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fMODULE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_CREATE_SHARED_MODULE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSTATIC'5fLIBRARY'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_CREATE_STATIC_LIBRARY\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fDEBUG'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_DEBUG\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fMINSIZEREL'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_MINSIZEREL\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELEASE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_RELEASE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELWITHDEBINFO'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_FLAGS_RELWITHDEBINFO\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIGNORE'5fEXTENSIONS'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IGNORE_EXTENSIONS\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fINCLUDE'5fDIRECTORIES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_INCLUDE_DIRECTORIES\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fDIRECTORIES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_DIRECTORIES\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fFRAMEWORK'5fDIRECTORIES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fLIBRARIES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_IMPLICIT_LINK_LIBRARIES\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLIBRARY'5fARCHITECTURE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LIBRARY_ARCHITECTURE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINKER_PREFERENCE\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5fPROPAGATES'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINKER_PREFERENCE_PROPAGATES\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINK'5fEXECUTABLE_'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_LINK_EXECUTABLE \\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fOUTPUT'5fEXTENSION'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_OUTPUT_EXTENSION\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPLATFORM'5fID'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_PLATFORM_ID\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPOSTFIX'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_POSTFIX\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIZEOF'5fDATA'5fPTR'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SIZEOF_DATA_PTR\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSOURCE'5fFILE'5fEXTENSIONS'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_SOURCE_FILE_EXTENSIONS\\b" regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVISIBILITY'5fPRESET'5cb = compileRegex True "\\bCMAKE_[A-Za-z_][A-Za-z_0-9]*_VISIBILITY_PRESET\\b" regex_'5c'24ENV'5c'7b'5cs'2a'5b'5cw'2d'5d'2b'5cs'2a'5c'7d = compileRegex True "\\$ENV\\{\\s*[\\w-]+\\s*\\}" regex_'5cbCMP'5b0'2d9'5d'2b'5cb = compileRegex True "\\bCMP[0-9]+\\b" regex_'5c'5c'5b'22'24n'5c'5c'5d = compileRegex True "\\\\[\"$n\\\\]" regex_'5c'5b'28'3d'2a'29'5c'5b = compileRegex True "\\[(=*)\\[" regex_'22'28'3f'3d'5b_'29'3b'5d'7c'24'29 = compileRegex True "\"(?=[ );]|$)" regex_'5c'5c'5b'22'24nrt'5c'5c'5d = compileRegex True "\\\\[\"$nrt\\\\]" parseRules ("CMake","Normal Text") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5cbif'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbelse'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbelseif'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbendif'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbmacro'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbendmacro'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbforeach'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbendforeach'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbwhile'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pRegExpr regex_'5cbendwhile'5cb >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_commands >>= withAttribute KeywordTok) >>~ pushContext ("CMake","Command Args")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_itkvtk'5fcommands >>= withAttribute FunctionTok)) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aBEGIN'2e'2a'24 >>= withAttribute RegionMarkerTok)) <|> ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aEND'2e'2a'24 >>= withAttribute RegionMarkerTok)) <|> ((pColumn 0 >> pRegExpr regex_'23'5c'5b'28'3d'2a'29'5c'5b'5c'2erst'3a >>= withAttribute RegionMarkerTok) >>~ pushContext ("CMake","RST Documentation")) <|> ((pColumn 0 >> pRegExpr regex_'23'5c'5b'28'3d'2a'29'5c'5b >>= withAttribute CommentTok) >>~ pushContext ("CMake","Bracketed Comment")) <|> ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("CMake","Comment")) <|> ((parseRules ("CMake","Detect Variables"))) <|> ((pRegExpr regex_'5cw'2b'5cs'2a'28'3f'3d'5c'28'29 >>= withAttribute FunctionTok) >>~ pushContext ("CMake","Macro Args")) <|> (currentContext >>= \x -> guard (x == ("CMake","Normal Text")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CMake","Detect More Builtin Variables") = (((pRegExpr regex_'5cbCMAKE'5fCOMPILER'5fIS'5fGNU'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5fDISABLE'5fFIND'5fPACKAGE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5fEXE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5fMODULE'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5fPOLICY'5fDEFAULT'5fCMP'5b0'2d9'5d'2b'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5fSHARED'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5fSTATIC'5fLINKER'5fFLAGS'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5fUSER'5fMAKE'5fRULES'5fOVERRIDE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fAPPEND'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fCREATE'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fARCHIVE'5fFINISH'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fABI'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fID'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fLOADED'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILER'5fVERSION'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCOMPILE'5fOBJECT'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fLIBRARY'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSHARED'5fMODULE'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fCREATE'5fSTATIC'5fLIBRARY'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fDEBUG'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fMINSIZEREL'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELEASE'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fFLAGS'5fRELWITHDEBINFO'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIGNORE'5fEXTENSIONS'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fINCLUDE'5fDIRECTORIES'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fDIRECTORIES'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fFRAMEWORK'5fDIRECTORIES'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fIMPLICIT'5fLINK'5fLIBRARIES'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLIBRARY'5fARCHITECTURE'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINKER'5fPREFERENCE'5fPROPAGATES'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fLINK'5fEXECUTABLE_'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fOUTPUT'5fEXTENSION'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPLATFORM'5fID'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fPOSTFIX'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSIZEOF'5fDATA'5fPTR'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fSOURCE'5fFILE'5fEXTENSIONS'5cb >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cbCMAKE'5f'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz'5f0'2d9'5d'2a'5fVISIBILITY'5fPRESET'5cb >>= withAttribute DecValTok)) <|> (currentContext >>= \x -> guard (x == ("CMake","Detect More Builtin Variables")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CMake","Detect Builtin Variables") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_cmake'5fvars >>= withAttribute DecValTok)) <|> ((parseRules ("CMake","Detect More Builtin Variables"))) <|> (currentContext >>= \x -> guard (x == ("CMake","Detect Builtin Variables")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CMake","VarSubst") = (((parseRules ("CMake","Detect Builtin Variables"))) <|> ((pDetectIdentifier >>= withAttribute DecValTok)) <|> ((pDetectChar False '}' >>= withAttribute DecValTok) >>~ (popContext)) <|> ((parseRules ("CMake","Detect Variables"))) <|> (currentContext >>= \x -> guard (x == ("CMake","VarSubst")) >> pDefault >>= withAttribute DecValTok)) parseRules ("CMake","Detect Variables") = (((pRegExpr regex_'5c'24ENV'5c'7b'5cs'2a'5b'5cw'2d'5d'2b'5cs'2a'5c'7d >>= withAttribute FloatTok)) <|> ((pDetect2Chars False '$' '{' >>= withAttribute DecValTok) >>~ pushContext ("CMake","VarSubst")) <|> (currentContext >>= \x -> guard (x == ("CMake","Detect Variables")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CMake","DetectSimpleGEEnd") = (((pDetectChar False '>' >>= withAttribute OtherTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("CMake","DetectSimpleGEEnd")) >> pDefault >>= withAttribute OtherTok)) parseRules ("CMake","Generator Expression") = (((parseRules ("CMake","Detect Generator Expressions"))) <|> ((pDetectChar False '>' >>= withAttribute OtherTok) >>~ (popContext)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_simple'5fgenerator'5fexpr >>= withAttribute KeywordTok) >>~ pushContext ("CMake","DetectSimpleGEEnd")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_generator'5fexpr >>= withAttribute KeywordTok)) <|> ((parseRules ("CMake","Detect Variables"))) <|> (currentContext >>= \x -> guard (x == ("CMake","Generator Expression")) >> pDefault >>= withAttribute OtherTok)) parseRules ("CMake","Detect Generator Expressions") = (((pDetect2Chars False '$' '<' >>= withAttribute OtherTok) >>~ pushContext ("CMake","Generator Expression")) <|> (currentContext >>= \x -> guard (x == ("CMake","Detect Generator Expressions")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CMake","Command Args") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_special'5fargs >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_extra'5fspecial'5fargs >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5cbCMP'5b0'2d9'5d'2b'5cb >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_properties >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_extra'5fproperties >>= withAttribute OtherTok)) <|> ((parseRules ("CMake","Detect Builtin Variables"))) <|> ((parseRules ("CMake","Macro Args"))) <|> (currentContext >>= \x -> guard (x == ("CMake","Command Args")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CMake","Macro Args") = (((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pRegExpr regex_'5c'5c'5b'22'24n'5c'5c'5d >>= withAttribute CharTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("CMake","String")) <|> ((pRegExpr regex_'5c'5b'28'3d'2a'29'5c'5b >>= withAttribute StringTok) >>~ pushContext ("CMake","Bracketed String")) <|> ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("CMake","Comment")) <|> ((parseRules ("CMake","Detect Builtin Variables"))) <|> ((parseRules ("CMake","Detect Variables"))) <|> ((parseRules ("CMake","Detect Generator Expressions"))) <|> (currentContext >>= \x -> guard (x == ("CMake","Macro Args")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CMake","Comment") = (((pLineContinue >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((Text.Highlighting.Kate.Syntax.Modelines.parseExpression (Just ("Modelines","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("CMake","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("CMake","RST Documentation") = (((pColumn 0 >> pRegExprDynamic "#?\\]%1\\]" >>= withAttribute RegionMarkerTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CMake","RST Documentation")) >> pDefault >>= withAttribute CommentTok)) parseRules ("CMake","Bracketed Comment") = (((pColumn 0 >> pRegExprDynamic "#?\\]%1\\]" >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((Text.Highlighting.Kate.Syntax.Modelines.parseExpression (Just ("Modelines","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("CMake","Bracketed Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("CMake","String") = (((pRegExpr regex_'22'28'3f'3d'5b_'29'3b'5d'7c'24'29 >>= withAttribute StringTok) >>~ (popContext)) <|> ((pRegExpr regex_'5c'5c'5b'22'24nrt'5c'5c'5d >>= withAttribute CharTok)) <|> ((parseRules ("CMake","Detect Variables"))) <|> ((parseRules ("CMake","Detect Generator Expressions"))) <|> (currentContext >>= \x -> guard (x == ("CMake","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("CMake","Bracketed String") = (((pRegExprDynamic "\\]%1\\]" >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CMake","Bracketed String")) >> pDefault >>= withAttribute StringTok)) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules ("Modelines", _) = Text.Highlighting.Kate.Syntax.Modelines.parseExpression Nothing parseRules x = parseRules ("CMake","Normal Text") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Coffee.hs0000644000000000000000000002537712633103275022541 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file coffee.xml, version 1.4, by Max Shawabkeh (max99x@gmail.com) -} module Text.Highlighting.Kate.Syntax.Coffee (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert_indent import qualified Text.Highlighting.Kate.Syntax.Javascript import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "CoffeeScript" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "Cakefile;*.coffee;*.coco" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("CoffeeScript","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("CoffeeScript","Normal") -> return () ("CoffeeScript","Multiline Regex") -> return () ("CoffeeScript","Class") -> return () ("CoffeeScript","Comment") -> (popContext) >> pEndLine ("CoffeeScript","Multiline Comment") -> return () ("CoffeeScript","String") -> return () ("CoffeeScript","Rich String") -> return () ("CoffeeScript","Heredoc") -> return () ("CoffeeScript","Rich Heredoc") -> return () ("CoffeeScript","Embedding") -> return () ("CoffeeScript","Javascript") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_value'5fkeywords = Set.fromList $ words $ "false true yes no on off undefined null NaN Infinity" list_keywords = Set.fromList $ words $ "return break continue throw for while until loop if else unless switch when then and or in do of by is isnt not typeof delete where super try catch finally try catch finally constructor" list_class'5fkeywords = Set.fromList $ words $ "class extends new instanceof" list_reserved = Set.fromList $ words $ "case default function var void with const let enum export import native __hasProp __extends __slice __bind __indexOf" list_globals = Set.fromList $ words $ "Object Number Boolean Array String RegExp Function Date Math eval setInterval clearInterval setTimeout clearTimeout isFinite isNaN parseFloat parseInt escape unescape console encodeURI encodeURIComponent decodeURI decodeURIComponent" list_browser'5fglobals = Set.fromList $ words $ "window document navigator location history screen alert prompt" list_nodejs'5fglobals = Set.fromList $ words $ "process GLOBAL require exports" regex_'28'40'5b'5f'24a'2dzA'2dZ'5d'5b'24'5cw'5d'2a'7c'5cbthis'29'5cb = compileRegex True "(@[_$a-zA-Z][$\\w]*|\\bthis)\\b" regex_'28'5c'28'28'5c'27'5b'5e'27'5d'2a'27'7c'22'5b'5e'22'5d'2a'22'7c'5b'5e'28'29'5d'29'2a'5c'29'29'3f'5cs'2a'28'2d'7c'3d'29'3e = compileRegex True "(\\((\\'[^']*'|\"[^\"]*\"|[^()])*\\))?\\s*(-|=)>" regex_'5b'5f'24a'2dz'5d'5b'24'5cw'5d'2a'5cb = compileRegex True "[_$a-z][$\\w]*\\b" regex_'2f'2f'2f = compileRegex True "///" regex_'2f'28'5b'5e'2f'5c'5c'5cr'5cn'5d'7c'5c'5c'2e'29'2a'2f'5bmig'5d'7b0'2c3'7d = compileRegex True "/([^/\\\\\\r\\n]|\\\\.)*/[mig]{0,3}" regex_'2f'2f'2f'5bmig'5d'7b0'2c3'7d = compileRegex True "///[mig]{0,3}" regex_'5b'40'24'3a'2e'5cw'5c'5b'5c'5d'5d'2b = compileRegex True "[@$:.\\w\\[\\]]+" parseRules ("CoffeeScript","Normal") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pFloat >>= withAttribute FloatTok)) <|> ((pInt >>= withAttribute DecValTok)) <|> ((pHlCOct >>= withAttribute BaseNTok)) <|> ((pHlCHex >>= withAttribute BaseNTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_class'5fkeywords >>= withAttribute KeywordTok) >>~ pushContext ("CoffeeScript","Class")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_value'5fkeywords >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_reserved >>= withAttribute AlertTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_globals >>= withAttribute OtherTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_browser'5fglobals >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_nodejs'5fglobals >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'28'40'5b'5f'24a'2dzA'2dZ'5d'5b'24'5cw'5d'2a'7c'5cbthis'29'5cb >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'28'5c'28'28'5c'27'5b'5e'27'5d'2a'27'7c'22'5b'5e'22'5d'2a'22'7c'5b'5e'28'29'5d'29'2a'5c'29'29'3f'5cs'2a'28'2d'7c'3d'29'3e >>= withAttribute FunctionTok)) <|> ((pRegExpr regex_'5b'5f'24a'2dz'5d'5b'24'5cw'5d'2a'5cb >>= withAttribute NormalTok)) <|> ((pString False "'''" >>= withAttribute StringTok) >>~ pushContext ("CoffeeScript","Heredoc")) <|> ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("CoffeeScript","Rich Heredoc")) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("CoffeeScript","String")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("CoffeeScript","Rich String")) <|> ((pDetectChar False '`' >>= withAttribute AlertTok) >>~ pushContext ("CoffeeScript","Javascript")) <|> ((pString False "###" >>= withAttribute CommentTok) >>~ pushContext ("CoffeeScript","Multiline Comment")) <|> ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("CoffeeScript","Comment")) <|> ((pRegExpr regex_'2f'2f'2f >>= withAttribute StringTok) >>~ pushContext ("CoffeeScript","Multiline Regex")) <|> ((pRegExpr regex_'2f'28'5b'5e'2f'5c'5c'5cr'5cn'5d'7c'5c'5c'2e'29'2a'2f'5bmig'5d'7b0'2c3'7d >>= withAttribute StringTok)) <|> ((pAnyChar "():!%&+,-/.*<=>?[]|~^;{}" >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CoffeeScript","Multiline Regex") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("CoffeeScript","Comment")) <|> ((pRegExpr regex_'2f'2f'2f'5bmig'5d'7b0'2c3'7d >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Multiline Regex")) >> pDefault >>= withAttribute StringTok)) parseRules ("CoffeeScript","Class") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5b'40'24'3a'2e'5cw'5c'5b'5c'5d'5d'2b >>= withAttribute DataTypeTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Class")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CoffeeScript","Comment") = (((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression (Just ("Alerts_indent","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("CoffeeScript","Multiline Comment") = (((pString False "###" >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression (Just ("Alerts_indent","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Multiline Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("CoffeeScript","String") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("CoffeeScript","Rich String") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetect2Chars False '#' '{' >>= withAttribute CharTok) >>~ pushContext ("CoffeeScript","Embedding")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Rich String")) >> pDefault >>= withAttribute StringTok)) parseRules ("CoffeeScript","Heredoc") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pString False "'''" >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Heredoc")) >> pDefault >>= withAttribute StringTok)) parseRules ("CoffeeScript","Rich Heredoc") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetect2Chars False '#' '{' >>= withAttribute CharTok) >>~ pushContext ("CoffeeScript","Embedding")) <|> ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Rich Heredoc")) >> pDefault >>= withAttribute StringTok)) parseRules ("CoffeeScript","Embedding") = (((pDetectChar False '}' >>= withAttribute CharTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Embedding")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CoffeeScript","Javascript") = (((pDetectChar False '`' >>= withAttribute AlertTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Javascript.parseExpression (Just ("JavaScript","Normal")))) <|> (currentContext >>= \x -> guard (x == ("CoffeeScript","Javascript")) >> pDefault >>= withAttribute AlertTok)) parseRules ("Alerts_indent", _) = Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression Nothing parseRules ("JavaScript", _) = Text.Highlighting.Kate.Syntax.Javascript.parseExpression Nothing parseRules x = parseRules ("CoffeeScript","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Coldfusion.hs0000644000000000000000000005272512633103275023454 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file coldfusion.xml, version 1.04, by -} module Text.Highlighting.Kate.Syntax.Coldfusion (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "ColdFusion" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.cfm;*.cfc;*.cfml;*.dbm" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("ColdFusion","Normal Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("ColdFusion","Normal Text") -> return () ("ColdFusion","ctxCFSCRIPT Tag") -> return () ("ColdFusion","ctxSCRIPT Tag") -> return () ("ColdFusion","ctxSTYLE Tag") -> return () ("ColdFusion","ctxTag") -> return () ("ColdFusion","ctxTable Tag") -> return () ("ColdFusion","ctxAnchor Tag") -> return () ("ColdFusion","ctxImage Tag") -> return () ("ColdFusion","ctxCF Tag") -> return () ("ColdFusion","ctxCustom Tag") -> return () ("ColdFusion","ctxCFX Tag") -> return () ("ColdFusion","ctxHTML Comment") -> return () ("ColdFusion","ctxCF Comment") -> return () ("ColdFusion","ctxC Style Comment") -> return () ("ColdFusion","ctxOne Line Comment") -> (popContext) >> pEndLine ("ColdFusion","ctxHTML Entities") -> (popContext) >> pEndLine ("ColdFusion","ctxCFSCRIPT Block") -> return () ("ColdFusion","ctxSCRIPT Block") -> return () ("ColdFusion","ctxSTYLE Block") -> return () ("ColdFusion","ctxStyle Properties") -> return () ("ColdFusion","ctxStyle Values") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_Script_Keywords = Set.fromList $ words $ "if else for in while do continue break with try catch switch case new var function return this delete true false void throw typeof const default" list_Script_Objects = Set.fromList $ words $ "anchor applet area array boolean button checkbox date document event fileupload form frame function hidden history image layer linke location math navigator number object option password radio regexp reset screen select string submit text textarea window" list_Script_Methods = Set.fromList $ words $ "abs acos alert anchor apply asin atan atan2 back blur call captureevents ceil charat charcodeat clearinterval cleartimeout click close compile concat confirm cos disableexternalcapture enableexternalcapture eval exec exp find floor focus forward fromcharcode getdate getday getfullyear gethours getmilliseconds getminutes getmonth getseconds getselection gettime gettimezoneoffset getutcdate getutcday getutcfullyear getutchours getutcmilliseconds getutcminutes getutcmonth getutcseconds go handleevent home indexof javaenabled join lastindexof link load log match max min moveabove movebelow moveby moveto movetoabsolute open parse plugins.refresh pop pow preference print prompt push random releaseevents reload replace reset resizeby resizeto reverse round routeevent scrollby scrollto search select setdate setfullyear sethours setinterval setmilliseconds setminutes setmonth setseconds settime settimeout setutcdate setutcfullyear setutchours setutcmilliseconds setutcminutes setutcmonth setutcseconds shift sin slice sort splice split sqrt stop string formatting submit substr substring taintenabled tan test tolocalestring tolowercase tosource tostring touppercase toutcstring unshift unwatch utc valueof watch write writeln" list_CFSCRIPT_Keywords = Set.fromList $ words $ "break case catch continue default do else for function if in return switch try var while" list_CFSCRIPT_Functions = Set.fromList $ words $ "abs acos arrayappend arrayavg arrayclear arraydeleteat arrayinsertat arrayisempty arraylen arraymax arraymin arraynew arrayprepend arrayresize arrayset arraysort arraysum arrayswap arraytolist asc asin atn bitand bitmaskclear bitmaskread bitmaskset bitnot bitor bitshln bitshrn bitxor ceiling chr cjustify compare comparenocase cos createdate createdatetime createobject createodbcdate createodbcdatetime createodbctime createtime createtimespan createuuid dateadd datecompare dateconvert datediff dateformat datepart day dayofweek dayofweekasstring dayofyear daysinmonth daysinyear de decimalformat decrementvalue decrypt deleteclientvariable directoryexists dollarformat duplicate encrypt evaluate exp expandpath fileexists find findnocase findoneof firstdayofmonth fix formatbasen getauthuser getbasetagdata getbasetaglist getbasetemplatepath getclientvariableslist getcurrenttemplatepath getdirectoryfrompath getexception getfilefrompath getfunctionlist gethttprequestdata gethttptimestring getk2serverdoccount getk2serverdoccountlimit getlocale getmetadata getmetricdata getpagecontext getprofilesections getprofilestring getservicesettings gettempdirectory gettempfile gettemplatepath gettickcount gettimezoneinfo gettoken hash hour htmlcodeformat htmleditformat iif incrementvalue inputbasen insert int isarray isbinary isboolean iscustomfunction isdate isdebugmode isdefined isk2serverabroker isk2serverdoccountexceeded isk2serveronline isleapyear isnumeric isnumericdate isobject isquery issimplevalue isstruct isuserinrole iswddx isxmldoc isxmlelement isxmlroot javacast jsstringformat lcase left len listappend listchangedelims listcontains listcontainsnocase listdeleteat listfind listfindnocase listfirst listgetat listinsertat listlast listlen listprepend listqualify listrest listsetat listsort listtoarray listvaluecount listvaluecountnocase ljustify log log10 lscurrencyformat lsdateformat lseurocurrencyformat lsiscurrency lsisdate lsisnumeric lsnumberformat lsparsecurrency lsparsedatetime lsparseeurocurrency lsparsenumber lstimeformat ltrim max mid min minute month monthasstring now numberformat paragraphformat parameterexists parsedatetime pi preservesinglequotes quarter queryaddcolumn queryaddrow querynew querysetcell quotedvaluelist rand randomize randrange refind refindnocase removechars repeatstring replace replacelist replacenocase rereplace rereplacenocase reverse right rjustify round rtrim second setencoding setlocale setprofilestring setvariable sgn sin spanexcluding spanincluding sqr stripcr structappend structclear structcopy structcount structdelete structfind structfindkey structfindvalue structget structinsert structisempty structkeyarray structkeyexists structkeylist structnew structsort structupdate tan timeformat tobase64 tobinary tostring trim ucase urldecode urlencodedformat urlsessionformat val valuelist week writeoutput xmlchildpos xmlelemnew xmlformat xmlnew xmlparse xmlsearch xmltransform year yesnoformat" regex_'3c'5bcC'5d'5bfF'5d'5bsS'5d'5bcC'5d'5brR'5d'5biI'5d'5bpP'5d'5btT'5d = compileRegex True "<[cC][fF][sS][cC][rR][iI][pP][tT]" regex_'3c'5bsS'5d'5bcC'5d'5brR'5d'5biI'5d'5bpP'5d'5btT'5d = compileRegex True "<[sS][cC][rR][iI][pP][tT]" regex_'3c'5bsS'5d'5btT'5d'5byY'5d'5blL'5d'5beE'5d = compileRegex True "<[sS][tT][yY][lL][eE]" regex_'3c'5c'2f'3f'5bcC'5d'5bfF'5d'5f = compileRegex True "<\\/?[cC][fF]_" regex_'3c'5c'2f'3f'5bcC'5d'5bfF'5d'5bxX'5d'5f = compileRegex True "<\\/?[cC][fF][xX]_" regex_'3c'5c'2f'3f'5bcC'5d'5bfF'5d = compileRegex True "<\\/?[cC][fF]" regex_'3c'5c'2f'3f'28'5btT'5d'5baAhHbBfFrRdD'5d'29'7c'28'5bcC'5d'5baA'5d'5bpP'5d'5btT'5d'29 = compileRegex True "<\\/?([tT][aAhHbBfFrRdD])|([cC][aA][pP][tT])" regex_'3c'5c'2f'3f'5baA'5d_ = compileRegex True "<\\/?[aA] " regex_'3c'5c'2f'3f'5biI'5d'5bmM'5d'5bgG'5d_ = compileRegex True "<\\/?[iI][mM][gG] " regex_'3c'21'3f'5c'2f'3f'5ba'2dzA'2dZ0'2d9'5f'5d'2b = compileRegex True "" regex_'3c'2f'5bsS'5d'5bcC'5d'5brR'5d'5biI'5d'5bpP'5d'5btT'5d'3e = compileRegex True "" regex_'3c'2f'5bsS'5d'5btT'5d'5byY'5d'5blL'5d'5beE'5d'3e = compileRegex True "" regex_'23'28'5b0'2d9a'2dfA'2dF'5d'7b3'7d'29'7c'28'5b0'2d9a'2dfA'2dF'5d'7b6'7d'29 = compileRegex True "#([0-9a-fA-F]{3})|([0-9a-fA-F]{6})" parseRules ("ColdFusion","Normal Text") = (((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxHTML Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("ColdFusion","ctxCF Comment") = (((pString False "--->" >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxCF Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("ColdFusion","ctxC Style Comment") = (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxC Style Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("ColdFusion","ctxOne Line Comment") = (currentContext >>= \x -> guard (x == ("ColdFusion","ctxOne Line Comment")) >> pDefault >>= withAttribute CommentTok) parseRules ("ColdFusion","ctxHTML Entities") = (((pDetectChar False ';' >>= withAttribute NormalTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxHTML Entities")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ColdFusion","ctxCFSCRIPT Block") = (((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ColdFusion","ctxC Style Comment")) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("ColdFusion","ctxOne Line Comment")) <|> ((pRegExpr regex_'22'5b'5e'22'5d'2a'22 >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'27'5b'5e'27'5d'2a'27 >>= withAttribute NormalTok)) <|> ((pInt >>= withAttribute NormalTok)) <|> ((pFloat >>= withAttribute NormalTok)) <|> ((pAnyChar "[()[\\]=+-*/]+" >>= withAttribute NormalTok)) <|> ((pAnyChar "{}" >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,<=>%&*/;?[]^{|}~\\" list_CFSCRIPT_Keywords >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,<=>%&*/;?[]^{|}~\\" list_CFSCRIPT_Functions >>= withAttribute FunctionTok)) <|> ((pRegExpr regex_'3c'2f'5bcC'5d'5bfF'5d'5bsS'5d'5bcC'5d'5brR'5d'5biI'5d'5bpP'5d'5btT'5d'3e >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxCFSCRIPT Block")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ColdFusion","ctxSCRIPT Block") = (((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ColdFusion","ctxC Style Comment")) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("ColdFusion","ctxOne Line Comment")) <|> ((pRegExpr regex_'22'5b'5e'22'5d'2a'22 >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'27'5b'5e'27'5d'2a'27 >>= withAttribute NormalTok)) <|> ((pInt >>= withAttribute NormalTok)) <|> ((pFloat >>= withAttribute NormalTok)) <|> ((pAnyChar "[()[\\]=+-*/]+" >>= withAttribute NormalTok)) <|> ((pAnyChar "{}" >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,<=>%&*/;?[]^{|}~\\" list_Script_Keywords >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,<=>%&*/;?[]^{|}~\\" list_Script_Objects >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,<=>%&*/;?[]^{|}~\\" list_Script_Methods >>= withAttribute FunctionTok)) <|> ((pRegExpr regex_'3c'2f'5bsS'5d'5bcC'5d'5brR'5d'5biI'5d'5bpP'5d'5btT'5d'3e >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxSCRIPT Block")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ColdFusion","ctxSTYLE Block") = (((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ColdFusion","ctxC Style Comment")) <|> ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("ColdFusion","ctxStyle Properties")) <|> ((pRegExpr regex_'3c'2f'5bsS'5d'5btT'5d'5byY'5d'5blL'5d'5beE'5d'3e >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxSTYLE Block")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ColdFusion","ctxStyle Properties") = (((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("ColdFusion","ctxC Style Comment")) <|> ((pDetectChar False ':' >>= withAttribute NormalTok) >>~ pushContext ("ColdFusion","ctxStyle Values")) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxStyle Properties")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ColdFusion","ctxStyle Values") = (((pDetectChar False ';' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pDetectChar False ',' >>= withAttribute NormalTok)) <|> ((pInt >>= withAttribute NormalTok)) <|> ((pFloat >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'23'28'5b0'2d9a'2dfA'2dF'5d'7b3'7d'29'7c'28'5b0'2d9a'2dfA'2dF'5d'7b6'7d'29 >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'22'5b'5e'22'5d'2a'22 >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'27'5b'5e'27'5d'2a'27 >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("ColdFusion","ctxStyle Values")) >> pDefault >>= withAttribute NormalTok)) parseRules x = parseRules ("ColdFusion","Normal Text") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Commonlisp.hs0000644000000000000000000004651212633103275023464 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file commonlisp.xml, version 1.05, by Dominik Haumann (dhdev@gmx.de) -} module Text.Highlighting.Kate.Syntax.Commonlisp (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Common Lisp" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.lisp;*.cl;*.lsp" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Common Lisp","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Common Lisp","Normal") -> return () ("Common Lisp","MultiLineComment") -> return () ("Common Lisp","function_decl") -> return () ("Common Lisp","SpecialNumber") -> (popContext) >> pEndLine ("Common Lisp","String") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_symbols = Set.fromList $ words $ "< <= = > >= => - / /= // /// * ** *** + ++ +++ 1- 1+" list_definitions = Set.fromList $ words $ "defclass defconstant defgeneric define-compiler-macro define-condition define-method-combination define-modify-macro define-setf-expander define-setf-method define-symbol-macro defmacro defmethod defpackage defparameter defsetf deftype defvar defun defstruct" list_keywords = Set.fromList $ words $ "abort abs access acons acos acosh add-method adjoin adjustable-array-p adjust-array allocate-instance alpha-char-p alphanumericp and append apply applyhook apropos apropos-list aref arithmetic-error arithmetic-error-operands arithmetic-error-operation array array-dimension array-dimension-limit array-dimensions array-displacement array-element-type array-has-fill-pointer-p array-in-bounds-p arrayp array-rank array-rank-limit array-row-major-index array-total-size array-total-size-limit ash asin asinh assert assoc assoc-if assoc-if-not atan atanh atom base-char base-string bignum bit bit-and bit-andc1 bit-andc2 bit-eqv bit-ior bit-nand bit-nor bit-not bit-orc1 bit-orc2 bit-vector bit-vector-p bit-xor block boole boole-1 boole-2 boolean boole-and boole-andc1 boole-andc2 boole-c1 boole-c2 boole-clr boole-eqv boole-ior boole-nand boole-nor boole-orc1 boole-orc2 boole-set boole-xor both-case-p boundp break broadcast-stream broadcast-stream-streams built-in-class butlast byte byte-position byte-size caaaar caaadr caaar caadar caaddr caadr caar cadaar cadadr cadar caddar cadddr caddr cadr call-arguments-limit call-method call-next-method capitalize car case catch ccase cdaaar cdaadr cdaar cdadar cdaddr cdadr cdar cddaar cddadr cddar cdddar cddddr cdddr cddr cdr ceiling cell-error cell-error-name cerror change-class char char< char<= char= char> char>= char/= character characterp char-bit char-bits char-bits-limit char-code char-code-limit char-control-bit char-downcase char-equal char-font char-font-limit char-greaterp char-hyper-bit char-int char-lessp char-meta-bit char-name char-not-equal char-not-greaterp char-not-lessp char-super-bit char-upcase check-type cis class class-name class-of clear-input clear-output close clrhash code-char coerce commonp compilation-speed compile compiled-function compiled-function-p compile-file compile-file-pathname compiler-let compiler-macro compiler-macro-function complement complex complexp compute-applicable-methods compute-restarts concatenate concatenated-stream concatenated-stream-streams cond condition conjugate cons consp constantly constantp continue control-error copy-alist copy-list copy-pprint-dispatch copy-readtable copy-seq copy-structure copy-symbol copy-tree cos cosh count count-if count-if-not ctypecase debug decf declaim declaration declare decode-float decode-universal-time delete delete-duplicates delete-file delete-if delete-if-not delete-package denominator deposit-field describe describe-object destructuring-bind digit-char digit-char-p directory directory-namestring disassemble division-by-zero do do* do-all-symbols documentation do-exeternal-symbols do-external-symbols dolist do-symbols dotimes double-float double-float-epsilon double-float-negative-epsilon dpb dribble dynamic-extent ecase echo-stream echo-stream-input-stream echo-stream-output-stream ed eighth elt encode-universal-time end-of-file endp enough-namestring ensure-directories-exist ensure-generic-function eq eql equal equalp error etypecase eval evalhook eval-when evenp every exp export expt extended-char fboundp fceiling fdefinition ffloor fifth file-author file-error file-error-pathname file-length file-namestring file-position file-stream file-string-length file-write-date fill fill-pointer find find-all-symbols find-class find-if find-if-not find-method find-package find-restart find-symbol finish-output first fixnum flet float float-digits floating-point-inexact floating-point-invalid-operation floating-point-overflow floating-point-underflow floatp float-precision float-radix float-sign floor fmakunbound force-output format formatter fourth fresh-line fround ftruncate ftype funcall function function-keywords function-lambda-expression functionp gbitp gcd generic-function gensym gentemp get get-decoded-time get-dispatch-macro-character getf gethash get-internal-real-time get-internal-run-time get-macro-character get-output-stream-string get-properties get-setf-expansion get-setf-method get-universal-time go graphic-char-p handler-bind handler-case hash-table hash-table-count hash-table-p hash-table-rehash-size hash-table-rehash-threshold hash-table-size hash-table-test host-namestring identity if if-exists ignorable ignore ignore-errors imagpart import incf initialize-instance inline in-package in-package input-stream-p inspect int-char integer integer-decode-float integer-length integerp interactive-stream-p intern internal-time-units-per-second intersection invalid-method-error invoke-debugger invoke-restart invoke-restart-interactively isqrt keyword keywordp labels lambda lambda-list-keywords lambda-parameters-limit last lcm ldb ldb-test ldiff least-negative-double-float least-negative-long-float least-negative-normalized-double-float least-negative-normalized-long-float least-negative-normalized-short-float least-negative-normalized-single-float least-negative-short-float least-negative-single-float least-positive-double-float least-positive-long-float least-positive-normalized-double-float least-positive-normalized-long-float least-positive-normalized-short-float least-positive-normalized-single-float least-positive-short-float least-positive-single-float length let let* lisp lisp-implementation-type lisp-implementation-version list list* list-all-packages listen list-length listp load load-logical-pathname-translations load-time-value locally log logand logandc1 logandc2 logbitp logcount logeqv logical-pathname logical-pathname-translations logior lognand lognor lognot logorc1 logorc2 logtest logxor long-float long-float-epsilon long-float-negative-epsilon long-site-name loop loop-finish lower-case-p machine-instance machine-type machine-version macroexpand macroexpand-1 macroexpand-l macro-function macrolet make-array make-array make-broadcast-stream make-char make-concatenated-stream make-condition make-dispatch-macro-character make-echo-stream make-hash-table make-instance make-instances-obsolete make-list make-load-form make-load-form-saving-slots make-method make-package make-pathname make-random-state make-sequence make-string make-string-input-stream make-string-output-stream make-symbol make-synonym-stream make-two-way-stream makunbound map mapc mapcan mapcar mapcon maphash map-into mapl maplist mask-field max member member-if member-if-not merge merge-pathname merge-pathnames method method-combination method-combination-error method-qualifiers min minusp mismatch mod most-negative-double-float most-negative-fixnum most-negative-long-float most-negative-short-float most-negative-single-float most-positive-double-float most-positive-fixnum most-positive-long-float most-positive-short-float most-positive-single-float muffle-warning multiple-value-bind multiple-value-call multiple-value-list multiple-value-prog1 multiple-value-seteq multiple-value-setq multiple-values-limit name-char namestring nbutlast nconc next-method-p nil nintersection ninth no-applicable-method no-next-method not notany notevery notinline nreconc nreverse nset-difference nset-exclusive-or nstring nstring-capitalize nstring-downcase nstring-upcase nsublis nsubst nsubst-if nsubst-if-not nsubstitute nsubstitute-if nsubstitute-if-not nth nthcdr nth-value null number numberp numerator nunion oddp open open-stream-p optimize or otherwise output-stream-p package package-error package-error-package package-name package-nicknames packagep package-shadowing-symbols package-used-by-list package-use-list pairlis parse-error parse-integer parse-namestring pathname pathname-device pathname-directory pathname-host pathname-match-p pathname-name pathnamep pathname-type pathname-version peek-char phase pi plusp pop position position-if position-if-not pprint pprint-dispatch pprint-exit-if-list-exhausted pprint-fill pprint-indent pprint-linear pprint-logical-block pprint-newline pprint-pop pprint-tab pprint-tabular prin1 prin1-to-string princ princ-to-string print print-not-readable print-not-readable-object print-object print-unreadable-object probe-file proclaim prog prog* prog1 prog2 progn program-error progv provide psetf psetq push pushnew putprop quote random random-state random-state-p rassoc rassoc-if rassoc-if-not ratio rational rationalize rationalp read read-byte read-char read-char-no-hang read-delimited-list reader-error read-eval-print read-from-string read-line read-preserving-whitespace read-sequence readtable readtable-case readtablep real realp realpart reduce reinitialize-instance rem remf remhash remove remove-duplicates remove-if remove-if-not remove-method remprop rename-file rename-package replace require rest restart restart-bind restart-case restart-name return return-from revappend reverse room rotatef round row-major-aref rplaca rplacd safety satisfies sbit scale-float schar search second sequence serious-condition set set-char-bit set-difference set-dispatch-macro-character set-exclusive-or setf set-macro-character set-pprint-dispatch setq set-syntax-from-char seventh shadow shadowing-import shared-initialize shiftf short-float short-float-epsilon short-float-negative-epsilon short-site-name signal signed-byte signum simle-condition simple-array simple-base-string simple-bit-vector simple-bit-vector-p simple-condition-format-arguments simple-condition-format-control simple-error simple-string simple-string-p simple-type-error simple-vector simple-vector-p simple-warning sin single-flaot-epsilon single-float single-float-epsilon single-float-negative-epsilon sinh sixth sleep slot-boundp slot-exists-p slot-makunbound slot-missing slot-unbound slot-value software-type software-version some sort space special special-form-p special-operator-p speed sqrt stable-sort standard standard-char standard-char-p standard-class standard-generic-function standard-method standard-object step storage-condition store-value stream stream-element-type stream-error stream-error-stream stream-external-format streamp streamup string string< string<= string= string> string>= string/= string-capitalize string-char string-char-p string-downcase string-equal string-greaterp string-left-trim string-lessp string-not-equal string-not-greaterp string-not-lessp stringp string-right-strim string-right-trim string-stream string-trim string-upcase structure structure-class structure-object style-warning sublim sublis subseq subsetp subst subst-if subst-if-not substitute substitute-if substitute-if-not subtypep svref sxhash symbol symbol-function symbol-macrolet symbol-name symbolp symbol-package symbol-plist symbol-value synonym-stream synonym-stream-symbol sys system t tagbody tailp tan tanh tenth terpri the third throw time trace translate-logical-pathname translate-pathname tree-equal truename truncase truncate two-way-stream two-way-stream-input-stream two-way-stream-output-stream type typecase type-error type-error-datum type-error-expected-type type-of typep unbound-slot unbound-slot-instance unbound-variable undefined-function unexport unintern union unless unread unread-char unsigned-byte untrace unuse-package unwind-protect update-instance-for-different-class update-instance-for-redefined-class upgraded-array-element-type upgraded-complex-part-type upper-case-p use-package user user-homedir-pathname use-value values values-list vector vectorp vector-pop vector-push vector-push-extend warn warning when wild-pathname-p with-accessors with-compilation-unit with-condition-restarts with-hash-table-iterator with-input-from-string with-open-file with-open-stream with-output-to-string with-package-iterator with-simple-restart with-slots with-standard-io-syntax write write-byte write-char write-line write-sequence write-string write-to-string yes-or-no-p y-or-n-p zerop" list_modifiers = Set.fromList $ words $ ":abort :adjustable :append :array :base :case :circle :conc-name :constructor :copier :count :create :default :defaults :device :direction :directory :displaced-index-offset :displaced-to :element-type :end1 :end2 :end :error :escape :external :from-end :gensym :host :if-does-not-exist:pretty :if-exists:print :include:print-function :index :inherited :initial-contents :initial-element :initial-offset :initial-value :input :internal:size :io :junk-allowed :key :length :level :named :name :new-version :nicknames :output-file :output :overwrite :predicate :preserve-whitespace :probe :radix :read-only :rehash-size :rehash-threshold :rename-and-delete :rename :start1 :start2 :start :stream :supersede :test :test-not :type :use :verbose :version" list_variables = Set.fromList $ words $ "*applyhook* *break-on-signals* *break-on-signals* *break-on-warnings* *compile-file-pathname* *compile-file-pathname* *compile-file-truename* *compile-file-truename* *compile-print* *compile-verbose* *compile-verbose* *debugger-hook* *debug-io* *default-pathname-defaults* *error-output* *evalhook* *features* *gensym-counter* *load-pathname* *load-print* *load-truename* *load-verbose* *macroexpand-hook* *modules* *package* *print-array* *print-base* *print-case* *print-circle* *print-escape* *print-gensym* *print-length* *print-level* *print-lines* *print-miser-width* *print-miser-width* *print-pprint-dispatch* *print-pprint-dispatch* *print-pretty* *print-radix* *print-readably* *print-right-margin* *print-right-margin* *query-io* *random-state* *read-base* *read-default-float-format* *read-eval* *read-suppress* *readtable* *standard-input* *standard-output* *terminal-io* *trace-output*" regex_'3b'2b'5cs'2aBEGIN'2e'2a'24 = compileRegex True ";+\\s*BEGIN.*$" regex_'3b'2b'5cs'2aEND'2e'2a'24 = compileRegex True ";+\\s*END.*$" regex_'3b'2e'2a'24 = compileRegex True ";.*$" regex_'23'5c'5c'2e = compileRegex True "#\\\\." regex_'23'5bbodxei'5d = compileRegex True "#[bodxei]" regex_'23'5btf'5d = compileRegex True "#[tf]" regex_'5cs'2a'5bA'2dZa'2dz0'2d9'2d'2b'5c'3c'5c'3e'2f'2f'5c'2a'5d'2a'5cs'2a = compileRegex True "\\s*[A-Za-z0-9-+\\<\\>//\\*]*\\s*" parseRules ("Common Lisp","Normal") = (((pRegExpr regex_'3b'2b'5cs'2aBEGIN'2e'2a'24 >>= withAttribute RegionMarkerTok)) <|> ((pRegExpr regex_'3b'2b'5cs'2aEND'2e'2a'24 >>= withAttribute RegionMarkerTok)) <|> ((pRegExpr regex_'3b'2e'2a'24 >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '#' '|' >>= withAttribute CommentTok) >>~ pushContext ("Common Lisp","MultiLineComment")) <|> ((pDetectChar False '(' >>= withAttribute NormalTok)) <|> ((pDetectChar False ')' >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.(),%&;[]^{|}~" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.(),%&;[]^{|}~" list_symbols >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.(),%&;[]^{|}~" list_modifiers >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.(),%&;[]^{|}~" list_variables >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.(),%&;[]^{|}~" list_definitions >>= withAttribute KeywordTok) >>~ pushContext ("Common Lisp","function_decl")) <|> ((pRegExpr regex_'23'5c'5c'2e >>= withAttribute CharTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Common Lisp","String")) <|> ((pRegExpr regex_'23'5bbodxei'5d >>= withAttribute CharTok) >>~ pushContext ("Common Lisp","SpecialNumber")) <|> ((pRegExpr regex_'23'5btf'5d >>= withAttribute DecValTok)) <|> ((pFloat >>= withAttribute FloatTok)) <|> ((pInt >>= withAttribute DecValTok)) <|> (currentContext >>= \x -> guard (x == ("Common Lisp","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Common Lisp","MultiLineComment") = (((pDetect2Chars False '|' '#' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Common Lisp","MultiLineComment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Common Lisp","function_decl") = (((pRegExpr regex_'5cs'2a'5bA'2dZa'2dz0'2d9'2d'2b'5c'3c'5c'3e'2f'2f'5c'2a'5d'2a'5cs'2a >>= withAttribute FunctionTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Common Lisp","function_decl")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Common Lisp","SpecialNumber") = (((pFloat >>= withAttribute FloatTok) >>~ (popContext)) <|> ((pInt >>= withAttribute DecValTok) >>~ (popContext)) <|> ((pHlCOct >>= withAttribute BaseNTok) >>~ (popContext)) <|> ((pHlCHex >>= withAttribute FloatTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Common Lisp","SpecialNumber")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Common Lisp","String") = (((pRegExpr regex_'23'5c'5c'2e >>= withAttribute CharTok)) <|> ((pHlCStringChar >>= withAttribute NormalTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Common Lisp","String")) >> pDefault >>= withAttribute StringTok)) parseRules x = parseRules ("Common Lisp","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Cpp.hs0000644000000000000000000006613112633103275022065 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file cpp.xml, version 1.9, by Alex Turbov (i.zaufi@gmail.com) -} module Text.Highlighting.Kate.Syntax.Cpp (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Isocpp import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "C++" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("C++","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("C++","Normal") -> return () ("C++","DetectQt4Extensions") -> return () ("C++","QtClassMember") -> (popContext) >> pEndLine ("C++","DetectNSEnd") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_Qt4Macros = Set.fromList $ words $ "emit signals slots foreach forever SIGNAL SLOT qApp Q_DECLARE_TR_FUNCTIONS Q_CLASSINFO Q_DISABLE_COPY Q_EMIT Q_ENUMS Q_FLAGS Q_INTERFACES Q_INVOKABLE Q_OBJECT Q_PROPERTY Q_SIGNAL Q_SIGNALS Q_SLOT Q_SLOTS Q_DECLARE_METATYPE QT_NO_CAST_FROM_BYTEARRAY QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII QT_NO_URL_CAST_FROM_STRING QT_USE_QSTRINGBUILDER QBENCHMARK QBENCHMARK_ONCE QCOMPARE QEXPECT_FAIL QFAIL QFETCH QSKIP QTEST QTEST_APPLESS_MAIN QTEST_MAIN QTEST_NOOP_MAIN QVERIFY2 QVERIFY QWARN QAXCLASS QAXFACTORY_BEGIN QAXFACTORY_DEFAULT QAXFACTORY_END QAXFACTORY_EXPORT QAXTYPE QDESIGNER_WIDGET_EXPORT QML_DECLARE_TYPE QML_DECLARE_TYPEINFO QTWEBKIT_VERSION QTWEBKIT_VERSION_CHECK QTWEBKIT_VERSION_STR Q_ARG Q_RETURN_ARG Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_NATIVE Q_ATOMIC_INT_FETCH_AND_ADD_IS_NOT_NATIVE Q_ATOMIC_INT_FETCH_AND_ADD_IS_SOMETIMES_NATIVE Q_ATOMIC_INT_FETCH_AND_ADD_IS_WAIT_FREE Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE Q_ATOMIC_INT_FETCH_AND_STORE_IS_NOT_NATIVE Q_ATOMIC_INT_FETCH_AND_STORE_IS_SOMETIMES_NATIVE Q_ATOMIC_INT_FETCH_AND_STORE_IS_WAIT_FREE Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE Q_ATOMIC_INT_REFERENCE_COUNTING_IS_NOT_NATIVE Q_ATOMIC_INT_REFERENCE_COUNTING_IS_SOMETIMES_NATIVE Q_ATOMIC_INT_REFERENCE_COUNTING_IS_WAIT_FREE Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE Q_ATOMIC_INT_TEST_AND_SET_IS_NOT_NATIVE Q_ATOMIC_INT_TEST_AND_SET_IS_SOMETIMES_NATIVE Q_ATOMIC_INT_TEST_AND_SET_IS_WAIT_FREE Q_DECLARE_EXTENSION_INTERFACE Q_DECLARE_INTERFACE Q_EXPORT_PLUGIN2 Q_IMPORT_PLUGIN Q_NOREPLY Q_SCRIPT_DECLARE_QMETAOBJECT QWIDGETSIZE_MAX QT3_SUPPORT QT3_SUPPORT_CONSTRUCTOR QT3_SUPPORT_VARIABLE QT3_SUPPORT_WARNINGS QT_ARCH_X86_64 QT_ASCII_CAST_WARN QT_ASCII_CAST_WARN_CONSTRUCTOR QT_BUILD_KEY QT_BUILD_KEY_COMPAT QT_CATCH QT_COMPAT QT_COMPAT_WARNINGS QT_DEBUG QT_DEPRECATED QT_DEPRECATED_CONSTRUCTOR QT_DEPRECATED_VARIABLE QT_EDITION QT_EDITION_ACADEMIC QT_EDITION_CONSOLE QT_EDITION_DESKTOP QT_EDITION_DESKTOPLIGHT QT_EDITION_EDUCATIONAL QT_EDITION_EVALUATION QT_EDITION_OPENSOURCE QT_EDITION_UNIVERSAL QT_ENSURE_STACK_ALIGNED_FOR_SSE QT_FASTCALL QT_FORWARD_DECLARE_CLASS QT_FORWARD_DECLARE_STRUCT QT_HAVE_ARMV6 QT_LARGEFILE_SUPPORT QT_LICENSED_MODULE QT_LINKED_OPENSSL QT_LINUXBASE QT_MAC_USE_COCOA QT_MOC_COMPAT QT_MODULE QT_MODULE_ACTIVEQT QT_MODULE_CORE QT_MODULE_DBUS QT_MODULE_DECLARATIVE QT_MODULE_GRAPHICSVIEW QT_MODULE_GUI QT_MODULE_HELP QT_MODULE_MULTIMEDIA QT_MODULE_NETWORK QT_MODULE_OPENGL QT_MODULE_OPENVG QT_MODULE_QT3SUPPORT QT_MODULE_QT3SUPPORTLIGHT QT_MODULE_SCRIPT QT_MODULE_SCRIPTTOOLS QT_MODULE_SQL QT_MODULE_SVG QT_MODULE_TEST QT_MODULE_XML QT_MODULE_XMLPATTERNS QT_NO_ACCESSIBILITY QT_NO_ANIMATION QT_NO_ARM_EABI QT_NO_BEARERMANAGEMENT QT_NO_BUTTONGROUP QT_NO_CALENDARWIDGET QT_NO_CLIPBOARD QT_NO_CODECS QT_NO_COLORDIALOG QT_NO_COLUMNVIEW QT_NO_COMBOBOX QT_NO_COMPLETER QT_NO_CONCURRENT QT_NO_CONCURRENT_FILTER QT_NO_CONCURRENT_MAP QT_NO_CONTEXTMENU QT_NO_COP QT_NO_CRASHHANDLER QT_NO_CUPS QT_NO_DATAWIDGETMAPPER QT_NO_DATESTRING QT_NO_DATETIMEEDIT QT_NO_DBUS QT_NO_DEBUG QT_NO_DEBUG_STREAM QT_NO_DECLARATIVE QT_NO_DIAL QT_NO_DIRMODEL QT_NO_DOCKWIDGET QT_NO_DRAGANDDROP QT_NO_EGL QT_NO_ERRORMESSAGE QT_NO_EXCEPTIONS QT_NO_FILEDIALOG QT_NO_FILESYSTEMMODEL QT_NO_FONTCOMBOBOX QT_NO_FONTCONFIG QT_NO_FONTDIALOG QT_NO_FPU QT_NO_FSCOMPLETER QT_NO_FTP QT_NO_GETIFADDRS QT_NO_GRAPHICSEFFECT QT_NO_GRAPHICSSVGITEM QT_NO_GRAPHICSVIEW QT_NO_GSTREAMER QT_NO_HOSTINFO QT_NO_HTTP QT_NO_ICD QT_NO_IM QT_NO_IMAGEFORMAT_JPEG QT_NO_IMAGEFORMAT_MNG QT_NO_IMAGEFORMAT_PNG QT_NO_IMAGEFORMAT_TIFF QT_NO_IMAGEFORMAT_XPM QT_NO_INPUTDIALOG QT_NO_ITEMVIEWS QT_NO_LIBRARY QT_NO_LISTVIEW QT_NO_LISTWIDGET QT_NO_LPR QT_NO_MAINWINDOW QT_NO_MDIAREA QT_NO_MENU QT_NO_MENUBAR QT_NO_MITSHM QT_NO_MULTIMEDIA QT_NO_NAS QT_NO_NETWORKDISKCACHE QT_NO_OPENGL QT_NO_OPENVG QT_NO_PAINT_DEBUG QT_NO_PHONON QT_NO_PHONON_EFFECTWIDGET QT_NO_PHONON_PLATFORMPLUGIN QT_NO_PHONON_SEEKSLIDER QT_NO_PHONON_SETTINGSGROUP QT_NO_PHONON_VIDEOPLAYER QT_NO_PHONON_VOLUMEFADEREFFECT QT_NO_PHONON_VOLUMESLIDER QT_NO_PRINTDIALOG QT_NO_PRINTER QT_NO_PRINTPREVIEWDIALOG QT_NO_PRINTPREVIEWWIDGET QT_NO_PROCESS QT_NO_PROGRESSDIALOG QT_NO_PROXYMODEL QT_NO_PULSEAUDIO QT_NO_QDEBUG_MACRO QT_NO_QFUTURE QT_NO_QWARNING_MACRO QT_NO_QWS_CURSOR QT_NO_QWS_DECORATION_STYLED QT_NO_QWS_DECORATION_WINDOWS QT_NO_QWS_DYNAMICSCREENTRANSFORMATION QT_NO_QWS_INPUTMETHODS QT_NO_QWS_MANAGER QT_NO_QWS_MULTIPROCESS QT_NO_QWS_SOUNDSERVER QT_NO_QWS_TRANSFORMED QT_NO_QWS_VNC QT_NO_RAWFONT QT_NO_S60 QT_NO_SCRIPT QT_NO_SCRIPTTOOLS QT_NO_SCROLLAREA QT_NO_SCROLLBAR QT_NO_SESSIONMANAGER QT_NO_SHAPE QT_NO_SHAREDMEMORY QT_NO_SOCKS5 QT_NO_SOFTKEYMANAGER QT_NO_SORTFILTERPROXYMODEL QT_NO_SPINBOX QT_NO_SPLITTER QT_NO_STANDARDITEMMODEL QT_NO_STATEMACHINE QT_NO_STL_WCHAR QT_NO_STRINGLISTMODEL QT_NO_STYLE_CDE QT_NO_STYLE_CLEANLOOKS QT_NO_STYLE_GTK QT_NO_STYLE_PLASTIQUE QT_NO_STYLE_S60 QT_NO_STYLE_STYLESHEET QT_NO_STYLE_WINDOWSCE QT_NO_STYLE_WINDOWSMOBILE QT_NO_STYLE_WINDOWSVISTA QT_NO_STYLE_WINDOWSXP QT_NO_SVG QT_NO_SVGGENERATOR QT_NO_SVGRENDERER QT_NO_SVGWIDGET QT_NO_SXE QT_NO_SYNTAXHIGHLIGHTER QT_NO_SYSTEMSEMAPHORE QT_NO_TABBAR QT_NO_TABDIALOG QT_NO_TABLET QT_NO_TABLEVIEW QT_NO_TABLEWIDGET QT_NO_TABWIDGET QT_NO_TEMPLATE_TEMPLATE_PARAMETERS QT_NO_TEXTBROWSER QT_NO_TEXTCODECPLUGIN QT_NO_TEXTEDIT QT_NO_TEXTODFWRITER QT_NO_TOOLBAR QT_NO_TOOLBOX QT_NO_TOOLBUTTON QT_NO_TRANSLATION_UTF8 QT_NO_TREEVIEW QT_NO_TREEWIDGET QT_NO_UNDOGROUP QT_NO_UNDOSTACK QT_NO_UNDOVIEW QT_NO_WARNINGS QT_NO_WEBKIT QT_NO_WHATSTHIS QT_NO_WIN_ACTIVEQT QT_NO_WIZARD QT_NO_WORKSPACE QT_NO_XCURSOR QT_NO_XFIXES QT_NO_XINERAMA QT_NO_XINPUT QT_NO_XKB QT_NO_XMLPATTERNS QT_NO_XMLSTREAMREADER QT_NO_XMLSTREAMWRITER QT_NO_XRANDR QT_NO_XRENDER QT_NO_XSYNC QT_NO_XVIDEO QT_NO_ZLIB QT_PACKAGEDATE_STR QT_PACKAGE_TAG QT_POINTER_SIZE QT_PREPEND_NAMESPACE QT_PRODUCT_LICENSE QT_PRODUCT_LICENSEE QT_RETHROW QT_STATIC_CONST QT_STATIC_CONST_IMPL QT_STRINGIFY QT_STRINGIFY2 QT_SUPPORTS QT_SYMBIAN_SUPPORTS_ADVANCED_POINTER QT_SYMBIAN_SUPPORTS_SGIMAGE QT_THROW QT_TRANSLATE_NOOP QT_TRANSLATE_NOOP3 QT_TRANSLATE_NOOP3_UTF8 QT_TRANSLATE_NOOP_UTF8 QT_TRAP_THROWING QT_TRID_NOOP QT_TRY QT_TRYCATCH_ERROR QT_TRYCATCH_LEAVING QT_TR_NOOP QT_TR_NOOP_UTF8 QT_USE_MATH_H_FLOATS QT_USE_NAMESPACE QT_VERSION QT_VERSION_CHECK QT_VERSION_STR QT_VISIBILITY_AVAILABLE QT_WA QT_WA_INLINE QT_WIN_CALLBACK QT_USE_NAMESPACE QT_BEGIN_NAMESPACE QT_END_NAMESPACE QT_BEGIN_HEADER QT_END_HEADER Q_ALIGNOF Q_ASSERT Q_ASSERT_X Q_BIG_ENDIAN Q_BROKEN_DEBUG_STREAM Q_BROKEN_TEMPLATE_SPECIALIZATION Q_BYTE_ORDER Q_CANNOT_DELETE_CONSTANT Q_CC_BOR Q_CC_CDS Q_CC_CLANG Q_CC_COMEAU Q_CC_DEC Q_CC_DIAB Q_CC_EDG Q_CC_GCCE Q_CC_GHS Q_CC_GNU Q_CC_HIGHC Q_CC_HP Q_CC_HPACC Q_CC_INTEL Q_CC_KAI Q_CC_MINGW Q_CC_MIPS Q_CC_MSVC Q_CC_MSVC_NET Q_CC_MWERKS Q_CC_NOKIAX86 Q_CC_OC Q_CC_PGI Q_CC_RVCT Q_CC_SUN Q_CC_SYM Q_CC_USLC Q_CC_WAT Q_CC_XLC Q_CHECK_PTR Q_CLEANUP_RESOURCE Q_COMPILER_AUTO_TYPE Q_COMPILER_CLASS_ENUM Q_COMPILER_CONSTEXPR Q_COMPILER_DECLTYPE Q_COMPILER_DEFAULT_DELETE_MEMBERS Q_COMPILER_EXTERN_TEMPLATES Q_COMPILER_INITIALIZER_LISTS Q_COMPILER_LAMBDA Q_COMPILER_MANGLES_RETURN_TYPE Q_COMPILER_RVALUE_REFS Q_COMPILER_UNICODE_STRINGS Q_COMPILER_VARIADIC_TEMPLATES Q_CONSTRUCTOR_FUNCTION Q_CONSTRUCTOR_FUNCTION0 Q_C_CALLBACKS Q_D Q_DECLARE_FLAGS Q_DECLARE_INCOMPATIBLE_FLAGS Q_DECLARE_OPERATORS_FOR_FLAGS Q_DECLARE_PRIVATE Q_DECLARE_PRIVATE_D Q_DECLARE_PUBLIC Q_DECLARE_SHARED Q_DECLARE_SHARED_STL Q_DECLARE_TYPEINFO Q_DECLARE_TYPEINFO_BODY Q_DECL_ALIGN Q_DECL_CONSTEXPR Q_DECL_CONSTRUCTOR_DEPRECATED Q_DECL_DEPRECATED Q_DECL_FINAL Q_DECL_HIDDEN Q_DECL_IMPORT Q_DECL_OVERRIDE Q_DECL_NOEXCEPT Q_DECL_NOTHROW Q_NULLPTR Q_DECL_VARIABLE_DEPRECATED Q_DESTRUCTOR_FUNCTION Q_DESTRUCTOR_FUNCTION0 Q_DISABLE_COPY Q_DUMMY_COMPARISON_OPERATOR Q_FOREACH Q_FOREVER Q_FULL_TEMPLATE_INSTANTIATION Q_FUNC_INFO Q_GLOBAL_STATIC Q_GLOBAL_STATIC_INIT Q_GLOBAL_STATIC_WITH_ARGS Q_GLOBAL_STATIC_WITH_INITIALIZER Q_INIT_RESOURCE Q_INIT_RESOURCE_EXTERN Q_INLINE_TEMPLATE Q_INT64_C Q_LIKELY Q_LITTLE_ENDIAN Q_NO_BOOL_TYPE Q_NO_DATA_RELOCATION Q_NO_DECLARED_NOT_DEFINED Q_NO_DEPRECATED_CONSTRUCTORS Q_NO_EXPLICIT_KEYWORD Q_NO_PACKED_REFERENCE Q_NO_POSIX_SIGNALS Q_NO_TEMPLATE_FRIENDS Q_NO_USING_KEYWORD Q_OF_ELF Q_OS_AIX Q_OS_BSD4 Q_OS_BSDI Q_OS_CYGWIN Q_OS_DARWIN Q_OS_DARWIN32 Q_OS_DARWIN64 Q_OS_DGUX Q_OS_DYNIX Q_OS_FREEBSD Q_OS_HPUX Q_OS_HURD Q_OS_INTEGRITY Q_OS_IRIX Q_OS_LINUX Q_OS_LYNX Q_OS_MAC Q_OS_MAC32 Q_OS_MAC64 Q_OS_MACX Q_OS_MSDOS Q_OS_NACL Q_OS_NETBSD Q_OS_OPENBSD Q_OS_OS2 Q_OS_OS2EMX Q_OS_OSF Q_OS_QNX Q_OS_RELIANT Q_OS_SCO Q_OS_SOLARIS Q_OS_SYMBIAN Q_OS_ULTRIX Q_OS_UNIX Q_OS_UNIXWARE Q_OS_VXWORKS Q_OS_WIN Q_OS_WIN32 Q_OS_WIN64 Q_OS_WINCE Q_OUTOFLINE_TEMPLATE Q_PACKED Q_Q Q_REQUIRED_RESULT Q_SYMBIAN_FIXED_POINTER_CURSORS Q_SYMBIAN_HAS_EXTENDED_BITMAP_TYPE Q_SYMBIAN_SEMITRANSPARENT_BG_SURFACE Q_SYMBIAN_SUPPORTS_FIXNATIVEORIENTATION Q_SYMBIAN_SUPPORTS_MULTIPLE_SCREENS Q_SYMBIAN_SUPPORTS_SURFACES Q_SYMBIAN_TRANSITION_EFFECTS Q_SYMBIAN_WINDOW_SIZE_CACHE Q_TEMPLATEDLL Q_TYPENAME Q_TYPEOF Q_UINT64_C Q_UNLIKELY Q_UNUSED Q_WRONG_SB_CTYPE_MACROS Q_WS_MAC Q_WS_MAC32 Q_WS_MAC64 Q_WS_MACX Q_WS_PM Q_WS_S60 Q_WS_WIN Q_WS_WIN16 Q_WS_WIN32 Q_WS_WIN64 Q_WS_WINCE Q_WS_WINCE_WM Q_WS_X11 Q_COMPLEX_TYPE Q_PRIMITIVE_TYPE Q_STATIC_TYPE Q_MOVABLE_TYPE Q_DUMMY_TYPE" list_Qt4Classes = Set.fromList $ words $ "QAbstractAnimation QAbstractButton QAbstractEventDispatcher QAbstractExtensionFactory QAbstractExtensionManager QAbstractFileEngine QAbstractFileEngineHandler QAbstractFileEngineIterator QAbstractFontEngine QAbstractFormBuilder QAbstractGraphicsShapeItem QAbstractItemDelegate QAbstractItemModel QAbstractItemView QAbstractListModel QAbstractMessageHandler QAbstractNetworkCache QAbstractPrintDialog QAbstractProxyModel QAbstractScrollArea QAbstractSlider QAbstractSocket QAbstractSpinBox QAbstractState QAbstractTableModel QAbstractTextDocumentLayout QAbstractTransition QAbstractUriResolver QAbstractVideoBuffer QAbstractVideoSurface QAbstractXmlNodeModel QAbstractXmlReceiver QAccessible QAccessibleBridge QAccessibleBridgePlugin QAccessibleEvent QAccessibleInterface QAccessibleObject QAccessiblePlugin QAccessibleWidget QAction QActionEvent QActionGroup QAnimationGroup QApplication QAtomicInt QAtomicPointer QAudioDeviceInfo QAudioFormat QAudioInput QAudioOutput QAuthenticator QAxAggregated QAxBase QAxBindable QAxFactory QAxObject QAxScript QAxScriptEngine QAxScriptManager QAxWidget QBasicTimer QBitArray QBitmap QBoxLayout QBool QBrush QBuffer QButtonGroup QByteArray QByteArrayMatcher QCache QCalendarWidget QCDEStyle QChar QCheckBox QChildEvent QCleanlooksStyle QClipboard QCloseEvent QColor QColorDialog QColormap QColumnView QComboBox QCommandLinkButton QCommonStyle QCompleter QConicalGradient QContextMenuEvent QContiguousCache QCopChannel QCoreApplication QCryptographicHash QCursor QCustomRasterPaintDevice QDataStream QDataWidgetMapper QDate QDateEdit QDateTime QDateTimeEdit QDBusAbstractAdaptor QDBusAbstractInterface QDBusArgument QDBusConnection QDBusConnectionInterface QDBusContext QDBusError QDBusInterface QDBusMessage QDBusObjectPath QDBusPendingCall QDBusPendingCallWatcher QDBusPendingReply QDBusReply QDBusServiceWatcher QDBusSignature QDBusUnixFileDescriptor QDBusVariant QDebug QDeclarativeComponent QDeclarativeContext QDeclarativeEngine QDeclarativeError QDeclarativeExpression QDeclarativeExtensionPlugin QDeclarativeImageProvider QDeclarativeItem QDeclarativeListProperty QDeclarativeListReference QDeclarativeNetworkAccessManagerFactory QDeclarativeParserStatus QDeclarativeProperty QDeclarativePropertyMap QDeclarativePropertyValueSource QDeclarativeScriptString QDeclarativeView QDecoration QDecorationDefault QDecorationFactory QDecorationPlugin QDesignerActionEditorInterface QDesignerContainerExtension QDesignerCustomWidgetCollectionInterface QDesignerCustomWidgetInterface QDesignerDynamicPropertySheetExtension QDesignerFormEditorInterface QDesignerFormWindowCursorInterface QDesignerFormWindowInterface QDesignerFormWindowManagerInterface QDesignerMemberSheetExtension QDesignerObjectInspectorInterface QDesignerPropertyEditorInterface QDesignerPropertySheetExtension QDesignerTaskMenuExtension QDesignerWidgetBoxInterface QDesktopServices QDesktopWidget QDial QDialog QDialogButtonBox QDir QDirectPainter QDirIterator QDockWidget QDomAttr QDomCDATASection QDomCharacterData QDomComment QDomDocument QDomDocumentFragment QDomDocumentType QDomElement QDomEntity QDomEntityReference QDomImplementation QDomNamedNodeMap QDomNode QDomNodeList QDomNotation QDomProcessingInstruction QDomText QDoubleSpinBox QDoubleValidator QDrag QDragEnterEvent QDragLeaveEvent QDragMoveEvent QDropEvent QDynamicPropertyChangeEvent QEasingCurve QElapsedTimer QErrorMessage QEvent QEventLoop QEventTransition QExplicitlySharedDataPointer QExtensionFactory QExtensionManager QFile QFileDialog QFileIconProvider QFileInfo QFileOpenEvent QFileSystemModel QFileSystemWatcher QFinalState QFlag QFlags QFocusEvent QFocusFrame QFont QFontComboBox QFontDatabase QFontDialog QFontEngineInfo QFontEnginePlugin QFontInfo QFontMetrics QFontMetricsF QFormBuilder QFormLayout QFrame QFSFileEngine QFtp QFuture QFutureIterator QFutureSynchronizer QFutureWatcher QGenericArgument QGenericMatrix QGenericPlugin QGenericPluginFactory QGenericReturnArgument QGesture QGestureEvent QGestureRecognizer QGLBuffer QGLColormap QGLContext QGLFormat QGLFramebufferObject QGLFramebufferObjectFormat QGLFunctions QGLPixelBuffer QGLShader QGLShaderProgram QGLWidget QGlyphRun QGradient QGraphicsAnchor QGraphicsAnchorLayout QGraphicsBlurEffect QGraphicsColorizeEffect QGraphicsDropShadowEffect QGraphicsEffect QGraphicsEllipseItem QGraphicsGridLayout QGraphicsItem QGraphicsItemAnimation QGraphicsItemGroup QGraphicsLayout QGraphicsLayoutItem QGraphicsLinearLayout QGraphicsLineItem QGraphicsObject QGraphicsOpacityEffect QGraphicsPathItem QGraphicsPixmapItem QGraphicsPolygonItem QGraphicsProxyWidget QGraphicsRectItem QGraphicsRotation QGraphicsScale QGraphicsScene QGraphicsSceneContextMenuEvent QGraphicsSceneDragDropEvent QGraphicsSceneEvent QGraphicsSceneHelpEvent QGraphicsSceneHoverEvent QGraphicsSceneMouseEvent QGraphicsSceneMoveEvent QGraphicsSceneResizeEvent QGraphicsSceneWheelEvent QGraphicsSimpleTextItem QGraphicsSvgItem QGraphicsTextItem QGraphicsTransform QGraphicsView QGraphicsWebView QGraphicsWidget QGridLayout QGroupBox QGtkStyle QHash QHashIterator QHBoxLayout QHeaderView QHelpContentItem QHelpContentModel QHelpContentWidget QHelpEngine QHelpEngineCore QHelpEvent QHelpIndexModel QHelpIndexWidget QHelpSearchEngine QHelpSearchQuery QHelpSearchQueryWidget QHelpSearchResultWidget QHideEvent QHistoryState QHostAddress QHostInfo QHoverEvent QHttpMultiPart QHttpPart QIcon QIconDragEvent QIconEngine QIconEnginePlugin QIconEnginePluginV2 QIconEngineV2 QIdentityProxyModel QImage QImageIOHandler QImageIOPlugin QImageReader QImageWriter QInputContext QInputContextFactory QInputContextPlugin QInputDialog QInputEvent QInputMethodEvent QIntValidator QIODevice QItemDelegate QItemEditorCreator QItemEditorCreatorBase QItemEditorFactory QItemSelection QItemSelectionModel QItemSelectionRange QKbdDriverFactory QKbdDriverPlugin QKeyEvent QKeyEventTransition QKeySequence QLabel QLatin1Char QLatin1String QLayout QLayoutItem QLCDNumber QLibrary QLibraryInfo QLine QLinearGradient QLineEdit QLineF QLinkedList QLinkedListIterator QList QListIterator QListView QListWidget QListWidgetItem QLocale QLocalServer QLocalSocket QMacCocoaViewContainer QMacNativeWidget QMacPasteboardMime QMacStyle QMainWindow QMap QMapIterator QMargins QMatrix4x4 QMdiArea QMdiSubWindow QMenu QMenuBar QMessageBox QMetaClassInfo QMetaEnum QMetaMethod QMetaObject QMetaProperty QMetaType QMimeData QModelIndex QMotifStyle QMouseDriverFactory QMouseDriverPlugin QMouseEvent QMouseEventTransition QMoveEvent QMovie QMultiHash QMultiMap QMutableHashIterator QMutableLinkedListIterator QMutableListIterator QMutableMapIterator QMutableSetIterator QMutableVectorIterator QMutex QMutexLocker QNetworkAccessManager QNetworkAddressEntry QNetworkCacheMetaData QNetworkConfiguration QNetworkConfigurationManager QNetworkCookie QNetworkCookieJar QNetworkDiskCache QNetworkInterface QNetworkProxy QNetworkProxyFactory QNetworkProxyQuery QNetworkReply QNetworkRequest QNetworkSession QObject QObjectCleanupHandler QPageSetupDialog QPaintDevice QPaintEngine QPaintEngineState QPainter QPainterPath QPainterPathStroker QPaintEvent QPair QPalette QPanGesture QParallelAnimationGroup QPauseAnimation QPen QPersistentModelIndex QPicture QPinchGesture QPixmap QPixmapCache QPlainTextDocumentLayout QPlainTextEdit QPlastiqueStyle QPlatformCursor QPlatformCursorImage QPlatformFontDatabase QPlatformWindowFormat QPluginLoader QPoint QPointer QPointF QPolygon QPolygonF QPrintDialog QPrintEngine QPrinter QPrinterInfo QPrintPreviewDialog QPrintPreviewWidget QProcess QProcessEnvironment QProgressBar QProgressDialog QPropertyAnimation QProxyScreen QProxyScreenCursor QProxyStyle QPushButton QQuaternion QQueue QRadialGradient QRadioButton QRasterPaintEngine QRawFont QReadLocker QReadWriteLock QRect QRectF QRegExp QRegExpValidator QRegion QResizeEvent QResource QRubberBand QRunnable QS60MainApplication QS60MainAppUi QS60MainDocument QS60Style QScopedArrayPointer QScopedPointer QScopedValueRollback QScreen QScreenCursor QScreenDriverFactory QScreenDriverPlugin QScriptable QScriptClass QScriptClassPropertyIterator QScriptContext QScriptContextInfo QScriptEngine QScriptEngineAgent QScriptEngineDebugger QScriptExtensionPlugin QScriptProgram QScriptString QScriptSyntaxCheckResult QScriptValue QScriptValueIterator QScrollArea QScrollBar QSemaphore QSequentialAnimationGroup QSessionManager QSet QSetIterator QSettings QSharedData QSharedDataPointer QSharedMemory QSharedPointer QShortcut QShortcutEvent QShowEvent QSignalMapper QSignalSpy QSignalTransition QSimpleXmlNodeModel QSize QSizeF QSizeGrip QSizePolicy QSlider QSocketNotifier QSortFilterProxyModel QSound QSourceLocation QSpacerItem QSpinBox QSplashScreen QSplitter QSplitterHandle QSqlDatabase QSqlDriver QSqlDriverCreator QSqlDriverCreatorBase QSqlDriverPlugin QSqlError QSqlField QSqlIndex QSqlQuery QSqlQueryModel QSqlRecord QSqlRelation QSqlRelationalDelegate QSqlRelationalTableModel QSqlResult QSqlTableModel QSslCertificate QSslCipher QSslConfiguration QSslError QSslKey QSslSocket QStack QStackedLayout QStackedWidget QStandardItem QStandardItemEditorCreator QStandardItemModel QState QStateMachine QStaticText QStatusBar QStatusTipEvent QString QStringList QStringListModel QStringMatcher QStringRef QStyle QStyledItemDelegate QStyleFactory QStyleHintReturn QStyleHintReturnMask QStyleHintReturnVariant QStyleOption QStyleOptionButton QStyleOptionComboBox QStyleOptionComplex QStyleOptionDockWidget QStyleOptionFocusRect QStyleOptionFrame QStyleOptionFrameV2 QStyleOptionFrameV3 QStyleOptionGraphicsItem QStyleOptionGroupBox QStyleOptionHeader QStyleOptionMenuItem QStyleOptionProgressBar QStyleOptionProgressBarV2 QStyleOptionQ3DockWindow QStyleOptionQ3ListView QStyleOptionQ3ListViewItem QStyleOptionRubberBand QStyleOptionSizeGrip QStyleOptionSlider QStyleOptionSpinBox QStyleOptionTab QStyleOptionTabBarBase QStyleOptionTabBarBaseV2 QStyleOptionTabV2 QStyleOptionTabV3 QStyleOptionTabWidgetFrame QStyleOptionTabWidgetFrameV2 QStyleOptionTitleBar QStyleOptionToolBar QStyleOptionToolBox QStyleOptionToolBoxV2 QStyleOptionToolButton QStyleOptionViewItem QStyleOptionViewItemV2 QStyleOptionViewItemV3 QStyleOptionViewItemV4 QStylePainter QStylePlugin QSupportedWritingSystems QSvgGenerator QSvgRenderer QSvgWidget QSwipeGesture QSymbianEvent QSymbianGraphicsSystemHelper QSyntaxHighlighter QSysInfo QSystemLocale QSystemSemaphore QSystemTrayIcon QTabBar QTabletEvent QTableView QTableWidget QTableWidgetItem QTableWidgetSelectionRange QTabWidget QTapAndHoldGesture QTapGesture QTcpServer QTcpSocket QTemporaryFile QTestEventList QTextBlock QTextBlockFormat QTextBlockGroup QTextBlockUserData QTextBoundaryFinder QTextBrowser QTextCharFormat QTextCodec QTextCodecPlugin QTextCursor QTextDecoder QTextDocument QTextDocumentFragment QTextDocumentWriter QTextEdit QTextEncoder QTextFormat QTextFragment QTextFrame QTextFrameFormat QTextImageFormat QTextInlineObject QTextItem QTextLayout QTextLength QTextLine QTextList QTextListFormat QTextObject QTextObjectInterface QTextOption QTextStream QTextTable QTextTableCell QTextTableCellFormat QTextTableFormat QThread QThreadPool QThreadStorage QTileRules QTime QTimeEdit QTimeLine QTimer QTimerEvent QToolBar QToolBox QToolButton QToolTip QTouchEvent QTransform QTranslator QTreeView QTreeWidget QTreeWidgetItem QTreeWidgetItemIterator QUdpSocket QUiLoader QUndoCommand QUndoGroup QUndoStack QUndoView QUrl QUrlInfo QUuid QValidator QVariant QVariantAnimation QVarLengthArray QVBoxLayout QVector QVector2D QVector3D QVector4D QVectorIterator QVideoFrame QVideoSurfaceFormat QWaitCondition QWeakPointer QWebDatabase QWebElement QWebElementCollection QWebFrame QWebHistory QWebHistoryInterface QWebHistoryItem QWebHitTestResult QWebInspector QWebPage QWebPluginFactory QWebSecurityOrigin QWebSettings QWebView QWhatsThis QWhatsThisClickedEvent QWheelEvent QWidget QWidgetAction QWidgetItem QWindowsMime QWindowsStyle QWindowStateChangeEvent QWindowsVistaStyle QWindowsXPStyle QWizard QWizardPage QWriteLocker QWSCalibratedMouseHandler QWSClient QWSEmbedWidget QWSEvent QWSGLWindowSurface QWSInputMethod QWSKeyboardHandler QWSMouseHandler QWSPointerCalibrationData QWSScreenSaver QWSServer QWSWindow QX11EmbedContainer QX11EmbedWidget QX11Info QXmlAttributes QXmlContentHandler QXmlDeclHandler QXmlDefaultHandler QXmlDTDHandler QXmlEntityResolver QXmlErrorHandler QXmlFormatter QXmlInputSource QXmlItem QXmlLexicalHandler QXmlLocator QXmlName QXmlNamePool QXmlNamespaceSupport QXmlNodeModelIndex QXmlParseException QXmlQuery QXmlReader QXmlResultItems QXmlSchema QXmlSchemaValidator QXmlSerializer QXmlSimpleReader QXmlStreamAttribute QXmlStreamAttributes QXmlStreamEntityDeclaration QXmlStreamEntityResolver QXmlStreamNamespaceDeclaration QXmlStreamNotationDeclaration QXmlStreamReader QXmlStreamWriter Qt QTest QtConcurrent Phonon QFileInfoList QMutableStringListIterator QTouchEventSequence QStringListIterator QStringBuilder QWidgetList" list_Qt4Func = Set.fromList $ words $ "connect disconnect staticMetaObject tr trUtf8 qFindChildren qobject_cast qAbs qBound qCritical qDebug qFatal qFuzzyCompare qFuzzyCompare qInstallMsgHandler qMacVersion qMakePair qMax qMin qPrintable qRound64 qRound qVersion qWarning q_check_ptr qgetenv qrand qsrand qtTrId qt_set_sequence_auto_mnemonic qt_symbian_exception2Error qt_symbian_exception2LeaveL qt_symbian_throwIfError qBinaryFind qCopy qCopyBackward qCount qDeleteAll qEqual qFill qFind qGreater qLess qLowerBound qSort qStableSort qSwap qUpperBound qChecksum qCompress qUncompress qsnprintf qstrcmp qstrcpy qstrdup qstricmp qstrlen qstrncmp qstrncpy qstrnicmp qstrnlen qvsnprintf qHash qMetaTypeId qRegisterMetaType qRegisterMetaType qRegisterMetaTypeStreamOperators qAlpha qBlue qGray qGray qGreen qRed qRgb qRgba qAddPostRoutine qmlInfo qmlRegisterInterface qmlRegisterType qmlRegisterType qmlRegisterTypeNotAvailable qmlRegisterUncreatableType qWebKitMajorVersion qWebKitMinorVersion qWebKitVersion qt_extension qDBusRegisterMetaType qdbus_cast" list_Qt4Types = Set.fromList $ words $ "QtMsgHandler QtMsgType QObjectList qint8 qint16 qint32 qint64 qlonglong qptrdiff qreal quint8 quint16 quint32 quint64 quintptr qulonglong uchar uint ulong ushort Q_PID QRgb qScriptConnect qScriptDisconnect qScriptRegisterMetaType qScriptRegisterSequenceMetaType qScriptValueFromSequence qScriptValueToSequence WId" parseRules ("C++","Normal") = (((parseRules ("C++","DetectQt4Extensions"))) <|> ((Text.Highlighting.Kate.Syntax.Isocpp.parseExpression (Just ("ISO C++","")))) <|> (currentContext >>= \x -> guard (x == ("C++","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("C++","DetectQt4Extensions") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Types >>= withAttribute DataTypeTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Classes >>= withAttribute OtherTok) >>~ pushContext ("C++","QtClassMember")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Func >>= withAttribute FunctionTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Qt4Macros >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("C++","DetectQt4Extensions")) >> pDefault >>= withAttribute NormalTok)) parseRules ("C++","QtClassMember") = (((parseRules ("C++","DetectNSEnd"))) <|> (currentContext >>= \x -> guard (x == ("C++","QtClassMember")) >> pDefault >>= withAttribute OtherTok)) parseRules ("C++","DetectNSEnd") = (((pDetectIdentifier >>= withAttribute NormalTok)) <|> ((lookAhead (pAnyChar "!% &()+-/.*<=>?[]{|}~^,;") >> (popContext) >> currentContext >>= parseRules)) <|> ((lookAhead (pAnyChar " ") >> currentContext >>= parseRules)) <|> (currentContext >>= \x -> guard (x == ("C++","DetectNSEnd")) >> pDefault >>= withAttribute NormalTok)) parseRules ("ISO C++", _) = Text.Highlighting.Kate.Syntax.Isocpp.parseExpression Nothing parseRules x = parseRules ("C++","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Cs.hs0000644000000000000000000002052612633103275021706 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file cs.xml, version 1.15, by -} module Text.Highlighting.Kate.Syntax.Cs (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Doxygen import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "C#" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.cs" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("C#","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("C#","Normal") -> return () ("C#","String") -> (popContext) >> pEndLine ("C#","Member") -> (popContext) >> pEndLine ("C#","Commentar 1") -> (popContext) >> pEndLine ("C#","Commentar 2") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_keywords = Set.fromList $ words $ "abstract as base break case catch class checked continue default delegate do else enum event explicit extern false for foreach finally fixed goto if implicit in interface internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static struct switch this throw true try typeof unchecked unsafe using virtual while #if #else #elif #endif #define #undef #warning #error #line" list_types = Set.fromList $ words $ "bool byte char const decimal double float int long object uint ushort ulong sbyte short string void" regex_'5cbpartial'28'3f'3d'5cs'2b'28class'7cstruct'7cinterface'7cvoid'29'29 = compileRegex True "\\bpartial(?=\\s+(class|struct|interface|void))" regex_'5cbvar'28'3f'3d'5cs'2b'5cw'2b'5cs'2a'3d'5cs'2a'5cw'2b'29 = compileRegex True "\\bvar(?=\\s+\\w+\\s*=\\s*\\w+)" regex_'5cbyield'28'3f'3d'5cs'2b'28return'7cbreak'29'29 = compileRegex True "\\byield(?=\\s+(return|break))" regex_'5cb'28set'7cget'29'28'3f'3d'5cs'2a'5b'3b'7b'5d'29 = compileRegex True "\\b(set|get)(?=\\s*[;{])" regex_'5cbglobal'28'3f'3d'5cs'2a'3a'3a'5cs'2a'5cw'2b'29 = compileRegex True "\\bglobal(?=\\s*::\\s*\\w+)" regex_'23region'2e'2a'24 = compileRegex True "#region.*$" regex_'23endregion'2e'2a'24 = compileRegex True "#endregion.*$" regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'5b'28'5d'29 = compileRegex True "\\b[_\\w][_\\w\\d]*(?=[\\s]*[(])" regex_'5b'2e'5d'7b1'2c1'7d = compileRegex True "[.]{1,1}" regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'29 = compileRegex True "\\b[_\\w][_\\w\\d]*(?=[\\s]*)" parseRules ("C#","Normal") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok)) <|> (withChildren (pFloat >>= withAttribute FloatTok) ((pAnyChar "fF" >>= withAttribute FloatTok))) <|> ((pHlCOct >>= withAttribute BaseNTok)) <|> ((pHlCHex >>= withAttribute BaseNTok)) <|> (withChildren (pInt >>= withAttribute DecValTok) (((pString False "ULL" >>= withAttribute DecValTok)) <|> ((pString False "LUL" >>= withAttribute DecValTok)) <|> ((pString False "LLU" >>= withAttribute DecValTok)) <|> ((pString False "UL" >>= withAttribute DecValTok)) <|> ((pString False "LU" >>= withAttribute DecValTok)) <|> ((pString False "LL" >>= withAttribute DecValTok)) <|> ((pString False "U" >>= withAttribute DecValTok)) <|> ((pString False "L" >>= withAttribute DecValTok)))) <|> ((pHlCChar >>= withAttribute CharTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("C#","String")) <|> ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression (Just ("Doxygen","")))) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("C#","Commentar 1")) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("C#","Commentar 2")) <|> ((pDetectChar False '{' >>= withAttribute NormalTok)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5cbpartial'28'3f'3d'5cs'2b'28class'7cstruct'7cinterface'7cvoid'29'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbvar'28'3f'3d'5cs'2b'5cw'2b'5cs'2a'3d'5cs'2a'5cw'2b'29 >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'5cbyield'28'3f'3d'5cs'2b'28return'7cbreak'29'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cb'28set'7cget'29'28'3f'3d'5cs'2a'5b'3b'7b'5d'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'5cbglobal'28'3f'3d'5cs'2a'3a'3a'5cs'2a'5cw'2b'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'23region'2e'2a'24 >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'23endregion'2e'2a'24 >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'5b'28'5d'29 >>= withAttribute FunctionTok)) <|> ((pRegExpr regex_'5b'2e'5d'7b1'2c1'7d >>= withAttribute NormalTok) >>~ pushContext ("C#","Member")) <|> ((pAnyChar ":!%&()+,-/.*<=>?[]|~^;" >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("C#","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("C#","String") = (((pLineContinue >>= withAttribute StringTok) >>~ (popContext)) <|> ((pHlCStringChar >>= withAttribute CharTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("C#","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("C#","Member") = (((pRegExpr regex_'5cb'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a'28'3f'3d'5b'5cs'5d'2a'29 >>= withAttribute FunctionTok) >>~ (popContext)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("C#","Commentar 1") = (currentContext >>= \x -> guard (x == ("C#","Commentar 1")) >> pDefault >>= withAttribute CommentTok) parseRules ("C#","Commentar 2") = (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("C#","Commentar 2")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen", _) = Text.Highlighting.Kate.Syntax.Doxygen.parseExpression Nothing parseRules x = parseRules ("C#","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Css.hs0000644000000000000000000006320112633103275022066 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file css.xml, version 2.10, by Wilbert Berendsen (wilbert@kde.nl) -} module Text.Highlighting.Kate.Syntax.Css (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "CSS" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.css" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("CSS","Base")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("CSS","Base") -> return () ("CSS","FindRuleSets") -> return () ("CSS","FindValues") -> return () ("CSS","FindStrings") -> return () ("CSS","FindComments") -> return () ("CSS","Media") -> return () ("CSS","MediaTypes") -> return () ("CSS","MediaQueries") -> return () ("CSS","MediaQueryExpression") -> return () ("CSS","MQEE") -> return () ("CSS","MQEV") -> return () ("CSS","Media2") -> return () ("CSS","SelAttr") -> return () ("CSS","SelPseudo") -> (popContext) >> pEndLine ("CSS","Import") -> return () ("CSS","Comment") -> return () ("CSS","RuleSet") -> return () ("CSS","Rule") -> return () ("CSS","Rule2") -> return () ("CSS","PropParen") -> return () ("CSS","PropParen2") -> return () ("CSS","StringDQ") -> return () ("CSS","StringSQ") -> return () ("CSS","InsideString") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_properties = Set.fromList $ words $ "azimuth background background-attachment background-break background-clip background-color background-image background-position background-origin background-repeat border border-bottom border-bottom-color border-bottom-style border-bottom-width border-collapse border-color border-left border-left-color border-left-style border-left-width border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-style border-top-width border-width bottom caption-side clear clip color content counter-increment counter-reset cue cue-after cue-before cursor direction display elevation empty-cells float font font-family font-size font-size-adjust font-stretch font-style font-variant font-weight font-stretch height left letter-spacing line-height list-style list-style-image list-style-keyword list-style-position list-style-type margin margin-bottom margin-left margin-right margin-top marker-offset max-height max-width min-height min-width orphans outline outline-color outline-style outline-width overflow padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position quotes richness right size speak speak-header speak-numeral speak-punctuation speech-rate stress table-layout text-align text-decoration text-decoration-color text-indent text-shadow text-transform top unicode-bidi vertical-align visibility voice-family volume white-space widows width word-spacing z-index animation-name animation-duration animation-iteration animation-direction animation-delay animation-play-state animation-fill-mode animation-timing-function background-size border-bottom-image border-bottom-left-image border-bottom-left-radius border-bottom-right-image border-bottom-right-radius border-collapse border-corner-image border-image border-left-image border-radius border-right-image border-top-image border-top-left-image border-top-left-radius border-top-right-image border-top-right-radius box-align box-direction box-flex box-shadow box-sizing column-count column-fill column-gap column-rule-color column-rule-style column-rule-width column-span column-width hyphens linear-gradient opacity outline outline-offset overflow-x overflow-y pointer-events resize rotation rotation-point table-layout text-overflow text-shadow text-wrap transform-origin transition transition-property transition-duration word-wrap -moz-animation-name -moz-animation-duration -moz-animation-iteration -moz-animation-direction -moz-animation-delay -moz-animation-play-state -moz-animation-fill-mode -moz-background-size -moz-border-image -moz-border-bottom-colors -moz-border-left-colors -moz-border-radius -moz-border-radius-topleft -moz-border-radius-topright -moz-border-radius-bottomleft -moz-border-radius-bottomright -moz-border-right-colors -moz-border-top-colors -moz-box -moz-box-flex -moz-box-shadow -moz-box-sizing -moz-column-count -moz-column-gap -moz-hyphens -moz-linear-gradient -moz-opacity -moz-outline-style -moz-perspective -moz-radial-gradient -moz-resize -moz-transform -moz-transform-origin -moz-transform-style -moz-transition -moz-transition-property -moz-transition-duration -o-background-size -o-linear-gradient -o-text-overflow -o-transition -o-transform-origin konq_bgpos_x konq_bgpos_y -khtml-background-size -khtml-border-top-left-radius -khtml-border-top-right-radius -khtml-border-bottom-left-radius -khtml-border-bottom-right-radius -khtml-border-radius -khtml-box-shadow -khtml-opacity -webkit-appearance -webkit-animation-name -webkit-animation-duration -webkit-animation-iteration -webkit-animation-direction -webkit-animation-delay -webkit-animation-play-state -webkit-animation-fill-mode -webkit-background-size -webkit-border-image -webkit-border-bottom-colors -webkit-border-left-colors -webkit-border-radius -webkit-border-right-colors -webkit-border-top-colors -webkit-border-top-left-radius -webkit-border-top-right-radius -webkit-border-bottom-left-radius -webkit-border-bottom-right-radius -webkit-border-radius-bottomleft -webkit-border-radius-bottomright -webkit-box-flex -webkit-box-reflect -webkit-box-shadow -webkit-box-sizing -webkit-column-count -webkit-column-gap -webkit-hyphens -webkit-linear-gradient -webkit-gradient -webkit-perspective -webkit-text-fill-color -webkit-text-stroke-color -webkit-text-stroke-width -webkit-text-size-adjust -webkit-transform -webkit-transform-origin -webkit-transform-style -webkit-transition -webkit-transition-property -webkit-transition-duration filter zoom -ms-animation-name -ms-animation-duration -ms-animation-iteration -ms-animation-direction -ms-animation-delay -ms-animation-play-state -ms-animation-fill-mode -ms-box-sizing -ms-filter -ms-interpolation-mode -ms-linear-gradient -ms-text-size-adjust -ms-transform -ms-transition font-family font-size font-stretch font-style font-variant font-weight unicode-range units-per-em src panose-1 stemv stemh slope cap-height x-height ascent descent widths bbox definition-src baseline centerline mathline topline" list_types = Set.fromList $ words $ "inherit none hidden dotted dashed solid double groove ridge inset outset xx-small x-small small medium large x-large xx-large smaller larger italic oblique small-caps normal bold bolder lighter light 100 200 300 400 500 600 700 800 900 transparent repeat repeat-x repeat-y no-repeat baseline sub super top text-top middle bottom text-bottom left right center justify konq-center disc circle square box decimal decimal-leading-zero lower-roman upper-roman lower-greek lower-alpha lower-latin upper-alpha upper-latin hebrew armenian georgian cjk-ideographic hiragana katakana hiragana-iroha katakana-iroha inline inline-block block list-item run-in compact marker table inline-table table-row-group table-header-group table-footer-group table-row table-column-group table-column table-cell table-caption auto crosshair default pointer move e-resize ne-resize nw-resize n-resize se-resize sw-resize s-resize w-resize text wait help above absolute always avoid below bidi-override blink both capitalize caption clip close-quote collapse condensed crop cross ellipsis ellipsis-word embed expanded extra-condensed extra-expanded fixed hand hide higher icon inside invert landscape level line-through loud lower lowercase ltr menu message-box mix narrower no-close-quote no-open-quote nowrap open-quote outside overline portrait pre pre-line pre-wrap relative rtl scroll semi-condensed semi-expanded separate show small-caption static static-position status-bar thick thin ultra-condensed ultra-expanded underline uppercase visible wider break serif sans-serif cursive fantasy monospace border-box content-box -epub-hyphens" list_colors = Set.fromList $ words $ "aqua black blue cyan fuchsia gray green lime maroon navy olive purple red silver teal white yellow activeborder activecaption appworkspace background buttonface buttonhighlight buttonshadow buttontext captiontext graytext highlight highlighttext inactiveborder inactivecaption inactivecaptiontext infobackground infotext menu menutext scrollbar threeddarkshadow threedface threedhighlight threedlightshadow threedshadow window windowframe windowtext" list_paren = Set.fromList $ words $ "url attr rect rgb rgba hsl hsla counter counters local format expression" list_mediatypes = Set.fromList $ words $ "all aural braille embossed handheld print projection screen speech tty tv" list_mediatypes'5fop = Set.fromList $ words $ "not only" list_media'5ffeatures = Set.fromList $ words $ "width min-width max-width height min-height max-height device-width min-device-width max-device-width device-height min-device-height max-device-height orientation aspect-ratio min-aspect-ratio max-aspect-ratio device-aspect-ratio min-device-aspect-ratio max-device-aspect-ratio color min-color max-color color-index min-color-index max-color-index monochrome min-monochrome max-monochrome resolution min-resolution max-resolution scan grid" list_pseudoclasses = Set.fromList $ words $ "hover link visited active focus first-child last-child only-child first-of-type last-of-type only-of-type first-letter first-line before after selection root empty target enabled disabled checked indeterminate nth-child nth-last-child nth-of-type nth-last-of-type not" regex_'40media'5cb = compileRegex True "@media\\b" regex_'40import'5cb = compileRegex True "@import\\b" regex_'40'28font'2dface'7ccharset'29'5cb = compileRegex True "@(font-face|charset)\\b" regex_'23'28'2d'29'3f'28'5b'5fa'2dzA'2dZ'5d'7c'28'5c'5c'5b0'2d9a'2dfA'2dF'5d'7b1'2c6'7d'29'7c'28'5c'5c'5b'5e'5cn'5cr'5cf0'2d9a'2dfA'2dF'5d'29'29'28'5b'5fa'2dzA'2dZ0'2d9'2d'5d'7c'28'5c'5c'5b0'2d9a'2dfA'2dF'5d'7b1'2c6'7d'29'7c'28'5c'5c'5b'5e'5cn'5cr'5cf0'2d9a'2dfA'2dF'5d'29'29'2a = compileRegex True "#(-)?([_a-zA-Z]|(\\\\[0-9a-fA-F]{1,6})|(\\\\[^\\n\\r\\f0-9a-fA-F]))([_a-zA-Z0-9-]|(\\\\[0-9a-fA-F]{1,6})|(\\\\[^\\n\\r\\f0-9a-fA-F]))*" regex_'5c'2e'28'5ba'2dzA'2dZ0'2d9'5c'2d'5f'5d'7c'5b'5cx80'2d'5cxFF'5d'7c'5c'5c'5b0'2d9A'2dFa'2df'5d'7b1'2c6'7d'29'2a = compileRegex True "\\.([a-zA-Z0-9\\-_]|[\\x80-\\xFF]|\\\\[0-9A-Fa-f]{1,6})*" regex_'3alang'5c'28'5b'5cw'5f'2d'5d'2b'5c'29 = compileRegex True ":lang\\([\\w_-]+\\)" regex_'5b'2d'2b'5d'3f'5b0'2d9'2e'5d'2b'28em'7cex'7cch'7crem'7cvw'7cvh'7cvm'7cpx'7cin'7ccm'7cmm'7cpt'7cpc'7cdeg'7crad'7cgrad'7cturn'7cms'7cs'7cHz'7ckHz'29'5cb = compileRegex True "[-+]?[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz)\\b" regex_'5b'2d'2b'5d'3f'5b0'2d9'2e'5d'2b'5b'25'5d'3f = compileRegex True "[-+]?[0-9.]+[%]?" regex_'5b'5cw'5c'2d'5d'2b = compileRegex True "[\\w\\-]+" regex_'2f'5c'2aBEGIN'2e'2a'5c'2a'2f = compileRegex True "/\\*BEGIN.*\\*/" regex_'2f'5c'2aEND'2e'2a'5c'2a'2f = compileRegex True "/\\*END.*\\*/" regex_'5cS'2b = compileRegex True "\\S+" regex_'5cs'2band'5cs'2b'5c'28 = compileRegex True "\\s+and\\s+\\(" regex_'5c'29'5cs'2band'5cs'2b'5c'28 = compileRegex True "\\)\\s+and\\s+\\(" regex_'5b1'2d9'5d'5b0'2d9'2e'5d'2a'5cs'2a'2f'5cs'2a'5b1'2d9'5d'5b0'2d9'2e'5d'2a = compileRegex True "[1-9][0-9.]*\\s*/\\s*[1-9][0-9.]*" regex_'5b0'2d9'2e'5d'2b'28em'7cex'7cch'7crem'7cvw'7cvh'7cvm'7cpx'7cin'7ccm'7cmm'7cpt'7cpc'7cdeg'7crad'7cgrad'7cturn'7cms'7cs'7cHz'7ckHz'7cdpi'7cdpcm'29'5cb = compileRegex True "[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz|dpi|dpcm)\\b" regex_'5b0'2d9'2e'5d'2b'5b'25'5d'3f = compileRegex True "[0-9.]+[%]?" regex_'28portrait'7clandscape'29 = compileRegex True "(portrait|landscape)" regex_'2e'2a = compileRegex True ".*" regex_'2d'3f'5bA'2dZa'2dz'5f'2d'5d'2b'28'3f'3d'5cs'2a'3a'29 = compileRegex True "-?[A-Za-z_-]+(?=\\s*:)" regex_'5cS = compileRegex True "\\S" regex_'23'28'5b0'2d9A'2dFa'2df'5d'7b3'7d'29'7b1'2c4'7d'5cb = compileRegex True "#([0-9A-Fa-f]{3}){1,4}\\b" regex_'21important'5cb = compileRegex True "!important\\b" regex_'5c'5c'5b'22'27'5d = compileRegex True "\\\\[\"']" parseRules ("CSS","Base") = (((pLineContinue >>= withAttribute NormalTok)) <|> ((pDetectSpaces >>= withAttribute NormalTok)) <|> ((parseRules ("CSS","FindRuleSets"))) <|> (currentContext >>= \x -> guard (x == ("CSS","Base")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","FindRuleSets") = (((pRegExpr regex_'40media'5cb >>= withAttribute DecValTok) >>~ pushContext ("CSS","Media")) <|> ((pRegExpr regex_'40import'5cb >>= withAttribute DecValTok) >>~ pushContext ("CSS","Import")) <|> ((pRegExpr regex_'40'28font'2dface'7ccharset'29'5cb >>= withAttribute DecValTok)) <|> ((pDetectChar False '{' >>= withAttribute KeywordTok) >>~ pushContext ("CSS","RuleSet")) <|> ((pDetectChar False '[' >>= withAttribute CharTok) >>~ pushContext ("CSS","SelAttr")) <|> ((pRegExpr regex_'23'28'2d'29'3f'28'5b'5fa'2dzA'2dZ'5d'7c'28'5c'5c'5b0'2d9a'2dfA'2dF'5d'7b1'2c6'7d'29'7c'28'5c'5c'5b'5e'5cn'5cr'5cf0'2d9a'2dfA'2dF'5d'29'29'28'5b'5fa'2dzA'2dZ0'2d9'2d'5d'7c'28'5c'5c'5b0'2d9a'2dfA'2dF'5d'7b1'2c6'7d'29'7c'28'5c'5c'5b'5e'5cn'5cr'5cf0'2d9a'2dfA'2dF'5d'29'29'2a >>= withAttribute FloatTok)) <|> ((pRegExpr regex_'5c'2e'28'5ba'2dzA'2dZ0'2d9'5c'2d'5f'5d'7c'5b'5cx80'2d'5cxFF'5d'7c'5c'5c'5b0'2d9A'2dFa'2df'5d'7b1'2c6'7d'29'2a >>= withAttribute FloatTok)) <|> ((pRegExpr regex_'3alang'5c'28'5b'5cw'5f'2d'5d'2b'5c'29 >>= withAttribute DecValTok)) <|> ((pDetectChar False ':' >>= withAttribute DecValTok) >>~ pushContext ("CSS","SelPseudo")) <|> ((parseRules ("CSS","FindStrings"))) <|> ((parseRules ("CSS","FindComments"))) <|> (currentContext >>= \x -> guard (x == ("CSS","FindRuleSets")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","FindValues") = (((pRegExpr regex_'5b'2d'2b'5d'3f'5b0'2d9'2e'5d'2b'28em'7cex'7cch'7crem'7cvw'7cvh'7cvm'7cpx'7cin'7ccm'7cmm'7cpt'7cpc'7cdeg'7crad'7cgrad'7cturn'7cms'7cs'7cHz'7ckHz'29'5cb >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'5b'2d'2b'5d'3f'5b0'2d9'2e'5d'2b'5b'25'5d'3f >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'5b'5cw'5c'2d'5d'2b >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","FindValues")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","FindStrings") = (((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("CSS","StringDQ")) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("CSS","StringSQ")) <|> (currentContext >>= \x -> guard (x == ("CSS","FindStrings")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","FindComments") = (((pRegExpr regex_'2f'5c'2aBEGIN'2e'2a'5c'2a'2f >>= withAttribute RegionMarkerTok)) <|> ((pRegExpr regex_'2f'5c'2aEND'2e'2a'5c'2a'2f >>= withAttribute RegionMarkerTok)) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("CSS","Comment")) <|> (currentContext >>= \x -> guard (x == ("CSS","FindComments")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","Media") = (((pDetectChar False '{' >>= withAttribute DecValTok) >>~ pushContext ("CSS","Media2")) <|> ((pDetectChar False '(' >>= withAttribute DecValTok) >>~ pushContext ("CSS","MediaQueryExpression")) <|> ((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_mediatypes >>= withAttribute DecValTok) >>~ pushContext ("CSS","MediaQueries")) <|> ((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_mediatypes'5fop >>= withAttribute DecValTok) >>~ pushContext ("CSS","MediaTypes")) <|> ((pDetectChar False ',' >>= withAttribute DecValTok)) <|> ((parseRules ("CSS","FindComments"))) <|> ((pRegExpr regex_'5cS'2b >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","Media")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","MediaTypes") = (((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_mediatypes >>= withAttribute DecValTok) >>~ pushContext ("CSS","MediaQueries")) <|> ((lookAhead (pDetectChar False '{') >> (popContext) >> currentContext >>= parseRules)) <|> ((lookAhead (pDetectChar False ',') >> (popContext) >> currentContext >>= parseRules)) <|> ((pDetectSpaces >>= withAttribute DecValTok)) <|> ((parseRules ("CSS","FindComments"))) <|> ((pRegExpr regex_'5cS'2b >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","MediaTypes")) >> pDefault >>= withAttribute DecValTok)) parseRules ("CSS","MediaQueries") = (((pRegExpr regex_'5cs'2band'5cs'2b'5c'28 >>= withAttribute DecValTok) >>~ pushContext ("CSS","MediaQueryExpression")) <|> ((lookAhead (pDetectChar False '{') >> (popContext) >> currentContext >>= parseRules)) <|> ((lookAhead (pDetectChar False ',') >> (popContext) >> currentContext >>= parseRules)) <|> ((pDetectSpaces >>= withAttribute DecValTok)) <|> ((parseRules ("CSS","FindComments"))) <|> ((pRegExpr regex_'5cS'2b >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","MediaQueries")) >> pDefault >>= withAttribute DecValTok)) parseRules ("CSS","MediaQueryExpression") = (((pDetectSpaces >>= withAttribute DecValTok)) <|> ((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_media'5ffeatures >>= withAttribute DecValTok) >>~ pushContext ("CSS","MQEE")) <|> ((parseRules ("CSS","FindComments"))) <|> ((pRegExpr regex_'5cS'2b >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","MediaQueryExpression")) >> pDefault >>= withAttribute DecValTok)) parseRules ("CSS","MQEE") = (((pDetectSpaces >>= withAttribute DecValTok)) <|> ((parseRules ("CSS","FindComments"))) <|> ((pDetectChar False ':' >>= withAttribute DecValTok) >>~ pushContext ("CSS","MQEV")) <|> ((pRegExpr regex_'5c'29'5cs'2band'5cs'2b'5c'28 >>= withAttribute DecValTok) >>~ (popContext)) <|> ((pDetectChar False ')' >>= withAttribute DecValTok) >>~ (popContext >> popContext)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("CSS","MQEV") = (((pDetectSpaces >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'5b1'2d9'5d'5b0'2d9'2e'5d'2a'5cs'2a'2f'5cs'2a'5b1'2d9'5d'5b0'2d9'2e'5d'2a >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((pRegExpr regex_'5b0'2d9'2e'5d'2b'28em'7cex'7cch'7crem'7cvw'7cvh'7cvm'7cpx'7cin'7ccm'7cmm'7cpt'7cpc'7cdeg'7crad'7cgrad'7cturn'7cms'7cs'7cHz'7ckHz'7cdpi'7cdpcm'29'5cb >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((pRegExpr regex_'5b0'2d9'2e'5d'2b'5b'25'5d'3f >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((pRegExpr regex_'28portrait'7clandscape'29 >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((pRegExpr regex_'2e'2a >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","MQEV")) >> pDefault >>= withAttribute DecValTok)) parseRules ("CSS","Media2") = (((pDetectChar False '}' >>= withAttribute DecValTok) >>~ (popContext >> popContext)) <|> ((parseRules ("CSS","FindRuleSets"))) <|> (currentContext >>= \x -> guard (x == ("CSS","Media2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","SelAttr") = (((pDetectChar False ']' >>= withAttribute CharTok) >>~ (popContext)) <|> ((parseRules ("CSS","FindStrings"))) <|> (currentContext >>= \x -> guard (x == ("CSS","SelAttr")) >> pDefault >>= withAttribute CharTok)) parseRules ("CSS","SelPseudo") = (((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_pseudoclasses >>= withAttribute DecValTok) >>~ (popContext)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("CSS","Import") = (((pDetectChar False ';' >>= withAttribute DecValTok) >>~ (popContext)) <|> ((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_mediatypes >>= withAttribute DecValTok)) <|> ((parseRules ("CSS","FindValues"))) <|> ((parseRules ("CSS","FindStrings"))) <|> ((parseRules ("CSS","FindComments"))) <|> (currentContext >>= \x -> guard (x == ("CSS","Import")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","Comment") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("CSS","RuleSet") = (((pDetectChar False '}' >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_properties >>= withAttribute KeywordTok) >>~ pushContext ("CSS","Rule")) <|> ((pRegExpr regex_'2d'3f'5bA'2dZa'2dz'5f'2d'5d'2b'28'3f'3d'5cs'2a'3a'29 >>= withAttribute KeywordTok) >>~ pushContext ("CSS","Rule")) <|> ((parseRules ("CSS","FindComments"))) <|> ((pRegExpr regex_'5cS >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","RuleSet")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","Rule") = (((pDetectChar False ':' >>= withAttribute KeywordTok) >>~ pushContext ("CSS","Rule2")) <|> ((pRegExpr regex_'5cS >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","Rule")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","Rule2") = (((pDetectChar False ';' >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> ((pDetectChar False '}' >>= withAttribute KeywordTok) >>~ (popContext >> popContext >> popContext)) <|> ((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok)) <|> ((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_colors >>= withAttribute DataTypeTok)) <|> ((pRegExpr regex_'23'28'5b0'2d9A'2dFa'2df'5d'7b3'7d'29'7b1'2c4'7d'5cb >>= withAttribute DataTypeTok)) <|> ((pKeyword " \n\t.():!+,<=>&*/;?[]^{|}~\\" list_paren >>= withAttribute DataTypeTok) >>~ pushContext ("CSS","PropParen")) <|> ((pRegExpr regex_'21important'5cb >>= withAttribute KeywordTok)) <|> ((parseRules ("CSS","FindValues"))) <|> ((parseRules ("CSS","FindStrings"))) <|> ((parseRules ("CSS","FindComments"))) <|> (currentContext >>= \x -> guard (x == ("CSS","Rule2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","PropParen") = (((pDetectChar False '(' >>= withAttribute DataTypeTok) >>~ pushContext ("CSS","PropParen2")) <|> ((parseRules ("CSS","FindComments"))) <|> ((pRegExpr regex_'5cS >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","PropParen")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","PropParen2") = (((pDetectChar False ')' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> ((parseRules ("CSS","FindValues"))) <|> ((parseRules ("CSS","FindStrings"))) <|> ((parseRules ("CSS","FindComments"))) <|> (currentContext >>= \x -> guard (x == ("CSS","PropParen2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("CSS","StringDQ") = (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> ((parseRules ("CSS","InsideString"))) <|> (currentContext >>= \x -> guard (x == ("CSS","StringDQ")) >> pDefault >>= withAttribute StringTok)) parseRules ("CSS","StringSQ") = (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext)) <|> ((parseRules ("CSS","InsideString"))) <|> (currentContext >>= \x -> guard (x == ("CSS","StringSQ")) >> pDefault >>= withAttribute StringTok)) parseRules ("CSS","InsideString") = (((pRegExpr regex_'5c'5c'5b'22'27'5d >>= withAttribute StringTok)) <|> ((pDetectIdentifier >>= withAttribute StringTok)) <|> (currentContext >>= \x -> guard (x == ("CSS","InsideString")) >> pDefault >>= withAttribute StringTok)) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules x = parseRules ("CSS","Base") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Curry.hs0000644000000000000000000003652512633103275022453 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file curry.xml, version 0.3, by Björn Peemöller (bjp@informatik.uni-kiel.de) -} module Text.Highlighting.Kate.Syntax.Curry (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Curry" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.curry" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Curry","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Curry","Normal") -> return () ("Curry","Pragma") -> return () ("Curry","Multiline Comment") -> return () ("Curry","Currydoc") -> (popContext) >> pEndLine ("Curry","Comment") -> (popContext) >> pEndLine ("Curry","Import") -> (popContext) >> pEndLine ("Curry","Char") -> pushContext ("Curry","CharSyntaxError") >> return () ("Curry","CharEscape") -> (popContext) >> pEndLine ("Curry","CharEnd") -> (popContext) >> pEndLine ("Curry","CharSyntaxError") -> return () ("Curry","String") -> pushContext ("Curry","StringSyntaxError") >> return () ("Curry","StringEscape") -> pushContext ("Curry","StringGap") >> return () ("Curry","StringGap") -> return () ("Curry","StringSyntaxError") -> return () ("Curry","Infix") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_keywords = Set.fromList $ words $ "case data do else external fcase free if in infix infixl infixr let module of then type where" list_Prelude_Func = Set.fromList $ words $ "and all any appendFile best break browse browseList chr concat concatMap const curry div done doSolve drop dropWhile either elem ensureNotFree ensureSpine enumFrom enumFromThen enumFromTo enumFromThenTo error failed filter findall flip foldl foldl1 foldr foldr1 fst getChar getLine id if_then_else iterate head length lines lookup map mapIO mapIO_ max maybe min mod negate not notElem null once or ord otherwise print putChar putStr putStrLn readFile repeat replicate return reverse seq sequenceIO sequenceIO_ show snd solveAll span splitAt success tail take takeWhile try uncurry unknown unlines unpack until unwords unzip unzip3 writeFile words zip zip3 zipWith zipWith3" list_Prelude_Type = Set.fromList $ words $ "Bool Char Either Float Int IO Maybe Ordering String Success" list_Prelude_Cons = Set.fromList $ words $ "False True Left Right Just Nothing EQ LT GT" regex_import'5cs'2b'28qualified'29'3f = compileRegex True "import\\s+(qualified)?" regex_0'28o'7cO'29'5b0'2d7'5d'2b = compileRegex True "0(o|O)[0-7]+" regex_'28'3a'3a'7c'3a'3d'7c'3a'3e'7c'5c'2d'3e'7c'3c'5c'2d'7c'5c'2e'5c'2e'29 = compileRegex True "(::|:=|:>|\\->|<\\-|\\.\\.)" regex_'5cs'2a'28'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'7c'5c'28'5b'7e'21'40'23'5c'24'25'5c'5e'26'5c'2a'5c'2b'5c'2d'3d'3c'3e'5c'3f'5c'2e'2f'5c'7c'5c'5c'3a'5d'2b'5c'29'29'5cs'2a'28'2c'5cs'2a'28'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'7c'5c'28'5b'7e'21'40'23'5c'24'25'5c'5e'26'5c'2a'5c'2b'5c'2d'3d'3c'3e'5c'3f'5c'2e'2f'5c'7c'5c'5c'3a'5d'2b'5c'29'29'29'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'7e'21'40'23'5c'24'25'5c'5e'26'5c'2a'5c'2b'5c'2d'3d'3c'3e'5c'3f'5c'2e'2f'5c'7c'5c'5c'3a'5d'29 = compileRegex True "\\s*([a-z][a-zA-Z0-9_']*|\\([~!@#\\$%\\^&\\*\\+\\-=<>\\?\\./\\|\\\\:]+\\))\\s*(,\\s*([a-z][a-zA-Z0-9_']*|\\([~!@#\\$%\\^&\\*\\+\\-=<>\\?\\./\\|\\\\:]+\\)))*\\s*(?=::[^~!@#\\$%\\^&\\*\\+\\-=<>\\?\\./\\|\\\\:])" regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a = compileRegex True "([A-Z][a-zA-Z0-9_']*\\.)*[a-z][a-zA-Z0-9_']*" regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5b'7e'21'40'23'5c'24'25'5c'5e'26'5c'2a'5c'2b'5c'2d'3d'3c'3e'5c'3f'5c'2e'2f'5c'7c'5c'5c'3a'5d'2b = compileRegex True "([A-Z][a-zA-Z0-9_']*\\.)*[~!@#\\$%\\^&\\*\\+\\-=<>\\?\\./\\|\\\\:]+" regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a = compileRegex True "([A-Z][a-zA-Z0-9_']*\\.)*[A-Z][a-zA-Z0-9_']*" regex_'5cS'2b = compileRegex True "\\S+" regex_'5b'5e'27'5c'5c'5d = compileRegex True "[^'\\\\]" regex_o'5b0'2d7'5d'2b = compileRegex True "o[0-7]+" regex_'5b0'2d9'5d'2b = compileRegex True "[0-9]+" regex_x'5b0'2d9a'2dfA'2dF'5d'2b = compileRegex True "x[0-9a-fA-F]+" regex_'5c'5e'5bA'2dZ'40'5c'5b'5c'5c'5c'5d'5c'5e'5f'5d = compileRegex True "\\^[A-Z@\\[\\\\\\]\\^_]" regex_NUL'7cSOH'7cSTX'7cETX'7cEOT'7cENQ'7cACK'7cBEL'7cBS'7cHT'7cLF'7cVT'7cFF'7cCR'7cSO'7cSI'7cDLE'7cDC1'7cDC2'7cDC3'7cDC4'7cNAK'7cSYN'7cETB'7cCAN'7cEM'7cSUB'7cESC'7cFS'7cGS'7cRS'7cUS'7cSP'7cDEL = compileRegex True "NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL" regex_'2e = compileRegex True "." regex_'5b'5e'22'5c'5c'5d'2a = compileRegex True "[^\"\\\\]*" parseRules ("Curry","Normal") = (((pString False "{-#" >>= withAttribute OtherTok) >>~ pushContext ("Curry","Pragma")) <|> ((pDetect2Chars False '{' '-' >>= withAttribute CommentTok) >>~ pushContext ("Curry","Multiline Comment")) <|> ((pString False "---" >>= withAttribute CommentTok) >>~ pushContext ("Curry","Currydoc")) <|> ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("Curry","Comment")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Prelude_Func >>= withAttribute FunctionTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Prelude_Type >>= withAttribute DataTypeTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_Prelude_Cons >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_import'5cs'2b'28qualified'29'3f >>= withAttribute KeywordTok) >>~ pushContext ("Curry","Import")) <|> ((pFloat >>= withAttribute FloatTok)) <|> ((pRegExpr regex_0'28o'7cO'29'5b0'2d7'5d'2b >>= withAttribute BaseNTok)) <|> ((pHlCHex >>= withAttribute BaseNTok)) <|> ((pInt >>= withAttribute DecValTok)) <|> ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("Curry","Char")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Curry","String")) <|> ((pRegExpr regex_'28'3a'3a'7c'3a'3d'7c'3a'3e'7c'5c'2d'3e'7c'3c'5c'2d'7c'5c'2e'5c'2e'29 >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'5cs'2a'28'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'7c'5c'28'5b'7e'21'40'23'5c'24'25'5c'5e'26'5c'2a'5c'2b'5c'2d'3d'3c'3e'5c'3f'5c'2e'2f'5c'7c'5c'5c'3a'5d'2b'5c'29'29'5cs'2a'28'2c'5cs'2a'28'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'7c'5c'28'5b'7e'21'40'23'5c'24'25'5c'5e'26'5c'2a'5c'2b'5c'2d'3d'3c'3e'5c'3f'5c'2e'2f'5c'7c'5c'5c'3a'5d'2b'5c'29'29'29'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'7e'21'40'23'5c'24'25'5c'5e'26'5c'2a'5c'2b'5c'2d'3d'3c'3e'5c'3f'5c'2e'2f'5c'7c'5c'5c'3a'5d'29 >>= withAttribute OtherTok)) <|> ((pRegExpr regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5b'7e'21'40'23'5c'24'25'5c'5e'26'5c'2a'5c'2b'5c'2d'3d'3c'3e'5c'3f'5c'2e'2f'5c'7c'5c'5c'3a'5d'2b >>= withAttribute FunctionTok)) <|> ((pRegExpr regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a >>= withAttribute DataTypeTok)) <|> ((pDetectChar False '`' >>= withAttribute OtherTok) >>~ pushContext ("Curry","Infix")) <|> ((pDetectChar False '(' >>= withAttribute NormalTok)) <|> ((pDetectChar False ')' >>= withAttribute NormalTok)) <|> ((pDetectChar False '[' >>= withAttribute NormalTok)) <|> ((pDetectChar False ']' >>= withAttribute NormalTok)) <|> ((pDetectChar False '{' >>= withAttribute NormalTok)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("Curry","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Curry","Pragma") = (((pString False "#-}" >>= withAttribute OtherTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Curry","Pragma")) >> pDefault >>= withAttribute OtherTok)) parseRules ("Curry","Multiline Comment") = (((pDetect2Chars False '-' '}' >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Curry","Multiline Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Curry","Currydoc") = (currentContext >>= \x -> guard (x == ("Curry","Currydoc")) >> pDefault >>= withAttribute CommentTok) parseRules ("Curry","Comment") = (currentContext >>= \x -> guard (x == ("Curry","Comment")) >> pDefault >>= withAttribute CommentTok) parseRules ("Curry","Import") = (((pString False "{-#" >>= withAttribute OtherTok) >>~ pushContext ("Curry","Pragma")) <|> ((pDetect2Chars False '{' '-' >>= withAttribute CommentTok) >>~ pushContext ("Curry","Multiline Comment")) <|> ((pString False "---" >>= withAttribute CommentTok) >>~ pushContext ("Curry","Currydoc")) <|> ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("Curry","Comment")) <|> ((pRegExpr regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5c'2e'29'2a'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a >>= withAttribute DataTypeTok)) <|> ((pDetect2Chars False 'a' 's' >>= withAttribute KeywordTok)) <|> ((pString False "hiding" >>= withAttribute KeywordTok)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pRegExpr regex_'5cS'2b >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("Curry","Import")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Curry","Char") = (((pDetectChar False '\'' >>= withAttribute ErrorTok) >>~ (popContext)) <|> ((pDetectChar False '\\' >>= withAttribute CharTok) >>~ pushContext ("Curry","CharEscape")) <|> ((pRegExpr regex_'5b'5e'27'5c'5c'5d >>= withAttribute CharTok) >>~ pushContext ("Curry","CharEnd")) <|> (currentContext >>= \x -> guard (x == ("Curry","Char")) >> pDefault >>= withAttribute CharTok)) parseRules ("Curry","CharEscape") = (((pAnyChar "abfnrtv\\\"'" >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_o'5b0'2d7'5d'2b >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_'5b0'2d9'5d'2b >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_x'5b0'2d9a'2dfA'2dF'5d'2b >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_'5c'5e'5bA'2dZ'40'5c'5b'5c'5c'5c'5d'5c'5e'5f'5d >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_NUL'7cSOH'7cSTX'7cETX'7cEOT'7cENQ'7cACK'7cBEL'7cBS'7cHT'7cLF'7cVT'7cFF'7cCR'7cSO'7cSI'7cDLE'7cDC1'7cDC2'7cDC3'7cDC4'7cNAK'7cSYN'7cETB'7cCAN'7cEM'7cSUB'7cESC'7cFS'7cGS'7cRS'7cUS'7cSP'7cDEL >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_'2e >>= withAttribute ErrorTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Curry","CharEscape")) >> pDefault >>= withAttribute CharTok)) parseRules ("Curry","CharEnd") = (((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'2e >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("Curry","CharEnd")) >> pDefault >>= withAttribute CharTok)) parseRules ("Curry","CharSyntaxError") = (((pDetectChar False '\'' >>= withAttribute ErrorTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("Curry","CharSyntaxError")) >> pDefault >>= withAttribute ErrorTok)) parseRules ("Curry","String") = (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pDetectChar False '\\' >>= withAttribute CharTok) >>~ pushContext ("Curry","StringEscape")) <|> ((pRegExpr regex_'5b'5e'22'5c'5c'5d'2a >>= withAttribute StringTok)) <|> (currentContext >>= \x -> guard (x == ("Curry","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("Curry","StringEscape") = (((pAnyChar "abfnrtv\\\"'&" >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_o'5b0'2d7'5d'2b >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_'5b0'2d9'5d'2b >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_x'5b0'2d9a'2dfA'2dF'5d'2b >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_'5c'5e'5bA'2dZ'40'5c'5b'5c'5c'5c'5d'5c'5e'5f'5d >>= withAttribute CharTok) >>~ (popContext)) <|> ((pRegExpr regex_NUL'7cSOH'7cSTX'7cETX'7cEOT'7cENQ'7cACK'7cBEL'7cBS'7cHT'7cLF'7cVT'7cFF'7cCR'7cSO'7cSI'7cDLE'7cDC1'7cDC2'7cDC3'7cDC4'7cNAK'7cSYN'7cETB'7cCAN'7cEM'7cSUB'7cESC'7cFS'7cGS'7cRS'7cUS'7cSP'7cDEL >>= withAttribute CharTok) >>~ (popContext)) <|> ((pDetectSpaces >>= withAttribute CharTok) >>~ pushContext ("Curry","StringGap")) <|> ((pRegExpr regex_'2e >>= withAttribute ErrorTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Curry","StringEscape")) >> pDefault >>= withAttribute StringTok)) parseRules ("Curry","StringGap") = (((pDetectSpaces >>= withAttribute CharTok)) <|> ((pDetectChar False '\\' >>= withAttribute CharTok) >>~ (popContext >> popContext >> popContext)) <|> ((pDetectChar False '"' >>= withAttribute ErrorTok) >>~ (popContext >> popContext >> popContext)) <|> ((pRegExpr regex_'2e >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("Curry","StringGap")) >> pDefault >>= withAttribute StringTok)) parseRules ("Curry","StringSyntaxError") = (((pDetectChar False '"' >>= withAttribute ErrorTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("Curry","StringSyntaxError")) >> pDefault >>= withAttribute ErrorTok)) parseRules ("Curry","Infix") = (((pDetectChar False '`' >>= withAttribute OtherTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Curry","Infix")) >> pDefault >>= withAttribute OtherTok)) parseRules x = parseRules ("Curry","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/D.hs0000644000000000000000000010056012633103275021521 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file d.xml, version 1.62, by Diggory Hardy (diggory.hardy@gmail.com), Aziz Köksal (aziz.koeksal@gmail.com), Jari-Matti Mäkelä (jmjm@iki.fi), Simon J Mackenzie (project.katedxml@smackoz.fastmail.fm) -} module Text.Highlighting.Kate.Syntax.D (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "D" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.d;*.D;*.di;*.DI;" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("D","normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("D","normal") -> return () ("D","StartingLetter") -> (popContext) >> pEndLine ("D","Properties") -> return () ("D","NumberLiteral") -> return () ("D","LinePragma") -> (popContext) >> pEndLine ("D","UnicodeShort") -> (popContext) >> pEndLine ("D","UnicodeLong") -> (popContext) >> pEndLine ("D","HTMLEntity") -> (popContext) >> pEndLine ("D","ModuleName") -> return () ("D","Linkage") -> return () ("D","Linkage2") -> return () ("D","Version") -> return () ("D","Version2") -> return () ("D","Scope") -> return () ("D","Scope2") -> return () ("D","Pragma") -> return () ("D","Pragma2") -> return () ("D","RawString") -> return () ("D","BQString") -> return () ("D","HexString") -> return () ("D","CharLiteral") -> pushContext ("D","CharLiteralClosing") >> return () ("D","CharLiteralClosing") -> (popContext >> popContext) >> pEndLine ("D","String") -> return () ("D","CommentRules") -> (popContext) >> pEndLine ("D","Region Marker") -> (popContext) >> pEndLine ("D","CommentLine") -> (popContext) >> pEndLine ("D","CommentBlock") -> return () ("D","CommentNested") -> return () ("D","DdocNormal") -> return () ("D","DdocLine") -> (popContext) >> pEndLine ("D","DdocBlock") -> return () ("D","DdocNested") -> return () ("D","DdocNested2") -> return () ("D","DdocMacro") -> return () ("D","DdocMacro2") -> return () ("D","DdocMacro3") -> return () ("D","MacroRules") -> return () ("D","DdocBlockCode") -> return () ("D","DdocNestedCode") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_userkeywords = Set.fromList $ words $ "" list_statements = Set.fromList $ words $ "asm body break case catch continue default do else finally for foreach foreach_reverse goto if mixin return switch throw try while with synchronized" list_attributes = Set.fromList $ words $ "abstract align auto const export final immutable inout invariant lazy nothrow override package private protected public pure ref static out scope" list_expressions = Set.fromList $ words $ "false null super this true typeid assert cast is new delete in delegate function" list_modules = Set.fromList $ words $ "module import" list_declarators = Set.fromList $ words $ "alias enum typedef class interface struct union" list_types = Set.fromList $ words $ "typeof void bool byte ubyte short ushort int uint long ulong cent ucent float double real ireal ifloat idouble creal cfloat cdouble char wchar dchar" list_templates = Set.fromList $ words $ "macro template" list_properties = Set.fromList $ words $ "init sizeof alignof mangleof stringof tupleof offsetof max min infinity nan dig epsilon mant_dig max_10_exp max_exp min_10_exp min_exp re im length ptr dup idup reverse sort keys values rehash" list_libsymbols = Set.fromList $ words $ "size_t ptrdiff_t hash_t Error Exception Object TypeInfo ClassInfo ModuleInfo Interface OffsetTypeInfo TypeInfo_Typedef TypeInfo_Enum TypeInfo_Pointer TypeInfo_Array TypeInfo_StaticArray TypeInfo_AssociativeArray TypeInfo_Function TypeInfo_Delegate TypeInfo_Class TypeInfo_Interface TypeInfo_Struct TypeInfo_Tuple string wstring dstring bit TypeInfo_Const TypeInfo_Invariant" list_linkage = Set.fromList $ words $ "extern" list_ltypes = Set.fromList $ words $ "C D Windows Pascal System" list_ptypes = Set.fromList $ words $ "msg lib" list_scope'5fkeywords = Set.fromList $ words $ "exit success failure" list_vtypes = Set.fromList $ words $ "DigitalMars X86 X86_64 Windows Win32 Win64 linux LittleEndian BigEndian D_Coverage D_InlineAsm_X86 unittest D_Version2 none all" list_specialtokens = Set.fromList $ words $ "__FILE__ __LINE__ __DATE__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__ __EOF__" list_tests = Set.fromList $ words $ "debug unittest" list_pragma = Set.fromList $ words $ "pragma" list_version = Set.fromList $ words $ "version" list_deprecated = Set.fromList $ words $ "deprecated volatile" regex_'5ba'2dzA'2dZ'5f'5d = compileRegex True "[a-zA-Z_]" regex_'5c'2e'5cd'5b'5cd'5f'5d'2a'28'5beE'5d'5b'2d'2b'5d'3f'5cd'5b'5cd'5f'5d'2a'29'3f'5bfFL'5d'3fi'3f = compileRegex True "\\.\\d[\\d_]*([eE][-+]?\\d[\\d_]*)?[fFL]?i?" regex_'5cd = compileRegex True "\\d" regex_'5b'5ea'2dzA'2dZ'5f'5d = compileRegex True "[^a-zA-Z_]" regex_in'5cs'2a'28'3f'3d'5c'7b'29 = compileRegex True "in\\s*(?=\\{)" regex_out'5cs'2a'28'3f'3d'28'5c'28'28'5ba'2dzA'2dZ'5f'5d'5b'5cw'5f'5d'2a'29'3f'5c'29'5cs'2a'29'3f'5c'7b'29 = compileRegex True "out\\s*(?=(\\(([a-zA-Z_][\\w_]*)?\\)\\s*)?\\{)" regex_scope'5cs'2a'28'3f'3d'5c'28'29 = compileRegex True "scope\\s*(?=\\()" regex_import'5cs'2a'28'3f'3d'5c'28'29 = compileRegex True "import\\s*(?=\\()" regex_function'5cs'2a'28'3f'3d'5c'28'29 = compileRegex True "function\\s*(?=\\()" regex_delegate'5cs'2a'28'3f'3d'5c'28'29 = compileRegex True "delegate\\s*(?=\\()" regex_0'5bxX'5d'5b'5cda'2dfA'2dF'5f'5d'2a'28'5c'2e'5b'5cda'2dfA'2dF'5f'5d'2a'29'3f'5bpP'5d'5b'2d'2b'5d'3f'5cd'5b'5cd'5f'5d'2a'5bfFL'5d'3fi'3f = compileRegex True "0[xX][\\da-fA-F_]*(\\.[\\da-fA-F_]*)?[pP][-+]?\\d[\\d_]*[fFL]?i?" regex_'5cd'5b'5f'5cd'5d'2a'28'5c'2e'28'3f'21'5c'2e'29'5b'5f'5cd'5d'2a'28'5beE'5d'5b'2d'2b'5d'3f'5cd'5b'5f'5cd'5d'2a'29'3f'5bfFL'5d'3fi'3f'7c'5beE'5d'5b'2d'2b'5d'3f'5cd'5b'5f'5cd'5d'2a'5bfFL'5d'3fi'3f'7c'5bfF'5di'3f'7c'5bfFL'5d'3fi'29 = compileRegex True "\\d[_\\d]*(\\.(?!\\.)[_\\d]*([eE][-+]?\\d[_\\d]*)?[fFL]?i?|[eE][-+]?\\d[_\\d]*[fFL]?i?|[fF]i?|[fFL]?i)" regex_0'5bbB'5d'5f'2a'5b01'5d'5b01'5f'5d'2a'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f = compileRegex True "0[bB]_*[01][01_]*(L[uU]?|[uU]L?)?" regex_0'5b0'2d7'5f'5d'2b'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f = compileRegex True "0[0-7_]+(L[uU]?|[uU]L?)?" regex_0'5bxX'5d'5f'2a'5b'5cda'2dfA'2dF'5d'5b'5cda'2dfA'2dF'5f'5d'2a'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f = compileRegex True "0[xX]_*[\\da-fA-F][\\da-fA-F_]*(L[uU]?|[uU]L?)?" regex_'5cd'2b'5b'5cd'5f'5d'2a'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f = compileRegex True "\\d+[\\d_]*(L[uU]?|[uU]L?)?" regex_'28'280'28'5b0'2d7'5f'5d'2b'7c'5bbB'5d'5f'2a'5b01'5d'5b01'5f'5d'2a'7c'5bxX'5d'5f'2a'5b'5cda'2dfA'2dF'5d'5b'5cda'2dfA'2dF'5f'5d'2a'29'29'7c'5cd'2b'5b'5cd'5f'5d'2a'29'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f = compileRegex True "((0([0-7_]+|[bB]_*[01][01_]*|[xX]_*[\\da-fA-F][\\da-fA-F_]*))|\\d+[\\d_]*)(L[uU]?|[uU]L?)?" regex_'22'5b'5e'22'5d'2a'22 = compileRegex True "\"[^\"]*\"" regex_'2e'2b = compileRegex True ".+" regex_'5b'5cda'2dfA'2dF'5d'7b4'7d = compileRegex True "[\\da-fA-F]{4}" regex_'5b'5cda'2dfA'2dF'5d'7b8'7d = compileRegex True "[\\da-fA-F]{8}" regex_'5ba'2dzA'2dZ'5d'5cw'2b'3b = compileRegex True "[a-zA-Z]\\w+;" regex_'5b'5e'5cs'5cw'2e'3a'2c'3d'5d = compileRegex True "[^\\s\\w.:,=]" regex_'5b'5e'29'5cs'5cn'5d'2b = compileRegex True "[^)\\s\\n]+" regex_'5b'5e'5cs'5cn'5d'2b = compileRegex True "[^\\s\\n]+" regex_'5b'5e'5csa'2dfA'2dF'5cd'22'5d'2b = compileRegex True "[^\\sa-fA-F\\d\"]+" regex_'5c'5c'28u'5b'5cda'2dfA'2dF'5d'7b4'7d'7cU'5b'5cda'2dfA'2dF'5d'7b8'7d'7c'26'5ba'2dzA'2dZ'5d'5cw'2b'3b'29 = compileRegex True "\\\\(u[\\da-fA-F]{4}|U[\\da-fA-F]{8}|&[a-zA-Z]\\w+;)" regex_'5c'5c'2e = compileRegex True "\\\\." regex_'2e = compileRegex True "." regex_'2f'7b3'2c'7d = compileRegex True "/{3,}" regex_'2f'5c'2a'7b2'2c'7d'28'3f'21'2f'29 = compileRegex True "/\\*{2,}(?!/)" regex_'2f'5c'2b'7b2'2c'7d'28'3f'21'2f'29 = compileRegex True "/\\+{2,}(?!/)" regex_'5b'5cw'5f'5d'2b'3a'28'24'7c'5cs'29 = compileRegex True "[\\w_]+:($|\\s)" regex_'5c'2a'2b'2f = compileRegex True "\\*+/" regex_'5b'5e'2d'5d'2d'7b3'2c'7d = compileRegex True "[^-]-{3,}" regex_'2d'7b3'2c'7d'28'24'7c'5cs'29 = compileRegex True "-{3,}($|\\s)" regex_'5c'2b'2b'2f = compileRegex True "\\++/" parseRules ("D","normal") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((lookAhead (pRegExpr regex_'5ba'2dzA'2dZ'5f'5d) >> pushContext ("D","StartingLetter") >> currentContext >>= parseRules)) <|> ((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetect2Chars False '\\' 'u' >>= withAttribute StringTok) >>~ pushContext ("D","UnicodeShort")) <|> ((pDetect2Chars False '\\' 'U' >>= withAttribute StringTok) >>~ pushContext ("D","UnicodeLong")) <|> ((pDetect2Chars False '\\' '&' >>= withAttribute StringTok) >>~ pushContext ("D","HTMLEntity")) <|> ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("D","CharLiteral")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("D","String")) <|> ((pDetectChar False '`' >>= withAttribute StringTok) >>~ pushContext ("D","BQString")) <|> ((pFirstNonSpace >> pString False "//BEGIN" >>= withAttribute RegionMarkerTok) >>~ pushContext ("D","Region Marker")) <|> ((pFirstNonSpace >> pString False "//END" >>= withAttribute RegionMarkerTok) >>~ pushContext ("D","Region Marker")) <|> ((parseRules ("D","CommentRules"))) <|> ((pString False "..." >>= withAttribute NormalTok)) <|> ((pDetect2Chars False '.' '.' >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5c'2e'5cd'5b'5cd'5f'5d'2a'28'5beE'5d'5b'2d'2b'5d'3f'5cd'5b'5cd'5f'5d'2a'29'3f'5bfFL'5d'3fi'3f >>= withAttribute FloatTok)) <|> ((pDetectChar False '.' >>= withAttribute NormalTok) >>~ pushContext ("D","Properties")) <|> ((lookAhead (pRegExpr regex_'5cd) >> pushContext ("D","NumberLiteral") >> currentContext >>= parseRules)) <|> ((pString False "#line" >>= withAttribute KeywordTok) >>~ pushContext ("D","LinePragma")) <|> ((pDetectChar False '{' >>= withAttribute NormalTok)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok)) <|> ((pAnyChar ":!%&()+,-/.*<=>?[]|~^;" >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("D","normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","StartingLetter") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((lookAhead (pRegExpr regex_'5b'5ea'2dzA'2dZ'5f'5d) >> (popContext) >> currentContext >>= parseRules)) <|> ((pRegExpr regex_in'5cs'2a'28'3f'3d'5c'7b'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_out'5cs'2a'28'3f'3d'28'5c'28'28'5ba'2dzA'2dZ'5f'5d'5b'5cw'5f'5d'2a'29'3f'5c'29'5cs'2a'29'3f'5c'7b'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_scope'5cs'2a'28'3f'3d'5c'28'29 >>= withAttribute KeywordTok) >>~ pushContext ("D","Scope")) <|> ((pRegExpr regex_import'5cs'2a'28'3f'3d'5c'28'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_function'5cs'2a'28'3f'3d'5c'28'29 >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_delegate'5cs'2a'28'3f'3d'5c'28'29 >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_statements >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_attributes >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_expressions >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_declarators >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_templates >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_modules >>= withAttribute KeywordTok) >>~ pushContext ("D","ModuleName")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_libsymbols >>= withAttribute DataTypeTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_linkage >>= withAttribute KeywordTok) >>~ pushContext ("D","Linkage")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_specialtokens >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_tests >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_pragma >>= withAttribute KeywordTok) >>~ pushContext ("D","Pragma")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_version >>= withAttribute KeywordTok) >>~ pushContext ("D","Version")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_deprecated >>= withAttribute KeywordTok)) <|> ((pDetect2Chars False 'r' '"' >>= withAttribute StringTok) >>~ pushContext ("D","RawString")) <|> ((pDetect2Chars False 'x' '"' >>= withAttribute StringTok) >>~ pushContext ("D","HexString")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_userkeywords >>= withAttribute DataTypeTok)) <|> ((pDetectIdentifier >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("D","StartingLetter")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","Properties") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_properties >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("D","NumberLiteral") = (((pRegExpr regex_0'5bxX'5d'5b'5cda'2dfA'2dF'5f'5d'2a'28'5c'2e'5b'5cda'2dfA'2dF'5f'5d'2a'29'3f'5bpP'5d'5b'2d'2b'5d'3f'5cd'5b'5cd'5f'5d'2a'5bfFL'5d'3fi'3f >>= withAttribute FloatTok) >>~ (popContext)) <|> ((pRegExpr regex_'5cd'5b'5f'5cd'5d'2a'28'5c'2e'28'3f'21'5c'2e'29'5b'5f'5cd'5d'2a'28'5beE'5d'5b'2d'2b'5d'3f'5cd'5b'5f'5cd'5d'2a'29'3f'5bfFL'5d'3fi'3f'7c'5beE'5d'5b'2d'2b'5d'3f'5cd'5b'5f'5cd'5d'2a'5bfFL'5d'3fi'3f'7c'5bfF'5di'3f'7c'5bfFL'5d'3fi'29 >>= withAttribute FloatTok) >>~ (popContext)) <|> ((pRegExpr regex_0'5bbB'5d'5f'2a'5b01'5d'5b01'5f'5d'2a'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f >>= withAttribute BaseNTok) >>~ (popContext)) <|> ((pRegExpr regex_0'5b0'2d7'5f'5d'2b'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f >>= withAttribute BaseNTok) >>~ (popContext)) <|> ((pRegExpr regex_0'5bxX'5d'5f'2a'5b'5cda'2dfA'2dF'5d'5b'5cda'2dfA'2dF'5f'5d'2a'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f >>= withAttribute BaseNTok) >>~ (popContext)) <|> ((pRegExpr regex_'5cd'2b'5b'5cd'5f'5d'2a'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f >>= withAttribute DecValTok) >>~ (popContext)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("D","LinePragma") = (((pDetectSpaces >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'28'280'28'5b0'2d7'5f'5d'2b'7c'5bbB'5d'5f'2a'5b01'5d'5b01'5f'5d'2a'7c'5bxX'5d'5f'2a'5b'5cda'2dfA'2dF'5d'5b'5cda'2dfA'2dF'5f'5d'2a'29'29'7c'5cd'2b'5b'5cd'5f'5d'2a'29'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f >>= withAttribute DecValTok)) <|> ((pRegExpr regex_'22'5b'5e'22'5d'2a'22 >>= withAttribute StringTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_specialtokens >>= withAttribute NormalTok)) <|> ((parseRules ("D","CommentRules"))) <|> ((pRegExpr regex_'2e'2b >>= withAttribute ErrorTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("D","LinePragma")) >> pDefault >>= withAttribute KeywordTok)) parseRules ("D","UnicodeShort") = (((pRegExpr regex_'5b'5cda'2dfA'2dF'5d'7b4'7d >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("D","UnicodeShort")) >> pDefault >>= withAttribute StringTok)) parseRules ("D","UnicodeLong") = (((pRegExpr regex_'5b'5cda'2dfA'2dF'5d'7b8'7d >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("D","UnicodeLong")) >> pDefault >>= withAttribute StringTok)) parseRules ("D","HTMLEntity") = (((pRegExpr regex_'5ba'2dzA'2dZ'5d'5cw'2b'3b >>= withAttribute StringTok) >>~ (popContext)) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("D","ModuleName") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((parseRules ("D","CommentRules"))) <|> ((lookAhead (pRegExpr regex_'5b'5e'5cs'5cw'2e'3a'2c'3d'5d) >> (popContext) >> currentContext >>= parseRules)) <|> (currentContext >>= \x -> guard (x == ("D","ModuleName")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","Linkage") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("D","Linkage2")) <|> ((parseRules ("D","CommentRules"))) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("D","Linkage2") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pString False "C++" >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_ltypes >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((parseRules ("D","CommentRules"))) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5b'5e'29'5cs'5cn'5d'2b >>= withAttribute ErrorTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("D","Linkage2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","Version") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectChar False '=' >>= withAttribute NormalTok) >>~ pushContext ("D","Version2")) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("D","Version2")) <|> ((parseRules ("D","CommentRules"))) <|> ((pRegExpr regex_'5b'5e'5cs'5cn'5d'2b >>= withAttribute ErrorTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("D","Version")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","Version2") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_vtypes >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pDetectIdentifier >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5cd'2b'5b'5cd'5f'5d'2a'28L'5buU'5d'3f'7c'5buU'5dL'3f'29'3f >>= withAttribute DecValTok) >>~ (popContext >> popContext)) <|> ((parseRules ("D","CommentRules"))) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5b'5e'29'5cs'5cn'5d'2b >>= withAttribute ErrorTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("D","Version2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","Scope") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("D","Scope2")) <|> ((parseRules ("D","CommentRules"))) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("D","Scope2") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_scope'5fkeywords >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> ((parseRules ("D","CommentRules"))) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5b'5e'29'5cs'5cn'5d'2b >>= withAttribute ErrorTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("D","Scope2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","Pragma") = (((pDetectSpaces >>= withAttribute KeywordTok)) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("D","Pragma2")) <|> ((parseRules ("D","CommentRules"))) <|> ((pRegExpr regex_'5b'5e'5cs'5cn'5d'2b >>= withAttribute ErrorTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("D","Pragma")) >> pDefault >>= withAttribute KeywordTok)) parseRules ("D","Pragma2") = (((pDetectSpaces >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_ptypes >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pDetectIdentifier >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((parseRules ("D","CommentRules"))) <|> ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5b'5e'29'5cs'5cn'5d'2b >>= withAttribute ErrorTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("D","Pragma2")) >> pDefault >>= withAttribute KeywordTok)) parseRules ("D","RawString") = (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("D","RawString")) >> pDefault >>= withAttribute StringTok)) parseRules ("D","BQString") = (((pDetectChar False '`' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("D","BQString")) >> pDefault >>= withAttribute StringTok)) parseRules ("D","HexString") = (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pRegExpr regex_'5b'5e'5csa'2dfA'2dF'5cd'22'5d'2b >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("D","HexString")) >> pDefault >>= withAttribute StringTok)) parseRules ("D","CharLiteral") = (((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext)) <|> ((pHlCStringChar >>= withAttribute StringTok) >>~ pushContext ("D","CharLiteralClosing")) <|> ((pRegExpr regex_'5c'5c'28u'5b'5cda'2dfA'2dF'5d'7b4'7d'7cU'5b'5cda'2dfA'2dF'5d'7b8'7d'7c'26'5ba'2dzA'2dZ'5d'5cw'2b'3b'29 >>= withAttribute StringTok) >>~ pushContext ("D","CharLiteralClosing")) <|> ((pRegExpr regex_'5c'5c'2e >>= withAttribute ErrorTok) >>~ pushContext ("D","CharLiteralClosing")) <|> ((pRegExpr regex_'2e >>= withAttribute CharTok) >>~ pushContext ("D","CharLiteralClosing")) <|> ((popContext) >> currentContext >>= parseRules)) parseRules ("D","CharLiteralClosing") = (((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext >> popContext)) <|> ((popContext >> popContext) >> currentContext >>= parseRules)) parseRules ("D","String") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetect2Chars False '"' 'c' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pDetect2Chars False '"' 'w' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pDetect2Chars False '"' 'd' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> ((pDetect2Chars False '\\' 'u' >>= withAttribute StringTok) >>~ pushContext ("D","UnicodeShort")) <|> ((pDetect2Chars False '\\' 'U' >>= withAttribute StringTok) >>~ pushContext ("D","UnicodeLong")) <|> ((pDetect2Chars False '\\' '&' >>= withAttribute StringTok) >>~ pushContext ("D","HTMLEntity")) <|> (currentContext >>= \x -> guard (x == ("D","String")) >> pDefault >>= withAttribute StringTok)) parseRules ("D","CommentRules") = (((parseRules ("D","DdocNormal"))) <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("D","CommentLine")) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("D","CommentBlock")) <|> ((pDetect2Chars False '/' '+' >>= withAttribute CommentTok) >>~ pushContext ("D","CommentNested")) <|> (currentContext >>= \x -> guard (x == ("D","CommentRules")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","Region Marker") = (currentContext >>= \x -> guard (x == ("D","Region Marker")) >> pDefault >>= withAttribute RegionMarkerTok) parseRules ("D","CommentLine") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("D","CommentLine")) >> pDefault >>= withAttribute CommentTok)) parseRules ("D","CommentBlock") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("D","CommentBlock")) >> pDefault >>= withAttribute CommentTok)) parseRules ("D","CommentNested") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '/' '+' >>= withAttribute CommentTok) >>~ pushContext ("D","CommentNested")) <|> ((pDetect2Chars False '+' '/' >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("D","CommentNested")) >> pDefault >>= withAttribute CommentTok)) parseRules ("D","DdocNormal") = (((pRegExpr regex_'2f'7b3'2c'7d >>= withAttribute CommentTok) >>~ pushContext ("D","DdocLine")) <|> ((pRegExpr regex_'2f'5c'2a'7b2'2c'7d'28'3f'21'2f'29 >>= withAttribute CommentTok) >>~ pushContext ("D","DdocBlock")) <|> ((pRegExpr regex_'2f'5c'2b'7b2'2c'7d'28'3f'21'2f'29 >>= withAttribute CommentTok) >>~ pushContext ("D","DdocNested")) <|> (currentContext >>= \x -> guard (x == ("D","DdocNormal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","DdocLine") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '$' '(' >>= withAttribute OtherTok) >>~ pushContext ("D","DdocMacro")) <|> ((pRegExpr regex_'5b'5cw'5f'5d'2b'3a'28'24'7c'5cs'29 >>= withAttribute KeywordTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("D","DdocLine")) >> pDefault >>= withAttribute CommentTok)) parseRules ("D","DdocBlock") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5c'2a'2b'2f >>= withAttribute CommentTok) >>~ (popContext)) <|> ((pFirstNonSpace >> pDetectChar False '*' >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '$' '(' >>= withAttribute OtherTok) >>~ pushContext ("D","DdocMacro")) <|> ((pRegExpr regex_'5b'5cw'5f'5d'2b'3a'28'24'7c'5cs'29 >>= withAttribute KeywordTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pRegExpr regex_'5b'5e'2d'5d'2d'7b3'2c'7d >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'2d'7b3'2c'7d'28'24'7c'5cs'29 >>= withAttribute CommentTok) >>~ pushContext ("D","DdocBlockCode")) <|> (currentContext >>= \x -> guard (x == ("D","DdocBlock")) >> pDefault >>= withAttribute CommentTok)) parseRules ("D","DdocNested") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '/' '+' >>= withAttribute CommentTok) >>~ pushContext ("D","DdocNested2")) <|> ((pRegExpr regex_'5c'2b'2b'2f >>= withAttribute CommentTok) >>~ (popContext)) <|> ((pFirstNonSpace >> pDetectChar False '+' >>= withAttribute CommentTok)) <|> ((pDetect2Chars False '$' '(' >>= withAttribute OtherTok) >>~ pushContext ("D","DdocMacro")) <|> ((pRegExpr regex_'5b'5cw'5f'5d'2b'3a'28'24'7c'5cs'29 >>= withAttribute KeywordTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pRegExpr regex_'5b'5e'2d'5d'2d'7b3'2c'7d >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'2d'7b3'2c'7d'28'24'7c'5cs'29 >>= withAttribute CommentTok) >>~ pushContext ("D","DdocNestedCode")) <|> (currentContext >>= \x -> guard (x == ("D","DdocNested")) >> pDefault >>= withAttribute CommentTok)) parseRules ("D","DdocNested2") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5c'2b'2b'2f >>= withAttribute CommentTok) >>~ (popContext)) <|> ((parseRules ("D","DdocNested"))) <|> (currentContext >>= \x -> guard (x == ("D","DdocNested2")) >> pDefault >>= withAttribute CommentTok)) parseRules ("D","DdocMacro") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext)) <|> ((parseRules ("D","MacroRules"))) <|> ((pDetectIdentifier >>= withAttribute OtherTok) >>~ pushContext ("D","DdocMacro2")) <|> (currentContext >>= \x -> guard (x == ("D","DdocMacro")) >> pDefault >>= withAttribute ErrorTok)) parseRules ("D","DdocMacro2") = (((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext >> popContext)) <|> ((parseRules ("D","MacroRules"))) <|> (currentContext >>= \x -> guard (x == ("D","DdocMacro2")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","DdocMacro3") = (((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext)) <|> ((parseRules ("D","MacroRules"))) <|> (currentContext >>= \x -> guard (x == ("D","DdocMacro3")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","MacroRules") = (((pDetect2Chars False '$' '(' >>= withAttribute OtherTok) >>~ pushContext ("D","DdocMacro")) <|> ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("D","DdocMacro3")) <|> ((pFirstNonSpace >> pDetectChar False '*' >>= withAttribute CommentTok)) <|> (currentContext >>= \x -> guard (x == ("D","MacroRules")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","DdocBlockCode") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5c'2a'2b'2f >>= withAttribute CommentTok) >>~ (popContext >> popContext)) <|> ((pFirstNonSpace >> pDetectChar False '*' >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5b'5e'2d'5d'2d'7b3'2c'7d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'2d'7b3'2c'7d'28'24'7c'5cs'29 >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.D.parseExpression (Just ("D","")))) <|> (currentContext >>= \x -> guard (x == ("D","DdocBlockCode")) >> pDefault >>= withAttribute NormalTok)) parseRules ("D","DdocNestedCode") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5c'2b'2b'2f >>= withAttribute CommentTok) >>~ (popContext >> popContext)) <|> ((pFirstNonSpace >> pDetectChar False '+' >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5b'5e'2d'5d'2d'7b3'2c'7d >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'2d'7b3'2c'7d'28'24'7c'5cs'29 >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.D.parseExpression (Just ("D","")))) <|> (currentContext >>= \x -> guard (x == ("D","DdocNestedCode")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules ("D", _) = Text.Highlighting.Kate.Syntax.D.parseExpression Nothing parseRules x = parseRules ("D","normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Diff.hs0000644000000000000000000002511412633103275022207 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file diff.xml, version 1.12, by -} module Text.Highlighting.Kate.Syntax.Diff (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) -- | Full name of language. syntaxName :: String syntaxName = "Diff" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.diff;*patch" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Diff","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Diff","Normal") -> return () ("Diff","FindDiff") -> return () ("Diff","File") -> return () ("Diff","Chunk") -> return () ("Diff","ChunkInFile") -> return () ("Diff","RFile") -> return () ("Diff","RChunk") -> return () ("Diff","RChunkInFile") -> return () ("Diff","RChunkNew") -> return () ("Diff","RChunkInFileNew") -> return () ("Diff","File") -> (popContext) >> pEndLine ("Diff","Removed") -> (popContext) >> pEndLine ("Diff","Added") -> (popContext) >> pEndLine ("Diff","ChangedOld") -> (popContext) >> pEndLine ("Diff","ChangedNew") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) regex_'28'5c'40'5c'40'7c'5cd'29'2e'2a'24 = compileRegex True "(\\@\\@|\\d).*$" regex_'5c'2a'2b'24 = compileRegex True "\\*+$" regex_Only_in_'2e'2a'3a'2e'2a'24 = compileRegex True "Only in .*:.*$" regex_diff'2e'2a'24 = compileRegex True "diff.*$" regex_'3d'3d'3d'3d'2e'2a'24 = compileRegex True "====.*$" regex_'28'5c'2a'5c'2a'5c'2a'7c'5c'2d'5c'2d'5c'2d'29'2e'2a'24 = compileRegex True "(\\*\\*\\*|\\-\\-\\-).*$" regex_'5c'2d'5c'2d'5c'2d'2e'2a'24 = compileRegex True "\\-\\-\\-.*$" regex_'28'5c'2b'5c'2b'5c'2b'7c'5c'2d'5c'2d'5c'2d'29'2e'2a'24 = compileRegex True "(\\+\\+\\+|\\-\\-\\-).*$" regex_'28'3d'3d'3d'3d'7c'5c'2a'5c'2a'5c'2a'7c'5c'2d'5c'2d'5c'2d'7cdiff'7cOnly_in_'2e'2a'3a'29'2e'2a'24 = compileRegex True "(====|\\*\\*\\*|\\-\\-\\-|diff|Only in .*:).*$" regex_Index'3a'2e'2a = compileRegex True "Index:.*" regex_'28diff'7cOnly_in_'2e'2a'3a'29'2e'2a'24 = compileRegex True "(diff|Only in .*:).*$" regex_'5c'2a'5c'2a'5c'2a_'2e'2a_'5c'2a'5c'2a'5c'2a'5c'2a'24 = compileRegex True "\\*\\*\\* .* \\*\\*\\*\\*$" regex_'5c'2d'5c'2d'5c'2d_'2e'2a_'5c'2d'5c'2d'5c'2d'5c'2d'24 = compileRegex True "\\-\\-\\- .* \\-\\-\\-\\-$" parseRules ("Diff","Normal") = (((pColumn 0 >> pRegExpr regex_'28'5c'40'5c'40'7c'5cd'29'2e'2a'24 >>= withAttribute DataTypeTok) >>~ pushContext ("Diff","Chunk")) <|> ((pColumn 0 >> pRegExpr regex_'5c'2a'2b'24 >>= withAttribute DataTypeTok) >>~ pushContext ("Diff","RChunk")) <|> ((pColumn 0 >> pRegExpr regex_Only_in_'2e'2a'3a'2e'2a'24 >>= withAttribute KeywordTok)) <|> ((pColumn 0 >> pRegExpr regex_diff'2e'2a'24 >>= withAttribute KeywordTok) >>~ pushContext ("Diff","RFile")) <|> ((pColumn 0 >> pRegExpr regex_'3d'3d'3d'3d'2e'2a'24 >>= withAttribute KeywordTok)) <|> ((pColumn 0 >> pRegExpr regex_'28'5c'2a'5c'2a'5c'2a'7c'5c'2d'5c'2d'5c'2d'29'2e'2a'24 >>= withAttribute KeywordTok) >>~ pushContext ("Diff","File")) <|> ((parseRules ("Diff","FindDiff"))) <|> ((pColumn 0 >> pDetectChar False '!' >>= withAttribute NormalTok) >>~ pushContext ("Diff","ChangedOld")) <|> (currentContext >>= \x -> guard (x == ("Diff","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","FindDiff") = (((pColumn 0 >> pRegExpr regex_'5c'2d'5c'2d'5c'2d'2e'2a'24 >>= withAttribute KeywordTok)) <|> ((pColumn 0 >> pRegExpr regex_'28'5c'2b'5c'2b'5c'2b'7c'5c'2d'5c'2d'5c'2d'29'2e'2a'24 >>= withAttribute DataTypeTok)) <|> ((pColumn 0 >> pAnyChar "+>" >>= withAttribute OtherTok) >>~ pushContext ("Diff","Added")) <|> ((pColumn 0 >> pAnyChar "-<" >>= withAttribute StringTok) >>~ pushContext ("Diff","Removed")) <|> (currentContext >>= \x -> guard (x == ("Diff","FindDiff")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","File") = (((parseRules ("Diff","FindDiff"))) <|> ((pColumn 0 >> pRegExpr regex_'28'5c'40'5c'40'7c'5cd'29'2e'2a'24 >>= withAttribute DataTypeTok) >>~ pushContext ("Diff","ChunkInFile")) <|> ((pColumn 0 >> pRegExpr regex_'5c'2a'2b'24 >>= withAttribute DataTypeTok) >>~ pushContext ("Diff","RChunkInFile")) <|> ((pColumn 0 >> pRegExpr regex_'28'3d'3d'3d'3d'7c'5c'2a'5c'2a'5c'2a'7c'5c'2d'5c'2d'5c'2d'7cdiff'7cOnly_in_'2e'2a'3a'29'2e'2a'24 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pColumn 0 >> pDetectChar False '!' >>= withAttribute StringTok) >>~ pushContext ("Diff","ChangedOld")) <|> (currentContext >>= \x -> guard (x == ("Diff","File")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","Chunk") = (((parseRules ("Diff","FindDiff"))) <|> ((pColumn 0 >> lookAhead (pRegExpr regex_'28'5c'40'5c'40'7c'5cd'29'2e'2a'24) >> (popContext) >> currentContext >>= parseRules)) <|> ((pColumn 0 >> pDetectChar False '!' >>= withAttribute StringTok) >>~ pushContext ("Diff","ChangedOld")) <|> (currentContext >>= \x -> guard (x == ("Diff","Chunk")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","ChunkInFile") = (((parseRules ("Diff","FindDiff"))) <|> ((pColumn 0 >> lookAhead (pRegExpr regex_'28'5c'40'5c'40'7c'5cd'29'2e'2a'24) >> (popContext) >> currentContext >>= parseRules)) <|> ((pColumn 0 >> pRegExpr regex_Index'3a'2e'2a >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pColumn 0 >> lookAhead (pRegExpr regex_'28'3d'3d'3d'3d'7c'5c'2a'5c'2a'5c'2a'7c'5c'2d'5c'2d'5c'2d'7cdiff'7cOnly_in_'2e'2a'3a'29'2e'2a'24) >> (popContext) >> currentContext >>= parseRules)) <|> ((pColumn 0 >> pDetectChar False '!' >>= withAttribute StringTok) >>~ pushContext ("Diff","ChangedOld")) <|> (currentContext >>= \x -> guard (x == ("Diff","ChunkInFile")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","RFile") = (((pColumn 0 >> lookAhead (pRegExpr regex_'28diff'7cOnly_in_'2e'2a'3a'29'2e'2a'24) >> (popContext) >> currentContext >>= parseRules)) <|> ((pColumn 0 >> pRegExpr regex_'28'3d'3d'3d'3d'7c'5c'2a'5c'2a'5c'2a'7c'5c'2d'5c'2d'5c'2d'7cdiff'7cOnly_in_'2e'2a'3a'29'2e'2a'24 >>= withAttribute DataTypeTok)) <|> ((pColumn 0 >> pRegExpr regex_'5c'2a'2b'24 >>= withAttribute DataTypeTok) >>~ pushContext ("Diff","RChunkInFile")) <|> ((parseRules ("Diff","File"))) <|> (currentContext >>= \x -> guard (x == ("Diff","RFile")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","RChunk") = (((pColumn 0 >> pRegExpr regex_'5c'2a'5c'2a'5c'2a_'2e'2a_'5c'2a'5c'2a'5c'2a'5c'2a'24 >>= withAttribute DataTypeTok)) <|> ((pColumn 0 >> pRegExpr regex_'5c'2d'5c'2d'5c'2d_'2e'2a_'5c'2d'5c'2d'5c'2d'5c'2d'24 >>= withAttribute DataTypeTok) >>~ pushContext ("Diff","RChunkNew")) <|> ((parseRules ("Diff","Chunk"))) <|> (currentContext >>= \x -> guard (x == ("Diff","RChunk")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","RChunkInFile") = (((pColumn 0 >> pRegExpr regex_'5c'2a'5c'2a'5c'2a_'2e'2a_'5c'2a'5c'2a'5c'2a'5c'2a'24 >>= withAttribute DataTypeTok)) <|> ((pColumn 0 >> pRegExpr regex_'5c'2d'5c'2d'5c'2d_'2e'2a_'5c'2d'5c'2d'5c'2d'5c'2d'24 >>= withAttribute DataTypeTok) >>~ pushContext ("Diff","RChunkInFileNew")) <|> ((parseRules ("Diff","ChunkInFile"))) <|> (currentContext >>= \x -> guard (x == ("Diff","RChunkInFile")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","RChunkNew") = (((pColumn 0 >> lookAhead (pRegExpr regex_'28'5c'40'5c'40'7c'5cd'29'2e'2a'24) >> (popContext >> popContext) >> currentContext >>= parseRules)) <|> ((pColumn 0 >> pDetectChar False '!' >>= withAttribute OtherTok) >>~ pushContext ("Diff","ChangedNew")) <|> ((parseRules ("Diff","FindDiff"))) <|> (currentContext >>= \x -> guard (x == ("Diff","RChunkNew")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","RChunkInFileNew") = (((pColumn 0 >> lookAhead (pRegExpr regex_'28'5c'40'5c'40'7c'5cd'29'2e'2a'24) >> (popContext >> popContext) >> currentContext >>= parseRules)) <|> ((pColumn 0 >> lookAhead (pRegExpr regex_'28'3d'3d'3d'3d'7c'5c'2a'5c'2a'5c'2a'7c'5c'2d'5c'2d'5c'2d'7cdiff'7cOnly_in_'2e'2a'3a'29'2e'2a'24) >> (popContext >> popContext) >> currentContext >>= parseRules)) <|> ((pColumn 0 >> pDetectChar False '!' >>= withAttribute OtherTok) >>~ pushContext ("Diff","ChangedNew")) <|> ((parseRules ("Diff","FindDiff"))) <|> (currentContext >>= \x -> guard (x == ("Diff","RChunkInFileNew")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Diff","File") = (currentContext >>= \x -> guard (x == ("Diff","File")) >> pDefault >>= withAttribute KeywordTok) parseRules ("Diff","Removed") = (currentContext >>= \x -> guard (x == ("Diff","Removed")) >> pDefault >>= withAttribute StringTok) parseRules ("Diff","Added") = (currentContext >>= \x -> guard (x == ("Diff","Added")) >> pDefault >>= withAttribute OtherTok) parseRules ("Diff","ChangedOld") = (currentContext >>= \x -> guard (x == ("Diff","ChangedOld")) >> pDefault >>= withAttribute StringTok) parseRules ("Diff","ChangedNew") = (currentContext >>= \x -> guard (x == ("Diff","ChangedNew")) >> pDefault >>= withAttribute OtherTok) parseRules x = parseRules ("Diff","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Djangotemplate.hs0000644000000000000000000006536712633103275024313 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file djangotemplate.xml, version 1.3, by Matthew Marshall (matthew@matthewmarshall.org) -} module Text.Highlighting.Kate.Syntax.Djangotemplate (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import qualified Text.Highlighting.Kate.Syntax.Css import qualified Text.Highlighting.Kate.Syntax.Javascript import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "Django HTML Template" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.htm;*.html" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("Django HTML Template","Start")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("Django HTML Template","Start") -> return () ("Django HTML Template","In Block") -> return () ("Django HTML Template","FindTemplate") -> return () ("Django HTML Template","Template Comment") -> return () ("Django HTML Template","Template Var") -> return () ("Django HTML Template","Template Filter") -> return () ("Django HTML Template","Template Tag") -> return () ("Django HTML Template","Found Block Tag") -> return () ("Django HTML Template","In Block Tag") -> return () ("Django HTML Template","Non Matching Tag") -> return () ("Django HTML Template","In Template Tag") -> return () ("Django HTML Template","Single A-string") -> return () ("Django HTML Template","Single Q-string") -> return () ("Django HTML Template","FindHTML") -> return () ("Django HTML Template","FindEntityRefs") -> return () ("Django HTML Template","FindPEntityRefs") -> return () ("Django HTML Template","FindAttributes") -> return () ("Django HTML Template","FindDTDRules") -> return () ("Django HTML Template","Comment") -> return () ("Django HTML Template","CDATA") -> return () ("Django HTML Template","PI") -> return () ("Django HTML Template","Doctype") -> return () ("Django HTML Template","Doctype Internal Subset") -> return () ("Django HTML Template","Doctype Markupdecl") -> return () ("Django HTML Template","Doctype Markupdecl DQ") -> return () ("Django HTML Template","Doctype Markupdecl SQ") -> return () ("Django HTML Template","El Open") -> return () ("Django HTML Template","El Close") -> return () ("Django HTML Template","El Close 2") -> return () ("Django HTML Template","El Close 3") -> return () ("Django HTML Template","CSS") -> return () ("Django HTML Template","CSS content") -> return () ("Django HTML Template","JS") -> return () ("Django HTML Template","JS content") -> return () ("Django HTML Template","JS comment close") -> (popContext) >> pEndLine ("Django HTML Template","Value") -> return () ("Django HTML Template","Value NQ") -> (popContext >> popContext) >> pEndLine ("Django HTML Template","Value DQ") -> return () ("Django HTML Template","Value SQ") -> return () _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_blocktags = Set.fromList $ words $ "for block if ifequal ifnotequal ifchanged blocktrans spaceless autoescape" list_endblocktags = Set.fromList $ words $ "endfor endblock endif endifequal endifnotequal endifchanged endblocktrans endspaceless endautoescape" regex_'5c'7b'25'5cs'2aend'5ba'2dz'5d'2b'5cs'2a'25'5c'7d = compileRegex True "\\{%\\s*end[a-z]+\\s*%\\}" regex_'5c'7b'25'5cs'2acomment'5cs'2a'25'5c'7d = compileRegex True "\\{%\\s*comment\\s*%\\}" regex_'5c'7b'25'5cs'2aendcomment'5cs'2a'25'5c'7d = compileRegex True "\\{%\\s*endcomment\\s*%\\}" regex_'28'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a'29 = compileRegex True "([A-Za-z_:][\\w.:_-]*)" regex_'3c'21DOCTYPE'5cs'2b = compileRegex True "))+" regex_'5cS = compileRegex True "\\S" regex_'3c'2fstyle'5cb = compileRegex True ")" regex_'5b'5e'2f'3e'3c'22'27'5cs'5d = compileRegex True "[^/><\"'\\s]" parseRules ("Django HTML Template","Start") = (((pRegExpr regex_'5c'7b'25'5cs'2aend'5ba'2dz'5d'2b'5cs'2a'25'5c'7d >>= withAttribute ErrorTok)) <|> ((parseRules ("Django HTML Template","FindTemplate"))) <|> ((parseRules ("Django HTML Template","FindHTML"))) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Start")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Django HTML Template","In Block") = (((lookAhead (pRegExpr regex_'5c'7b'25'5cs'2aend'5ba'2dz'5d'2b'5cs'2a'25'5c'7d) >> (popContext) >> currentContext >>= parseRules)) <|> ((parseRules ("Django HTML Template","FindTemplate"))) <|> ((parseRules ("Django HTML Template","FindHTML"))) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","In Block")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Django HTML Template","FindTemplate") = (((pRegExpr regex_'5c'7b'25'5cs'2acomment'5cs'2a'25'5c'7d >>= withAttribute CommentTok) >>~ pushContext ("Django HTML Template","Template Comment")) <|> ((pDetect2Chars False '{' '{' >>= withAttribute FunctionTok) >>~ pushContext ("Django HTML Template","Template Var")) <|> ((pDetect2Chars False '{' '%' >>= withAttribute FunctionTok) >>~ pushContext ("Django HTML Template","Template Tag")) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","FindTemplate")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Django HTML Template","Template Comment") = (((pRegExpr regex_'5c'7b'25'5cs'2aendcomment'5cs'2a'25'5c'7d >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Template Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Django HTML Template","Template Var") = (((pDetect2Chars False '}' '}' >>= withAttribute FunctionTok) >>~ (popContext)) <|> ((pDetectChar False '|' >>= withAttribute OtherTok) >>~ pushContext ("Django HTML Template","Template Filter")) <|> ((pDetect2Chars False '{' '{' >>= withAttribute ErrorTok)) <|> ((pDetect2Chars False '{' '%' >>= withAttribute ErrorTok)) <|> ((pDetect2Chars False '%' '}' >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Template Var")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Django HTML Template","Template Filter") = (((pDetect2Chars False '}' '}' >>= withAttribute FunctionTok) >>~ (popContext >> popContext)) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Django HTML Template","Single A-string")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Django HTML Template","Single Q-string")) <|> ((pDetect2Chars False '{' '{' >>= withAttribute ErrorTok)) <|> ((pDetect2Chars False '{' '%' >>= withAttribute ErrorTok)) <|> ((pDetect2Chars False '%' '}' >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Template Filter")) >> pDefault >>= withAttribute OtherTok)) parseRules ("Django HTML Template","Template Tag") = (((lookAhead (pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_blocktags) >> pushContext ("Django HTML Template","Found Block Tag") >> currentContext >>= parseRules)) <|> ((pDetectIdentifier >>= withAttribute FunctionTok) >>~ pushContext ("Django HTML Template","In Template Tag")) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Template Tag")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Django HTML Template","Found Block Tag") = (((pRegExpr regex_'28'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a'29 >>= withAttribute FunctionTok) >>~ pushContext ("Django HTML Template","In Block Tag")) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Found Block Tag")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Django HTML Template","In Block Tag") = (((pRegExprDynamic "\\{%\\s*end%1\\s*%\\}" >>= withAttribute FunctionTok) >>~ (popContext >> popContext >> popContext)) <|> ((lookAhead (pRegExpr regex_'5c'7b'25'5cs'2aend'5ba'2dz'5d'2b'5cs'2a'25'5c'7d) >> pushContext ("Django HTML Template","Non Matching Tag") >> currentContext >>= parseRules)) <|> ((pDetect2Chars False '%' '}' >>= withAttribute FunctionTok) >>~ pushContext ("Django HTML Template","In Block")) <|> ((parseRules ("Django HTML Template","In Template Tag"))) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","In Block Tag")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Django HTML Template","Non Matching Tag") = (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_endblocktags >>= withAttribute ErrorTok) >>~ (popContext)) <|> ((pDetectIdentifier >>= withAttribute FunctionTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Non Matching Tag")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Django HTML Template","In Template Tag") = (((pDetect2Chars False '%' '}' >>= withAttribute FunctionTok) >>~ (popContext >> popContext)) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Django HTML Template","Single A-string")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Django HTML Template","Single Q-string")) <|> ((pDetect2Chars False '{' '{' >>= withAttribute ErrorTok)) <|> ((pDetect2Chars False '{' '%' >>= withAttribute ErrorTok)) <|> ((pDetect2Chars False '}' '}' >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","In Template Tag")) >> pDefault >>= withAttribute FunctionTok)) parseRules ("Django HTML Template","Single A-string") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Single A-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Django HTML Template","Single Q-string") = (((pHlCStringChar >>= withAttribute StringTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Single Q-string")) >> pDefault >>= withAttribute StringTok)) parseRules ("Django HTML Template","FindHTML") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectIdentifier >>= withAttribute NormalTok)) <|> ((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> ((pRegExpr regex_'2d'28'2d'28'3f'21'2d'3e'29'29'2b >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Django HTML Template","CDATA") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectIdentifier >>= withAttribute NormalTok)) <|> ((pString False "]]>" >>= withAttribute BaseNTok) >>~ (popContext)) <|> ((pString False "]]>" >>= withAttribute DecValTok)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","CDATA")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Django HTML Template","PI") = (((pDetect2Chars False '?' '>' >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","PI")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Django HTML Template","Doctype") = (((pDetectChar False '>' >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((pDetectChar False '[' >>= withAttribute DataTypeTok) >>~ pushContext ("Django HTML Template","Doctype Internal Subset")) <|> (currentContext >>= \x -> guard (x == ("Django HTML Template","Doctype")) >> pDefault >>= withAttribute NormalTok)) parseRules ("Django HTML Template","Doctype Internal Subset") = (((pDetectChar False ']' >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((parseRules ("Django HTML Template","FindDTDRules"))) <|> ((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","ML_htmlcomment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","ML_identifiers") = (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules)) <|> ((pRegExpr regex_'5cs'2a'23'3f'5ba'2dzA'2dZ0'2d9'5d'2a >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ pushContext ("Doxygen","ML_types1")) <|> ((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ pushContext ("Doxygen","ML_types2")) <|> (currentContext >>= \x -> guard (x == ("Doxygen","ML_identifiers")) >> pDefault >>= withAttribute OtherTok)) parseRules ("Doxygen","ML_types1") = (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules)) <|> ((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","ML_types1")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("Doxygen","ML_types2") = (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules)) <|> ((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","ML_types2")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("Doxygen","SL_TagWord") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((lookAhead (pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord) >> (popContext) >> currentContext >>= parseRules)) <|> ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pRegExpr regex_'5cS >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_TagWord")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","SL_TagParam") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pString False "[in]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord")) <|> ((pString False "[out]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord")) <|> ((pString False "[in,out]" >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord")) <|> ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pRegExpr regex_'5cS >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_TagParam")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","SL_TagWordWord") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","SL_Tag2ndWord")) <|> ((pRegExpr regex_'5cS >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_TagWordWord")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","SL_Tag2ndWord") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5cS >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_Tag2ndWord")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","SL_TagString") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_htmlcomment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","SL_identifiers") = (((pRegExpr regex_'5cs'2a'23'3f'5ba'2dzA'2dZ0'2d9'5d'2a >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ pushContext ("Doxygen","SL_types1")) <|> ((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ pushContext ("Doxygen","SL_types2")) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_identifiers")) >> pDefault >>= withAttribute OtherTok)) parseRules ("Doxygen","SL_types1") = (((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_types1")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("Doxygen","SL_types2") = (((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_types2")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("Doxygen","SL_DetectEnv") = (((pRegExpr regex_'5b'40'5c'5c'5dcode'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Code")) <|> ((pRegExpr regex_'5b'40'5c'5c'5dverbatim'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Verbatim")) <|> ((pRegExpr regex_'5b'40'5c'5c'5df'5c'5b >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Formula")) <|> ((pRegExpr regex_'5b'40'5c'5c'5dmsc'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Msc")) <|> ((pRegExpr regex_'5b'40'5c'5c'5ddot'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Doxygen","Dot")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Note >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Warning >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Attention >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_Todo >>= withAttribute KeywordTok)) <|> ((pRegExpr regex_'26'5bA'2dZa'2dz'5d'2b'3b >>= withAttribute OtherTok)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_DetectEnv")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","SL_DetectComment") = (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext >> popContext)) <|> ((pDetectChar False '*' >>= withAttribute CommentTok)) <|> ((pString False "///" >>= withAttribute CommentTok)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","SL_DetectComment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","Code") = (((parseRules ("Doxygen","SL_DetectComment"))) <|> ((pRegExpr regex_'5b'40'5c'5c'5dendcode'5cb >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","Code")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","Verbatim") = (((parseRules ("Doxygen","SL_DetectComment"))) <|> ((pRegExpr regex_'5b'40'5c'5c'5dendverbatim'5cb >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","Verbatim")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","Formula") = (((parseRules ("Doxygen","SL_DetectComment"))) <|> ((pRegExpr regex_'5b'40'5c'5c'5df'5c'5d >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","Formula")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","Msc") = (((parseRules ("Doxygen","SL_DetectComment"))) <|> ((pRegExpr regex_'5b'40'5c'5c'5dendmsc'5cb >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","Msc")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Doxygen","Dot") = (((parseRules ("Doxygen","SL_DetectComment"))) <|> ((pRegExpr regex_'5b'40'5c'5c'5denddot'5cb >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Doxygen","Dot")) >> pDefault >>= withAttribute CommentTok)) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules x = parseRules ("Doxygen","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Doxygenlua.hs0000644000000000000000000005134312633103275023461 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file doxygenlua.xml, version 1.01, by Bruno Massa (brmassa@gmail.com) -} module Text.Highlighting.Kate.Syntax.Doxygenlua (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "DoxygenLua" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.dox;*.doxygen" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("DoxygenLua","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("DoxygenLua","Normal") -> return () ("DoxygenLua","LineComment") -> (popContext) >> pEndLine ("DoxygenLua","BlockComment") -> return () ("DoxygenLua","ML_TagWord") -> (popContext) >> pEndLine ("DoxygenLua","ML_TagParam") -> (popContext) >> pEndLine ("DoxygenLua","ML_TagWordWord") -> (popContext) >> pEndLine ("DoxygenLua","ML_Tag2ndWord") -> (popContext >> popContext) >> pEndLine ("DoxygenLua","ML_TagString") -> (popContext) >> pEndLine ("DoxygenLua","ML_TagWordString") -> (popContext) >> pEndLine ("DoxygenLua","ML_htmltag") -> return () ("DoxygenLua","ML_htmlcomment") -> return () ("DoxygenLua","ML_identifiers") -> return () ("DoxygenLua","ML_types1") -> return () ("DoxygenLua","ML_types2") -> return () ("DoxygenLua","SL_TagWord") -> (popContext) >> pEndLine ("DoxygenLua","SL_TagParam") -> (popContext) >> pEndLine ("DoxygenLua","SL_TagWordWord") -> (popContext) >> pEndLine ("DoxygenLua","SL_Tag2ndWord") -> (popContext >> popContext) >> pEndLine ("DoxygenLua","SL_TagString") -> (popContext) >> pEndLine ("DoxygenLua","SL_TagWordString") -> (popContext) >> pEndLine ("DoxygenLua","SL_htmltag") -> (popContext) >> pEndLine ("DoxygenLua","SL_htmlcomment") -> (popContext) >> pEndLine ("DoxygenLua","SL_identifiers") -> (popContext) >> pEndLine ("DoxygenLua","SL_types1") -> (popContext) >> pEndLine ("DoxygenLua","SL_types2") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_TagOnly = Set.fromList $ words $ "\\arg \\attention \\author \\callgraph \\code \\dot \\else \\endcode \\endcond \\enddot \\endhtmlonly \\endif \\endlatexonly \\endlink \\endmanonly \\endverbatim \\endxmlonly \\f[ \\f] \\f$ \\hideinitializer \\htmlonly \\interface \\internal \\invariant \\~ \\@ \\$ \\\\ \\# \\latexonly \\li \\manonly \\n \\nosubgrouping \\note \\only \\post \\pre \\remarks \\return \\returns \\sa \\see \\showinitializer \\since \\test \\todo \\verbatim \\warning \\xmlonly @arg @attention @author @callgraph @code @dot @else @endcode @endcond @enddot @endhtmlonly @endif @endlatexonly @endlink @endmanonly @endverbatim @endxmlonly @f[ @f] @f$ @hideinitializer @htmlonly @interface @internal @invariant @~ @@ @$ @\\ @# @latexonly @li @manonly @n @nosubgrouping @note @only @post @pre @remarks @return @returns @sa @see @showinitializer @since @test @todo @verbatim @warning @xmlonly" list_TagWord = Set.fromList $ words $ "\\addtogroup \\a \\anchor \\b \\c \\class \\cond \\copydoc \\def \\dontinclude \\dotfile \\e \\elseif \\em \\enum \\example \\exception \\exceptions \\file \\htmlinclude \\if \\ifnot \\include \\link \\namespace \\p \\package \\ref \\relatesalso \\relates \\retval \\throw \\throws \\verbinclude \\version \\xrefitem @addtogroup @a @anchor @b @c @class @cond @copydoc @def @dontinclude @dotfile @e @elseif @em @enum @example @exception @exceptions @file @htmlinclude @if @ifnot @include @link @namespace @p @package @ref @relatesalso @relates @retval @throw @throws @verbinclude @version @xrefitem" list_TagParam = Set.fromList $ words $ "\\param @param" list_TagWordWord = Set.fromList $ words $ "\\image @image" list_TagWordString = Set.fromList $ words $ "\\defgroup \\page \\paragraph \\section \\struct \\subsection \\subsubsection \\union \\weakgroup @defgroup @page @paragraph @section @struct @subsection @subsubsection @union @weakgroup" list_TagString = Set.fromList $ words $ "\\addindex \\brief \\bug \\date \\deprecated \\fn \\ingroup \\line \\mainpage \\name \\overload \\par \\short \\skip \\skipline \\typedef \\until \\var @addindex @brief @bug @date @deprecated @fn @ingroup @line @mainpage @name @overload @par @short @skip @skipline @typedef @until @var" regex_'3c'5cs'2a'5c'2f'3f'5cs'2a'5ba'2dzA'2dZ'5f'3a'5d'5ba'2dzA'2dZ0'2d9'2e'5f'3a'2d'5d'2a = compileRegex True "<\\s*\\/?\\s*[a-zA-Z_:][a-zA-Z0-9._:-]*" regex_'5c'5c'28'3c'7c'3e'29 = compileRegex True "\\\\(<|>)" regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 = compileRegex True "\\S(?=([][,?;()]|\\.$|\\.?\\s))" regex_'5cS = compileRegex True "\\S" regex_'2e = compileRegex True "." regex_'5cs'2a'3d'5cs'2a = compileRegex True "\\s*=\\s*" regex_'5cs'2a'23'3f'5ba'2dzA'2dZ0'2d9'5d'2a = compileRegex True "\\s*#?[a-zA-Z0-9]*" parseRules ("DoxygenLua","Normal") = (((pRegExprDynamic "--\\[(=*)\\[" >>= withAttribute CommentTok) >>~ pushContext ("DoxygenLua","BlockComment")) <|> ((pString False "--" >>= withAttribute CommentTok) >>~ pushContext ("DoxygenLua","LineComment")) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","Normal")) >> pDefault >>= withAttribute NormalTok)) parseRules ("DoxygenLua","LineComment") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagOnly >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagWord")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagParam >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagParam")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordWord >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagWordWord")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagString >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagString")) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWordString >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_TagWordString")) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> ((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_htmlcomment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("DoxygenLua","ML_identifiers") = (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules)) <|> ((pRegExpr regex_'5cs'2a'23'3f'5ba'2dzA'2dZ0'2d9'5d'2a >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ pushContext ("DoxygenLua","ML_types1")) <|> ((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ pushContext ("DoxygenLua","ML_types2")) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_identifiers")) >> pDefault >>= withAttribute OtherTok)) parseRules ("DoxygenLua","ML_types1") = (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules)) <|> ((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_types1")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("DoxygenLua","ML_types2") = (((lookAhead (pDetect2Chars False '*' '/') >> (popContext) >> currentContext >>= parseRules)) <|> ((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","ML_types2")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("DoxygenLua","SL_TagWord") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((lookAhead (pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}" list_TagWord) >> (popContext) >> currentContext >>= parseRules)) <|> ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pRegExpr regex_'5cS >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagWord")) >> pDefault >>= withAttribute CommentTok)) parseRules ("DoxygenLua","SL_TagParam") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pString False "[in]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord")) <|> ((pString False "[out]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord")) <|> ((pString False "[in,out]" >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord")) <|> ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext)) <|> ((pRegExpr regex_'5cS >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagParam")) >> pDefault >>= withAttribute CommentTok)) parseRules ("DoxygenLua","SL_TagWordWord") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("DoxygenLua","SL_Tag2ndWord")) <|> ((pRegExpr regex_'5cS >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_TagWordWord")) >> pDefault >>= withAttribute CommentTok)) parseRules ("DoxygenLua","SL_Tag2ndWord") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pRegExpr regex_'5cS'28'3f'3d'28'5b'5d'5b'2c'3f'3b'28'29'5d'7c'5c'2e'24'7c'5c'2e'3f'5cs'29'29 >>= withAttribute KeywordTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5cS >>= withAttribute KeywordTok)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_Tag2ndWord")) >> pDefault >>= withAttribute CommentTok)) parseRules ("DoxygenLua","SL_TagString") = (((pDetectSpaces >>= withAttribute CommentTok)) <|> ((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_htmlcomment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("DoxygenLua","SL_identifiers") = (((pRegExpr regex_'5cs'2a'23'3f'5ba'2dzA'2dZ0'2d9'5d'2a >>= withAttribute NormalTok) >>~ (popContext)) <|> ((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ pushContext ("DoxygenLua","SL_types1")) <|> ((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ pushContext ("DoxygenLua","SL_types2")) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_identifiers")) >> pDefault >>= withAttribute OtherTok)) parseRules ("DoxygenLua","SL_types1") = (((pDetectChar False '\'' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_types1")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("DoxygenLua","SL_types2") = (((pDetectChar False '"' >>= withAttribute DataTypeTok) >>~ (popContext >> popContext)) <|> (currentContext >>= \x -> guard (x == ("DoxygenLua","SL_types2")) >> pDefault >>= withAttribute DataTypeTok)) parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing parseRules x = parseRules ("DoxygenLua","Normal") <|> fail ("Unknown context" ++ show x) highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Dtd.hs0000644000000000000000000001551312633103275022054 0ustar0000000000000000{- This module was generated from data in the Kate syntax highlighting file dtd.xml, version 1.02, by Andriy Lesyuk (s-andy@in.if.ua) -} module Text.Highlighting.Kate.Syntax.Dtd (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common import qualified Text.Highlighting.Kate.Syntax.Alert import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace) import qualified Data.Set as Set -- | Full name of language. syntaxName :: String syntaxName = "DTD" -- | Filename extensions for this language. syntaxExtensions :: String syntaxExtensions = "*.dtd" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine] highlight input = evalState (mapM parseSourceLine $ lines input) startingState parseSourceLine :: String -> State SyntaxState SourceLine parseSourceLine = mkParseSourceLine (parseExpression Nothing) -- | Parse an expression using appropriate local context. parseExpression :: Maybe (String,String) -> KateParser Token parseExpression mbcontext = do (lang,cont) <- maybe currentContext return mbcontext result <- parseRules (lang,cont) optional $ do eof updateState $ \st -> st{ synStPrevChar = '\n' } pEndLine return result startingState = SyntaxState {synStContexts = [("DTD","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False } context <- currentContext contexts <- synStContexts `fmap` getState st <- getState if length contexts >= 2 then case context of _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False } ("DTD","Normal") -> return () ("DTD","Comment") -> return () ("DTD","PI") -> return () ("DTD","Declaration") -> return () ("DTD","String") -> return () ("DTD","InlineComment") -> (popContext) >> pEndLine _ -> return () else return () withAttribute attr txt = do when (null txt) $ fail "Parser matched no text" updateState $ \st -> st { synStPrevChar = last txt , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) list_Category = Set.fromList $ words $ "EMPTY ANY CDATA ID IDREF IDREFS NMTOKEN NMTOKENS ENTITY ENTITIES NOTATION PUBLIC SYSTEM NDATA" list_Keywords = Set.fromList $ words $ "#PCDATA #REQUIRED #IMPLIED #FIXED" regex_'28'2d'7cO'29'5cs'28'2d'7cO'29 = compileRegex True "(-|O)\\s(-|O)" regex_'28'25'7c'26'29'28'23'5b0'2d9'5d'2b'7c'23'5bxX'5d'5b0'2d9A'2dFa'2df'5d'2b'7c'5b'5c'2d'5cw'5cd'5c'2e'3a'5f'5d'2b'29'3b = compileRegex True "(%|&)(#[0-9]+|#[xX][0-9A-Fa-f]+|[\\-\\w\\d\\.:_]+);" regex_'25'5cs = compileRegex True "%\\s" regex_'5cb'5b'5c'2d'5cw'5cd'5c'2e'3a'5f'5d'2b'5cb = compileRegex True "\\b[\\-\\w\\d\\.:_]+\\b" regex_'25'5b'5c'2d'5cw'5cd'5c'2e'3a'5f'5d'2b'3b = compileRegex True "%[\\-\\w\\d\\.:_]+;" parseRules ("DTD","Normal") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd))) <|> ((pDetectIdentifier >>= withAttribute CommentTok)) <|> (currentContext >>= \x -> guard (x == ("DTD","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("DTD","PI") = (((pDetect2Chars False '?' '>' >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("DTD","PI")) >> pDefault >>= withAttribute NormalTok)) parseRules ("DTD","Declaration") = (((pString False "" >>= withAttribute CommentTok) >>~ (popContext)) <|> ((pRegExpr regex_'2d'28'2d'28'3f'21'2d'3e'29'29'2b >>= withAttribute ErrorTok)) <|> (currentContext >>= \x -> guard (x == ("HTML","Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("HTML","CDATA") = (((pDetectSpaces >>= withAttribute NormalTok)) <|> ((pDetectIdentifier >>= withAttribute NormalTok)) <|> ((pString False "]]>" >>= withAttribute BaseNTok) >>~ (popContext)) <|> ((pString False "]]>" >>= withAttribute DecValTok)) <|> (currentContext >>= \x -> guard (x == ("HTML","CDATA")) >> pDefault >>= withAttribute NormalTok)) parseRules ("HTML","PI") = (((pDetect2Chars False '?' '>' >>= withAttribute KeywordTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("HTML","PI")) >> pDefault >>= withAttribute NormalTok)) parseRules ("HTML","Doctype") = (((pDetectChar False '>' >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((pDetectChar False '[' >>= withAttribute DataTypeTok) >>~ pushContext ("HTML","Doctype Internal Subset")) <|> (currentContext >>= \x -> guard (x == ("HTML","Doctype")) >> pDefault >>= withAttribute NormalTok)) parseRules ("HTML","Doctype Internal Subset") = (((pDetectChar False ']' >>= withAttribute DataTypeTok) >>~ (popContext)) <|> ((parseRules ("HTML","FindDTDRules"))) <|> ((pString False "" parseRules ("JSP","Normal") = (((pRegExpr regex_'3c'25'40'5cs'2a'5ba'2dzA'2dZ0'2d9'5f'5c'2e'5d'2a >>= withAttribute NormalTok) >>~ pushContext ("JSP","Jsp Standard Directive")) <|> ((pRegExpr regex_'3c'5cs'2ajsp'3a'28declaration'7cexpression'7cscriptlet'29'5cs'2a'3e >>= withAttribute NormalTok) >>~ pushContext ("JSP","Jsp Scriptlet")) <|> ((pRegExpr regex_'3c'5cs'2a'5c'2f'3fs'2ajsp'3a'5ba'2dzA'2dZ0'2d9'5f'5c'2e'5d'2a >>= withAttribute NormalTok) >>~ pushContext ("JSP","Jsp Xml Directive")) <|> ((pString False "<%--" >>= withAttribute CommentTok) >>~ pushContext ("JSP","Jsp Comment")) <|> ((pRegExpr regex_'3c'25'28'21'7c'3d'29'3f >>= withAttribute NormalTok) >>~ pushContext ("JSP","Jsp Scriptlet")) <|> ((pString False "" regex_'60'5b'5e'60'5d'2b'60 = compileRegex True "`[^`]+`" regex_'3c'21'2d'2d = compileRegex True "" regex_'28'5e'7c'5cs'2b'29lang'5c'3d'28'22javascript'22'7c'27javascript'27'29 = compileRegex True "(^|\\s+)lang\\=(\"javascript\"|'javascript')" regex_'5cS = compileRegex True "\\S" regex_'3c'2fu_'2a'3e = compileRegex True "" regex_'26'28'23'5b0'2d9'5d'2b'7c'23'5bxX'5d'5b0'2d9A'2dFa'2df'5d'2b'7c'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a'29'3b = compileRegex True "&(#[0-9]+|#[xX][0-9A-Fa-f]+|(?![0-9])[\\w_:][\\w.:_-]*);" regex_'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a = compileRegex True "(?![0-9])[\\w_:][\\w.:_-]*" regex_'5cs'2b'28'3f'21'5b0'2d9'5d'29'5b'5cw'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a = compileRegex True "\\s+(?![0-9])[\\w_:][\\w.:_-]*" regex_'5b'2a'23'3b'3a'5cs'5d'2a'5b'2a'23'3a'5d'2b = compileRegex True "[*#;:\\s]*[*#:]+" regex_'3csource'28'3f'3d'5cs'29 = compileRegex True ">= withAttribute CommentTok) >>~ pushContext ("MediaWiki","comment")) <|> ((pColumn 0 >> pRegExpr regex_'5b'3d'5d'7b5'2c5'7d'28'3f'21'3d'29 >>= withAttribute KeywordTok) >>~ pushContext ("MediaWiki","Section5")) <|> ((pColumn 0 >> pRegExpr regex_'5b'3d'5d'7b4'2c4'7d'28'3f'21'3d'29 >>= withAttribute KeywordTok) >>~ pushContext ("MediaWiki","Section4")) <|> ((pColumn 0 >> pRegExpr regex_'5b'3d'5d'7b3'2c3'7d'28'3f'21'3d'29 >>= withAttribute KeywordTok) >>~ pushContext ("MediaWiki","Section3")) <|> ((pColumn 0 >> pRegExpr regex_'5b'3d'5d'7b2'2c2'7d'28'3f'21'3d'29 >>= withAttribute KeywordTok) >>~ pushContext ("MediaWiki","Section2")) <|> ((pRegExpr regex_'5b'7e'5d'7b3'2c4'7d >>= withAttribute DecValTok)) <|> ((pColumn 0 >> pDetectChar False ';' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","DefinitionListHeader")) <|> ((parseRules ("MediaWiki","FindListItem"))) <|> ((parseRules ("MediaWiki","FindUrl"))) <|> ((parseRules ("MediaWiki","FindTextDecorations"))) <|> ((parseRules ("MediaWiki","FindTable"))) <|> ((pString False "{{{" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","TemplateParameter")) <|> ((parseRules ("MediaWiki","FindTemplate"))) <|> ((parseRules ("MediaWiki","FindWikiLink"))) <|> ((parseRules ("MediaWiki","FindHtmlEntities"))) <|> ((pString False "" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","NoWiki")) <|> ((pString False "
" >>= withAttribute KeywordTok) >>~ pushContext ("MediaWiki","Pre"))
   <|>
   ((parseRules ("MediaWiki","FindSyntaxHighlightingHtmlElement")))
   <|>
   ((pRegExpr regex_'5b'3c'5d'5b'5e'3e'5d'2b'5b'3e'5d >>= withAttribute KeywordTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5b'5cs'5d >>= withAttribute NormalTok) >>~ pushContext ("MediaWiki","Unformatted"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","normal")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","TableHeader") =
  (((pDetect2Chars False '{' '|' >>= withAttribute DecValTok))
   <|>
   ((parseRules ("MediaWiki","FindHtmlStartTagAttributes")))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","TableHeader")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","TableContent") =
  (((pString False "" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("MediaWiki","DelimitedURL") =
  (((pDetectChar False ']' >>= withAttribute DecValTok) >>~ (popContext))
   <|>
   ((pDetectChar False '[' >>= withAttribute DecValTok))
   <|>
   ((lookAhead (pRegExpr regex_'28http'3a'7chttps'3a'7cftp'3a'7cmailto'3a'29'5b'5e'5d'7c_'5d'2a'28'3f'3d'24'7c'5b'5d'7c'5cs'5d'29) >> pushContext ("MediaWiki","DelimitedUrlLink") >> currentContext >>= parseRules))
   <|>
   ((pDetectChar False ' ' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","URLTag"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","DelimitedURL")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","DelimitedUrlLink") =
  (((parseRules ("MediaWiki","FindTemplate")))
   <|>
   ((lookAhead (pDetectChar False ' ') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pDetectChar False ']') >> (popContext) >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","DelimitedUrlLink")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","LooseURL") =
  (((parseRules ("MediaWiki","FindTemplate")))
   <|>
   ((pDetectChar False ' ' >>= withAttribute DecValTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","LooseURL")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","LooseURLWithinTemplate") =
  (((parseRules ("MediaWiki","FindTemplate")))
   <|>
   ((lookAhead (pDetect2Chars False '}' '}') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((pDetectChar False ' ' >>= withAttribute DecValTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","LooseURLWithinTemplate")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","URLTag") =
  (((parseRules ("MediaWiki","FindTextDecorations")))
   <|>
   ((parseRules ("MediaWiki","FindTemplate")))
   <|>
   ((lookAhead (pDetectChar False ']') >> (popContext) >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","URLTag")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules") =
  (((parseRules ("MediaWiki","FindTemplate")))
   <|>
   ((parseRules ("MediaWiki","FindHtmlEntities")))
   <|>
   ((pDetect2Chars False '[' '[' >>= withAttribute DecValTok))
   <|>
   ((pDetect2Chars False ']' ']' >>= withAttribute DecValTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkWithoutDescriptionRules")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkWithDescriptionRules") =
  (((parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules")))
   <|>
   ((pDetectChar False '#' >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkWithDescriptionRules")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLink") =
  (((parseRules ("MediaWiki","WikiLinkWithDescriptionRules")))
   <|>
   ((pDetectChar False '|' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","WikiLinkDescription"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLink")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkBoldWithDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithDescriptionRules")))
   <|>
   ((pDetectChar False '|' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","WikiLinkDescriptionBold"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkBoldWithDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkBoldWithoutDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules")))
   <|>
   ((pDetectChar False '#' >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkBoldWithoutDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkItalicWithDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithDescriptionRules")))
   <|>
   ((pDetectChar False '|' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","WikiLinkDescriptionItalic"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkItalicWithDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkItalicWithoutDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules")))
   <|>
   ((pDetectChar False '#' >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkItalicWithoutDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkUnderlinedWithDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithDescriptionRules")))
   <|>
   ((pDetectChar False '|' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","WikiLinkDescriptionUnderlined"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkUnderlinedWithDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkUnderlinedWithoutDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules")))
   <|>
   ((pDetectChar False '#' >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkUnderlinedWithoutDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkBoldItalicWithDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithDescriptionRules")))
   <|>
   ((pDetectChar False '|' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","WikiLinkDescriptionBoldItalic"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkBoldItalicWithDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkBoldItalicWithoutDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules")))
   <|>
   ((pDetectChar False '#' >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkBoldItalicWithoutDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkBoldUnderlinedWithDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithDescriptionRules")))
   <|>
   ((pDetectChar False '|' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","WikiLinkDescriptionBoldUnderlined"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkBoldUnderlinedWithDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkBoldUnderlinedWithoutDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules")))
   <|>
   ((pDetectChar False '#' >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkBoldUnderlinedWithoutDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkItalicUnderlinedWithDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithDescriptionRules")))
   <|>
   ((pDetectChar False '|' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","WikiLinkDescriptionItalicUnderlined"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkItalicUnderlinedWithDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkItalicUnderlinedWithoutDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules")))
   <|>
   ((pDetectChar False '#' >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkItalicUnderlinedWithoutDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkBoldItalicUnderlinedWithDescription") =
  (((parseRules ("MediaWiki","WikiLinkWithDescriptionRules")))
   <|>
   ((pDetectChar False '|' >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","WikiLinkDescriptionBoldItalicUnderlined"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkBoldItalicUnderlinedWithDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkBoldItalicUnderlinedWithoutDescription") =
  (((pDetectChar False '#' >>= withAttribute DecValTok))
   <|>
   ((parseRules ("MediaWiki","WikiLinkWithoutDescriptionRules")))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkBoldItalicUnderlinedWithoutDescription")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","WikiLinkDescriptionRules") =
  (((parseRules ("MediaWiki","FindTemplate")))
   <|>
   ((parseRules ("MediaWiki","FindHtmlEntities")))
   <|>
   ((lookAhead (pDetect2Chars False ']' ']') >> (popContext) >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescriptionRules")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkDescription") =
  (((parseRules ("MediaWiki","WikiLinkDescriptionRules")))
   <|>
   ((parseRules ("MediaWiki","FindTextDecorations")))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescription")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkDescriptionBold") =
  (((parseRules ("MediaWiki","WikiLinkDescriptionRules")))
   <|>
   ((pString False "''" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","BoldItalic"))
   <|>
   ((pRegExpr regex_'3cu_'2a'3e >>= withAttribute KeywordTok) >>~ pushContext ("MediaWiki","BoldUnderlined"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescriptionBold")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkDescriptionItalic") =
  (((parseRules ("MediaWiki","WikiLinkDescriptionRules")))
   <|>
   ((pString False "'''" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","ItalicBold"))
   <|>
   ((pRegExpr regex_'3cu_'2a'3e >>= withAttribute KeywordTok) >>~ pushContext ("MediaWiki","ItalicUnderlined"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescriptionItalic")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkDescriptionUnderlined") =
  (((parseRules ("MediaWiki","WikiLinkDescriptionRules")))
   <|>
   ((pString False "'''" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","UnderlinedBold"))
   <|>
   ((pString False "''" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","UnderlinedItalic"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescriptionUnderlined")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkDescriptionBoldItalic") =
  (((parseRules ("MediaWiki","WikiLinkDescriptionRules")))
   <|>
   ((pRegExpr regex_'3cu_'2a'3e >>= withAttribute KeywordTok) >>~ pushContext ("MediaWiki","BoldItalicUnderlined"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescriptionBoldItalic")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkDescriptionBoldUnderlined") =
  (((parseRules ("MediaWiki","WikiLinkDescriptionRules")))
   <|>
   ((pString False "''" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","BoldUnderlinedItalic"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescriptionBoldUnderlined")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkDescriptionItalicUnderlined") =
  (((parseRules ("MediaWiki","WikiLinkDescriptionRules")))
   <|>
   ((pString False "'''" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","ItalicUnderlinedBold"))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescriptionItalicUnderlined")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","WikiLinkDescriptionBoldItalicUnderlined") =
  (((parseRules ("MediaWiki","WikiLinkDescriptionRules")))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","WikiLinkDescriptionBoldItalicUnderlined")) >> pDefault >>= withAttribute NormalTok))

parseRules ("MediaWiki","Template") =
  (((pString False "|" >>= withAttribute DecValTok) >>~ pushContext ("MediaWiki","TemplateParameterSlot"))
   <|>
   ((pDetect2Chars False '}' '}' >>= withAttribute DecValTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("MediaWiki","Template")) >> pDefault >>= withAttribute OtherTok))

parseRules ("MediaWiki","TemplateParameterSlot") =
  (((lookAhead (pDetect2Chars False '}' '}') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((pString False "(?![#$&*+\\-./:<=>?@^~\\\\])"

parseRules ("Prolog","shebang") =
  (((pColumn 0 >> pDetect2Chars False '#' '!' >>= withAttribute CommentTok) >>~ pushContext ("Prolog","1-comment"))
   <|>
   ((lookAhead (pRegExpr regex_'2e) >> pushContext ("Prolog","clause") >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","shebang")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","syntax_error") =
  (((pDetectSpaces >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pDetectIdentifier >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'2e >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","syntax_error")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","clause") =
  (((parseRules ("Prolog","layout")))
   <|>
   ((pRegExpr regex_'5c'2e'28'3f'21'28'5c'28'7c'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29'29 >>= withAttribute AlertTok))
   <|>
   ((lookAhead (pRegExpr regex_'2e) >> pushContext ("Prolog","term") >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","clause")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","term") =
  (((parseRules ("Prolog","layout")))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested"))
   <|>
   ((pDetectChar False '[' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","list"))
   <|>
   ((pDetectChar False '{' >>= withAttribute KeywordTok) >>~ pushContext ("Prolog","curly"))
   <|>
   ((pDetectChar False ',' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '!' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '|' >>= withAttribute NormalTok))
   <|>
   ((lookAhead (pDetect2Chars False '.' '(') >> pushContext ("Prolog","list_functor") >> currentContext >>= parseRules))
   <|>
   ((pRegExpr regex_'5c'2e'28'3f'21'28'5c'28'7c'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("Prolog","atomic")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","term")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","nested") =
  (((parseRules ("Prolog","layout")))
   <|>
   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested"))
   <|>
   ((pDetectChar False '[' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","list"))
   <|>
   ((pDetectChar False '{' >>= withAttribute KeywordTok) >>~ pushContext ("Prolog","curly"))
   <|>
   ((pDetectChar False '!' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False ',' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '|' >>= withAttribute NormalTok))
   <|>
   ((lookAhead (pDetect2Chars False '.' '(') >> pushContext ("Prolog","list_functor") >> currentContext >>= parseRules))
   <|>
   ((pRegExpr regex_'5c'2e'28'3f'21'28'5c'28'7c'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29'29 >>= withAttribute AlertTok))
   <|>
   ((parseRules ("Prolog","atomic")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","nested")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","list") =
  (((parseRules ("Prolog","layout")))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested"))
   <|>
   ((pDetectChar False ']' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pDetectChar False '[' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","list"))
   <|>
   ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","curly"))
   <|>
   ((pDetectChar False ',' >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False '!' >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False '|' >>= withAttribute FunctionTok))
   <|>
   ((lookAhead (pDetect2Chars False '.' '(') >> pushContext ("Prolog","list_functor") >> currentContext >>= parseRules))
   <|>
   ((parseRules ("Prolog","atomic")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","list")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","curly") =
  (((parseRules ("Prolog","layout")))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested"))
   <|>
   ((pDetectChar False '[' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","list"))
   <|>
   ((pDetectChar False '}' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((pDetectChar False '{' >>= withAttribute KeywordTok) >>~ pushContext ("Prolog","curly"))
   <|>
   ((pDetectChar False ',' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '!' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '|' >>= withAttribute NormalTok))
   <|>
   ((lookAhead (pDetect2Chars False '.' '(') >> pushContext ("Prolog","list_functor") >> currentContext >>= parseRules))
   <|>
   ((parseRules ("Prolog","atomic")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","curly")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","arith_expr") =
  (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested_expr"))
   <|>
   ((lookAhead (pDetectChar False ')') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pDetectChar False '}') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pDetectChar False ']') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pDetectChar False '!') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pDetectChar False ',') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pDetectChar False '|') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'5c'2e'28'3f'21'28'5c'28'7c'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29'29) >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'28'3b'7c'2d'3e'7c'5c'5c'5c'2b'7c'3a'2d'7c'3d'7c'5c'5c'3d'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29) >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((parseRules ("Prolog","arith_expr_common")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","arith_expr")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","nested_expr") =
  (((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested_expr"))
   <|>
   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pDetectChar False '!' >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False ',' >>= withAttribute ErrorTok))
   <|>
   ((pDetectChar False '|' >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'28'3b'7c'2d'3e'7c'5c'5c'5c'2b'7c'3a'2d'7c'3d'7c'5c'5c'3d'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute FunctionTok))
   <|>
   ((parseRules ("Prolog","arith_expr_common")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","nested_expr")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","list_functor") =
  (((pDetectChar False '.' >>= withAttribute FunctionTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","list_functor")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","sq") =
  (((parseRules ("Prolog","quoted_1st")))
   <|>
   ((pRegExpr regex_'28'27'27'7c'5c'5c'5b0'2d7'5d'2b'5c'5c'7c'5c'5cx'5ba'2dfA'2dF0'2d9'5d'2b'5c'5c'7c'5c'5c'2e'7c'5b'5e'27'5c'5c'5d'2b'29'24 >>= withAttribute ErrorTok) >>~ pushContext ("Prolog","syntax_error_sq"))
   <|>
   ((pDetect2Chars False '\'' '\'' >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute NormalTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("Prolog","quoted_last")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","sq")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Prolog","dq") =
  (((parseRules ("Prolog","quoted_1st")))
   <|>
   ((pRegExpr regex_'28'22'22'7c'5c'5c'5b0'2d7'5d'2b'5c'5c'7c'5c'5cx'5ba'2dfA'2dF0'2d9'5d'2b'5c'5c'7c'5c'5c'2e'7c'5b'5e'22'5c'5c'5d'2b'29'24 >>= withAttribute ErrorTok) >>~ pushContext ("Prolog","syntax_error_dq"))
   <|>
   ((pDetect2Chars False '"' '"' >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '"' >>= withAttribute OtherTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("Prolog","quoted_last")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","dq")) >> pDefault >>= withAttribute OtherTok))

parseRules ("Prolog","bq") =
  (((parseRules ("Prolog","quoted_1st")))
   <|>
   ((pRegExpr regex_'28'60'60'7c'5c'5c'5b0'2d7'5d'2b'5c'5c'7c'5c'5cx'5ba'2dfA'2dF0'2d9'5d'2b'5c'5c'7c'5c'5c'2e'7c'5b'5e'60'5c'5c'5d'2b'29'24 >>= withAttribute ErrorTok) >>~ pushContext ("Prolog","syntax_error_bq"))
   <|>
   ((pDetect2Chars False '`' '`' >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '`' >>= withAttribute StringTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("Prolog","quoted_last")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","bq")) >> pDefault >>= withAttribute StringTok))

parseRules ("Prolog","single-quoted") =
  (((pRegExpr regex_'27'24 >>= withAttribute ErrorTok) >>~ pushContext ("Prolog","sq"))
   <|>
   ((pDetectChar False '\'' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","sq"))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","single-quoted")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Prolog","double-quoted") =
  (((pRegExpr regex_'22'24 >>= withAttribute ErrorTok) >>~ pushContext ("Prolog","dq"))
   <|>
   ((pDetectChar False '"' >>= withAttribute OtherTok) >>~ pushContext ("Prolog","dq"))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","double-quoted")) >> pDefault >>= withAttribute OtherTok))

parseRules ("Prolog","back-quoted") =
  (((pRegExpr regex_'60'24 >>= withAttribute ErrorTok) >>~ pushContext ("Prolog","bq"))
   <|>
   ((pDetectChar False '`' >>= withAttribute StringTok) >>~ pushContext ("Prolog","bq"))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","back-quoted")) >> pDefault >>= withAttribute StringTok))

parseRules ("Prolog","syntax_error_sq") =
  (((pDetect2Chars False '\\' '\'' >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pDetect2Chars False '\'' '\'' >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pDetectChar False '\'' >>= withAttribute ErrorTok) >>~ (popContext >> popContext >> popContext))
   <|>
   ((parseRules ("Prolog","syntax_error")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","syntax_error_sq")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","syntax_error_dq") =
  (((pDetect2Chars False '\\' '"' >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pDetect2Chars False '"' '"' >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pDetectChar False '"' >>= withAttribute ErrorTok) >>~ (popContext >> popContext >> popContext))
   <|>
   ((parseRules ("Prolog","syntax_error")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","syntax_error_dq")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","syntax_error_bq") =
  (((pDetect2Chars False '\\' '`' >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pDetect2Chars False '`' '`' >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pDetectChar False '`' >>= withAttribute ErrorTok) >>~ (popContext >> popContext >> popContext))
   <|>
   ((parseRules ("Prolog","syntax_error")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","syntax_error_bq")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","char_code") =
  (((pDetect2Chars False '\'' '\'' >>= withAttribute CharTok) >>~ (popContext))
   <|>
   ((pDetectChar False '\'' >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pDetectChar False '\\' >>= withAttribute CharTok) >>~ pushContext ("Prolog","esc_seq_cc"))
   <|>
   ((pDetectChar False ' ' >>= withAttribute AlertTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'2e >>= withAttribute BaseNTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","char_code")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","syntax_error_cc") =
  (((pDetectSpaces >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Prolog","esc_seq_q") =
  (((pRegExpr regex_'5c'5c'5b0'2d7'5d'2b'5c'5c >>= withAttribute BaseNTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'5c'5cx'5ba'2dfA'2dF0'2d9'5d'2b'5c'5c >>= withAttribute BaseNTok) >>~ (popContext))
   <|>
   ((pDetectChar False '\\' >>= withAttribute CharTok) >>~ pushContext ("Prolog","esc_seq_q2"))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","esc_seq_q")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","esc_seq_cc") =
  (((pDetectChar False ' ' >>= withAttribute AlertTok) >>~ (popContext >> popContext))
   <|>
   ((pAnyChar "abfnrtv\\'`\"]" >>= withAttribute CharTok) >>~ (popContext >> popContext))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Prolog","esc_seq_q2") =
  (((pDetectChar False ' ' >>= withAttribute AlertTok) >>~ (popContext >> popContext))
   <|>
   ((pAnyChar "abfnrtv\\'`\"]" >>= withAttribute CharTok) >>~ (popContext >> popContext))
   <|>
   ((popContext >> popContext) >> currentContext >>= parseRules))

parseRules ("Prolog","id") =
  (((pDetectIdentifier >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","id")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","var") =
  (((pDetectIdentifier >>= withAttribute DataTypeTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","var")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","graphic") =
  (((pAnyChar "#$&*+-./:<=>?@^~\\" >>= withAttribute NormalTok))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Prolog","bin") =
  (((pAnyChar "01" >>= withAttribute BaseNTok))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Prolog","oct") =
  (((pAnyChar "01234567" >>= withAttribute BaseNTok))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Prolog","hex") =
  (((pAnyChar "0123456789abcdefABCDEF" >>= withAttribute BaseNTok))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Prolog","comment-iso") =
  (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((pDetectSpaces >>= withAttribute CommentTok))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression (Just ("Alerts_indent","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   ((pDetectIdentifier >>= withAttribute CommentTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","comment-iso")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Prolog","1-comment") =
  (((pDetectSpaces >>= withAttribute CommentTok))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression (Just ("Alerts_indent","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   ((pDetectIdentifier >>= withAttribute CommentTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","1-comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Prolog","region_marker") =
  (((parseRules ("Prolog","1-comment")))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","region_marker")) >> pDefault >>= withAttribute RegionMarkerTok))

parseRules ("Prolog","layout_fold") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pFirstNonSpace >> pString False "%BEGIN" >>= withAttribute RegionMarkerTok) >>~ pushContext ("Prolog","region_marker"))
   <|>
   ((pFirstNonSpace >> pString False "%END" >>= withAttribute RegionMarkerTok) >>~ pushContext ("Prolog","region_marker"))
   <|>
   ((pFirstNonSpace >> pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("Prolog","1-comment"))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Prolog","quoted_1st") =
  (((pLineContinue >>= withAttribute CharTok))
   <|>
   ((pColumn 0 >> pDetectSpaces >>= withAttribute CharTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","quoted_1st")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","quoted_last") =
  (((lookAhead (pDetectChar False '\\') >> pushContext ("Prolog","esc_seq_q") >> currentContext >>= parseRules))
   <|>
   ((pDetectChar False ' ' >>= withAttribute AlertTok))
   <|>
   ((pDetectIdentifier >>= withAttribute ErrorTok))
   <|>
   ((pDetectSpaces >>= withAttribute ErrorTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","quoted_last")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","layout") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Prolog","comment-iso"))
   <|>
   ((pFirstNonSpace >> pString False "%BEGIN" >>= withAttribute RegionMarkerTok) >>~ pushContext ("Prolog","region_marker"))
   <|>
   ((pFirstNonSpace >> pString False "%END" >>= withAttribute RegionMarkerTok) >>~ pushContext ("Prolog","region_marker"))
   <|>
   ((pFirstNonSpace >> lookAhead (pDetectChar False '%') >> pushContext ("Prolog","layout_fold") >> currentContext >>= parseRules))
   <|>
   ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("Prolog","1-comment"))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","layout")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","atomic") =
  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_logic'2bcontrol_ISO >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_types_ISO >>= withAttribute DataTypeTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_dyn_clause_mgmt_ISO >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_streams_ISO >>= withAttribute FunctionTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_terms_ISO >>= withAttribute FunctionTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_prolog_state_ISO >>= withAttribute FunctionTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_DCG_non'2dISO >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_arith_eval_ISO >>= withAttribute DataTypeTok) >>~ pushContext ("Prolog","arith_expr"))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_built'2dins_ISO >>= withAttribute FunctionTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_error_term_ISO >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_guru_meditation_terms_ISO >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_bogus_ISO >>= withAttribute AlertTok))
   <|>
   ((parseRules ("Prolog","number")))
   <|>
   ((lookAhead (pDetectChar False '\'') >> pushContext ("Prolog","single-quoted") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pDetectChar False '`') >> pushContext ("Prolog","back-quoted") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pDetectChar False '"') >> pushContext ("Prolog","double-quoted") >> currentContext >>= parseRules))
   <|>
   ((parseRules ("Prolog","operator")))
   <|>
   ((lookAhead (pAnyChar "abcdefghijklmnopqrstuvwxyz") >> pushContext ("Prolog","id") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pAnyChar "ABCDEFGHIJKLMNOPQRSTUVWXYZ_") >> pushContext ("Prolog","var") >> currentContext >>= parseRules))
   <|>
   ((pAnyChar "#$&*+-./:<=>?@^~\\" >>= withAttribute NormalTok) >>~ pushContext ("Prolog","graphic"))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","atomic")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","arith_expr_common") =
  (((parseRules ("Prolog","layout")))
   <|>
   ((parseRules ("Prolog","number")))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_arith_eval_ISO >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_bogus_ISO >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_arith_expr_mixed_ISO >>= withAttribute DataTypeTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_arith_expr_int_ISO >>= withAttribute DecValTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_arith_expr_float_ISO >>= withAttribute FloatTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_arith_ops_int_ISO >>= withAttribute DecValTok))
   <|>
   ((pRegExpr regex_'28'3d'3a'3d'7c'3d'5c'5c'3d'7c'3d'3c'7c'3c'7c'3e'3d'7c'3e'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'28'5c'2b'7c'2d'7c'5c'2a'7c'5c'5e'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'2f'2f'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute DecValTok))
   <|>
   ((pRegExpr regex_'28'2f'7c'5c'2a'5c'2a'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute FloatTok))
   <|>
   ((pRegExpr regex_'28'2f'5c'5c'7c'5c'5c'2f'7c'5c'5c'7c'3c'3c'7c'3e'3e'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute NormalTok))
   <|>
   ((parseRules ("Prolog","operator")))
   <|>
   ((lookAhead (pAnyChar "abcdefghijklmnopqrstuvwxyz") >> pushContext ("Prolog","id") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pAnyChar "ABCDEFGHIJKLMNOPQRSTUVWXYZ_") >> pushContext ("Prolog","var") >> currentContext >>= parseRules))
   <|>
   ((pAnyChar "#$&*+-./:<=>?@^~\\" >>= withAttribute NormalTok) >>~ pushContext ("Prolog","graphic"))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","arith_expr_common")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","number") =
  (((pRegExpr regex_0'27'5c'5c'3f'24 >>= withAttribute ErrorTok) >>~ pushContext ("Prolog","syntax_error_cc"))
   <|>
   ((pDetect2Chars False '0' '\'' >>= withAttribute BaseNTok) >>~ pushContext ("Prolog","char_code"))
   <|>
   ((pDetect2Chars False '0' 'b' >>= withAttribute BaseNTok) >>~ pushContext ("Prolog","bin"))
   <|>
   ((pDetect2Chars False '0' 'o' >>= withAttribute BaseNTok) >>~ pushContext ("Prolog","oct"))
   <|>
   ((pDetect2Chars False '0' 'x' >>= withAttribute BaseNTok) >>~ pushContext ("Prolog","hex"))
   <|>
   ((pRegExpr regex_'5b0'2d9'5d'2b'5c'2e'5b0'2d9'5d'2bE'5b'2b'5c'2d'5d'3f'5b0'2d9'5d'2b >>= withAttribute FloatTok))
   <|>
   ((pRegExpr regex_'5b0'2d9'5d'2b'5c'2e'5b0'2d9'5d'2b >>= withAttribute FloatTok))
   <|>
   ((pRegExpr regex_'5b0'2d9'5d'2bE'5b'2b'5c'2d'5d'3f'5b0'2d9'5d'2b >>= withAttribute FloatTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","number")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Prolog","operator") =
  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_arith_eval_ISO >>= withAttribute DataTypeTok) >>~ pushContext ("Prolog","arith_expr"))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\$#'\"`" list_arith_ops_int_ISO >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'28'3b'7c'2d'3e'7c'5c'5c'5c'2b'7c'3a'2d'7c'3d'7c'5c'5c'3d'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5c'3f'2d'7c'3d'3d'7c'5c'5c'3d'3d'7c'40'3d'3c'7c'40'3c'7c'40'3e'3d'7c'40'3e'7c'3d'5c'2e'5c'2e'7c'40'7c'3a'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'2d'2d'3e'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'3d'3a'3d'7c'3d'5c'5c'3d'7c'3d'3c'7c'3c'7c'3e'3d'7c'3e'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute DataTypeTok) >>~ pushContext ("Prolog","arith_expr"))
   <|>
   ((pRegExpr regex_'28'5c'2b'7c'2d'7c'5c'2a'7c'5c'5e'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'2f'2f'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'28'2f'7c'5c'2a'5c'2a'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'28'2f'5c'5c'7c'5c'5c'2f'7c'5c'5c'7c'3c'3c'7c'3e'3e'29'28'3f'21'5b'23'24'26'2a'2b'5c'2d'2e'2f'3a'3c'3d'3e'3f'40'5e'7e'5c'5c'5d'29 >>= withAttribute NormalTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Prolog","operator")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("Alerts_indent", _) = Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression Nothing

parseRules x = parseRules ("Prolog","shebang") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Pure.hs0000644000000000000000000001232512633103275022252 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file pure.xml, version 1.2, by  -}

module Text.Highlighting.Kate.Syntax.Pure
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "Pure"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.pure"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("Pure","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Pure","Normal") -> return ()
      ("Pure","String") -> (popContext) >> pEndLine
      ("Pure","Region Marker") -> (popContext) >> pEndLine
      ("Pure","Comment1") -> return ()
      ("Pure","Comment2") -> (popContext) >> pEndLine
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_blockstarters = Set.fromList $ words $ "case when with"
list_blockenders = Set.fromList $ words $ "end"
list_keywords = Set.fromList $ words $ "const def else extern if infix infixl infixr interface let namespace nonfix of otherwise outfix postfix prefix private public then type using"
list_special = Set.fromList $ words $ "catch throw __break__ __trace__"
list_types = Set.fromList $ words $ "bigint bool char float double expr short int long string pointer void int8 int16 int32 int64 matrix dmatrix cmatrix imatrix smatrix nmatrix"

regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "[A-Za-z_][A-Za-z0-9_]*"
regex_0x'5bA'2dZa'2dz0'2d9'5d'2b = compileRegex True "0x[A-Za-z0-9]+"

parseRules ("Pure","Normal") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_blockstarters >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_blockenders >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_special >>= withAttribute FunctionTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_0x'5bA'2dZa'2dz0'2d9'5d'2b >>= withAttribute DecValTok))
   <|>
   ((pFloat >>= withAttribute DecValTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   ((pHlCChar >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Pure","String"))
   <|>
   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Pure","Comment1"))
   <|>
   ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Pure","Comment2"))
   <|>
   (currentContext >>= \x -> guard (x == ("Pure","Normal")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Pure","String") =
  (((pLineContinue >>= withAttribute StringTok))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Pure","String")) >> pDefault >>= withAttribute StringTok))

parseRules ("Pure","Region Marker") =
  (currentContext >>= \x -> guard (x == ("Pure","Region Marker")) >> pDefault >>= withAttribute NormalTok)

parseRules ("Pure","Comment1") =
  (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Pure","Comment1")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Pure","Comment2") =
  (currentContext >>= \x -> guard (x == ("Pure","Comment2")) >> pDefault >>= withAttribute CommentTok)


parseRules x = parseRules ("Pure","Normal") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Python.hs0000644000000000000000000005427612633103275022633 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file python.xml, version 2.25, by Michael Bueker -}

module Text.Highlighting.Kate.Syntax.Python
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import qualified Text.Highlighting.Kate.Syntax.Modelines
import qualified Text.Highlighting.Kate.Syntax.Alert_indent
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "Python"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.py;*.pyw;SConstruct;SConscript"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("Python","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Python","Normal") -> return ()
      ("Python","#CheckForString") -> (popContext) >> pEndLine
      ("Python","CheckForStringNext") -> (popContext) >> pEndLine
      ("Python","StringVariants") -> return ()
      ("Python","CommentVariants") -> return ()
      ("Python","Dictionary") -> return ()
      ("Python","List") -> return ()
      ("Python","Tuple") -> return ()
      ("Python","Hash comment") -> (popContext) >> pEndLine
      ("Python","Tripple A-comment") -> return ()
      ("Python","Tripple Q-comment") -> return ()
      ("Python","Single A-comment") -> return ()
      ("Python","Single Q-comment") -> return ()
      ("Python","stringformat") -> return ()
      ("Python","Tripple A-string") -> return ()
      ("Python","Raw Tripple A-string") -> return ()
      ("Python","Tripple Q-string") -> return ()
      ("Python","Raw Tripple Q-string") -> return ()
      ("Python","Single A-string") -> return ()
      ("Python","Single Q-string") -> return ()
      ("Python","Raw A-string") -> return ()
      ("Python","Raw Q-string") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_import = Set.fromList $ words $ "import from as"
list_defs = Set.fromList $ words $ "class def del global lambda nonlocal"
list_operators = Set.fromList $ words $ "and in is not or"
list_flow = Set.fromList $ words $ "assert break continue elif else except finally for if pass raise return try while with yield"
list_builtinfuncs = Set.fromList $ words $ "__import__ abs all any apply ascii basestring bin bool buffer bytearray bytes callable chr classmethod cmp coerce compile complex delattr dict dir divmod enumerate eval exec execfile file filter float format frozenset getattr globals hasattr hash help hex id input int intern isinstance issubclass iter len list locals long map max memoryview min next object oct open ord pow print property range raw_input reduce reload repr reversed round set setattr slice sorted staticmethod str sum super tuple type unichr unicode vars xrange zip"
list_specialvars = Set.fromList $ words $ "None self True False NotImplemented Ellipsis __debug__ __file__ __name__"
list_bindings = Set.fromList $ words $ "SIGNAL SLOT connect"
list_overloaders = Set.fromList $ words $ "__new__ __init__ __del__ __repr__ __str__ __lt__ __le__ __eq__ __ne__ __gt__ __ge__ __cmp__ __rcmp__ __hash__ __nonzero__ __unicode__ __getattr__ __setattr__ __delattr__ __getattribute__ __get__ __set__ __delete__ __call__ __len__ __getitem__ __setitem__ __delitem__ __iter__ __reversed__ __contains__ __getslice__ __setslice__ __delslice__ __add__ __sub__ __mul__ __floordiv__ __mod__ __divmod__ __pow__ __lshift__ __rshift__ __and__ __xor__ __or__ __div__ __truediv__ __radd__ __rsub__ __rmul__ __rdiv__ __rtruediv__ __rfloordiv__ __rmod__ __rdivmod__ __rpow__ __rlshift__ __rrshift__ __rand__ __rxor__ __ror__ __iadd__ __isub__ __imul__ __idiv__ __itruediv__ __ifloordiv__ __imod__ __ipow__ __ilshift__ __irshift__ __iand__ __ixor__ __ior__ __neg__ __pos__ __abs__ __invert__ __complex__ __int__ __long__ __float__ __oct__ __hex__ __index__ __coerce__ __enter__ __exit__ __bytes__ __format__ __next__ __dir__"
list_exceptions = Set.fromList $ words $ "ArithmeticError AssertionError AttributeError BaseException BlockingIOError BrokenPipeError BufferError BytesWarning ChildProcessError ConnectionAbortedError ConnectionError ConnectionRefusedError ConnectionResetError DeprecationWarning EnvironmentError EOFError Exception FileExistsError FileNotFoundError FloatingPointError FutureWarning GeneratorExit ImportError ImportWarning IndentationError IndexError InterruptedError IOError IsADirectoryError KeyboardInterrupt KeyError LookupError MemoryError NameError NotADirectoryError NotImplementedError OSError OverflowError PendingDeprecationWarning PermissionError ProcessLookupError ReferenceError ResourceWarning RuntimeError RuntimeWarning StandardError StopIteration SyntaxError SyntaxWarning SystemError SystemExit TabError TimeoutError TypeError UnboundLocalError UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UnicodeWarning UserWarning ValueError Warning WindowsError ZeroDivisionError"

regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'7b2'2c'7d = compileRegex True "[a-zA-Z_][a-zA-Z_0-9]{2,}"
regex__'28'28'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'7c'28'5b0'2d9'5d'2b'7c'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'29'5beE'5d'28'5c'2b'7c'2d'29'3f'5b0'2d9'5d'2b'29'7c'5b0'2d9'5d'2b'29'5bjJ'5d = compileRegex True " ((([0-9]*\\.[0-9]+|[0-9]+\\.)|([0-9]+|([0-9]*\\.[0-9]+|[0-9]+\\.))[eE](\\+|-)?[0-9]+)|[0-9]+)[jJ]"
regex_'40'5b'5fa'2dzA'2dZ'5d'5b'5c'2e'5fa'2dzA'2dZ0'2d9'5d'2a = compileRegex True "@[_a-zA-Z][\\._a-zA-Z0-9]*"
regex_'25'28'28'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'29'3f'5b'230'5c'2d_'2b'5d'3f'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'3f'28'5c'2e'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'29'3f'5bhlL'5d'3f'5bcrsdiouxXeEfFgG'25'5d'7cprog'7cdefault'29 = compileRegex True "%((\\([a-zA-Z0-9_]+\\))?[#0\\- +]?([1-9][0-9]*|\\*)?(\\.([1-9][0-9]*|\\*))?[hlL]?[crsdiouxXeEfFgG%]|prog|default)"
regex_'5c'7b'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5b0'2d9'5d'2b'29'28'5c'2e'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5c'5b'5b'5e_'5c'5d'5d'2b'5c'5d'29'2a'28'21'5brs'5d'29'3f'28'3a'28'5b'5e'7d'5d'3f'5b'3c'3e'3d'5e'5d'29'3f'5b_'2b'2d'5d'3f'23'3f0'3f'5b0'2d9'5d'2a'28'5c'2e'5b0'2d9'5d'2b'29'3f'5bbcdeEfFgGnosxX'25'5d'3f'29'3f'5c'7d = compileRegex True "\\{([a-zA-Z0-9_]+|[0-9]+)(\\.[a-zA-Z0-9_]+|\\[[^ \\]]+\\])*(![rs])?(:([^}]?[<>=^])?[ +-]?#?0?[0-9]*(\\.[0-9]+)?[bcdeEfFgGnosxX%]?)?\\}"

parseRules ("Python","Normal") =
  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_import >>= withAttribute ImportTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_defs >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_operators >>= withAttribute OperatorTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_flow >>= withAttribute ControlFlowTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_builtinfuncs >>= withAttribute BuiltInTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_specialvars >>= withAttribute VariableTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_bindings >>= withAttribute ExtensionTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_exceptions >>= withAttribute PreprocessorTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\#'" list_overloaders >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'7b2'2c'7d >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex__'28'28'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'7c'28'5b0'2d9'5d'2b'7c'28'5b0'2d9'5d'2a'5c'2e'5b0'2d9'5d'2b'7c'5b0'2d9'5d'2b'5c'2e'29'29'5beE'5d'28'5c'2b'7c'2d'29'3f'5b0'2d9'5d'2b'29'7c'5b0'2d9'5d'2b'29'5bjJ'5d >>= withAttribute OtherTok))
   <|>
   ((pFloat >>= withAttribute FloatTok))
   <|>
   ((pHlCHex >>= withAttribute BaseNTok))
   <|>
   ((pHlCOct >>= withAttribute BaseNTok))
   <|>
   (withChildren (pInt >>= withAttribute DecValTok) ((pString False "L" >>= withAttribute DecValTok)))
   <|>
   ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("Python","Dictionary"))
   <|>
   ((pDetectChar False '[' >>= withAttribute NormalTok) >>~ pushContext ("Python","List"))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Python","Tuple"))
   <|>
   ((parseRules ("Python","CommentVariants")))
   <|>
   ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Python","Hash comment"))
   <|>
   ((parseRules ("Python","StringVariants")))
   <|>
   ((pAnyChar "+*/%\\|=;\\!<>!^&~-" >>= withAttribute OperatorTok))
   <|>
   ((pFirstNonSpace >> pRegExpr regex_'40'5b'5fa'2dzA'2dZ'5d'5b'5c'2e'5fa'2dzA'2dZ0'2d9'5d'2a >>= withAttribute AttributeTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Normal")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Python","#CheckForString") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pLineContinue >>= withAttribute NormalTok) >>~ pushContext ("Python","CheckForStringNext"))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Python","CheckForStringNext") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pLineContinue >>= withAttribute NormalTok) >>~ pushContext ("Python","CheckForStringNext"))
   <|>
   ((parseRules ("Python","StringVariants")))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Python","StringVariants") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pString False "'''" >>= withAttribute StringTok) >>~ pushContext ("Python","Tripple A-string"))
   <|>
   ((pString False "u'''" >>= withAttribute StringTok) >>~ pushContext ("Python","Tripple A-string"))
   <|>
   ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Tripple Q-string"))
   <|>
   ((pString False "u\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Tripple Q-string"))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Python","Single A-string"))
   <|>
   ((pString False "u'" >>= withAttribute StringTok) >>~ pushContext ("Python","Single A-string"))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Python","Single Q-string"))
   <|>
   ((pString False "u\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Single Q-string"))
   <|>
   ((pString False "r'''" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Tripple A-string"))
   <|>
   ((pString False "ur'''" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Tripple A-string"))
   <|>
   ((pString False "r\"\"\"" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Tripple Q-string"))
   <|>
   ((pString False "ur\"\"\"" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Tripple Q-string"))
   <|>
   ((pString False "r'" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw A-string"))
   <|>
   ((pString False "ur'" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw A-string"))
   <|>
   ((pString False "r\"" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Q-string"))
   <|>
   ((pString False "ur\"" >>= withAttribute VerbatimStringTok) >>~ pushContext ("Python","Raw Q-string"))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","StringVariants")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Python","CommentVariants") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pFirstNonSpace >> pString False "'''" >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple A-comment"))
   <|>
   ((pFirstNonSpace >> pString False "u'''" >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple A-comment"))
   <|>
   ((pFirstNonSpace >> pString False "\"\"\"" >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple Q-comment"))
   <|>
   ((pFirstNonSpace >> pString False "u\"\"\"" >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple Q-comment"))
   <|>
   ((pFirstNonSpace >> pDetectChar False '\'' >>= withAttribute CommentTok) >>~ pushContext ("Python","Single A-comment"))
   <|>
   ((pFirstNonSpace >> pString False "u'" >>= withAttribute CommentTok) >>~ pushContext ("Python","Single A-comment"))
   <|>
   ((pFirstNonSpace >> pDetectChar False '"' >>= withAttribute CommentTok) >>~ pushContext ("Python","Single Q-comment"))
   <|>
   ((pFirstNonSpace >> pString False "u\"" >>= withAttribute CommentTok) >>~ pushContext ("Python","Single Q-comment"))
   <|>
   ((pFirstNonSpace >> pString False "r'''" >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple A-comment"))
   <|>
   ((pFirstNonSpace >> pString False "ur'''" >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple A-comment"))
   <|>
   ((pFirstNonSpace >> pString False "r\"\"\"" >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple Q-comment"))
   <|>
   ((pFirstNonSpace >> pString False "ur\"\"\"" >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple Q-comment"))
   <|>
   ((pFirstNonSpace >> pString False "r'" >>= withAttribute CommentTok) >>~ pushContext ("Python","Single A-comment"))
   <|>
   ((pFirstNonSpace >> pString False "ur'" >>= withAttribute CommentTok) >>~ pushContext ("Python","Single A-comment"))
   <|>
   ((pFirstNonSpace >> pString False "r\"" >>= withAttribute CommentTok) >>~ pushContext ("Python","Single Q-comment"))
   <|>
   ((pFirstNonSpace >> pString False "ur\"" >>= withAttribute CommentTok) >>~ pushContext ("Python","Single Q-comment"))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","CommentVariants")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Python","Dictionary") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((parseRules ("Python","StringVariants")))
   <|>
   ((parseRules ("Python","Normal")))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Dictionary")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Python","List") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False ']' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((parseRules ("Python","StringVariants")))
   <|>
   ((parseRules ("Python","Normal")))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","List")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Python","Tuple") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((parseRules ("Python","StringVariants")))
   <|>
   ((parseRules ("Python","Normal")))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Tuple")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Python","Hash comment") =
  (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   ((Text.Highlighting.Kate.Syntax.Modelines.parseExpression (Just ("Modelines","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Hash comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Python","Tripple A-comment") =
  (((pString False "'''" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression (Just ("Alerts_indent","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Tripple A-comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Python","Tripple Q-comment") =
  (((pHlCChar >>= withAttribute CommentTok))
   <|>
   ((pString False "\"\"\"" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression (Just ("Alerts_indent","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Tripple Q-comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Python","Single A-comment") =
  (((pHlCStringChar >>= withAttribute CommentTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression (Just ("Alerts_indent","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Single A-comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Python","Single Q-comment") =
  (((pHlCStringChar >>= withAttribute CommentTok))
   <|>
   ((pDetectChar False '"' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression (Just ("Alerts_indent","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Single Q-comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Python","stringformat") =
  (((pRegExpr regex_'25'28'28'5c'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'5c'29'29'3f'5b'230'5c'2d_'2b'5d'3f'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'3f'28'5c'2e'28'5b1'2d9'5d'5b0'2d9'5d'2a'7c'5c'2a'29'29'3f'5bhlL'5d'3f'5bcrsdiouxXeEfFgG'25'5d'7cprog'7cdefault'29 >>= withAttribute SpecialCharTok))
   <|>
   ((pRegExpr regex_'5c'7b'28'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5b0'2d9'5d'2b'29'28'5c'2e'5ba'2dzA'2dZ0'2d9'5f'5d'2b'7c'5c'5b'5b'5e_'5c'5d'5d'2b'5c'5d'29'2a'28'21'5brs'5d'29'3f'28'3a'28'5b'5e'7d'5d'3f'5b'3c'3e'3d'5e'5d'29'3f'5b_'2b'2d'5d'3f'23'3f0'3f'5b0'2d9'5d'2a'28'5c'2e'5b0'2d9'5d'2b'29'3f'5bbcdeEfFgGnosxX'25'5d'3f'29'3f'5c'7d >>= withAttribute SpecialCharTok))
   <|>
   ((pDetect2Chars False '{' '{' >>= withAttribute SpecialCharTok))
   <|>
   ((pDetect2Chars False '}' '}' >>= withAttribute SpecialCharTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","stringformat")) >> pDefault >>= withAttribute SpecialCharTok))

parseRules ("Python","Tripple A-string") =
  (((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((parseRules ("Python","stringformat")))
   <|>
   ((pString False "'''" >>= withAttribute StringTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Tripple A-string")) >> pDefault >>= withAttribute StringTok))

parseRules ("Python","Raw Tripple A-string") =
  (((pHlCStringChar >>= withAttribute VerbatimStringTok))
   <|>
   ((parseRules ("Python","stringformat")))
   <|>
   ((pString False "'''" >>= withAttribute StringTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Raw Tripple A-string")) >> pDefault >>= withAttribute VerbatimStringTok))

parseRules ("Python","Tripple Q-string") =
  (((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((parseRules ("Python","stringformat")))
   <|>
   ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Tripple Q-string")) >> pDefault >>= withAttribute StringTok))

parseRules ("Python","Raw Tripple Q-string") =
  (((pHlCStringChar >>= withAttribute VerbatimStringTok))
   <|>
   ((parseRules ("Python","stringformat")))
   <|>
   ((pString False "\"\"\"" >>= withAttribute StringTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Raw Tripple Q-string")) >> pDefault >>= withAttribute VerbatimStringTok))

parseRules ("Python","Single A-string") =
  (((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((parseRules ("Python","stringformat")))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Single A-string")) >> pDefault >>= withAttribute StringTok))

parseRules ("Python","Single Q-string") =
  (((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((parseRules ("Python","stringformat")))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Single Q-string")) >> pDefault >>= withAttribute StringTok))

parseRules ("Python","Raw A-string") =
  (((pHlCStringChar >>= withAttribute VerbatimStringTok))
   <|>
   ((parseRules ("Python","stringformat")))
   <|>
   ((pDetectChar False '\'' >>= withAttribute VerbatimStringTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Raw A-string")) >> pDefault >>= withAttribute VerbatimStringTok))

parseRules ("Python","Raw Q-string") =
  (((pHlCStringChar >>= withAttribute VerbatimStringTok))
   <|>
   ((parseRules ("Python","stringformat")))
   <|>
   ((pDetectChar False '"' >>= withAttribute VerbatimStringTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Python","Raw Q-string")) >> pDefault >>= withAttribute VerbatimStringTok))

parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing
parseRules ("Modelines", _) = Text.Highlighting.Kate.Syntax.Modelines.parseExpression Nothing
parseRules ("Alerts_indent", _) = Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression Nothing

parseRules x = parseRules ("Python","Normal") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/R.hs0000644000000000000000000002235512633103275021544 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file r.xml, version 2.07, by  -}

module Text.Highlighting.Kate.Syntax.R
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "R Script"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.R;*.r;*.S;*.s;*.q"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("R Script","level0")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("R Script","level0") -> return ()
      ("R Script","ctx0") -> return ()
      ("R Script","parenthesis") -> return ()
      ("R Script","string") -> return ()
      ("R Script","string2") -> return ()
      ("R Script","backquotedsymbol") -> return ()
      ("R Script","operator_rhs") -> return ()
      ("R Script","Headline") -> (popContext) >> pEndLine
      ("R Script","Comment") -> (popContext) >> pEndLine
      ("R Script","CommonRules") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_controls = Set.fromList $ words $ "for in next break while repeat if else switch function"
list_words = Set.fromList $ words $ "TRUE FALSE NULL NA NA_integer_ NA_real_ NA_complex_ NA_character_ Inf NaN"

regex_'5ba'2dzA'2dZ'5f'5c'2e'5d'5b0'2d9a'2dzA'2dZ'5f'5c'2e'5d'2a'5b'5cs'5d'2a'3d'28'3f'3d'28'5b'5e'3d'5d'7c'24'29'29 = compileRegex True "[a-zA-Z_\\.][0-9a-zA-Z_\\.]*[\\s]*=(?=([^=]|$))"
regex_'28'5c'2a'7c'2f'7c'3c'7c'3e'7c'5c'21'3d'7c'3d'7c'5c'7c'7c'26'7c'3a'7c'5c'5e'7c'40'7c'5c'24'7c'7e'29 = compileRegex True "(\\*|/|<|>|\\!=|=|\\||&|:|\\^|@|\\$|~)"
regex_'5ba'2dzA'2dZ'5f'5d'2b'5ba'2dzA'2dZ'5f'5c'2e0'2d9'5d'2a'28'3f'3d'5b'5cs'5d'2a'5b'28'5d'29 = compileRegex True "[a-zA-Z_]+[a-zA-Z_\\.0-9]*(?=[\\s]*[(])"
regex_'5c'2e'5ba'2dzA'2dZ'5f'5c'2e'5d'2b'5ba'2dzA'2dZ'5f'5c'2e0'2d9'5d'2a'28'3f'3d'5b'5cs'5d'2a'5b'28'5d'29 = compileRegex True "\\.[a-zA-Z_\\.]+[a-zA-Z_\\.0-9]*(?=[\\s]*[(])"
regex_'5c'28 = compileRegex True "\\("
regex_'5b'3c'5d'7b1'2c2'7d'5c'2d = compileRegex True "[<]{1,2}\\-"
regex_'5c'2d'5b'3e'5d'7b1'2c2'7d = compileRegex True "\\-[>]{1,2}"
regex_'3d'28'3f'21'3d'29 = compileRegex True "=(?!=)"
regex_'28'5c'2b'7c'5c'2d'7c'5c'2a'7b1'2c2'7d'7c'2f'7c'3c'3d'3f'7c'3e'3d'3f'7c'3d'7b1'2c2'7d'7c'5c'21'3d'3f'7c'5c'7c'7b1'2c2'7d'7c'26'7b1'2c2'7d'7c'3a'7b1'2c3'7d'7c'5c'5e'7c'40'7c'5c'24'7c'7e'29 = compileRegex True "(\\+|\\-|\\*{1,2}|/|<=?|>=?|={1,2}|\\!=?|\\|{1,2}|&{1,2}|:{1,3}|\\^|@|\\$|~)"
regex_'25'5b'5e'25'5d'2a'25 = compileRegex True "%[^%]*%"

parseRules ("R Script","level0") =
  (((parseRules ("R Script","CommonRules")))
   <|>
   ((pDetectChar False '}' >>= withAttribute ErrorTok))
   <|>
   ((pDetectChar False ')' >>= withAttribute ErrorTok))
   <|>
   (currentContext >>= \x -> guard (x == ("R Script","level0")) >> pDefault >>= withAttribute NormalTok))

parseRules ("R Script","ctx0") =
  (((parseRules ("R Script","CommonRules")))
   <|>
   ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pDetectChar False ')' >>= withAttribute ErrorTok))
   <|>
   (currentContext >>= \x -> guard (x == ("R Script","ctx0")) >> pDefault >>= withAttribute NormalTok))

parseRules ("R Script","parenthesis") =
  (((pLineContinue >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'5c'2e'5d'5b0'2d9a'2dzA'2dZ'5f'5c'2e'5d'2a'5b'5cs'5d'2a'3d'28'3f'3d'28'5b'5e'3d'5d'7c'24'29'29 >>= withAttribute DataTypeTok))
   <|>
   ((parseRules ("R Script","CommonRules")))
   <|>
   ((pDetectChar False '}' >>= withAttribute ErrorTok))
   <|>
   (currentContext >>= \x -> guard (x == ("R Script","parenthesis")) >> pDefault >>= withAttribute NormalTok))

parseRules ("R Script","string") =
  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   (currentContext >>= \x -> guard (x == ("R Script","string")) >> pDefault >>= withAttribute StringTok))

parseRules ("R Script","string2") =
  (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   (currentContext >>= \x -> guard (x == ("R Script","string2")) >> pDefault >>= withAttribute StringTok))

parseRules ("R Script","backquotedsymbol") =
  (((pDetectChar False '`' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   (currentContext >>= \x -> guard (x == ("R Script","backquotedsymbol")) >> pDefault >>= withAttribute DataTypeTok))

parseRules ("R Script","operator_rhs") =
  (((pString False "##" >>= withAttribute NormalTok) >>~ pushContext ("R Script","Headline"))
   <|>
   ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("R Script","Comment"))
   <|>
   ((pDetectChar False ' ' >>= withAttribute StringTok))
   <|>
   ((pRegExpr regex_'28'5c'2a'7c'2f'7c'3c'7c'3e'7c'5c'21'3d'7c'3d'7c'5c'7c'7c'26'7c'3a'7c'5c'5e'7c'40'7c'5c'24'7c'7e'29 >>= withAttribute ErrorTok))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("R Script","Headline") =
  (currentContext >>= \x -> guard (x == ("R Script","Headline")) >> pDefault >>= withAttribute NormalTok)

parseRules ("R Script","Comment") =
  (currentContext >>= \x -> guard (x == ("R Script","Comment")) >> pDefault >>= withAttribute CommentTok)

parseRules ("R Script","CommonRules") =
  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("R Script","string"))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("R Script","string2"))
   <|>
   ((pDetectChar False '`' >>= withAttribute StringTok) >>~ pushContext ("R Script","backquotedsymbol"))
   <|>
   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\$" list_controls >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t():!+,-<=>%&*/;?[]^{|}~\\$" list_words >>= withAttribute OtherTok))
   <|>
   ((pFloat >>= withAttribute FloatTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   ((pRegExpr regex_'5ba'2dzA'2dZ'5f'5d'2b'5ba'2dzA'2dZ'5f'5c'2e0'2d9'5d'2a'28'3f'3d'5b'5cs'5d'2a'5b'28'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5c'2e'5ba'2dzA'2dZ'5f'5c'2e'5d'2b'5ba'2dzA'2dZ'5f'5c'2e0'2d9'5d'2a'28'3f'3d'5b'5cs'5d'2a'5b'28'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5c'28 >>= withAttribute NormalTok) >>~ pushContext ("R Script","parenthesis"))
   <|>
   ((pString False "##" >>= withAttribute NormalTok) >>~ pushContext ("R Script","Headline"))
   <|>
   ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("R Script","Comment"))
   <|>
   ((pRegExpr regex_'5b'3c'5d'7b1'2c2'7d'5c'2d >>= withAttribute NormalTok) >>~ pushContext ("R Script","operator_rhs"))
   <|>
   ((pRegExpr regex_'5c'2d'5b'3e'5d'7b1'2c2'7d >>= withAttribute NormalTok) >>~ pushContext ("R Script","operator_rhs"))
   <|>
   ((pRegExpr regex_'3d'28'3f'21'3d'29 >>= withAttribute NormalTok) >>~ pushContext ("R Script","operator_rhs"))
   <|>
   ((pRegExpr regex_'28'5c'2b'7c'5c'2d'7c'5c'2a'7b1'2c2'7d'7c'2f'7c'3c'3d'3f'7c'3e'3d'3f'7c'3d'7b1'2c2'7d'7c'5c'21'3d'3f'7c'5c'7c'7b1'2c2'7d'7c'26'7b1'2c2'7d'7c'3a'7b1'2c3'7d'7c'5c'5e'7c'40'7c'5c'24'7c'7e'29 >>= withAttribute NormalTok) >>~ pushContext ("R Script","operator_rhs"))
   <|>
   ((pRegExpr regex_'25'5b'5e'25'5d'2a'25 >>= withAttribute NormalTok) >>~ pushContext ("R Script","operator_rhs"))
   <|>
   ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("R Script","ctx0"))
   <|>
   ((pDetectChar False '[' >>= withAttribute NormalTok))
   <|>
   ((pDetectChar False ']' >>= withAttribute NormalTok))
   <|>
   (currentContext >>= \x -> guard (x == ("R Script","CommonRules")) >> pDefault >>= withAttribute NormalTok))


parseRules x = parseRules ("R Script","level0") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Relaxng.hs0000644000000000000000000001450412633103275022740 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file relaxng.xml, version 0.8, by Thomas Schraitle (tom_schr AT web DOT de) -}

module Text.Highlighting.Kate.Syntax.Relaxng
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "RELAX NG"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.rng;*.RNG"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("RELAX NG","normalText")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("RELAX NG","normalText") -> return ()
      ("RELAX NG","detectEntRef") -> return ()
      ("RELAX NG","tagname") -> return ()
      ("RELAX NG","attributes") -> return ()
      ("RELAX NG","attrValue") -> return ()
      ("RELAX NG","string") -> return ()
      ("RELAX NG","comment") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_relaxngnames = Set.fromList $ words $ "anyname attribute choice data define div element empty except externalref grammar group include interleave list mixed name notallowed nsname oneormore optional param parentref ref start text value zeroormore"

regex_'26'28'23'5b0'2d9'5d'2b'7c'23'5bxX'5d'5b0'2d9A'2dFa'2df'5d'2b'7c'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a'29'3b = compileRegex True "&(#[0-9]+|#[xX][0-9A-Fa-f]+|[A-Za-z_:][\\w.:_-]*);"
regex_'5cs'2a = compileRegex True "\\s*"
regex_'5cs'2a'3d'5cs'2a = compileRegex True "\\s*=\\s*"
regex_'2d'28'2d'28'3f'21'2d'3e'29'29'2b = compileRegex True "-(-(?!->))+"

parseRules ("RELAX NG","normalText") =
  (((pString False "" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'2d'28'2d'28'3f'21'2d'3e'29'29'2b >>= withAttribute NormalTok))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   ((pDetectIdentifier >>= withAttribute CommentTok))
   <|>
   (currentContext >>= \x -> guard (x == ("RELAX NG","comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing

parseRules x = parseRules ("RELAX NG","normalText") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Relaxngcompact.hs0000644000000000000000000001234312633103275024306 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file relaxngcompact.xml, version 0.2, by Rintze Zelle -}

module Text.Highlighting.Kate.Syntax.Relaxngcompact
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "RelaxNG-Compact"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.rnc"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("RelaxNG-Compact","Normal Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("RelaxNG-Compact","Normal Text") -> return ()
      ("RelaxNG-Compact","Comments") -> (popContext) >> pEndLine
      ("RelaxNG-Compact","String") -> return ()
      ("RelaxNG-Compact","Node Names") -> (popContext) >> pEndLine
      ("RelaxNG-Compact","Definitions") -> (popContext) >> pEndLine
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_Keywords = Set.fromList $ words $ "default datatypes div empty external grammar include inherit list mixed namespace notAllowed parent start token"
list_Node_Names = Set.fromList $ words $ "attribute element"
list_Datatypes = Set.fromList $ words $ "string text xsd:anyURI xsd:base64Binary xsd:boolean xsd:byte xsd:date xsd:dateTime xsd:decimal xsd:double xsd:duration xsd:ENTITIES xsd:ENTITY xsd:float xsd:gDay xsd:gMonth xsd:gMonthDay xsd:gYear xsd:gYearMonth xsd:hexBinary xsd:ID xsd:IDREF xsd:IDREFS xsd:int xsd:integer xsd:language xsd:long xsd:Name xsd:NCName xsd:negativeInteger xsd:NMTOKEN xsd:NMTOKENS xsd:nonNegativeInteger xsd:nonPositiveInteger xsd:normalizedString xsd:NOTATION xsd:positiveInteger xsd:QName xsd:short xsd:string xsd:time xsd:token xsd:unsignedByte xsd:unsignedInt xsd:unsignedLong xsd:unsignedShort"

regex_'5b'5cw'5c'2e'2d'5d'2b'5b'5cs'5d'2b'3d = compileRegex True "[\\w\\.-]+[\\s]+="

parseRules ("RelaxNG-Compact","Normal Text") =
  (((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("RelaxNG-Compact","Comments"))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("RelaxNG-Compact","String"))
   <|>
   ((pKeyword " \n\t.()!+,<=>%&*/;?[]^{|}~\\" list_Keywords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.()!+,<=>%&*/;?[]^{|}~\\" list_Node_Names >>= withAttribute KeywordTok) >>~ pushContext ("RelaxNG-Compact","Node Names"))
   <|>
   ((pKeyword " \n\t.()!+,<=>%&*/;?[]^{|}~\\" list_Datatypes >>= withAttribute DataTypeTok))
   <|>
   ((lookAhead (pRegExpr regex_'5b'5cw'5c'2e'2d'5d'2b'5b'5cs'5d'2b'3d) >> pushContext ("RelaxNG-Compact","Definitions") >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("RelaxNG-Compact","Normal Text")) >> pDefault >>= withAttribute NormalTok))

parseRules ("RelaxNG-Compact","Comments") =
  (currentContext >>= \x -> guard (x == ("RelaxNG-Compact","Comments")) >> pDefault >>= withAttribute CommentTok)

parseRules ("RelaxNG-Compact","String") =
  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("RelaxNG-Compact","String")) >> pDefault >>= withAttribute StringTok))

parseRules ("RelaxNG-Compact","Node Names") =
  (((lookAhead (pDetectChar False '{') >> (popContext) >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("RelaxNG-Compact","Node Names")) >> pDefault >>= withAttribute OtherTok))

parseRules ("RelaxNG-Compact","Definitions") =
  (((lookAhead (pDetectChar False '=') >> (popContext >> popContext) >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("RelaxNG-Compact","Definitions")) >> pDefault >>= withAttribute FunctionTok))


parseRules x = parseRules ("RelaxNG-Compact","Normal Text") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Rest.hs0000644000000000000000000004000712633103275022252 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file rest.xml, version 1.4, by  -}

module Text.Highlighting.Kate.Syntax.Rest
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)

-- | Full name of language.
syntaxName :: String
syntaxName = "reStructuredText"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.rst"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("reStructuredText","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("reStructuredText","Normal") -> return ()
      ("reStructuredText","InlineMarkup") -> return ()
      ("reStructuredText","Field") -> return ()
      ("reStructuredText","InterpretedText") -> (popContext) >> pEndLine
      ("reStructuredText","Role") -> (popContext) >> pEndLine
      ("reStructuredText","TrailingRole") -> (popContext) >> pEndLine
      ("reStructuredText","Comment") -> return ()
      ("reStructuredText","CodeBlock") -> return ()
      ("reStructuredText","Code") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)


regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'2a'5c'2a'5b'5e'5cs'5d'2e'2a'5c'2a'5c'2a'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 = compileRegex True "(^|[-\\s'\"\\(\\[{/:\\.,;!\\?\\\\]|$)"
regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'2a'5b'5e'5cs'5d'2e'2a'5c'2a'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 = compileRegex True "(^|[-\\s'\"\\(\\[{/:\\.,;!\\?\\\\]|$)"
regex_'5cs'2a'5c'2e'5c'2e_'5c'5b'28'5cd'2b'7c'23'7c'5c'2a'7c'23'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d'5d'2b'29'5c'5d'5cs = compileRegex True "\\s*\\.\\. \\[(\\d+|#|\\*|#[\\w_\\.:\\+\\-]+)\\]\\s"
regex_'5cs'2a'5c'2e'5c'2e_'5c'5b'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d'5d'2b'5c'5d'5cs = compileRegex True "\\s*\\.\\. \\[[\\w_\\.:\\+\\-]+\\]\\s"
regex_'5cs'2a'28'5c'2e'5c'2e_'28'5f'5f'3a'7c'5f'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d_'5d'2b'3a'28'5cs'7c'24'29'29'7c'5f'5f_'29 = compileRegex True "\\s*(\\.\\. (__:|_[\\w_\\.:\\+\\- ]+:(\\s|$))|__ )"
regex_'5cs'2a'5c'2e'5c'2e_code'2dblock'3a'3a = compileRegex True "\\s*\\.\\. code-block::"
regex_'5cs'2a'5c'2e'5c'2e_'5b'5cw'2d'5f'5c'2e'5d'2b'3a'3a'28'5cs'7c'24'29 = compileRegex True "\\s*\\.\\. [\\w-_\\.]+::(\\s|$)"
regex_'3a'3a'24 = compileRegex True "::$"
regex_'5cs'2a'5c'2e'5c'2e_'5c'7c'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d_'5d'2b'5c'7c'5cs'2b'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d'5d'2b'3a'3a'5cs = compileRegex True "\\s*\\.\\. \\|[\\w_\\.:\\+\\- ]+\\|\\s+[\\w_\\.:\\+\\-]+::\\s"
regex_'3a'28'3f'3d'28'5b'5e'3a'5d'2a'5c'5c'3a'29'2a'5b'5e'3a'5d'2a'3a'28'5cs'7c'24'29'29 = compileRegex True ":(?=([^:]*\\\\:)*[^:]*:(\\s|$))"
regex_'28'5cs'2a'29'5c'2e'5c'2e'5cs'28'3f'21'5b'5cw'2d'5f'5c'2e'5d'2b'3a'3a'28'5cs'7c'24'29'29 = compileRegex True "(\\s*)\\.\\.\\s(?![\\w-_\\.]+::(\\s|$))"
regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'60'60'5b'5e'5cs'5d'2e'2a'60'60'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 = compileRegex True "(^|[-\\s'\"\\(\\[{/:\\.,;!\\?\\\\]|$)"
regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'7c'5b'5e'5cs'5d'2e'2a'5c'7c'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 = compileRegex True "(^|[-\\s'\"\\(\\[{/:\\.,;!\\?\\\\]|$)"
regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5f'60'5b'5e'5cs'5d'2e'2a'60'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 = compileRegex True "(^|[-\\s'\"\\(\\[{/:\\.,;!\\?\\\\]|$)"
regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'5b'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d'5d'2b'5c'5d'5f'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 = compileRegex True "(^|[-\\s'\"\\(\\[{/:\\.,;!\\?\\\\]|$)"
regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'60'5b'5e'5cs'5d'2e'2a'60'5f'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 = compileRegex True "(^|[-\\s'\"\\(\\[{/:\\.,;!\\?\\\\]|$)"
regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5cw'2b'5f'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 = compileRegex True "(^|[-\\s'\"\\(\\[{/:\\.,;!\\?\\\\]|$)"
regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'60'5b'5e'5cs'5d'2e'2a'60'28'3f'3d'3a'5b'5cw'2d'5f'5c'2e'5c'2b'5d'2b'3a'29 = compileRegex True "(^|[-\\s'\"\\(\\[{>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'2a'5b'5e'5cs'5d'2e'2a'5c'2a'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute NormalTok))
   <|>
   ((parseRules ("reStructuredText","InlineMarkup")))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5cs'2a'5c'2e'5c'2e_'5c'5b'28'5cd'2b'7c'23'7c'5c'2a'7c'23'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d'5d'2b'29'5c'5d'5cs >>= withAttribute DataTypeTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5cs'2a'5c'2e'5c'2e_'5c'5b'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d'5d'2b'5c'5d'5cs >>= withAttribute DataTypeTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5cs'2a'28'5c'2e'5c'2e_'28'5f'5f'3a'7c'5f'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d_'5d'2b'3a'28'5cs'7c'24'29'29'7c'5f'5f_'29 >>= withAttribute DataTypeTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5cs'2a'5c'2e'5c'2e_code'2dblock'3a'3a >>= withAttribute DataTypeTok) >>~ pushContext ("reStructuredText","CodeBlock"))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5cs'2a'5c'2e'5c'2e_'5b'5cw'2d'5f'5c'2e'5d'2b'3a'3a'28'5cs'7c'24'29 >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'3a'3a'24 >>= withAttribute DataTypeTok) >>~ pushContext ("reStructuredText","CodeBlock"))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5cs'2a'5c'2e'5c'2e_'5c'7c'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d_'5d'2b'5c'7c'5cs'2b'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d'5d'2b'3a'3a'5cs >>= withAttribute DataTypeTok))
   <|>
   ((pFirstNonSpace >> pRegExpr regex_'3a'28'3f'3d'28'5b'5e'3a'5d'2a'5c'5c'3a'29'2a'5b'5e'3a'5d'2a'3a'28'5cs'7c'24'29'29 >>= withAttribute FunctionTok) >>~ pushContext ("reStructuredText","Field"))
   <|>
   ((pColumn 0 >> pRegExpr regex_'28'5cs'2a'29'5c'2e'5c'2e'5cs'28'3f'21'5b'5cw'2d'5f'5c'2e'5d'2b'3a'3a'28'5cs'7c'24'29'29 >>= withAttribute CommentTok) >>~ pushContext ("reStructuredText","Comment"))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","Normal")) >> pDefault >>= withAttribute NormalTok))

parseRules ("reStructuredText","InlineMarkup") =
  (((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'60'60'5b'5e'5cs'5d'2e'2a'60'60'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'7c'5b'5e'5cs'5d'2e'2a'5c'7c'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5f'60'5b'5e'5cs'5d'2e'2a'60'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'5b'5b'5cw'5f'5c'2e'3a'5c'2b'5c'2d'5d'2b'5c'5d'5f'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'60'5b'5e'5cs'5d'2e'2a'60'5f'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5cw'2b'5f'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'60'5b'5e'5cs'5d'2e'2a'60'28'3f'3d'3a'5b'5cw'2d'5f'5c'2e'5c'2b'5d'2b'3a'29 >>= withAttribute DecValTok) >>~ pushContext ("reStructuredText","TrailingRole"))
   <|>
   ((pRegExpr regex_'3a'5b'5cw'2d'5f'5c'2e'5c'2b'5d'2b'3a'28'3f'3d'60'29 >>= withAttribute KeywordTok) >>~ pushContext ("reStructuredText","Role"))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","InlineMarkup")) >> pDefault >>= withAttribute NormalTok))

parseRules ("reStructuredText","Field") =
  (((pDetectChar False ':' >>= withAttribute FunctionTok) >>~ (popContext))
   <|>
   ((pDetect2Chars False '\\' ':' >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'2a'5c'2a'5b'5e'5cs'5d'2e'2a'5c'2a'5c'2a'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'28'5e'7c'5b'2d'5cs'27'22'5c'28'5c'5b'7b'3c'2f'3a'2018'201c'2019'ab'a1'bf'2010'2011'2012'2013'2014_'5d'29'5c'2a'5b'5e'5cs'5d'2e'2a'5c'2a'28'3f'3d'5b'2d'5cs'2019'201d'bb'2010'2011'2012'2013'2014_'27'22'5c'29'5c'5d'7d'3e'2f'3a'5c'2e'2c'3b'21'5c'3f'5c'5c'5d'7c'24'29 >>= withAttribute FunctionTok))
   <|>
   ((parseRules ("reStructuredText","InlineMarkup")))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","Field")) >> pDefault >>= withAttribute FunctionTok))

parseRules ("reStructuredText","InterpretedText") =
  (((pDetectChar False '`' >>= withAttribute DecValTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","InterpretedText")) >> pDefault >>= withAttribute DecValTok))

parseRules ("reStructuredText","Role") =
  (((pDetectChar False '`' >>= withAttribute DecValTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","Role")) >> pDefault >>= withAttribute KeywordTok))

parseRules ("reStructuredText","TrailingRole") =
  (((pRegExpr regex_'3a'5b'5cw'2d'5f'5c'2e'5c'2b'5d'2b'3a >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","TrailingRole")) >> pDefault >>= withAttribute KeywordTok))

parseRules ("reStructuredText","Comment") =
  (((pColumn 0 >> pRegExprDynamic "%1   " >>= withAttribute DataTypeTok))
   <|>
   ((pColumn 0 >> lookAhead (pRegExpr regex_'28'2e'7c'24'29) >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","Comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("reStructuredText","CodeBlock") =
  (((pColumn 0 >> pRegExpr regex_'28'5cs'2b'29'28'3f'3d'5cS'29 >>= withAttribute DataTypeTok) >>~ pushContext ("reStructuredText","Code"))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","CodeBlock")) >> pDefault >>= withAttribute DataTypeTok))

parseRules ("reStructuredText","Code") =
  (((pColumn 0 >> pRegExprDynamic "%1" >>= withAttribute DataTypeTok))
   <|>
   ((pColumn 0 >> lookAhead (pRegExpr regex_'28'2e'7c'24'29) >> (popContext >> popContext) >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("reStructuredText","Code")) >> pDefault >>= withAttribute DataTypeTok))

parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing

parseRules x = parseRules ("reStructuredText","Normal") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Rhtml.hs0000644000000000000000000023146712633103275022437 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file rhtml.xml, version 1.01, by Richard Dale rdale@foton.es -}

module Text.Highlighting.Kate.Syntax.Rhtml
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import qualified Text.Highlighting.Kate.Syntax.Css
import qualified Text.Highlighting.Kate.Syntax.Javascript
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "Ruby/Rails/RHTML"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.rhtml;*.html.erb"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("Ruby/Rails/RHTML","Start")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Ruby/Rails/RHTML","Start") -> return ()
      ("Ruby/Rails/RHTML","FindHTML") -> return ()
      ("Ruby/Rails/RHTML","FindEntityRefs") -> return ()
      ("Ruby/Rails/RHTML","FindPEntityRefs") -> return ()
      ("Ruby/Rails/RHTML","FindAttributes") -> return ()
      ("Ruby/Rails/RHTML","FindDTDRules") -> return ()
      ("Ruby/Rails/RHTML","Comment") -> return ()
      ("Ruby/Rails/RHTML","CDATA") -> return ()
      ("Ruby/Rails/RHTML","PI") -> return ()
      ("Ruby/Rails/RHTML","Doctype") -> return ()
      ("Ruby/Rails/RHTML","Doctype Internal Subset") -> return ()
      ("Ruby/Rails/RHTML","Doctype Markupdecl") -> return ()
      ("Ruby/Rails/RHTML","Doctype Markupdecl DQ") -> return ()
      ("Ruby/Rails/RHTML","Doctype Markupdecl SQ") -> return ()
      ("Ruby/Rails/RHTML","El Open") -> return ()
      ("Ruby/Rails/RHTML","El Close") -> return ()
      ("Ruby/Rails/RHTML","El Close 2") -> return ()
      ("Ruby/Rails/RHTML","El Close 3") -> return ()
      ("Ruby/Rails/RHTML","CSS") -> return ()
      ("Ruby/Rails/RHTML","CSS content") -> return ()
      ("Ruby/Rails/RHTML","JS") -> return ()
      ("Ruby/Rails/RHTML","JS content") -> return ()
      ("Ruby/Rails/RHTML","JS comment close") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","Value") -> return ()
      ("Ruby/Rails/RHTML","Value NQ") -> (popContext >> popContext) >> pEndLine
      ("Ruby/Rails/RHTML","Value DQ") -> return ()
      ("Ruby/Rails/RHTML","Value SQ") -> return ()
      ("Ruby/Rails/RHTML","rubysourceline") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","rubysource") -> return ()
      ("Ruby/Rails/RHTML","Line Continue") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","Quoted String") -> return ()
      ("Ruby/Rails/RHTML","Apostrophed String") -> return ()
      ("Ruby/Rails/RHTML","Command String") -> return ()
      ("Ruby/Rails/RHTML","Embedded documentation") -> return ()
      ("Ruby/Rails/RHTML","RegEx 1") -> return ()
      ("Ruby/Rails/RHTML","Subst") -> return ()
      ("Ruby/Rails/RHTML","Short Subst") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","Member Access") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","Comment Line") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","General Comment") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","RDoc Label") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","find_heredoc") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","find_indented_heredoc") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","indented_heredoc") -> return ()
      ("Ruby/Rails/RHTML","apostrophed_indented_heredoc") -> return ()
      ("Ruby/Rails/RHTML","normal_heredoc") -> return ()
      ("Ruby/Rails/RHTML","apostrophed_normal_heredoc") -> return ()
      ("Ruby/Rails/RHTML","heredoc_rules") -> return ()
      ("Ruby/Rails/RHTML","find_gdl_input") -> (popContext) >> pEndLine
      ("Ruby/Rails/RHTML","gdl_dq_string_1") -> return ()
      ("Ruby/Rails/RHTML","gdl_dq_string_1_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_dq_string_2") -> return ()
      ("Ruby/Rails/RHTML","gdl_dq_string_2_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_dq_string_3") -> return ()
      ("Ruby/Rails/RHTML","gdl_dq_string_3_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_dq_string_4") -> return ()
      ("Ruby/Rails/RHTML","gdl_dq_string_4_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_dq_string_5") -> return ()
      ("Ruby/Rails/RHTML","dq_string_rules") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_1") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_1_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_2") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_2_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_3") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_3_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_4") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_4_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_token_array_5") -> return ()
      ("Ruby/Rails/RHTML","token_array_rules") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_1") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_1_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_2") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_2_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_3") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_3_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_4") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_4_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_apostrophed_5") -> return ()
      ("Ruby/Rails/RHTML","apostrophed_rules") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_1") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_1_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_2") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_2_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_3") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_3_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_4") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_4_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_shell_command_5") -> return ()
      ("Ruby/Rails/RHTML","shell_command_rules") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_1") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_1_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_2") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_2_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_3") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_3_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_4") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_4_nested") -> return ()
      ("Ruby/Rails/RHTML","gdl_regexpr_5") -> return ()
      ("Ruby/Rails/RHTML","regexpr_rules") -> return ()
      ("Ruby/Rails/RHTML","DATA") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywords = Set.fromList $ words $ "BEGIN END and begin break case defined? do else elsif end ensure for if in include next not or redo rescue retry return then unless until when while yield"
list_access'2dcontrol = Set.fromList $ words $ "private_class_method private protected public_class_method public"
list_attribute'2ddefinitions = Set.fromList $ words $ "attr_reader attr_writer attr_accessor"
list_definitions = Set.fromList $ words $ "alias module class def undef"
list_pseudo'2dvariables = Set.fromList $ words $ "self super nil false true caller __FILE__ __LINE__"
list_default'2dglobals = Set.fromList $ words $ "$stdout $defout $stderr $deferr $stdin"
list_kernel'2dmethods = Set.fromList $ words $ "abort at_exit autoload autoload? binding block_given? callcc caller catch chomp chomp! chop chop! eval exec exit exit! fail fork format getc gets global_variables gsub gsub! iterator? lambda load local_variables loop method_missing open p print printf proc putc puts raise rand readline readlines require scan select set_trace_func sleep split sprintf srand sub sub! syscall system test throw trace_var trap untrace_var warn auto_complete_field auto_complete_result auto_discovery_link_tag auto_link benchmark button_to cache capture check_box check_box_tag collection_select concat content_for content_tag country_options_for_select country_select current_page? date_select datetime_select debug define_javascript_functions distance_of_time_in_words distance_of_time_in_words_to_now draggable_element drop_receiving_element end_form_tag error_message_on error_messages_for escape_javascript evaluate_remote_response excerpt file_field file_field_tag finish_upload_status form form_remote_tag form_tag form_tag_with_upload_progress h hidden_field hidden_field_tag highlight human_size image_path image_submit_tag image_tag input javascript_include_tag javascript_path javascript_tag link_image_to link_to link_to_function link_to_if link_to_image link_to_remote link_to_unless link_to_unless_current mail_to markdown number_to_currency number_to_human_size number_to_percentage number_to_phone number_with_delimiter number_with_precision observe_field observe_form option_groups_from_collection_for_select options_for_select options_from_collection_for_select pagination_links password_field password_field_tag periodically_call_remote pluralize radio_button radio_button_tag register_template_handler render render_file render_template sanitize select select_date select_datetime select_day select_hour select_minute select_month select_second select_tag select_time select_year simple_format sortable_element start_form_tag strip_links stylesheet_link_tag stylesheet_path submit_tag submit_to_remote tag text_area text_area_tag text_field text_field_tag text_field_with_auto_complete textilize textilize_without_paragraph time_ago_in_words time_zone_options_for_select time_zone_select truncate update_element_function upload_progress_status upload_progress_text upload_progress_update_bar_js upload_status_progress_bar_tag upload_status_tag upload_status_text_tag url_for visual_effect word_wrap"
list_attention = Set.fromList $ words $ "TODO FIXME NOTE"

regex_'3c'25'3d'3f = compileRegex True "<%=?"
regex_'3c'21DOCTYPE'5cs'2b = compileRegex True "))+"
regex_'5cS = compileRegex True "\\S"
regex_'3c'2fstyle'5cb = compileRegex True ")"
regex_'5b'5e'2f'3e'3c'22'27'5cs'5d = compileRegex True "[^/><\"'\\s]"
regex_'2d'3f'25'3e = compileRegex True "-?%>"
regex_'5f'5fEND'5f'5f'24 = compileRegex True "__END__$"
regex_'23'21'5c'2f'2e'2a = compileRegex True "#!\\/.*"
regex_'28'5c'3d'7c'5c'28'7c'5c'5b'7c'5c'7b'29'5cs'2a'28if'7cunless'7cwhile'7cuntil'29'5cb = compileRegex True "(\\=|\\(|\\[|\\{)\\s*(if|unless|while|until)\\b"
regex_'28while'7cuntil'29'5cb'28'3f'21'2e'2a'5cbdo'5cb'29 = compileRegex True "(while|until)\\b(?!.*\\bdo\\b)"
regex_'5c'3b'5cs'2a'28while'7cuntil'29'5cb'28'3f'21'2e'2a'5cbdo'5cb'29 = compileRegex True "\\;\\s*(while|until)\\b(?!.*\\bdo\\b)"
regex_'28if'7cunless'29'5cb = compileRegex True "(if|unless)\\b"
regex_'5c'3b'5cs'2a'28if'7cunless'29'5cb = compileRegex True "\\;\\s*(if|unless)\\b"
regex_'5cbclass'5cb = compileRegex True "\\bclass\\b"
regex_'5cbmodule'5cb = compileRegex True "\\bmodule\\b"
regex_'5cbbegin'5cb = compileRegex True "\\bbegin\\b"
regex_'5cbfor'5cb'28'3f'21'2e'2a'5cbdo'5cb'29 = compileRegex True "\\bfor\\b(?!.*\\bdo\\b)"
regex_'5cbcase'5cb = compileRegex True "\\bcase\\b"
regex_'5cbdo'5cb = compileRegex True "\\bdo\\b"
regex_'5cbdef'5cb = compileRegex True "\\bdef\\b"
regex_'5cbend'5cb = compileRegex True "\\bend\\b"
regex_'28'5cb'7c'5e'5cs'2a'29'28else'7celsif'7crescue'7censure'29'28'5cs'2b'7c'24'29 = compileRegex True "(\\b|^\\s*)(else|elsif|rescue|ensure)(\\s+|$)"
regex_'5c'2e'5b'5fa'2dz'5d'5b'5fa'2dzA'2dZ0'2d9'5d'2a'28'5c'3f'7c'5c'21'7c'5cb'29 = compileRegex True "\\.[_a-z][_a-zA-Z0-9]*(\\?|\\!|\\b)"
regex_'5cs'5c'3f'28'5c'5cM'5c'2d'29'3f'28'5c'5cC'5c'2d'29'3f'5c'5c'3f'5cS = compileRegex True "\\s\\?(\\\\M\\-)?(\\\\C\\-)?\\\\?\\S"
regex_'5c'24'5ba'2dzA'2dZ'5f0'2d9'5d'2b = compileRegex True "\\$[a-zA-Z_0-9]+"
regex_'5c'24'5c'2d'5ba'2dzA'2dz'5f'5d'5cb = compileRegex True "\\$\\-[a-zA-z_]\\b"
regex_'5c'24'5b'5cd'5f'2a'60'5c'21'3a'3f'27'2f'5c'5c'5c'2d'5c'26'5d = compileRegex True "\\$[\\d_*`\\!:?'/\\\\\\-\\&]"
regex_'5cb'5b'5fA'2dZ'5d'2b'5bA'2dZ'5f0'2d9'5d'2b'5cb = compileRegex True "\\b[_A-Z]+[A-Z_0-9]+\\b"
regex_'5cb'5bA'2dZ'5d'2b'5f'2a'28'5b0'2d9'5d'7c'5ba'2dz'5d'29'5b'5fa'2dzA'2dZ0'2d9'5d'2a'5cb = compileRegex True "\\b[A-Z]+_*([0-9]|[a-z])[_a-zA-Z0-9]*\\b"
regex_'5cb'5c'2d'3f0'5bxX'5d'5b'5f0'2d9a'2dfA'2dF'5d'2b = compileRegex True "\\b\\-?0[xX][_0-9a-fA-F]+"
regex_'5cb'5c'2d'3f0'5bbB'5d'5b'5f01'5d'2b = compileRegex True "\\b\\-?0[bB][_01]+"
regex_'5cb'5c'2d'3f0'5b1'2d7'5d'5b'5f0'2d7'5d'2a = compileRegex True "\\b\\-?0[1-7][_0-7]*"
regex_'5cb'5c'2d'3f'5b0'2d9'5d'5b0'2d9'5f'5d'2a'5c'2e'5b0'2d9'5d'5b0'2d9'5f'5d'2a'28'5beE'5d'5c'2d'3f'5b1'2d9'5d'5b0'2d9'5d'2a'28'5c'2e'5b0'2d9'5d'2a'29'3f'29'3f = compileRegex True "\\b\\-?[0-9][0-9_]*\\.[0-9][0-9_]*([eE]\\-?[1-9][0-9]*(\\.[0-9]*)?)?"
regex_'5cb'5c'2d'3f'5b1'2d9'5d'5b0'2d9'5f'5d'2a'5cb = compileRegex True "\\b\\-?[1-9][0-9_]*\\b"
regex_'5cs'2a'3c'3c'2d'28'3f'3d'5cw'2b'7c'5b'22'27'5d'29 = compileRegex True "\\s*<<-(?=\\w+|[\"'])"
regex_'5cs'2a'3c'3c'28'3f'3d'5cw'2b'7c'5b'22'27'5d'29 = compileRegex True "\\s*<<(?=\\w+|[\"'])"
regex_'5cs'5b'5c'3f'5c'3a'5c'25'2f'5d'5cs = compileRegex True "\\s[\\?\\:\\%/]\\s"
regex_'5b'7c'26'3c'3e'5c'5e'5c'2b'2a'7e'5c'2d'3d'5d'2b = compileRegex True "[|&<>\\^\\+*~\\-=]+"
regex_'5cs'21 = compileRegex True "\\s!"
regex_'2f'3d'5cs = compileRegex True "/=\\s"
regex_'3a'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ0'2d9'5f'5d'2a = compileRegex True ":[a-zA-Z_][a-zA-Z0-9_]*"
regex_'23'5cs'2aBEGIN'2e'2a'24 = compileRegex True "#\\s*BEGIN.*$"
regex_'23'5cs'2aEND'2e'2a'24 = compileRegex True "#\\s*END.*$"
regex_'23 = compileRegex True "#"
regex_'5cs'23 = compileRegex True "\\s#"
regex_'5b'5c'5b'5c'5d'5d'2b = compileRegex True "[\\[\\]]+"
regex_'40'5ba'2dzA'2dZ'5f0'2d9'5d'2b = compileRegex True "@[a-zA-Z_0-9]+"
regex_'40'40'5ba'2dzA'2dZ'5f0'2d9'5d'2b = compileRegex True "@@[a-zA-Z_0-9]+"
regex_'5cs'2a'5b'25'5d'28'3f'3d'5bQqxw'5d'3f'5b'5e'5cs'3e'5d'29 = compileRegex True "\\s*[%](?=[Qqxw]?[^\\s>])"
regex_'5c'5c'5c'22 = compileRegex True "\\\\\\\""
regex_'23'40'7b1'2c2'7d = compileRegex True "#@{1,2}"
regex_'5c'5c'5c'27 = compileRegex True "\\\\\\'"
regex_'5c'5c'5c'60 = compileRegex True "\\\\\\`"
regex_'5c'5c'5c'2f = compileRegex True "\\\\\\/"
regex_'5b'5e'5c'5c'5d'24 = compileRegex True "[^\\\\]$"
regex_'2f'5buiomxn'5d'2a = compileRegex True "/[uiomxn]*"
regex_'5cw'28'3f'21'5cw'29 = compileRegex True "\\w(?!\\w)"
regex_'5c'2e'3f'5b'5fa'2dz'5d'5cw'2a'28'5c'3f'7c'5c'21'29'3f'28'3f'3d'5b'5e'5cw'5cd'5c'2e'5c'3a'5d'29 = compileRegex True "\\.?[_a-z]\\w*(\\?|\\!)?(?=[^\\w\\d\\.\\:])"
regex_'5c'2e'3f'5b'5fa'2dz'5d'5cw'2a'28'5c'3f'7c'5c'21'29'3f = compileRegex True "\\.?[_a-z]\\w*(\\?|\\!)?"
regex_'5bA'2dZ'5d'2b'5f'2a'28'5cd'7c'5ba'2dz'5d'29'5cw'2a'28'3f'3d'5b'5e'5cw'5cd'5c'2e'5c'3a'5d'29 = compileRegex True "[A-Z]+_*(\\d|[a-z])\\w*(?=[^\\w\\d\\.\\:])"
regex_'5bA'2dZ'5d'2b'5f'2a'28'5b0'2d9'5d'7c'5ba'2dz'5d'29'5cw'2a = compileRegex True "[A-Z]+_*([0-9]|[a-z])\\w*"
regex_'5b'5fA'2dZ'5d'5b'5fA'2dZ0'2d9'5d'2a'28'3f'3d'5b'5e'5cw'5cd'5c'2e'5c'3a'5d'29 = compileRegex True "[_A-Z][_A-Z0-9]*(?=[^\\w\\d\\.\\:])"
regex_'5b'5fA'2dZ'5d'5b'5fA'2dZ0'2d9'5d'2a = compileRegex True "[_A-Z][_A-Z0-9]*"
regex_'5cW = compileRegex True "\\W"
regex_'5cw'5c'3a'5c'3a'5cs = compileRegex True "\\w\\:\\:\\s"
regex_'27'28'5cw'2b'29'27 = compileRegex True "'(\\w+)'"
regex_'22'3f'28'5cw'2b'29'22'3f = compileRegex True "\"?(\\w+)\"?"
regex_w'5c'28 = compileRegex True "w\\("
regex_w'5c'7b = compileRegex True "w\\{"
regex_w'5c'5b = compileRegex True "w\\["
regex_w'3c = compileRegex True "w<"
regex_w'28'5b'5e'5cs'5cw'5d'29 = compileRegex True "w([^\\s\\w])"
regex_q'5c'28 = compileRegex True "q\\("
regex_q'5c'7b = compileRegex True "q\\{"
regex_q'5c'5b = compileRegex True "q\\["
regex_q'3c = compileRegex True "q<"
regex_q'28'5b'5e'5cs'5cw'5d'29 = compileRegex True "q([^\\s\\w])"
regex_x'5c'28 = compileRegex True "x\\("
regex_x'5c'7b = compileRegex True "x\\{"
regex_x'5c'5b = compileRegex True "x\\["
regex_x'3c = compileRegex True "x<"
regex_x'28'5b'5e'5cs'5cw'5d'29 = compileRegex True "x([^\\s\\w])"
regex_r'5c'28 = compileRegex True "r\\("
regex_r'5c'7b = compileRegex True "r\\{"
regex_r'5c'5b = compileRegex True "r\\["
regex_r'3c = compileRegex True "r<"
regex_r'28'5b'5e'5cs'5cw'5d'29 = compileRegex True "r([^\\s\\w])"
regex_Q'3f'5c'28 = compileRegex True "Q?\\("
regex_Q'3f'5c'7b = compileRegex True "Q?\\{"
regex_Q'3f'5c'5b = compileRegex True "Q?\\["
regex_Q'3f'3c = compileRegex True "Q?<"
regex_Q'3f'28'5b'5e'5cs'5cw'5d'29 = compileRegex True "Q?([^\\s\\w])"
regex_'5c'29'5buiomxn'5d'2a = compileRegex True "\\)[uiomxn]*"
regex_'5c'7d'5buiomxn'5d'2a = compileRegex True "\\}[uiomxn]*"
regex_'5c'5d'5buiomxn'5d'2a = compileRegex True "\\][uiomxn]*"
regex_'3e'5buiomxn'5d'2a = compileRegex True ">[uiomxn]*"

parseRules ("Ruby/Rails/RHTML","Start") =
  (((parseRules ("Ruby/Rails/RHTML","FindHTML")))
   <|>
   (currentContext >>= \x -> guard (x == ("Ruby/Rails/RHTML","Start")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Ruby/Rails/RHTML","FindHTML") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pDetectIdentifier >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'3c'25'3d'3f >>= withAttribute KeywordTok) >>~ pushContext ("Ruby/Rails/RHTML","rubysource"))
   <|>
   ((pString False "%" >>= withAttribute KeywordTok) >>~ pushContext ("Ruby/Rails/RHTML","rubysourceline"))
   <|>
   ((pString False "" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'2d'28'2d'28'3f'21'2d'3e'29'29'2b >>= withAttribute ErrorTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Ruby/Rails/RHTML","Comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Ruby/Rails/RHTML","CDATA") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pDetectIdentifier >>= withAttribute NormalTok))
   <|>
   ((pString False "]]>" >>= withAttribute BaseNTok) >>~ (popContext))
   <|>
   ((pString False "]]>" >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Ruby/Rails/RHTML","CDATA")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Ruby/Rails/RHTML","PI") =
  (((pDetect2Chars False '?' '>' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Ruby/Rails/RHTML","PI")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Ruby/Rails/RHTML","Doctype") =
  (((pDetectChar False '>' >>= withAttribute DataTypeTok) >>~ (popContext))
   <|>
   ((pDetectChar False '[' >>= withAttribute DataTypeTok) >>~ pushContext ("Ruby/Rails/RHTML","Doctype Internal Subset"))
   <|>
   (currentContext >>= \x -> guard (x == ("Ruby/Rails/RHTML","Doctype")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Ruby/Rails/RHTML","Doctype Internal Subset") =
  (((pDetectChar False ']' >>= withAttribute DataTypeTok) >>~ (popContext))
   <|>
   ((parseRules ("Ruby/Rails/RHTML","FindDTDRules")))
   <|>
   ((pString False "" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SGML","Comment")) >> pDefault >>= withAttribute CommentTok))


parseRules x = parseRules ("SGML","Normal Text") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Sql.hs0000644000000000000000000003401412633103275022075 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file sql.xml, version 1.17, by Yury Lebedev (yurylebedev@mail.ru) -}

module Text.Highlighting.Kate.Syntax.Sql
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "SQL"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.sql;*.SQL;*.ddl;*.DDL"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("SQL","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("SQL","Normal") -> return ()
      ("SQL","String literal") -> return ()
      ("SQL","Singleline PL/SQL-style comment") -> (popContext) >> pEndLine
      ("SQL","Multiline C-style comment") -> return ()
      ("SQL","SQL*Plus remark directive") -> (popContext) >> pEndLine
      ("SQL","User-defined identifier") -> (popContext) >> pEndLine
      ("SQL","SQL*Plus directive to include file") -> (popContext) >> pEndLine
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywords = Set.fromList $ words $ "access account add admin administer advise after agent all allocate all_rows alter analyze ancillary and any archive archivelog as asc assertion associate at attribute attributes audit authenticated authid authorization autoallocate autoextend automatic backup become before begin behalf between binding bitmap block block_range body both bound break broadcast btitle buffer_pool build bulk by cache cache_instances call cancel cascade case category chained change check checkpoint child choose chunk class clear clone close close_cached_open_cursors cluster coalesce column columns column_value comment commit committed compatibility compile complete composite_limit compress compute connect connect_time consider consistent constant constraint constraints container contents context continue controlfile copy cost cpu_per_call cpu_per_session create create_stored_outlines cross cube current cursor cycle dangling data database datafile datafiles dba ddl deallocate debug declare default deferrable deferred definer degree delete demand desc determines dictionary dimension directory disable disassociate disconnect diskgroup dismount distinct distributed domain drop dynamic each else elsif empty enable end enforce entry escape estimate events except exception exceptions exchange excluding exclusive exec execute exists expire explain explosion extends extent extents externally failed_login_attempts false fast file filter first_rows flagger flashback flush following for force foreign freelist freelists fresh from full function functions generated global globally global_name grant group groups hash hashkeys having header heap hierarchy hour id identified identifier idgenerators idle_time if immediate in including increment incremental index indexed indexes indextype indextypes indicator initial initialized initially initrans inner insert instance instances instead intermediate intersect into invalidate is isolation isolation_level java join keep key kill label layer leading left less level library like limit link list local locator lock locked logfile logging logical_reads_per_call logical_reads_per_session logoff logon loop manage managed management master materialized maxarchlogs maxdatafiles maxextents maxinstances maxlogfiles maxloghistory maxlogmembers maxsize maxtrans maxvalue member merge method minextents minimize minimum minus minute minvalue mode modify monitoring mount move movement mts_dispatchers multiset named natural needed nested nested_table_id network never new next nls_calendar nls_characterset nls_comp nls_currency nls_date_format nls_date_language nls_iso_currency nls_lang nls_language nls_numeric_characters nls_sort nls_special_chars nls_territory no noarchivelog noaudit nocache nocompress nocycle noforce nologging nomaxvalue nominimize nominvalue nomonitoring none noorder nooverride noparallel norely noresetlogs noreverse normal nosegment nosort not nothing novalidate nowait null nulls objno objno_reuse of off offline oid oidindex old on online only opcode open operator optimal optimizer_goal option or order organization out outer outline over overflow overlaps own package packages parallel parameters parent partition partitions partition_hash partition_range password password_grace_time password_life_time password_lock_time password_reuse_max password_reuse_time password_verify_function pctfree pctincrease pctthreshold pctused pctversion percent permanent plan plsql_debug post_transaction prebuilt preceding prepare present preserve previous primary prior private private_sga privilege privileges procedure profile public purge query queue quota random range rba read reads rebuild records_per_block recover recoverable recovery recycle reduced references referencing refresh rely rename replace reset resetlogs resize resolve resolver resource restrict restricted resume return returning reuse reverse revoke rewrite right role roles rollback rollup row rownum rows rule sample savepoint scan scan_instances schema scn scope sd_all sd_inhibit sd_show segment seg_block seg_file select selectivity sequence serializable servererror session sessions_per_user session_cached_cursors set share shared shared_pool shrink shutdown singletask size skip skip_unusable_indexes snapshot some sort source specification split sql_trace standby start startup statement_id static statistics stop storage store structure submultiset subpartition subpartitions successful summary supplemental suspend switch synonym sysdba sysoper system sys_op_bitvec sys_op_enforce_not_null$ sys_op_noexpand sys_op_ntcimg$ table tables tablespace tablespace_no tabno tempfile temporary than the then thread through timeout timezone_hour timezone_minute time_zone to toplevel trace tracing trailing transaction transitional trigger triggers true truncate type types unarchived unbound unbounded undo uniform union unique unlimited unlock unrecoverable until unusable unused updatable update upd_indexes uppper usage use user_defined use_stored_outlines using validate validation values view when whenever where while with without work write"
list_operators = Set.fromList $ words $ "+ - * / || = != <> < <= > >= ~= ^= := => ** .."
list_functions = Set.fromList $ words $ "abs acos add_months ascii asciistr asin atan atan2 avg bfilename bin_to_num bitand cardinality cast ceil chartorowid chr coalesce collect compose concat convert corr corr_k corr_s cos cosh count covar_pop covar_samp cume_dist current_date current_timestamp cv dbtimezone decode decompose dense_rank depth deref dump empty_blob empty_clob existsnode exp extract extractvalue first first_value floor from_tz greatest group_id grouping grouping_id hextoraw initcap instr instrb lag last last_day last_value lead least length lengthb ln lnnvl localtimestamp log lower lpad ltrim make_ref max median min mod months_between nanvl nchr new_time next_day nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_upper nlssort ntile nullif numtodsinterval numtoyminterval nvl nvl2 ora_hash ora_rowscn percent_rank percentile_cont percentile_disc power powermultiset powermultiset_by_cardinality presentnnv presentv rank ratio_to_report rawtohex rawtonhex ref reftohex regexp_instr regexp_like regexp_replace regexp_substr regr_slope regr_intercept regr_count regr_r2 regr_avgx regr_avgy regr_sxx regr_syy regr_sxy remainder round row_number rowidtochar rowidtonchar rpad rtrim scn_to_timestamp sessiontimezone sign sin sinh soundex sqrt stats_binomial_test stats_crosstab stats_f_test stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_one stats_t_test_paired stats_t_test_indep stats_t_test_indepu stats_wsr_test stddev stddev_pop stddev_samp substr substrb sum sys_connect_by_path sys_context sys_dburigen sys_extract_utc sys_guid sys_typeid sys_xmlagg sys_xmlgen sysdate systimestamp tan tanh timestamp_to_scn to_binary_double to_binary_float to_char to_clob to_date to_dsinterval to_lob to_multi_byte to_nchar to_nclob to_number to_single_byte to_timestamp to_timestamp_tz to_yminterval translate treat trim trunc tz_offset uid unistr updatexml upper user userenv value var_pop var_samp variance vsize width_bucket xmlagg xmlcolattval xmlconcat xmlelement xmlforest xmlsequence xmltransform"
list_types = Set.fromList $ words $ "anydata anydataset anytype array bfile binary_double binary_float binary_integer blob boolean cfile char character clob date day dburitype dec decimal double float flob httpuritype int integer interval lob long mlslabel month national nchar nclob number numeric nvarchar object pls_integer precision raw real record rowid second single smallint time timestamp urifactorytype uritype urowid varchar varchar2 varray varying xmltype year zone"

regex_'25'28'3f'3abulk'5f'28'3f'3aexceptions'7crowcount'29'7cfound'7cisopen'7cnotfound'7crowcount'7crowtype'7ctype'29'5cb = compileRegex False "%(?:bulk_(?:exceptions|rowcount)|found|isopen|notfound|rowcount|rowtype|type)\\b"
regex_rem'5cb = compileRegex False "rem\\b"
regex_'28'3a'7c'26'26'3f'29'5cw'2b = compileRegex False "(:|&&?)\\w+"
regex_'2f'24 = compileRegex False "/$"
regex_'40'40'3f'5b'5e'40_'5ct'5cr'5cn'5d = compileRegex False "@@?[^@ \\t\\r\\n]"
regex_'26'26'3f'5cw'2b = compileRegex False "&&?\\w+"

parseRules ("SQL","Normal") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t(),%&;?[]{}\\" list_keywords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t(),%&;?[]{}\\" list_operators >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t(),%&;?[]{}\\" list_functions >>= withAttribute FunctionTok))
   <|>
   ((pKeyword " \n\t(),%&;?[]{}\\" list_types >>= withAttribute DataTypeTok))
   <|>
   ((pDetectIdentifier >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'25'28'3f'3abulk'5f'28'3f'3aexceptions'7crowcount'29'7cfound'7cisopen'7cnotfound'7crowcount'7crowtype'7ctype'29'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pHlCHex >>= withAttribute BaseNTok))
   <|>
   ((pFloat >>= withAttribute FloatTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("SQL","String literal"))
   <|>
   ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("SQL","Singleline PL/SQL-style comment"))
   <|>
   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("SQL","Multiline C-style comment"))
   <|>
   ((pColumn 0 >> pRegExpr regex_rem'5cb >>= withAttribute CommentTok) >>~ pushContext ("SQL","SQL*Plus remark directive"))
   <|>
   ((pDetectChar False '"' >>= withAttribute OtherTok) >>~ pushContext ("SQL","User-defined identifier"))
   <|>
   ((pRegExpr regex_'28'3a'7c'26'26'3f'29'5cw'2b >>= withAttribute CharTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'2f'24 >>= withAttribute CharTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'40'40'3f'5b'5e'40_'5ct'5cr'5cn'5d >>= withAttribute OtherTok) >>~ pushContext ("SQL","SQL*Plus directive to include file"))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL","Normal")) >> pDefault >>= withAttribute NormalTok))

parseRules ("SQL","String literal") =
  (((pDetect2Chars False '\\' '\'' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((pRegExpr regex_'26'26'3f'5cw'2b >>= withAttribute CharTok))
   <|>
   ((pDetect2Chars False '\'' '\'' >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL","String literal")) >> pDefault >>= withAttribute StringTok))

parseRules ("SQL","Singleline PL/SQL-style comment") =
  (currentContext >>= \x -> guard (x == ("SQL","Singleline PL/SQL-style comment")) >> pDefault >>= withAttribute CommentTok)

parseRules ("SQL","Multiline C-style comment") =
  (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL","Multiline C-style comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("SQL","SQL*Plus remark directive") =
  (currentContext >>= \x -> guard (x == ("SQL","SQL*Plus remark directive")) >> pDefault >>= withAttribute CommentTok)

parseRules ("SQL","User-defined identifier") =
  (((pDetectChar False '"' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL","User-defined identifier")) >> pDefault >>= withAttribute OtherTok))

parseRules ("SQL","SQL*Plus directive to include file") =
  (currentContext >>= \x -> guard (x == ("SQL","SQL*Plus directive to include file")) >> pDefault >>= withAttribute OtherTok)


parseRules x = parseRules ("SQL","Normal") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/SqlMysql.hs0000644000000000000000000002346612633103275023134 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file sql-mysql.xml, version 1.16, by Shane Wright (me@shanewright.co.uk) -}

module Text.Highlighting.Kate.Syntax.SqlMysql
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "SQL (MySQL)"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.sql;*.SQL;*.ddl;*.DDL"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("SQL (MySQL)","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("SQL (MySQL)","Normal") -> return ()
      ("SQL (MySQL)","String") -> return ()
      ("SQL (MySQL)","String2") -> return ()
      ("SQL (MySQL)","Name") -> return ()
      ("SQL (MySQL)","SingleLineComment") -> (popContext) >> pEndLine
      ("SQL (MySQL)","MultiLineComment") -> return ()
      ("SQL (MySQL)","Preprocessor") -> (popContext) >> pEndLine
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywords = Set.fromList $ words $ "access add all alter analyze and as asc auto_increment bdb berkeleydb between both by cascade case change charset column columns constraint create cross current_date current_time current_timestamp database databases day_hour day_minute day_second dec default delayed delete desc describe distinct distinctrow drop else enclosed escaped exists explain fields for foreign from fulltext function grant group having high_priority if ignore in index infile inner innodb insert interval into is join key keys kill leading left like limit lines load lock low_priority master_server_id match mrg_myisam national natural not null numeric on optimize option optionally or order outer outfile partial precision primary privileges procedure purge read references regexp rename replace require restrict returns revoke right rlike select set show soname sql_big_result sql_calc_found_rows sql_small_result ssl starting straight_join striped table tables terminated then to trailing truncate type union unique unlock unsigned update usage use user_resources using values varying when where while with write xor year_month zerofill"
list_operators = Set.fromList $ words $ "+ - * / || = != <> < <= > >= ~= ^= := => ** .."
list_functions = Set.fromList $ words $ "ascii bin bit_length char character_length char_length concat concat_ws conv elt export_set field find_in_set hex insert instr lcase left length load_file locate lower lpad ltrim make_set mid oct octet_length ord position quote repeat replace reverse right rpad rtrim soundex space substring substring_index trim ucase upper abs acos asin atan atan2 ceiling cos cot degrees exp floor greatest least ln log log10 log2 mod pi pow power radians rand round sign sin sqrt tan adddate curdate current_date current_time current_timestamp curtime date_add date_format date_sub dayname dayofmonth dayofweek dayofyear extract from_days from_unixtime hour minute month monthname now period_add period_diff quarter second sec_to_time subdate sysdate time_format time_to_sec to_days unix_timestamp week weekday year yearweek cast convert aes_decrypt aes_encrypt benchmark bit_count connection_id database decode des_decrypt des_encrypt encode encrypt format found_rows get_lock inet_aton inet_ntoa is_free_lock last_insert_id master_pos_wait md5 password release_lock session_user sha sha1 system_user user version avg bit_and bit_or count max min std stddev sum"
list_types = Set.fromList $ words $ "binary blob char character enum longblob longtext mediumblob mediumtext text tinyblob tinytext varbinary varchar bigint bit bool boolean dec decimal double fixed float int integer long mediumint middleint numeric tinyint real serial smallint date datetime time timestamp year"

regex_SET'28'3f'3d'5cs'2a'5c'28'29 = compileRegex False "SET(?=\\s*\\()"
regex_'5cbCHARACTER_SET'5cb = compileRegex False "\\bCHARACTER SET\\b"
regex_'25'28'3f'3abulk'5f'28'3f'3aexceptions'7crowcount'29'7cfound'7cisopen'7cnotfound'7crowcount'7crowtype'7ctype'29'5cb = compileRegex False "%(?:bulk_(?:exceptions|rowcount)|found|isopen|notfound|rowcount|rowtype|type)\\b"
regex_rem'5cb = compileRegex False "rem\\b"
regex_'2f'24 = compileRegex False "/$"
regex_'40'40'3f'5b'5e'40_'5ct'5cr'5cn'5d = compileRegex False "@@?[^@ \\t\\r\\n]"

parseRules ("SQL (MySQL)","Normal") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_SET'28'3f'3d'5cs'2a'5c'28'29 >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'5cbCHARACTER_SET'5cb >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t(),%&;?[]{}\\" list_keywords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t(),%&;?[]{}\\" list_operators >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t(),%&;?[]{}\\" list_functions >>= withAttribute FunctionTok))
   <|>
   ((pKeyword " \n\t(),%&;?[]{}\\" list_types >>= withAttribute DataTypeTok))
   <|>
   ((pDetectIdentifier >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'25'28'3f'3abulk'5f'28'3f'3aexceptions'7crowcount'29'7cfound'7cisopen'7cnotfound'7crowcount'7crowtype'7ctype'29'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pHlCHex >>= withAttribute BaseNTok))
   <|>
   ((pFloat >>= withAttribute FloatTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("SQL (MySQL)","String"))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("SQL (MySQL)","String2"))
   <|>
   ((pDetectChar False '`' >>= withAttribute StringTok) >>~ pushContext ("SQL (MySQL)","Name"))
   <|>
   ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("SQL (MySQL)","SingleLineComment"))
   <|>
   ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("SQL (MySQL)","SingleLineComment"))
   <|>
   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("SQL (MySQL)","MultiLineComment"))
   <|>
   ((pColumn 0 >> pRegExpr regex_rem'5cb >>= withAttribute CommentTok) >>~ pushContext ("SQL (MySQL)","SingleLineComment"))
   <|>
   ((pAnyChar ":&" >>= withAttribute CharTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'2f'24 >>= withAttribute CharTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'40'40'3f'5b'5e'40_'5ct'5cr'5cn'5d >>= withAttribute OtherTok) >>~ pushContext ("SQL (MySQL)","Preprocessor"))
   <|>
   ((pDetectChar False '.' >>= withAttribute CharTok))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (MySQL)","Normal")) >> pDefault >>= withAttribute NormalTok))

parseRules ("SQL (MySQL)","String") =
  (((pLineContinue >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '&' >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (MySQL)","String")) >> pDefault >>= withAttribute StringTok))

parseRules ("SQL (MySQL)","String2") =
  (((pLineContinue >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '&' >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (MySQL)","String2")) >> pDefault >>= withAttribute StringTok))

parseRules ("SQL (MySQL)","Name") =
  (((pLineContinue >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '`' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (MySQL)","Name")) >> pDefault >>= withAttribute StringTok))

parseRules ("SQL (MySQL)","SingleLineComment") =
  (currentContext >>= \x -> guard (x == ("SQL (MySQL)","SingleLineComment")) >> pDefault >>= withAttribute CommentTok)

parseRules ("SQL (MySQL)","MultiLineComment") =
  (((pLineContinue >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (MySQL)","MultiLineComment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("SQL (MySQL)","Preprocessor") =
  (currentContext >>= \x -> guard (x == ("SQL (MySQL)","Preprocessor")) >> pDefault >>= withAttribute OtherTok)


parseRules x = parseRules ("SQL (MySQL)","Normal") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/SqlPostgresql.hs0000644000000000000000000003336012633103275024164 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file sql-postgresql.xml, version 1.13, by Shane Wright (me@shanewright.co.uk) -}

module Text.Highlighting.Kate.Syntax.SqlPostgresql
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "SQL (PostgreSQL)"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.sql;*.SQL;*.ddl;*.DDL"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("SQL (PostgreSQL)","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("SQL (PostgreSQL)","Normal") -> return ()
      ("SQL (PostgreSQL)","CreateFunction") -> return ()
      ("SQL (PostgreSQL)","FunctionBody") -> return ()
      ("SQL (PostgreSQL)","MultiLineString") -> return ()
      ("SQL (PostgreSQL)","String") -> return ()
      ("SQL (PostgreSQL)","SingleLineComment") -> (popContext) >> pEndLine
      ("SQL (PostgreSQL)","MultiLineComment") -> return ()
      ("SQL (PostgreSQL)","Identifier") -> (popContext) >> pEndLine
      ("SQL (PostgreSQL)","Preprocessor") -> (popContext) >> pEndLine
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywords = Set.fromList $ words $ "abort access action add admin after aggregate alias all allocate alter analyse analyze any are as asc asensitive assertion assignment asymmetric at atomic authorization backward before begin between binary both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name chain characteristics character_length character_set_catalog character_set_name character_set_schema char_length check checked checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema column column_name command_function command_function_code comment commit committed completion condition_number connect connection connection_name constraints constraint constraint_catalog constraint_name constraint_schema constructor contains continue convert copy corresponding count create createdb createuser cross cube current current_date current_path current_role current_time current_timestamp current_user cursor cursor_name cycle data database date datetime_interval_code datetime_interval_precision day deallocate dec decimal declare default deferrable deferred defined definer delete delimiters depth deref desc describe descriptor destroy destructor deterministic diagnostics dictionary disconnect dispatch distinct do domain double drop dynamic dynamic_function dynamic_function_code each else encoding encrypted end end-exec equals escape every except exception exclusive exec execute existing exists explain external false fetch final first for force foreign fortran forward found free freeze from full function g general generated get global go goto grant granted group grouping handler having hierarchy hold host hour identity ignore ilike immediate immutable implementation in increment index indicator infix inherits initialize initially inner inout input insensitive insert instance instantiable instead intersect interval into invoker is isnull isolation iterate join k key key_member key_type lancompiler language large last lateral leading left length less level like limit listen load local localtime localtimestamp location locator lock lower m map match max maxvalue message_length message_octet_length message_text method min minute minvalue mod mode modifies modify module month more move mumps name names national natural new next no nocreatedb nocreateuser none not nothing notify notnull null nullable nullif number numeric object octet_length of off offset oids old on only open operation operator option options order ordinality out outer output overlaps overlay overriding owner pad parameter parameters parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema partial pascal password path pendant pli position postfix precision prefix preorder prepare preserve primary prior privileges procedural procedure public read reads real recursive ref references referencing reindex relative rename repeatable replace reset restrict result return returned_length returned_octet_length returned_sqlstate returns revoke right role rollback rollup routine routine_catalog routine_name routine_schema row rows row_count rule savepoint scale schema schema_name scope scroll search second section security select self sensitive sequence serializable server_name session session_user set setof sets share show similar simple size some source space specific specifictype specific_name sql sqlcode sqlerror sqlexception sqlstate sqlwarning stable start state statement static statistics stdin stdout structure style subclass_origin sublist substring sum symmetric sysid system system_user table table_name temp template temporary terminate than then timezone_hour timezone_minute to toast trailing transaction transactions_committed transactions_rolled_back transaction_active transform transforms translate translation treat trigger trigger_catalog trigger_name trigger_schema trim true truncate trusted type uncommitted under unencrypted union unique unknown unlisten unnamed unnest until update upper usage user user_defined_type_catalog user_defined_type_name user_defined_type_schema using vacuum valid value values variable varying verbose version view volatile when whenever where while with without work write year zone"
list_operators = Set.fromList $ words $ "+ - * / || |/ ||/ ! !! @ & | # << >> % ^ = != <> < <= > >= ~ ~* !~ !~* ^= := => ** .. and or not ## && &< &> <-> <^ >^ ?# ?- ?-| @-@ ?| ?|| @@ ~= <<= >>="
list_functions = Set.fromList $ words $ "abs cbrt ceil degrees exp floor ln log mod pi pow radians random round sign sqrt trunc acos asin atan atan2 cos cot sin tan bit_length char_length character_length lower octet_length position substring trim upper ascii btrim chr convert initcap length lpad ltrim pg_client_encoding repeat rpad rtrim strpos substr to_ascii translate encode decode to_char to_date to_timestamp to_number age date_part date_trunc extract isfinite now timeofday timestamp extract area box center diameter height isclosed isopen pclose npoint popen radius width box circle lseg path point polygon broadcast host masklen set_masklen netmask network abbrev nextval currval setval coalesce nullif has_table_privilege pg_get_viewdef pg_get_ruledef pg_get_indexdef pg_get_userbyid obj_description col_description avg count max min stddev sum variance"
list_types = Set.fromList $ words $ "bigint bigserial bit bit varying bool boolean box bytea char character character varying cidr circle date decimal double precision float8 inet int int2 int4 int8 integer interval line lseg lztext macaddr money numeric oid path point polygon real serial serial8 smallint text time timestamp timestamp with timezone timestamptz timetz varbit varchar"

regex_'25bulk'5fexceptions'5cb = compileRegex False "%bulk_exceptions\\b"
regex_'25bulk'5frowcount'5cb = compileRegex False "%bulk_rowcount\\b"
regex_'25found'5cb = compileRegex False "%found\\b"
regex_'25isopen'5cb = compileRegex False "%isopen\\b"
regex_'25notfound'5cb = compileRegex False "%notfound\\b"
regex_'25rowcount'5cb = compileRegex False "%rowcount\\b"
regex_'25rowtype'5cb = compileRegex False "%rowtype\\b"
regex_'25type'5cb = compileRegex False "%type\\b"
regex_rem'5cb = compileRegex False "rem\\b"
regex_'2f'24 = compileRegex False "/$"
regex_'40'40'3f'5b'5e'40_'5ct'5cr'5cn'5d = compileRegex False "@@?[^@ \\t\\r\\n]"

parseRules ("SQL (PostgreSQL)","Normal") =
  (((pString False "CREATE FUNCTION" >>= withAttribute KeywordTok) >>~ pushContext ("SQL (PostgreSQL)","CreateFunction"))
   <|>
   ((pKeyword " \n\t(),;[]{}\\" list_keywords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t(),;[]{}\\" list_operators >>= withAttribute NormalTok))
   <|>
   ((pKeyword " \n\t(),;[]{}\\" list_functions >>= withAttribute FunctionTok))
   <|>
   ((pKeyword " \n\t(),;[]{}\\" list_types >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'25bulk'5fexceptions'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'25bulk'5frowcount'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'25found'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'25isopen'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'25notfound'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'25rowcount'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'25rowtype'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'25type'5cb >>= withAttribute DataTypeTok))
   <|>
   ((pFloat >>= withAttribute FloatTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("SQL (PostgreSQL)","String"))
   <|>
   ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("SQL (PostgreSQL)","SingleLineComment"))
   <|>
   ((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("SQL (PostgreSQL)","SingleLineComment"))
   <|>
   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("SQL (PostgreSQL)","MultiLineComment"))
   <|>
   ((pColumn 0 >> pRegExpr regex_rem'5cb >>= withAttribute CommentTok) >>~ pushContext ("SQL (PostgreSQL)","SingleLineComment"))
   <|>
   ((pDetectChar False '"' >>= withAttribute CommentTok) >>~ pushContext ("SQL (PostgreSQL)","Identifier"))
   <|>
   ((pAnyChar ":&" >>= withAttribute CharTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'2f'24 >>= withAttribute CharTok))
   <|>
   ((pColumn 0 >> pRegExpr regex_'40'40'3f'5b'5e'40_'5ct'5cr'5cn'5d >>= withAttribute OtherTok) >>~ pushContext ("SQL (PostgreSQL)","Preprocessor"))
   <|>
   ((pRegExprDynamic "\\$([^\\$\\n\\r]*)\\$" >>= withAttribute NormalTok) >>~ pushContext ("SQL (PostgreSQL)","MultiLineString"))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","Normal")) >> pDefault >>= withAttribute NormalTok))

parseRules ("SQL (PostgreSQL)","CreateFunction") =
  (((pRegExprDynamic "\\$([^\\$\\n\\r]*)\\$" >>= withAttribute FunctionTok) >>~ pushContext ("SQL (PostgreSQL)","FunctionBody"))
   <|>
   ((parseRules ("SQL (PostgreSQL)","Normal")))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","CreateFunction")) >> pDefault >>= withAttribute NormalTok))

parseRules ("SQL (PostgreSQL)","FunctionBody") =
  (((pRegExprDynamic "\\$%1\\$" >>= withAttribute FunctionTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("SQL (PostgreSQL)","Normal")))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","FunctionBody")) >> pDefault >>= withAttribute NormalTok))

parseRules ("SQL (PostgreSQL)","MultiLineString") =
  (((pRegExprDynamic "\\$%1\\$" >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","MultiLineString")) >> pDefault >>= withAttribute StringTok))

parseRules ("SQL (PostgreSQL)","String") =
  (((pLineContinue >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '&' >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","String")) >> pDefault >>= withAttribute StringTok))

parseRules ("SQL (PostgreSQL)","SingleLineComment") =
  (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","SingleLineComment")) >> pDefault >>= withAttribute CommentTok)

parseRules ("SQL (PostgreSQL)","MultiLineComment") =
  (((pLineContinue >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","MultiLineComment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("SQL (PostgreSQL)","Identifier") =
  (((pDetectChar False '"' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","Identifier")) >> pDefault >>= withAttribute OtherTok))

parseRules ("SQL (PostgreSQL)","Preprocessor") =
  (currentContext >>= \x -> guard (x == ("SQL (PostgreSQL)","Preprocessor")) >> pDefault >>= withAttribute OtherTok)


parseRules x = parseRules ("SQL (PostgreSQL)","Normal") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Tcl.hs0000644000000000000000000002202512633103275022057 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file tcl.xml, version 1.11, by  -}

module Text.Highlighting.Kate.Syntax.Tcl
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "Tcl/Tk"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.tcl;*.tk"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("Tcl/Tk","Base")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Tcl/Tk","Base") -> return ()
      ("Tcl/Tk","String") -> return ()
      ("Tcl/Tk","Comment") -> (popContext) >> pEndLine
      ("Tcl/Tk","New command line") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywords = Set.fromList $ words $ "after append AppleScript argv argc array auto_execk auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_path auto_qualify auto_reset beep bell binary bind bindtags bgerror break button canvas case catch cd chan checkbutton clipboard clock close combobox concat console continue dde destroy dict else elseif encoding entry env eof error errorCode errorInfo eval event exec exit expr fblocked fconfigure fcopy file fileevent flush focus font for foreach format frame gets glob global grab grid history if image incr info interp join label labelframe lappend lassign lindex linsert list listbox llength load lower lrange lremove lrepeat lreplace lreverse lsearch lset lsort menu menubutton message namespace notebook open option OptProc pack package panedwindow parray pid place pkg_mkIndex proc progressbar puts pwd radiobutton raise read regexp registry regsub rename resource return scale scan scrollbar seek selection send separator set sizegrip socket source spinbox split string style subst switch tclLog tcl_endOfWord tcl_findLibrary tcl_library tcl_patchLevel tcl_platform tcl_precision tcl_rcFileName tcl_rcRsrcName tcl_startOfNextWord tcl_startOfPreviousWord tcl_traceCompile tcl_traceExec tcl_version tcl_wordBreakAfter tcl_wordBreakBefore tell text time tk tkTabToWindow tkwait tk_chooseColor tk_chooseDirectory tk_focusFollowMouse tk_focusNext tk_focusPrev tk_getOpenFile tk_getSaveFile tk_library tk_menuSetFocus tk_messageBox tk_optionMenu tk_patchLevel tk_popup tk_strictMotif tk_textCopy tk_textCut tk_textPaste tk_version toplevel trace traverseTo treeview unknown unload unset update uplevel upvar variable vwait while winfo wm"
list_keywords'2dopt = Set.fromList $ words $ "add args atime attributes body bytelength cancel channels clicks cmdcount commands compare complete convertfrom convertto copy default delete dirname equal executable exists extension first forget format functions globals hostname idle ifneeded index info is isdirectory isfile join last length level library link loaded locals lstat map match mkdir mtime nameofexecutable names nativename normalize number owned patchlevel pathtype present procs provide range readable readlink remove rename repeat replace require rootname scan script seconds separator sharedlibextension size split stat system tail tclversion tolower totitle toupper trim trimleft trimright type unknown variable vars vcompare vdelete versions vinfo volumes vsatisfies wordend wordstart writable activate actual addtag append appname aspect atom atomname bbox bind broadcast canvasx canvasy caret cells cget children class clear client clone colormapfull colormapwindows command configure containing coords create current curselection dchars debug deiconify delta depth deselect dlineinfo dtag dump edit entrycget entryconfigure families find flash focus focusmodel fpixels fraction frame generate geometry get gettags grid group handle height hide iconbitmap iconify iconmask iconname iconposition iconwindow icursor id identify image insert interps inuse invoke ismapped itemcget itemconfigure keys lower manager mark maxsize measure metrics minsize move name nearest overrideredirect own panecget paneconfigure panes parent pathname pixels pointerx pointerxy pointery positionfrom post postcascade postscript protocol proxy raise release reqheight reqwidth resizable rgb rootx rooty scale scaling screen screencells screendepth screenheight screenmmheight screenmmwidth screenvisual screenwidth search see select selection server set show sizefrom stackorder state status tag title toplevel transient types unpost useinputmethods validate values viewable visual visualid visualsavailable vrootheight vrootwidth vrootx vrooty width window windowingsystem withdraw x xview y"

regex_'23'5cs'2aBEGIN'2e'2a'24 = compileRegex True "#\\s*BEGIN.*$"
regex_'23'5cs'2aEND'2e'2a'24 = compileRegex True "#\\s*END.*$"
regex_'5c'5c'2e = compileRegex True "\\\\."
regex_'5cs'2d'5cw'2b = compileRegex True "\\s-\\w+"
regex_'5c'24'5c'7b'28'5b'5e'5c'7d'5d'7c'5c'5c'5c'7d'29'2b'5c'7d = compileRegex True "\\$\\{([^\\}]|\\\\\\})+\\}"
regex_'5c'24'28'3a'3a'7c'5cw'29'2b = compileRegex True "\\$(::|\\w)+"
regex_'22'7b2'7d = compileRegex True "\"{2}"
regex_'22 = compileRegex True "\""
regex_'5cs'2a'23 = compileRegex True "\\s*#"
regex_'2e = compileRegex True "."

parseRules ("Tcl/Tk","Base") =
  (((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aBEGIN'2e'2a'24 >>= withAttribute RegionMarkerTok))
   <|>
   ((pFirstNonSpace >> pRegExpr regex_'23'5cs'2aEND'2e'2a'24 >>= withAttribute RegionMarkerTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords'2dopt >>= withAttribute OtherTok))
   <|>
   ((pFloat >>= withAttribute FloatTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   ((pRegExpr regex_'5c'5c'2e >>= withAttribute CharTok))
   <|>
   ((pRegExpr regex_'5cs'2d'5cw'2b >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'5c'24'5c'7b'28'5b'5e'5c'7d'5d'7c'5c'5c'5c'7d'29'2b'5c'7d >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'5c'24'28'3a'3a'7c'5cw'29'2b >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'22'7b2'7d >>= withAttribute StringTok))
   <|>
   ((pRegExpr regex_'22 >>= withAttribute StringTok) >>~ pushContext ("Tcl/Tk","String"))
   <|>
   ((pDetectChar False ';' >>= withAttribute NormalTok) >>~ pushContext ("Tcl/Tk","New command line"))
   <|>
   ((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Tcl/Tk","Comment"))
   <|>
   ((pDetectChar False '{' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '}' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '[' >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False ']' >>= withAttribute KeywordTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcl/Tk","Base")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcl/Tk","String") =
  (((pRegExpr regex_'5c'5c'2e >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pDetectChar False '$' >>= withAttribute DataTypeTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcl/Tk","String")) >> pDefault >>= withAttribute StringTok))

parseRules ("Tcl/Tk","Comment") =
  (currentContext >>= \x -> guard (x == ("Tcl/Tk","Comment")) >> pDefault >>= withAttribute CommentTok)

parseRules ("Tcl/Tk","New command line") =
  (((pRegExpr regex_'5cs'2a'23 >>= withAttribute CommentTok) >>~ pushContext ("Tcl/Tk","Comment"))
   <|>
   ((lookAhead (pRegExpr regex_'2e) >> (popContext) >> currentContext >>= parseRules))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcl/Tk","New command line")) >> pDefault >>= withAttribute NormalTok))


parseRules x = parseRules ("Tcl/Tk","Base") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Tcsh.hs0000644000000000000000000011063612633103275022244 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file tcsh.xml, version 0.2, by Matthew Woehlke (mw_triad@users.sourceforge.net) -}

module Text.Highlighting.Kate.Syntax.Tcsh
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "Tcsh"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.csh;*.tcsh;csh.cshrc;csh.login;.tcshrc;.cshrc;.login"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("Tcsh","Start")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Tcsh","Start") -> return ()
      ("Tcsh","FindAll") -> return ()
      ("Tcsh","FindMost") -> return ()
      ("Tcsh","FindComments") -> (popContext) >> pEndLine
      ("Tcsh","Comment") -> (popContext) >> pEndLine
      ("Tcsh","FindCommentsParen") -> (popContext) >> pEndLine
      ("Tcsh","CommentParen") -> (popContext) >> pEndLine
      ("Tcsh","FindCommentsBackq") -> (popContext) >> pEndLine
      ("Tcsh","CommentBackq") -> (popContext) >> pEndLine
      ("Tcsh","FindCommands") -> return ()
      ("Tcsh","FindOthers") -> return ()
      ("Tcsh","FindStrings") -> return ()
      ("Tcsh","FindSubstitutions") -> return ()
      ("Tcsh","FindTests") -> return ()
      ("Tcsh","ExprDblParen") -> return ()
      ("Tcsh","ExprDblParenSubst") -> return ()
      ("Tcsh","ExprSubParen") -> return ()
      ("Tcsh","ExprBracket") -> return ()
      ("Tcsh","ExprDblBracket") -> return ()
      ("Tcsh","Group") -> return ()
      ("Tcsh","SubShell") -> return ()
      ("Tcsh","Assign") -> (popContext) >> pEndLine
      ("Tcsh","AssignArray") -> (popContext) >> pEndLine
      ("Tcsh","AssignSubscr") -> (popContext) >> pEndLine
      ("Tcsh","Subscript") -> return ()
      ("Tcsh","FunctionDef") -> (popContext) >> pEndLine
      ("Tcsh","CmdSetEnv") -> (popContext) >> pEndLine
      ("Tcsh","VarName") -> (popContext) >> pEndLine
      ("Tcsh","ProcessSubst") -> return ()
      ("Tcsh","StringSQ") -> return ()
      ("Tcsh","StringDQ") -> return ()
      ("Tcsh","StringEsc") -> return ()
      ("Tcsh","VarBrace") -> return ()
      ("Tcsh","SubstFile") -> return ()
      ("Tcsh","SubstCommand") -> return ()
      ("Tcsh","SubstBackq") -> return ()
      ("Tcsh","Switch") -> return ()
      ("Tcsh","SwitchCase") -> return ()
      ("Tcsh","SwitchDefault") -> return ()
      ("Tcsh","SwitchExpr") -> return ()
      ("Tcsh","HereDoc") -> return ()
      ("Tcsh","HereDocRemainder") -> (popContext) >> pEndLine
      ("Tcsh","HereDocQ") -> return ()
      ("Tcsh","HereDocNQ") -> return ()
      ("Tcsh","HereDocIQ") -> return ()
      ("Tcsh","HereDocINQ") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywords = Set.fromList $ words $ "else for function in select until while . then"
list_builtins = Set.fromList $ words $ ": alias alloc bg bindkey break builtins bye cd chdir complete continue dirs echo echotc eval exec exit fg filetest glob hashstat history hup inlib jobs kill limit log login logout ls-F migrate newgrp nice nohup notify onintr popd printenv pushd rehash repeat sched settc setty shift source stop suspend telltc time umask unalias uncomplete unhash unlimit ver wait watchlog where which"
list_builtins'5fvar = Set.fromList $ words $ "unset unsetenv"
list_unixcommands = Set.fromList $ words $ "arch awk bash bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep bzip2 bzip2recover bzless bzmore cat chattr chgrp chmod chown chvt cp date dd deallocvt df dir dircolors dmesg dnsdomainname domainname du dumpkeys echo ed egrep false fgconsole fgrep fuser gawk getkeycodes gocr grep groff groups gunzip gzexe gzip hostname igawk install kbd_mode kbdrate killall last lastb link ln loadkeys loadunimap login ls lsattr lsmod lsmod.old mapscrn mesg mkdir mkfifo mknod mktemp more mount mv nano netstat nisdomainname nroff openvt pgawk pidof ping ps pstree pwd rbash readlink red resizecons rm rmdir run-parts sash sed setfont setkeycodes setleds setmetamode setserial sh showkey shred sleep ssed stat stty su sync tar tempfile touch troff true umount uname unicode_start unicode_stop unlink utmpdump uuidgen vdir wall wc ypdomainname zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew zsh aclocal aconnect aplay apm apmsleep apropos ar arecord as as86 autoconf autoheader automake awk basename bc bison c++ cal cat cc cdda2wav cdparanoia cdrdao cd-read cdrecord chfn chgrp chmod chown chroot chsh clear cmp co col comm cp cpio cpp cut dc dd df diff diff3 dir dircolors directomatic dirname du env expr fbset file find flex flex++ fmt free ftp funzip fuser g++ gawk gc gcc gdb getent getopt gettext gettextize gimp gimp-remote gimptool gmake gs head hexdump id install join kill killall ld ld86 ldd less lex ln locate lockfile logname lp lpr ls lynx m4 make man mkdir mknod msgfmt mv namei nasm nawk nice nl nm nm86 nmap nohup nop od passwd patch pcregrep pcretest perl perror pidof pr printf procmail prune ps2ascii ps2epsi ps2frag ps2pdf ps2ps psbook psmerge psnup psresize psselect pstops rcs rev rm scp sed seq setterm shred size size86 skill slogin snice sort sox split ssh ssh-add ssh-agent ssh-keygen ssh-keyscan stat strings strip sudo suidperl sum tac tail tee test tr uniq unlink unzip updatedb updmap uptime users vmstat w wc wget whatis whereis which who whoami write xargs yacc yes zip zsoelim dcop kdialog kfile xhost xmodmap xset"

regex_'5b'5cs'3b'5d'28'3f'3d'23'29 = compileRegex True "[\\s;](?=#)"
regex_'5b'5e'29'5d'28'3f'3d'5c'29'29 = compileRegex True "[^)](?=\\))"
regex_'5b'5e'60'5d'28'3f'3d'60'29 = compileRegex True "[^`](?=`)"
regex_'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\[\\[(?=($|\\s))"
regex_'5cs'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\s\\[\\[(?=($|\\s))"
regex_'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\[(?=($|\\s))"
regex_'5cs'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\s\\[(?=($|\\s))"
regex_'5c'7b'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex True "\\{(?=($|\\s))"
regex_'5cbdo'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bdo(?![\\w$+-])"
regex_'5cbdone'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bdone(?![\\w$+-])"
regex_'5cbelse'5cs'2bif'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\belse\\s+if(?![\\w$+-])"
regex_'5cbif'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bif(?![\\w$+-])"
regex_'5cbendif'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bendif(?![\\w$+-])"
regex_'5cbswitch'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex True "\\bswitch(?![\\w$+-])"
regex_'2d'5bA'2dZa'2dz0'2d9'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "-[A-Za-z0-9][A-Za-z0-9_]*"
regex_'2d'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a = compileRegex True "--[a-z][A-Za-z0-9_-]*"
regex_'5cb'40'5cs = compileRegex True "\\b@\\s"
regex_'5cbset'5cs = compileRegex True "\\bset\\s"
regex_'5cbsetenv'5cs = compileRegex True "\\bsetenv\\s"
regex_'5cbfunction'5cb = compileRegex True "\\bfunction\\b"
regex_'28'3c'3c'3f'7c'3e'3e'3f'26'3f'21'3f'29 = compileRegex True "(<>?&?!?)"
regex_'28'5b'7c'26'5d'29'5c1'3f = compileRegex True "([|&])\\1?"
regex_'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'5cs'2a'5c'28'5c'29 = compileRegex True "[A-Za-z_:][A-Za-z0-9_:#%@-]*\\s*\\(\\)"
regex_'5c'5c'5b'3b'22'5c'5c'27'24'60'7b'7d'28'29'7c'26'3c'3e'2a_'5d = compileRegex True "\\\\[;\"\\\\'$`{}()|&<>* ]"
regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 = compileRegex True "([\\w_@.%*?+-]|\\\\ )*(?=/)"
regex_'7e'5cw'2a = compileRegex True "~\\w*"
regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'2f'29'3a'3b'24'60'27'22'5d'7c'24'29'29 = compileRegex True "/([\\w_@.%*?+-]|\\\\ )*(?=([\\s/):;$`'\"]|$))"
regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'5b = compileRegex True "\\$[A-Za-z_][A-Za-z0-9_]*\\["
regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "\\$[A-Za-z_][A-Za-z0-9_]*"
regex_'5c'24'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d = compileRegex True "\\$[*@#?$!_0-9-]"
regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'5c'7d = compileRegex True "\\$\\{[*@#?$!_0-9-]\\}"
regex_'5c'24'5c'7b'23'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'7d = compileRegex True "\\$\\{#[A-Za-z_][A-Za-z0-9_]*\\}"
regex_'5c'24'5c'7b'21'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'2a'3f'5c'7d = compileRegex True "\\$\\{![A-Za-z_][A-Za-z0-9_]*\\*?\\}"
regex_'5c'24'5c'7b'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "\\$\\{[A-Za-z_][A-Za-z0-9_]*"
regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'28'3f'3d'5b'3a'23'25'2f'5d'29 = compileRegex True "\\$\\{[*@#?$!_0-9-](?=[:#%/])"
regex_'5c'5c'5b'60'24'5c'5c'5d = compileRegex True "\\\\[`$\\\\]"
regex_'2d'5brwxXeozsfdlbcpSugktRLDIFNZ'5d'28'3f'3d'5cs'29 = compileRegex True "-[rwxXeozsfdlbcpSugktRLDIFNZ](?=\\s)"
regex_'2d'5bAMCUG'5d'3a'3f'28'3f'3d'5cs'29 = compileRegex True "-[AMCUG]:?(?=\\s)"
regex_'2dP'5b0'2d7'5d'7b'2c3'7d'3a'3f'28'3f'3d'5cs'29 = compileRegex True "-P[0-7]{,3}:?(?=\\s)"
regex_'28'5b'7c'26'3d'3e'3c'5d'29'5c1 = compileRegex True "([|&=><])\\1"
regex_'5b'7c'5e'26'3e'3c'2b'5c'2d'2a'2f'25'21'7e'5d = compileRegex True "[|^&><+\\-*/%!~]"
regex_'28'5b'21'3d'5d'7e'7c'5b'21'3e'3c'5d'3d'29 = compileRegex True "([!=]~|[!><]=)"
regex_'5cs'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 = compileRegex True "\\s\\](?=($|[\\s;|&]))"
regex_'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 = compileRegex True "\\](?=($|[\\s;|&]))"
regex_'5cs'5c'5d'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 = compileRegex True "\\s\\]\\](?=($|[\\s;|&]))"
regex_'5c'5d'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 = compileRegex True "\\]\\](?=($|[\\s;|&]))"
regex_'5b'5cw'3a'2c'2b'5f'2e'2f'2d'5d'2b = compileRegex True "[\\w:,+_./-]+"
regex_'5cs'2b'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'28'5cs'2a'5c'28'5c'29'29'3f = compileRegex True "\\s+[A-Za-z_:][A-Za-z0-9_:#%@-]*(\\s*\\(\\))?"
regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex True "\\b[A-Za-z_][A-Za-z0-9_]*"
regex_'2d'5bA'2dZa'2dz0'2d9'5d'2b = compileRegex True "-[A-Za-z0-9]+"
regex_'5b'5e'5d'7d'29'7c'3b'60'26'3e'3c'5d = compileRegex True "[^]})|;`&><]"
regex_'5c'5c'5b'60'22'5c'5c'24'5cn'5d = compileRegex True "\\\\[`\"\\\\$\\n]"
regex_'5c'5c'5babefnrtv'5c'5c'27'5d = compileRegex True "\\\\[abefnrtv\\\\']"
regex_'5c'5c'28'5b0'2d7'5d'7b1'2c3'7d'7cx'5bA'2dFa'2df0'2d9'5d'7b1'2c2'7d'7cc'2e'29 = compileRegex True "\\\\([0-7]{1,3}|x[A-Fa-f0-9]{1,2}|c.)"
regex_'5cscase'5cb = compileRegex True "\\scase\\b"
regex_'5csdefault'5cb = compileRegex True "\\sdefault\\b"
regex_'5cbendsw'28'3f'3d'24'7c'5b'5cs'3b'29'5d'29 = compileRegex True "\\bendsw(?=$|[\\s;)])"
regex_'5csbreaksw'5cb = compileRegex True "\\sbreaksw\\b"
regex_'28'3c'3c'2d'5cs'2a'22'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'22'29 = compileRegex True "(<<-\\s*\"([|&;()<>\\s]+)\")"
regex_'28'3c'3c'2d'5cs'2a'27'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'27'29 = compileRegex True "(<<-\\s*'([|&;()<>\\s]+)')"
regex_'28'3c'3c'2d'5cs'2a'5c'5c'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29 = compileRegex True "(<<-\\s*\\\\([|&;()<>\\s]+))"
regex_'28'3c'3c'2d'5cs'2a'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29 = compileRegex True "(<<-\\s*([|&;()<>\\s]+))"
regex_'28'3c'3c'5cs'2a'22'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'22'29 = compileRegex True "(<<\\s*\"([|&;()<>\\s]+)\")"
regex_'28'3c'3c'5cs'2a'27'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'27'29 = compileRegex True "(<<\\s*'([|&;()<>\\s]+)')"
regex_'28'3c'3c'5cs'2a'5c'5c'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29 = compileRegex True "(<<\\s*\\\\([|&;()<>\\s]+))"
regex_'28'3c'3c'5cs'2a'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29 = compileRegex True "(<<\\s*([|&;()<>\\s]+))"

parseRules ("Tcsh","Start") =
  (((parseRules ("Tcsh","FindAll")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","Start")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","FindAll") =
  (((parseRules ("Tcsh","FindComments")))
   <|>
   ((parseRules ("Tcsh","FindCommands")))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindAll")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","FindMost") =
  (((parseRules ("Tcsh","FindComments")))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindMost")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","FindComments") =
  (((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Tcsh","Comment"))
   <|>
   ((pRegExpr regex_'5b'5cs'3b'5d'28'3f'3d'23'29 >>= withAttribute NormalTok) >>~ pushContext ("Tcsh","Comment"))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindComments")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","Comment") =
  (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","Comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Tcsh","FindCommentsParen") =
  (((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Tcsh","CommentParen"))
   <|>
   ((pRegExpr regex_'5b'5cs'3b'5d'28'3f'3d'23'29 >>= withAttribute NormalTok) >>~ pushContext ("Tcsh","CommentParen"))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindCommentsParen")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","CommentParen") =
  (((pRegExpr regex_'5b'5e'29'5d'28'3f'3d'5c'29'29 >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","CommentParen")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Tcsh","FindCommentsBackq") =
  (((pFirstNonSpace >> pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Tcsh","CommentBackq"))
   <|>
   ((pRegExpr regex_'5b'5cs'3b'5d'28'3f'3d'23'29 >>= withAttribute NormalTok) >>~ pushContext ("Tcsh","CommentBackq"))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindCommentsBackq")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","CommentBackq") =
  (((pRegExpr regex_'5b'5e'60'5d'28'3f'3d'60'29 >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","CommentBackq")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Tcsh","FindCommands") =
  (((pDetect2Chars False '(' '(' >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","ExprDblParen"))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","ExprDblBracket"))
   <|>
   ((pRegExpr regex_'5cs'5c'5b'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","ExprDblBracket"))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","ExprBracket"))
   <|>
   ((pRegExpr regex_'5cs'5c'5b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","ExprBracket"))
   <|>
   ((pRegExpr regex_'5c'7b'28'3f'3d'28'24'7c'5cs'29'29 >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","Group"))
   <|>
   ((pDetectChar False '(' >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","SubShell"))
   <|>
   ((pRegExpr regex_'5cbdo'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5cbdone'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5cbelse'5cs'2bif'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5cbif'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5cbendif'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5cbswitch'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","Switch"))
   <|>
   ((pRegExpr regex_'2d'5bA'2dZa'2dz0'2d9'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'2d'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'5cb'40'5cs >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5cbset'5cs >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5cbsetenv'5cs >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","CmdSetEnv"))
   <|>
   ((pString False ":()" >>= withAttribute FunctionTok))
   <|>
   ((pRegExpr regex_'5cbfunction'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","FunctionDef"))
   <|>
   ((pKeyword " \n\t()!+,<=>&*/;?|~\\`" list_keywords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t()!+,<=>&*/;?|~\\`" list_builtins >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t()!+,<=>&*/;?|~\\`" list_unixcommands >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t()!+,<=>&*/;?|~\\`" list_builtins'5fvar >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","VarName"))
   <|>
   ((pRegExpr regex_'28'3c'3c'3f'7c'3e'3e'3f'26'3f'21'3f'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5b'7c'26'5d'29'5c1'3f >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'5cs'2a'5c'28'5c'29 >>= withAttribute FunctionTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindCommands")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","FindOthers") =
  (((pRegExpr regex_'5c'5c'5b'3b'22'5c'5c'27'24'60'7b'7d'28'29'7c'26'3c'3e'2a_'5d >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'7e'5cw'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'2f'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'28'5b'5cs'2f'29'3a'3b'24'60'27'22'5d'7c'24'29'29 >>= withAttribute NormalTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindOthers")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","FindStrings") =
  (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Tcsh","StringSQ"))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Tcsh","StringDQ"))
   <|>
   ((pDetect2Chars False '$' '\'' >>= withAttribute StringTok) >>~ pushContext ("Tcsh","StringEsc"))
   <|>
   ((pDetect2Chars False '$' '"' >>= withAttribute StringTok) >>~ pushContext ("Tcsh","StringDQ"))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindStrings")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","FindSubstitutions") =
  (((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'5b >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Subscript"))
   <|>
   ((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'5c'24'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'5c'7d >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'5c'24'5c'7b'23'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'7d >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'5c'24'5c'7b'21'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'2a'3f'5c'7d >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'5c'24'5c'7b'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","VarBrace"))
   <|>
   ((pRegExpr regex_'5c'24'5c'7b'5b'2a'40'23'3f'24'21'5f0'2d9'2d'5d'28'3f'3d'5b'3a'23'25'2f'5d'29 >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","VarBrace"))
   <|>
   ((pString False "$((" >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","ExprDblParenSubst"))
   <|>
   ((pDetectChar False '`' >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","SubstBackq"))
   <|>
   ((pRegExpr regex_'5c'5c'5b'60'24'5c'5c'5d >>= withAttribute DataTypeTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindSubstitutions")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","FindTests") =
  (((pRegExpr regex_'2d'5brwxXeozsfdlbcpSugktRLDIFNZ'5d'28'3f'3d'5cs'29 >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'2d'5bAMCUG'5d'3a'3f'28'3f'3d'5cs'29 >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'2dP'5b0'2d7'5d'7b'2c3'7d'3a'3f'28'3f'3d'5cs'29 >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'28'5b'7c'26'3d'3e'3c'5d'29'5c1 >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'5b'7c'5e'26'3e'3c'2b'5c'2d'2a'2f'25'21'7e'5d >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'28'5b'21'3d'5d'7e'7c'5b'21'3e'3c'5d'3d'29 >>= withAttribute OtherTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","FindTests")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","ExprDblParen") =
  (((pDetect2Chars False ')' ')' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Tcsh","ExprSubParen"))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","ExprDblParen")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","ExprDblParenSubst") =
  (((pDetect2Chars False ')' ')' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Tcsh","ExprSubParen"))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","ExprDblParenSubst")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","ExprSubParen") =
  (((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Tcsh","ExprSubParen"))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","ExprSubParen")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","ExprBracket") =
  (((pRegExpr regex_'5cs'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Tcsh","ExprSubParen"))
   <|>
   ((parseRules ("Tcsh","FindTests")))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","ExprBracket")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","ExprDblBracket") =
  (((pRegExpr regex_'5cs'5c'5d'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((pColumn 0 >> pRegExpr regex_'5c'5d'5c'5d'28'3f'3d'28'24'7c'5b'5cs'3b'7c'26'5d'29'29 >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Tcsh","ExprSubParen"))
   <|>
   ((parseRules ("Tcsh","FindTests")))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","ExprDblBracket")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","Group") =
  (((pDetectChar False '}' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("Tcsh","FindAll")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","Group")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","SubShell") =
  (((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("Tcsh","FindAll")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","SubShell")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","Assign") =
  (((pDetectChar False '(' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","AssignArray"))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   ((pRegExpr regex_'5b'5cw'3a'2c'2b'5f'2e'2f'2d'5d'2b >>= withAttribute NormalTok))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Tcsh","AssignArray") =
  (((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Subscript"))
   <|>
   ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Assign"))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","AssignArray")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","AssignSubscr") =
  (((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Subscript"))
   <|>
   ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Assign"))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Tcsh","Subscript") =
  (((pDetectChar False ']' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","Subscript")) >> pDefault >>= withAttribute OtherTok))

parseRules ("Tcsh","FunctionDef") =
  (((pRegExpr regex_'5cs'2b'5bA'2dZa'2dz'5f'3a'5d'5bA'2dZa'2dz0'2d9'5f'3a'23'25'40'2d'5d'2a'28'5cs'2a'5c'28'5c'29'29'3f >>= withAttribute FunctionTok) >>~ (popContext))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Tcsh","CmdSetEnv") =
  (((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   ((pDetectChar False ' ' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Assign"))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Tcsh","VarName") =
  (((pRegExpr regex_'2d'5bA'2dZa'2dz0'2d9'5d'2b >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'2d'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok))
   <|>
   ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Subscript"))
   <|>
   ((pDetectChar False '=' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Assign"))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   ((pRegExpr regex_'5b'5e'5d'7d'29'7c'3b'60'26'3e'3c'5d >>= withAttribute NormalTok))
   <|>
   ((popContext) >> currentContext >>= parseRules))

parseRules ("Tcsh","ProcessSubst") =
  (((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("Tcsh","FindCommentsParen")))
   <|>
   ((parseRules ("Tcsh","FindCommands")))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","ProcessSubst")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","StringSQ") =
  (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","StringSQ")) >> pDefault >>= withAttribute StringTok))

parseRules ("Tcsh","StringDQ") =
  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'5c'5c'5b'60'22'5c'5c'24'5cn'5d >>= withAttribute DataTypeTok))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","StringDQ")) >> pDefault >>= withAttribute StringTok))

parseRules ("Tcsh","StringEsc") =
  (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'5c'5c'5babefnrtv'5c'5c'27'5d >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'5c'5c'28'5b0'2d7'5d'7b1'2c3'7d'7cx'5bA'2dFa'2df0'2d9'5d'7b1'2c2'7d'7cc'2e'29 >>= withAttribute DataTypeTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","StringEsc")) >> pDefault >>= withAttribute StringTok))

parseRules ("Tcsh","VarBrace") =
  (((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   ((pDetectChar False '[' >>= withAttribute OtherTok) >>~ pushContext ("Tcsh","Subscript"))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","VarBrace")) >> pDefault >>= withAttribute OtherTok))

parseRules ("Tcsh","SubstFile") =
  (((pDetectChar False ')' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("Tcsh","FindCommentsParen")))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","SubstFile")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","SubstCommand") =
  (((pDetectChar False ')' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   ((parseRules ("Tcsh","FindCommentsParen")))
   <|>
   ((parseRules ("Tcsh","FindCommands")))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","SubstCommand")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","SubstBackq") =
  (((pDetectChar False '`' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("Tcsh","FindCommentsBackq")))
   <|>
   ((parseRules ("Tcsh","FindCommands")))
   <|>
   ((parseRules ("Tcsh","FindStrings")))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   ((parseRules ("Tcsh","FindOthers")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","SubstBackq")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","Switch") =
  (((pRegExpr regex_'5cscase'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","SwitchCase"))
   <|>
   ((pRegExpr regex_'5csdefault'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","SwitchDefault"))
   <|>
   ((pRegExpr regex_'5cbendsw'28'3f'3d'24'7c'5b'5cs'3b'29'5d'29 >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","Switch")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","SwitchCase") =
  (((pDetectChar False ':' >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","SwitchExpr"))
   <|>
   ((parseRules ("Tcsh","FindMost")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","SwitchCase")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","SwitchDefault") =
  (((pDetectChar False ':' >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","SwitchExpr"))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","SwitchDefault")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","SwitchExpr") =
  (((pRegExpr regex_'5csbreaksw'5cb >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((lookAhead (pRegExpr regex_'5cscase'5cb) >> (popContext >> popContext) >> currentContext >>= parseRules))
   <|>
   ((parseRules ("Tcsh","FindAll")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","SwitchExpr")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","HereDoc") =
  (((lookAhead (pRegExpr regex_'28'3c'3c'2d'5cs'2a'22'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'22'29) >> pushContext ("Tcsh","HereDocIQ") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'28'3c'3c'2d'5cs'2a'27'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'27'29) >> pushContext ("Tcsh","HereDocIQ") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'28'3c'3c'2d'5cs'2a'5c'5c'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Tcsh","HereDocIQ") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'28'3c'3c'2d'5cs'2a'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Tcsh","HereDocINQ") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'22'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'22'29) >> pushContext ("Tcsh","HereDocQ") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'27'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'27'29) >> pushContext ("Tcsh","HereDocQ") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'5c'5c'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Tcsh","HereDocQ") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExpr regex_'28'3c'3c'5cs'2a'28'5b'7c'26'3b'28'29'3c'3e'5cs'5d'2b'29'29) >> pushContext ("Tcsh","HereDocNQ") >> currentContext >>= parseRules))
   <|>
   ((pString False "<<" >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","HereDoc")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","HereDocRemainder") =
  (((parseRules ("Tcsh","FindAll")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","HereDocRemainder")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","HereDocQ") =
  (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","HereDocRemainder"))
   <|>
   ((pColumn 0 >> pRegExprDynamic "%2[\\s;]*$" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","HereDocQ")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","HereDocNQ") =
  (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","HereDocRemainder"))
   <|>
   ((pColumn 0 >> pRegExprDynamic "%2[\\s;]*$" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","HereDocNQ")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","HereDocIQ") =
  (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","HereDocRemainder"))
   <|>
   ((pColumn 0 >> pRegExprDynamic "\\s*%2[\\s;]*$" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","HereDocIQ")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Tcsh","HereDocINQ") =
  (((pRegExprDynamic "%1" >>= withAttribute KeywordTok) >>~ pushContext ("Tcsh","HereDocRemainder"))
   <|>
   ((pColumn 0 >> pRegExprDynamic "\\s*%2[\\s;]*$" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("Tcsh","FindSubstitutions")))
   <|>
   (currentContext >>= \x -> guard (x == ("Tcsh","HereDocINQ")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing

parseRules x = parseRules ("Tcsh","Start") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Texinfo.hs0000644000000000000000000001222212633103275022747 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file texinfo.xml, version 0.2, by Daniel Franke (franke.daniel@gmail.com) -}

module Text.Highlighting.Kate.Syntax.Texinfo
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)

-- | Full name of language.
syntaxName :: String
syntaxName = "Texinfo"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.texi"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("Texinfo","Normal Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Texinfo","Normal Text") -> return ()
      ("Texinfo","singleLineComment") -> (popContext) >> pEndLine
      ("Texinfo","multiLineComment") -> return ()
      ("Texinfo","nodeFolding") -> return ()
      ("Texinfo","folding") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)


regex_'40c'28omment'29'3f'5cb = compileRegex True "@c(omment)?\\b"
regex_'40ignore'5cb = compileRegex True "@ignore\\b"
regex_'40node'5cb = compileRegex True "@node\\b"
regex_'40'28menu'7csmallexample'7ctable'7cmultitable'29'5cb = compileRegex True "@(menu|smallexample|table|multitable)\\b"
regex_'40'5b'5cw'5d'2b'28'5c'7b'28'5b'5cw'5d'2b'5b'5cs'5d'2a'29'2b'5c'7d'29'3f = compileRegex True "@[\\w]+(\\{([\\w]+[\\s]*)+\\})?"
regex_'40end_'28menu'7csmallexample'7ctable'7cmultitable'29'5cb = compileRegex True "@end (menu|smallexample|table|multitable)\\b"

parseRules ("Texinfo","Normal Text") =
  (((pRegExpr regex_'40c'28omment'29'3f'5cb >>= withAttribute CommentTok) >>~ pushContext ("Texinfo","singleLineComment"))
   <|>
   ((pRegExpr regex_'40ignore'5cb >>= withAttribute CommentTok) >>~ pushContext ("Texinfo","multiLineComment"))
   <|>
   ((pRegExpr regex_'40node'5cb >>= withAttribute FunctionTok) >>~ pushContext ("Texinfo","nodeFolding"))
   <|>
   ((pRegExpr regex_'40'28menu'7csmallexample'7ctable'7cmultitable'29'5cb >>= withAttribute FunctionTok) >>~ pushContext ("Texinfo","folding"))
   <|>
   ((pRegExpr regex_'40'5b'5cw'5d'2b'28'5c'7b'28'5b'5cw'5d'2b'5b'5cs'5d'2a'29'2b'5c'7d'29'3f >>= withAttribute FunctionTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Texinfo","Normal Text")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Texinfo","singleLineComment") =
  (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Texinfo","singleLineComment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Texinfo","multiLineComment") =
  (((pString False "@end ignore" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Texinfo","multiLineComment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Texinfo","nodeFolding") =
  (((lookAhead (pRegExpr regex_'40node'5cb) >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((parseRules ("Texinfo","Normal Text")))
   <|>
   (currentContext >>= \x -> guard (x == ("Texinfo","nodeFolding")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Texinfo","folding") =
  (((pRegExpr regex_'40end_'28menu'7csmallexample'7ctable'7cmultitable'29'5cb >>= withAttribute FunctionTok) >>~ (popContext))
   <|>
   ((parseRules ("Texinfo","Normal Text")))
   <|>
   (currentContext >>= \x -> guard (x == ("Texinfo","folding")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing

parseRules x = parseRules ("Texinfo","Normal Text") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Verilog.hs0000644000000000000000000002350112633103275022744 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file verilog.xml, version 1.09, by Yevgen Voronenko (ysv22@drexel.edu), Ryan Dalzell (ryan@tullyroan.com) -}

module Text.Highlighting.Kate.Syntax.Verilog
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "Verilog"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.v;*.V;*.vl"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("Verilog","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("Verilog","Normal") -> return ()
      ("Verilog","String") -> (popContext) >> pEndLine
      ("Verilog","Commentar 1") -> (popContext) >> pEndLine
      ("Verilog","Commentar 2") -> return ()
      ("Verilog","Preprocessor") -> (popContext) >> pEndLine
      ("Verilog","Commentar/Preprocessor") -> return ()
      ("Verilog","Some Context") -> (popContext) >> pEndLine
      ("Verilog","Some Context2") -> return ()
      ("Verilog","Block name") -> (popContext) >> pEndLine
      ("Verilog","Port") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywords = Set.fromList $ words $ "macromodule table endtable specify specparam endspecify defparam default if ifnone else forever while for wait repeat disable assign deassign force release always initial edge posedge negedge config endconfig library design liblist cell use instance"
list_beginwords = Set.fromList $ words $ "begin fork module case casex casez task function generate"
list_endwords = Set.fromList $ words $ "end join endmodule endcase endtask endfunction endgenerate"
list_strength = Set.fromList $ words $ "strong0 strong1 pull0 pull1 weak0 weak1 highz0 highz1 small medium large"
list_gates = Set.fromList $ words $ "pullup pulldown cmos rcmos nmos pmos rnmos rpmos and nand or nor xor xnor not buf tran rtran tranif0 tranif1 rtranif0 rtranif1 bufif0 bufif1 notif0 notif1"
list_types = Set.fromList $ words $ "input output inout wire tri tri0 tri1 wand wor triand trior supply0 supply1 reg integer real realtime time vectored scalared trireg parameter event signed automatic genvar localparam"

regex_begin'5c_'2a'3a = compileRegex True "begin\\ *:"
regex_fork'5c_'2a'3a = compileRegex True "fork\\ *:"
regex_'5b'5cd'5f'5d'2a'27d'5b'5cd'5f'5d'2b = compileRegex True "[\\d_]*'d[\\d_]+"
regex_'5b'5cd'5f'5d'2a'27o'5b0'2d7xXzZ'5f'5d'2b = compileRegex True "[\\d_]*'o[0-7xXzZ_]+"
regex_'5b'5cd'5f'5d'2a'27h'5b'5cda'2dfA'2dFxXzZ'5f'5d'2b = compileRegex True "[\\d_]*'h[\\da-fA-FxXzZ_]+"
regex_'5b'5cd'5f'5d'2a'27b'5b01'5fzZxX'5d'2b = compileRegex True "[\\d_]*'b[01_zZxX]+"
regex_'5ba'2dzA'2dZ0'2d9'5f'2c_'5ct'5d'2b'5cs'2a'3a = compileRegex True "[a-zA-Z0-9_, \\t]+\\s*:"
regex_'5c'60'5ba'2dzA'2dZ'5f'5d'2b'5cw'2a = compileRegex True "\\`[a-zA-Z_]+\\w*"
regex_'5c'24'5ba'2dzA'2dZ'5f'5d'2b'5cw'2a = compileRegex True "\\$[a-zA-Z_]+\\w*"
regex_'23'5b'5cd'5f'5d'2b = compileRegex True "#[\\d_]+"

parseRules ("Verilog","Normal") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_begin'5c_'2a'3a >>= withAttribute KeywordTok) >>~ pushContext ("Verilog","Block name"))
   <|>
   ((pRegExpr regex_fork'5c_'2a'3a >>= withAttribute KeywordTok) >>~ pushContext ("Verilog","Block name"))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_beginwords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_endwords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_strength >>= withAttribute BaseNTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_gates >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'5b'5cd'5f'5d'2a'27d'5b'5cd'5f'5d'2b >>= withAttribute BaseNTok))
   <|>
   ((pRegExpr regex_'5b'5cd'5f'5d'2a'27o'5b0'2d7xXzZ'5f'5d'2b >>= withAttribute BaseNTok))
   <|>
   ((pRegExpr regex_'5b'5cd'5f'5d'2a'27h'5b'5cda'2dfA'2dFxXzZ'5f'5d'2b >>= withAttribute BaseNTok))
   <|>
   ((pRegExpr regex_'5b'5cd'5f'5d'2a'27b'5b01'5fzZxX'5d'2b >>= withAttribute BaseNTok))
   <|>
   ((pFloat >>= withAttribute FloatTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   ((pFirstNonSpace >> pRegExpr regex_'5ba'2dzA'2dZ0'2d9'5f'2c_'5ct'5d'2b'5cs'2a'3a >>= withAttribute DecValTok))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Verilog","String"))
   <|>
   ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Verilog","Commentar 1"))
   <|>
   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Verilog","Commentar 2"))
   <|>
   ((pAnyChar "!%&()+,-<=+/:;>?[]^{|}~@" >>= withAttribute NormalTok))
   <|>
   ((pColumn 0 >> pDetectChar False '`' >>= withAttribute OtherTok) >>~ pushContext ("Verilog","Preprocessor"))
   <|>
   ((pRegExpr regex_'5c'60'5ba'2dzA'2dZ'5f'5d'2b'5cw'2a >>= withAttribute OtherTok))
   <|>
   ((pRegExpr regex_'5c'24'5ba'2dzA'2dZ'5f'5d'2b'5cw'2a >>= withAttribute DataTypeTok))
   <|>
   ((pRegExpr regex_'23'5b'5cd'5f'5d'2b >>= withAttribute BaseNTok))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","Normal")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Verilog","String") =
  (((pLineContinue >>= withAttribute StringTok) >>~ pushContext ("Verilog","Some Context"))
   <|>
   ((pHlCStringChar >>= withAttribute CharTok))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","String")) >> pDefault >>= withAttribute StringTok))

parseRules ("Verilog","Commentar 1") =
  (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","Commentar 1")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Verilog","Commentar 2") =
  (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   ((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","Commentar 2")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Verilog","Preprocessor") =
  (((pLineContinue >>= withAttribute OtherTok) >>~ pushContext ("Verilog","Some Context"))
   <|>
   ((pRangeDetect '"' '"' >>= withAttribute FloatTok))
   <|>
   ((pRangeDetect '<' '>' >>= withAttribute FloatTok))
   <|>
   ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("Verilog","Commentar 1"))
   <|>
   ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Verilog","Commentar/Preprocessor"))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","Preprocessor")) >> pDefault >>= withAttribute OtherTok))

parseRules ("Verilog","Commentar/Preprocessor") =
  (((pDetect2Chars False '*' '/' >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","Commentar/Preprocessor")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Verilog","Some Context") =
  (currentContext >>= \x -> guard (x == ("Verilog","Some Context")) >> pDefault >>= withAttribute NormalTok)

parseRules ("Verilog","Some Context2") =
  (((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   ((pFirstNonSpace >> pString False "#endif" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","Some Context2")) >> pDefault >>= withAttribute CommentTok))

parseRules ("Verilog","Block name") =
  (((pDetectIdentifier >>= withAttribute DataTypeTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","Block name")) >> pDefault >>= withAttribute DataTypeTok))

parseRules ("Verilog","Port") =
  (((pDetectIdentifier >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("Verilog","Port")) >> pDefault >>= withAttribute NormalTok))

parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression Nothing

parseRules x = parseRules ("Verilog","Normal") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Vhdl.hs0000644000000000000000000007655512633103275022253 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file vhdl.xml, version 1.12, by Rocky Scaletta (rocky@purdue.edu), Stefan Endrullis (stefan@endrullis.de), Florent Ouchet (outchy@users.sourceforge.net), Chris Higgs (chiggs.99@gmail.com), Jan Michel (jan@mueschelsoft.de) -}

module Text.Highlighting.Kate.Syntax.Vhdl
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "VHDL"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.vhdl;*.vhd"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("VHDL","start")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = False, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("VHDL","start") -> return ()
      ("VHDL","package") -> return ()
      ("VHDL","packagemain") -> return ()
      ("VHDL","packagefunction") -> return ()
      ("VHDL","packagebody") -> return ()
      ("VHDL","packagebodymain") -> return ()
      ("VHDL","packagebodyfunc1") -> return ()
      ("VHDL","packagebodyfunc2") -> return ()
      ("VHDL","architecture_main") -> return ()
      ("VHDL","arch_start") -> return ()
      ("VHDL","arch_decl") -> return ()
      ("VHDL","detect_arch_parts") -> return ()
      ("VHDL","generate1") -> return ()
      ("VHDL","generate2") -> return ()
      ("VHDL","process1") -> return ()
      ("VHDL","proc_rules") -> return ()
      ("VHDL","instance") -> return ()
      ("VHDL","instanceMap") -> return ()
      ("VHDL","instanceInnerPar") -> return ()
      ("VHDL","forwhile1") -> return ()
      ("VHDL","forwhile2") -> return ()
      ("VHDL","if_start") -> return ()
      ("VHDL","if") -> return ()
      ("VHDL","case1") -> return ()
      ("VHDL","case2") -> return ()
      ("VHDL","caseWhen") -> return ()
      ("VHDL","caseWhen2") -> return ()
      ("VHDL","entity") -> return ()
      ("VHDL","entity_main") -> return ()
      ("VHDL","configuration") -> return ()
      ("VHDL","conf_start") -> return ()
      ("VHDL","conf_decl") -> return ()
      ("VHDL","conf_for") -> return ()
      ("VHDL","preDetection") -> return ()
      ("VHDL","generalDetection") -> return ()
      ("VHDL","comment") -> (popContext) >> pEndLine
      ("VHDL","string") -> return ()
      ("VHDL","attribute") -> (popContext) >> pEndLine
      ("VHDL","quot in att") -> return ()
      ("VHDL","signal") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywordsToplevel = Set.fromList $ words $ "file library use"
list_keywords = Set.fromList $ words $ "access after alias all array assert assume assume_guarantee attribute begin block body bus component constant context cover default disconnect downto end exit fairness falling_edge file for force function generate generic group guarded impure inertial is label linkage literal map new next null of on open others parameter port postponed procedure process property protected pure range record register reject release report return rising_edge select sequence severity signal shared strong subtype to transport type unaffected units until variable vmode vprop vunit wait when with note warning error failure in inout out buffer and abs or xor xnor not mod nand nor rem rol ror sla sra sll srl"
list_if = Set.fromList $ words $ "if else elsif then"
list_forOrWhile = Set.fromList $ words $ "loop"
list_directions = Set.fromList $ words $ "in inout out buffer linkage"
list_signals = Set.fromList $ words $ "signal variable constant type attribute"
list_range = Set.fromList $ words $ "to downto others"
list_case = Set.fromList $ words $ "case when"
list_timeunits = Set.fromList $ words $ "fs ps ns us ms sec min hr"
list_types = Set.fromList $ words $ "bit bit_vector character boolean boolean_vector integer integer_vector real real_vector time time_vector delay_length string severity_level positive natural file_open_kind file_open_status signed unsigned unresolved_unsigned unresolved_signed line text side width std_logic std_logic_vector std_ulogic std_ulogic_vector x01 x01z ux01 ux01z qsim_state qsim_state_vector qsim_12state qsim_12state_vector qsim_strength mux_bit mux_vector reg_bit reg_vector wor_bit wor_vector"

regex_'28'5cb'29package'5cb = compileRegex True "(\\b)package\\b"
regex_'28'5cb'29is'5cb = compileRegex True "(\\b)is\\b"
regex_'28'5cb'29end'5cb = compileRegex True "(\\b)end\\b"
regex_'28'5cb'29function'5cb = compileRegex True "(\\b)function\\b"
regex_'28'5cb'29'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'5cb = compileRegex True "(\\b)\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b\\b"
regex_'28'5cb'29end'5cs'2bpackage'5cb = compileRegex True "(\\b)end\\s+package\\b"
regex_'28'5cb'29begin'5cb = compileRegex True "(\\b)begin\\b"
regex_'28'5cb'29'28generate'7cloop'29'5cb = compileRegex True "(\\b)(generate|loop)\\b"
regex_'28'5cb'29'28for'7cif'7cwhile'29'5cb = compileRegex True "(\\b)(for|if|while)\\b"
regex_'28'5cb'29end'5cs'2b'28generate'7cloop'29'28'5cs'2b'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f = compileRegex True "(\\b)end\\s+(generate|loop)(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?"
regex_'28'5cb'29process'5cb = compileRegex True "(\\b)process\\b"
regex_'28'5cb'29'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'28'3f'3d'5cs'2a'3a'28'3f'21'3d'29'29 = compileRegex True "(\\b)\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b(?=\\s*:(?!=))"
regex_'28'5cb'29if'5cb = compileRegex True "(\\b)if\\b"
regex_'28'5cb'29case'5cb = compileRegex True "(\\b)case\\b"
regex_'28'5cb'29'28port'7cgeneric'29'5cs'2bmap'5cs'2a'5c'28 = compileRegex True "(\\b)(port|generic)\\s+map\\s*\\("
regex_'28'5cb'29loop'5cb = compileRegex True "(\\b)loop\\b"
regex_'28'5cb'29'28for'7cwhile'29'5cb = compileRegex True "(\\b)(for|while)\\b"
regex_'28'5cb'29end'5cs'2bloop'28'5cs'2b'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f = compileRegex True "(\\b)end\\s+loop(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?"
regex_'28'5cb'29then'5cb = compileRegex True "(\\b)then\\b"
regex_'28'5cb'29end'5cs'2bif'28'5cs'2b'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f'5cs'2a'3b = compileRegex True "(\\b)end\\s+if(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?\\s*;"
regex_'28'5cb'29end'5cs'2bcase'28'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f'5cs'2a'3b = compileRegex True "(\\b)end\\s+case(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?\\s*;"
regex_'28'5cb'29when'5cb = compileRegex True "(\\b)when\\b"
regex_'5cs'2awhen'5cb = compileRegex True "\\s*when\\b"
regex_'5cs'2aend'5cs'2bcase'5cb = compileRegex True "\\s*end\\s+case\\b"
regex_'28'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29 = compileRegex True "(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)"
regex_generic = compileRegex True "generic"
regex_port = compileRegex True "port"
regex_end'28'5cs'2b'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f = compileRegex True "end(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?"

parseRules ("VHDL","start") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)architecture\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\b") >> pushContext ("VHDL","architecture_main") >> currentContext >>= parseRules))
   <|>
   ((pString False "entity" >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","entity"))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)package\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s+is\\b") >> pushContext ("VHDL","package") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)package\\s+body\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s+is\\b") >> pushContext ("VHDL","packagebody") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)configuration\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\b") >> pushContext ("VHDL","configuration") >> currentContext >>= parseRules))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywordsToplevel >>= withAttribute KeywordTok))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","start")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","package") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29package'5cb >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29is'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","packagemain"))
   <|>
   ((pRegExprDynamic "(\\b)%2\\b" >>= withAttribute KeywordTok))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+package)?(\\s+%2)?\\s*;" >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","package")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","packagemain") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((lookAhead (pRegExpr regex_'28'5cb'29end'5cb) >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((pRegExpr regex_'28'5cb'29function'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","packagefunction"))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","packagemain")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","packagefunction") =
  (((pRegExpr regex_'28'5cb'29'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'5cb >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","packagefunction")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","packagebody") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29package'5cb >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29is'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","packagebodymain"))
   <|>
   ((pRegExprDynamic "(\\b)%2\\b" >>= withAttribute KeywordTok))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+package)?(\\s+%2)?\\s*;" >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","packagebody")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","packagebodymain") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((lookAhead (pRegExpr regex_'28'5cb'29end'5cs'2bpackage'5cb) >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)function\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\b") >> pushContext ("VHDL","packagebodyfunc1") >> currentContext >>= parseRules))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","packagebodymain")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","packagebodyfunc1") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29begin'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","packagebodyfunc2"))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+function)?(\\s+%2)?\\b" >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((pRegExprDynamic "(\\b)%2\\b" >>= withAttribute KeywordTok))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","packagebodyfunc1")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","packagebodyfunc2") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)end(\\s+function)?\\b") >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((pRegExpr regex_'28'5cb'29begin'5cb >>= withAttribute KeywordTok))
   <|>
   ((parseRules ("VHDL","proc_rules")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","packagebodyfunc2")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","architecture_main") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)architecture\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s+of\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s+is") >> pushContext ("VHDL","arch_start") >> currentContext >>= parseRules))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+architecture)?(\\s+%2)?\\s*;" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+architecture)?(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s*;" >>= withAttribute ErrorTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("VHDL","detect_arch_parts")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","architecture_main")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","arch_start") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29is'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","arch_decl"))
   <|>
   ((pRegExprDynamic "(\\b)%2\\b" >>= withAttribute KeywordTok))
   <|>
   ((pRegExprDynamic "(\\b)%4\\b" >>= withAttribute FunctionTok))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","arch_start")) >> pDefault >>= withAttribute KeywordTok))

parseRules ("VHDL","arch_decl") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_signals >>= withAttribute OtherTok) >>~ pushContext ("VHDL","signal"))
   <|>
   ((pString False "component" >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","entity"))
   <|>
   ((pString False "begin" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","arch_decl")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","detect_arch_parts") =
  (((lookAhead (pRegExprDynamic "(\\b)(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b\\s*:\\s*)(if|for).*\\s+generate\\b") >> pushContext ("VHDL","generate1") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b\\s*:\\s*)?process\\b") >> pushContext ("VHDL","process1") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s*:\\s*((entity\\s+)?(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)(\\.\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?)") >> pushContext ("VHDL","instance") >> currentContext >>= parseRules))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","detect_arch_parts")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","generate1") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29'28generate'7cloop'29'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","generate2"))
   <|>
   ((pRegExprDynamic "(\\b)%3\\b" >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29'28for'7cif'7cwhile'29'5cb >>= withAttribute KeywordTok))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","generate1")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","generate2") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29begin'5cb >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29end'5cs'2b'28generate'7cloop'29'28'5cs'2b'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("VHDL","detect_arch_parts")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","generate2")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","process1") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExprDynamic "(\\b)end\\s+process(\\s+%3)?" >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((pRegExprDynamic "(\\b)end\\s+process(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?" >>= withAttribute ErrorTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'28'5cb'29process'5cb >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29begin'5cb >>= withAttribute KeywordTok))
   <|>
   ((parseRules ("VHDL","proc_rules")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","process1")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","proc_rules") =
  (((pRegExpr regex_'28'5cb'29'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'28'3f'3d'5cs'2a'3a'28'3f'21'3d'29'29 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29if'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","if_start"))
   <|>
   ((lookAhead (pRegExpr regex_'28'5cb'29case'5cb) >> pushContext ("VHDL","case1") >> currentContext >>= parseRules))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)((\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s*:\\s*)?((for|while)\\s+.+\\s+)loop\\b") >> pushContext ("VHDL","forwhile1") >> currentContext >>= parseRules))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","proc_rules")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","instance") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExprDynamic "(\\b)%4\\b" >>= withAttribute FunctionTok))
   <|>
   ((pRegExprDynamic "(\\b)%3\\b" >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29'28port'7cgeneric'29'5cs'2bmap'5cs'2a'5c'28 >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","instanceMap"))
   <|>
   ((pDetectChar False ';' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","instance")) >> pDefault >>= withAttribute ErrorTok))

parseRules ("VHDL","instanceMap") =
  (((pAnyChar "<;:" >>= withAttribute ErrorTok))
   <|>
   ((pDetectChar False ':' >>= withAttribute ErrorTok))
   <|>
   ((parseRules ("VHDL","preDetection")))
   <|>
   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("VHDL","instanceInnerPar"))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","instanceMap")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","instanceInnerPar") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("VHDL","instanceInnerPar"))
   <|>
   ((pDetectChar False ';' >>= withAttribute ErrorTok))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","instanceInnerPar")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","forwhile1") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29loop'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","forwhile2"))
   <|>
   ((pRegExprDynamic "(\\b)%3\\b" >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29'28for'7cwhile'29'5cb >>= withAttribute KeywordTok))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","forwhile1")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","forwhile2") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29begin'5cb >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28'5cb'29end'5cs'2bloop'28'5cs'2b'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("VHDL","proc_rules")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","forwhile2")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","if_start") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29then'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","if"))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","if_start")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","if") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29end'5cs'2bif'28'5cs'2b'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f'5cs'2a'3b >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((parseRules ("VHDL","proc_rules")))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_if >>= withAttribute KeywordTok))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","if")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","case1") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29is'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","case2"))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_case >>= withAttribute KeywordTok))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","case1")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","case2") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29end'5cs'2bcase'28'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f'5cs'2a'3b >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)when(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?\\b") >> pushContext ("VHDL","caseWhen") >> currentContext >>= parseRules))
   <|>
   ((parseRules ("VHDL","proc_rules")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","case2")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","caseWhen") =
  (((pDetect2Chars False '=' '>' >>= withAttribute OtherTok) >>~ pushContext ("VHDL","caseWhen2"))
   <|>
   ((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29when'5cb >>= withAttribute KeywordTok))
   <|>
   ((pRegExprDynamic "(\\b)%2\\b" >>= withAttribute KeywordTok))
   <|>
   ((parseRules ("VHDL","proc_rules")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","caseWhen")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","caseWhen2") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pColumn 0 >> lookAhead (pRegExpr regex_'5cs'2awhen'5cb) >> (popContext >> popContext) >> currentContext >>= parseRules))
   <|>
   ((pColumn 0 >> lookAhead (pRegExpr regex_'5cs'2aend'5cs'2bcase'5cb) >> (popContext >> popContext) >> currentContext >>= parseRules))
   <|>
   ((parseRules ("VHDL","proc_rules")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","caseWhen2")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","entity") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29 >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","entity_main"))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","entity")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","entity_main") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+(entity|component))?(\\s+%1)?\\s*;" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+(entity|component))?(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)?\\s*;" >>= withAttribute ErrorTok) >>~ (popContext >> popContext))
   <|>
   ((pRegExpr regex_generic >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_port >>= withAttribute KeywordTok))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","entity_main")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","configuration") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((lookAhead (pRegExprDynamic "(\\b)configuration\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s+of\\s+(\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s+is") >> pushContext ("VHDL","conf_start") >> currentContext >>= parseRules))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+configuration)?(\\s+%2)?\\s*;" >>= withAttribute KeywordTok) >>~ (popContext >> popContext))
   <|>
   ((pRegExprDynamic "(\\b)end(\\s+configuration)?(\\s+\\b(?!(?:process|constant|signal|variable))([A-Za-z_][A-Za-z0-9_]*)\\b)\\s*;" >>= withAttribute ErrorTok) >>~ (popContext >> popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","configuration")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","conf_start") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pRegExpr regex_'28'5cb'29is'5cb >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","conf_decl"))
   <|>
   ((pRegExprDynamic "(\\b)%2\\b" >>= withAttribute KeywordTok))
   <|>
   ((pRegExprDynamic "(\\b)%4\\b" >>= withAttribute FunctionTok))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","conf_start")) >> pDefault >>= withAttribute KeywordTok))

parseRules ("VHDL","conf_decl") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pString False "for" >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","conf_for"))
   <|>
   ((lookAhead (pString False "end") >> (popContext >> popContext) >> currentContext >>= parseRules))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","conf_decl")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","conf_for") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((pString False "for" >>= withAttribute KeywordTok) >>~ pushContext ("VHDL","conf_for"))
   <|>
   ((pRegExpr regex_end'28'5cs'2b'5cb'28'3f'21'28'3f'3aprocess'7cconstant'7csignal'7cvariable'29'29'28'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'29'5cb'29'3f >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","conf_for")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","preDetection") =
  (((pDetect2Chars False '-' '-' >>= withAttribute CommentTok) >>~ pushContext ("VHDL","comment"))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("VHDL","string"))
   <|>
   ((pAnyChar "[&><=:+\\-*\\/|].," >>= withAttribute OtherTok))
   <|>
   ((pDetectChar False '\'' >>= withAttribute BaseNTok) >>~ pushContext ("VHDL","attribute"))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","preDetection")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","generalDetection") =
  (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_timeunits >>= withAttribute DataTypeTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_signals >>= withAttribute OtherTok) >>~ pushContext ("VHDL","signal"))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_range >>= withAttribute OtherTok))
   <|>
   ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))
   <|>
   ((pInt >>= withAttribute DecValTok))
   <|>
   ((pHlCChar >>= withAttribute CharTok))
   <|>
   ((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","generalDetection")) >> pDefault >>= withAttribute NormalTok))

parseRules ("VHDL","comment") =
  (currentContext >>= \x -> guard (x == ("VHDL","comment")) >> pDefault >>= withAttribute CommentTok)

parseRules ("VHDL","string") =
  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","string")) >> pDefault >>= withAttribute StringTok))

parseRules ("VHDL","attribute") =
  (((pDetectChar False '"' >>= withAttribute BaseNTok) >>~ pushContext ("VHDL","quot in att"))
   <|>
   ((pDetectChar False '"' >>= withAttribute BaseNTok) >>~ pushContext ("VHDL","quot in att"))
   <|>
   ((pDetectChar False ' ' >>= withAttribute NormalTok) >>~ (popContext))
   <|>
   ((pDetectChar False '\'' >>= withAttribute BaseNTok) >>~ (popContext))
   <|>
   ((pAnyChar ")=<>" >>= withAttribute BaseNTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","attribute")) >> pDefault >>= withAttribute BaseNTok))

parseRules ("VHDL","quot in att") =
  (((pDetectChar False '"' >>= withAttribute BaseNTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","quot in att")) >> pDefault >>= withAttribute BaseNTok))

parseRules ("VHDL","signal") =
  (((parseRules ("VHDL","preDetection")))
   <|>
   ((lookAhead (pDetectChar False ';') >> (popContext) >> currentContext >>= parseRules))
   <|>
   ((parseRules ("VHDL","generalDetection")))
   <|>
   (currentContext >>= \x -> guard (x == ("VHDL","signal")) >> pDefault >>= withAttribute NormalTok))


parseRules x = parseRules ("VHDL","start") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Xml.hs0000644000000000000000000002771712633103275022112 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file xml.xml, version 2.03, by Wilbert Berendsen (wilbert@kde.nl) -}

module Text.Highlighting.Kate.Syntax.Xml
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)

-- | Full name of language.
syntaxName :: String
syntaxName = "XML"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.docbook;*.xml;*.rc;*.daml;*.rdf;*.rss;*.xspf;*.xsd;*.svg;*.ui;*.kcfg;*.qrc;*.wsdl"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("XML","Start")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("XML","Start") -> return ()
      ("XML","FindXML") -> return ()
      ("XML","FindEntityRefs") -> return ()
      ("XML","FindPEntityRefs") -> return ()
      ("XML","Comment") -> return ()
      ("XML","CDATA") -> return ()
      ("XML","PI") -> return ()
      ("XML","Doctype") -> return ()
      ("XML","Doctype Internal Subset") -> return ()
      ("XML","Doctype Markupdecl") -> return ()
      ("XML","Doctype Markupdecl DQ") -> return ()
      ("XML","Doctype Markupdecl SQ") -> return ()
      ("XML","Element") -> return ()
      ("XML","El Content") -> return ()
      ("XML","El End") -> return ()
      ("XML","Attribute") -> return ()
      ("XML","Value") -> return ()
      ("XML","Value DQ") -> return ()
      ("XML","Value SQ") -> return ()
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)


regex_'3c'21DOCTYPE'5cs'2b = compileRegex True "))+"
regex_'3c'21'28ELEMENT'7cENTITY'7cATTLIST'7cNOTATION'29'5cb = compileRegex True "
   (currentContext >>= \x -> guard (x == ("XML","Start")) >> pDefault >>= withAttribute NormalTok))

parseRules ("XML","FindXML") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pString False "" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'2d'28'2d'28'3f'21'2d'3e'29'29'2b >>= withAttribute ErrorTok))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   ((pDetectIdentifier >>= withAttribute CommentTok))
   <|>
   (currentContext >>= \x -> guard (x == ("XML","Comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("XML","CDATA") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pDetectIdentifier >>= withAttribute NormalTok))
   <|>
   ((pString False "]]>" >>= withAttribute BaseNTok) >>~ (popContext))
   <|>
   ((pString False "]]>" >>= withAttribute DecValTok))
   <|>
   (currentContext >>= \x -> guard (x == ("XML","CDATA")) >> pDefault >>= withAttribute NormalTok))

parseRules ("XML","PI") =
  (((pDetect2Chars False '?' '>' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("XML","PI")) >> pDefault >>= withAttribute NormalTok))

parseRules ("XML","Doctype") =
  (((pDetectChar False '>' >>= withAttribute DataTypeTok) >>~ (popContext))
   <|>
   ((pDetectChar False '[' >>= withAttribute DataTypeTok) >>~ pushContext ("XML","Doctype Internal Subset"))
   <|>
   (currentContext >>= \x -> guard (x == ("XML","Doctype")) >> pDefault >>= withAttribute NormalTok))

parseRules ("XML","Doctype Internal Subset") =
  (((pDetectChar False ']' >>= withAttribute DataTypeTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'3c'21'28ELEMENT'7cENTITY'7cATTLIST'7cNOTATION'29'5cb >>= withAttribute DataTypeTok) >>~ pushContext ("XML","Doctype Markupdecl"))
   <|>
   ((pString False "" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'2d'28'2d'28'3f'21'2d'3e'29'29'2b >>= withAttribute ErrorTok))
   <|>
   ((pRegExpr regex_'28FIXME'7cTODO'7cHACK'29 >>= withAttribute AlertTok))
   <|>
   (currentContext >>= \x -> guard (x == ("xslt","comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("xslt","xpath") =
  (((pKeyword " \n\t.()!+,<=>%&*/;?[]^{|}~\\\"{}" list_functions >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.()!+,<=>%&*/;?[]^{|}~\\\"{}" list_functions'5f2'2e0 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28ancestor'7cancestor'2dor'2dself'7cattribute'7cchild'7cdescendant'7cdescendant'2dor'2dself'7cfollowing'7cfollowing'2dsibling'7cnamespace'7cparent'7cpreceding'7cpreceding'2dsibling'7cself'29'3a'3a >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("xslt","sqxpathstring"))
   <|>
   ((pDetectChar False '"' >>= withAttribute OtherTok) >>~ (popContext >> popContext))
   <|>
   ((pRegExpr regex_'40'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute OtherTok))
   <|>
   ((pDetectChar False '$' >>= withAttribute ErrorTok))
   <|>
   ((parseRules ("xslt","detectEntRef")))
   <|>
   (currentContext >>= \x -> guard (x == ("xslt","xpath")) >> pDefault >>= withAttribute OtherTok))

parseRules ("xslt","sqxpath") =
  (((pKeyword " \n\t.()!+,<=>%&*/;?[]^{|}~\\\"{}" list_functions >>= withAttribute KeywordTok))
   <|>
   ((pKeyword " \n\t.()!+,<=>%&*/;?[]^{|}~\\\"{}" list_functions'5f2'2e0 >>= withAttribute KeywordTok))
   <|>
   ((pRegExpr regex_'28ancestor'7cancestor'2dor'2dself'7cattribute'7cchild'7cdescendant'7cdescendant'2dor'2dself'7cfollowing'7cfollowing'2dsibling'7cnamespace'7cparent'7cpreceding'7cpreceding'2dsibling'7cself'29'3a'3a >>= withAttribute KeywordTok))
   <|>
   ((pDetectChar False '}' >>= withAttribute OtherTok) >>~ (popContext))
   <|>
   ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("xslt","xpathstring"))
   <|>
   ((pDetectChar False '\'' >>= withAttribute OtherTok) >>~ (popContext >> popContext))
   <|>
   ((pRegExpr regex_'40'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'5c'24'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute NormalTok))
   <|>
   ((pRegExpr regex_'5bA'2dZa'2dz'5f'3a'5d'5b'5cw'2e'3a'5f'2d'5d'2a >>= withAttribute OtherTok))
   <|>
   ((pDetectChar False '$' >>= withAttribute ErrorTok))
   <|>
   ((parseRules ("xslt","detectEntRef")))
   <|>
   (currentContext >>= \x -> guard (x == ("xslt","sqxpath")) >> pDefault >>= withAttribute OtherTok))

parseRules ("xslt","sqxpathstring") =
  (((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((parseRules ("xslt","detectEntRef")))
   <|>
   (currentContext >>= \x -> guard (x == ("xslt","sqxpathstring")) >> pDefault >>= withAttribute StringTok))

parseRules ("xslt","xpathstring") =
  (((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))
   <|>
   ((parseRules ("xslt","detectEntRef")))
   <|>
   (currentContext >>= \x -> guard (x == ("xslt","xpathstring")) >> pDefault >>= withAttribute StringTok))


parseRules x = parseRules ("xslt","normalText") <|> fail ("Unknown context" ++ show x)
highlighting-kate-0.6.1/Text/Highlighting/Kate/Syntax/Xul.hs0000644000000000000000000005356312633103275022120 0ustar0000000000000000{- This module was generated from data in the Kate syntax
   highlighting file xul.xml, version 0.11, by Wilbert Berendsen (wilbert@kde.nl), Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net), Marc Dassonneville (marc.dassonneville@gmail.com) -}

module Text.Highlighting.Kate.Syntax.Xul
          (highlight, parseExpression, syntaxName, syntaxExtensions)
where
import Text.Highlighting.Kate.Types
import Text.Highlighting.Kate.Common
import qualified Text.Highlighting.Kate.Syntax.Alert
import Text.ParserCombinators.Parsec hiding (State)
import Control.Monad.State
import Data.Char (isSpace)
import qualified Data.Set as Set

-- | Full name of language.
syntaxName :: String
syntaxName = "XUL"

-- | Filename extensions for this language.
syntaxExtensions :: String
syntaxExtensions = "*.xul;*.xbl"

-- | Highlight source code using this syntax definition.
highlight :: String -> [SourceLine]
highlight input = evalState (mapM parseSourceLine $ lines input) startingState

parseSourceLine :: String -> State SyntaxState SourceLine
parseSourceLine = mkParseSourceLine (parseExpression Nothing)

-- | Parse an expression using appropriate local context.
parseExpression :: Maybe (String,String)
                -> KateParser Token
parseExpression mbcontext = do
  (lang,cont) <- maybe currentContext return mbcontext
  result <- parseRules (lang,cont)
  optional $ do eof
                updateState $ \st -> st{ synStPrevChar = '\n' }
                pEndLine
  return result

startingState = SyntaxState {synStContexts = [("XUL","Start")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStContinuation = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}

pEndLine = do
  updateState $ \st -> st{ synStPrevNonspace = False }
  context <- currentContext
  contexts <- synStContexts `fmap` getState
  st <- getState
  if length contexts >= 2
    then case context of
      _ | synStContinuation st -> updateState $ \st -> st{ synStContinuation = False }
      ("XUL","Start") -> return ()
      ("XUL","FindXML") -> return ()
      ("XUL","FindEntityRefs") -> return ()
      ("XUL","FindPEntityRefs") -> return ()
      ("XUL","Comment") -> return ()
      ("XUL","PI") -> return ()
      ("XUL","Doctype") -> return ()
      ("XUL","Doctype Internal Subset") -> return ()
      ("XUL","Doctype Markupdecl") -> return ()
      ("XUL","Doctype Markupdecl DQ") -> return ()
      ("XUL","Doctype Markupdecl SQ") -> return ()
      ("XUL","Element") -> return ()
      ("XUL","El Content") -> return ()
      ("XUL","El End") -> return ()
      ("XUL","Attribute") -> return ()
      ("XUL","Value") -> return ()
      ("XUL","Value DQ") -> return ()
      ("XUL","Value SQ") -> return ()
      ("XUL","CDATA") -> return ()
      ("XUL","String") -> (popContext) >> pEndLine
      ("XUL","String 1") -> (popContext) >> pEndLine
      ("XUL","JSComment") -> (popContext) >> pEndLine
      ("XUL","Multi/inline Comment") -> return ()
      ("XUL","Regular Expression") -> return ()
      ("XUL","(Internal regex catch)") -> return ()
      ("XUL","Regular Expression Character Class") -> return ()
      ("XUL","(regex caret first check)") -> (popContext) >> pEndLine
      ("XUL","(charclass caret first check)") -> (popContext) >> pEndLine
      ("XUL","region_marker") -> (popContext) >> pEndLine
      _ -> return ()
    else return ()

withAttribute attr txt = do
  when (null txt) $ fail "Parser matched no text"
  updateState $ \st -> st { synStPrevChar = last txt
                          , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) }
  return (attr, txt)

list_keywords = Set.fromList $ words $ "if else for in while do continue break with try catch finally switch case new var function return delete true false void throw typeof const default"
list_functions = Set.fromList $ words $ "escape isFinite isNaN Number parseFloat parseInt reload taint unescape untaint write"
list_objects = Set.fromList $ words $ "Anchor Applet Area Array Boolean Button Checkbox Date document window Image FileUpload Form Frame Function Hidden Link MimeType Math Max Min Layer navigator Object Password Plugin Radio RegExp Reset Screen Select String Text Textarea this Window"
list_math = Set.fromList $ words $ "abs acos asin atan atan2 ceil cos ctg E exp floor LN2 LN10 log LOG2E LOG10E PI pow round sin sqrt SQRT1_2 SQRT2 tan"
list_events = Set.fromList $ words $ "onAbort onBlur onChange onClick onError onFocus onLoad onMouseOut onMouseOver onReset onSelect onSubmit onUnload"
list_methods = Set.fromList $ words $ "above action alinkColor alert anchor anchors appCodeName applets apply appName appVersion argument arguments arity availHeight availWidth back background below bgColor border big blink blur bold border call caller charAt charCodeAt checked clearInterval clearTimeout click clip close closed colorDepth complete compile constructor confirm cookie current cursor data defaultChecked defaultSelected defaultStatus defaultValue description disableExternalCapture domain elements embeds enabledPlugin enableExternalCapture encoding eval exec fgColor filename find fixed focus fontcolor fontsize form forms formName forward frames fromCharCode getDate getDay getHours getMiliseconds getMinutes getMonth getSeconds getSelection getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear global go hash height history home host hostname href hspace ignoreCase images index indexOf innerHeight innerWidth input italics javaEnabled join language lastIndex lastIndexOf lastModified lastParen layers layerX layerY left leftContext length link linkColor links location locationbar load lowsrc match MAX_VALUE menubar method mimeTypes MIN_VALUE modifiers moveAbove moveBelow moveBy moveTo moveToAbsolute multiline name NaN NEGATIVE_INFINITY negative_infinity next open opener options outerHeight outerWidth pageX pageY pageXoffset pageYoffset parent parse pathname personalbar pixelDepth platform plugins pop port POSITIVE_INFINITY positive_infinity preference previous print prompt protocol prototype push referrer refresh releaseEvents reload replace reset resizeBy resizeTo reverse rightContext screenX screenY scroll scrollbar scrollBy scrollTo search select selected selectedIndex self setDate setHours setMinutes setMonth setSeconds setTime setTimeout setUTCDate setUTCDay setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear shift siblingAbove siblingBelow small sort source splice split src status statusbar strike sub submit substr substring suffixes sup taintEnabled target test text title toGMTString toLocaleString toLowerCase toolbar toSource toString top toUpperCase toUTCString type URL unshift unwatch userAgent UTC value valueOf visibility vlinkColor vspace width watch which width write writeln x y zIndex"

regex_'3c'21DOCTYPE'5cs'2b = compileRegex True "))+"
regex_'3c'21'28ELEMENT'7cENTITY'7cATTLIST'7cNOTATION'29'5cb = compileRegex True "
   (currentContext >>= \x -> guard (x == ("XUL","Start")) >> pDefault >>= withAttribute NormalTok))

parseRules ("XUL","FindXML") =
  (((pDetectSpaces >>= withAttribute NormalTok))
   <|>
   ((pString False "" >>= withAttribute CommentTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'2d'28'2d'28'3f'21'2d'3e'29'29'2b >>= withAttribute ErrorTok))
   <|>
   ((Text.Highlighting.Kate.Syntax.Alert.parseExpression (Just ("Alerts","")) >>= ((withAttribute CommentTok) . snd)))
   <|>
   ((pDetectIdentifier >>= withAttribute CommentTok))
   <|>
   (currentContext >>= \x -> guard (x == ("XUL","Comment")) >> pDefault >>= withAttribute CommentTok))

parseRules ("XUL","PI") =
  (((pDetect2Chars False '?' '>' >>= withAttribute KeywordTok) >>~ (popContext))
   <|>
   (currentContext >>= \x -> guard (x == ("XUL","PI")) >> pDefault >>= withAttribute NormalTok))

parseRules ("XUL","Doctype") =
  (((pDetectChar False '>' >>= withAttribute DataTypeTok) >>~ (popContext))
   <|>
   ((pDetectChar False '[' >>= withAttribute DataTypeTok) >>~ pushContext ("XUL","Doctype Internal Subset"))
   <|>
   (currentContext >>= \x -> guard (x == ("XUL","Doctype")) >> pDefault >>= withAttribute NormalTok))

parseRules ("XUL","Doctype Internal Subset") =
  (((pDetectChar False ']' >>= withAttribute DataTypeTok) >>~ (popContext))
   <|>
   ((pRegExpr regex_'3c'21'28ELEMENT'7cENTITY'7cATTLIST'7cNOTATION'29'5cb >>= withAttribute DataTypeTok) >>~ pushContext ("XUL","Doctype Markupdecl"))
   <|>
   ((pString False "

    
        
           

	    

	    

	    

	    

	    
	    
	    

	    
	    
	    

	    

	    
	    
	    
	    
	    
	    
	    

	    
	   
	   
	   
	   
	   
	   

	   
	   	

		

		

	    

	    

		
	   

	   

		

		
	   

	   
       
        
          
          
	  
	  
	  
	  
	  
	  
	  
	  
	  
	  
	
 
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/actionscript.xml0000644000000000000000000003141612633103275017326 0ustar0000000000000000


  
    
    
       _accProps 
       _focusrect 
       _global 
       _highquality 
       _level 
       _parent 
       _quality 
       _root 
       _soundbuftime 
       maxscroll 
       scroll 
       this 
    
    
    
       asfunction 
       call 
       chr 
       clearInterval 
       duplicateMovieClip 
       escape 
       eval 
       fscommand 
       getProperty 
       getTimer 
       getURL 
       getVersion 
       gotoAndPlay 
       gotoAndStop 
       ifFrameLoaded 
       int 
       isFinite 
       isNaN 
       length 
       loadMovie 
       loadMovieNum 
       loadVariables 
       loadVariablesNum 
       mbchr 
       mblength 
       mbord 
       mbsubstring 
       nextFrame 
       nextScene 
       on 
       onClipEvent 
       ord 
       parseFloat 
       parseInt 
       play 
       prevFrame 
       prevScene 
       print 
       printAsBitmap 
       printAsBitmapNum 
       printNum 
       random 
       removeMovieClip 
       setInterval 
       setProperty 
       showRedrawRegions 
       startDrag 
       stop 
       stopAllSounds 
       stopDrag 
       substring 
       targetPath 
       tellTarget 
       toggleHighQuality 
       trace 
       typeof 
       unescape 
       unloadMovie 
       unloadMovieNum 
     updateAfterEvent 
    
      
    
       Accessibility 
       Accordion 
       Alert 
       Binding 
       Button 
       Camera 
       CellRenderer 
       CheckBox 
       Collection 
       Color 
       ComboBox 
       ComponentMixins 
       ContextMenu 
       ContextMenuItem 
       CustomActions 
       CustomFormatter 
       CustomValidator 
       DataGrid 
       DataHolder 
       DataProvider 
       DataSet 
       DataType 
       Date 
       DateChooser 
       DateField 
       Delta 
       DeltaItem 
       DeltaPacket 
       DepthManager 
       EndPoint 
       Error 
       FaultEvent 
       FocusManager 
       Form 
       Function 
       Iterator 
       Key 
       Label 
       List 
       LoadVars 
       Loader 
       LocalConnection 
       Log 
       Math 
       Media 
       Menu 
       MenuBar 
       Microphone 
       Mouse 
       MovieClip 
       MovieClipLoader 
       NetConnection 
       NetStream 
       Number 
       NumericStepper 
       PendingCall 
       PopUpManager 
       PrintJob 
       ProgressBar 
       RDBMSResolver 
       RadioButton 
       RelayResponder 
       SOAPCall 
       Screen 
       ScrollPane 
       Selection 
       SharedObject 
       Slide 
       Sound 
       Stage 
       StyleManager 
       System 
       TextArea 
       TextField 
       TextFormat 
       TextInput 
       TextSnapshot 
       TransferObject 
       Tree 
       TreeDataProvider 
       TypedValue 
       UIComponent 
       UIEventDispatcher 
       UIObject 
       Video 
       WebService 
       WebServiceConnector 
       Window 
       XML 
       XMLConnector 
       XUpdateResolver 
    
    
    
       add 
       and 
       break 
       case 
       catch 
       class 
       continue 
       default 
       delete 
       do 
       dynamic 
       else 
       eq 
       extends 
       finally 
       for 
       function 
       ge 
       get 
       gt 
       if 
       implements 
       import 
       in 
       instanceof 
       interface 
       intrinsic 
       le 
       lt 
       ne 
       new 
       not 
       or 
       private 
       public 
       return 
       set 
       static 
       switch 
       throw 
       try 
       var 
       void 
       while 
       with 
    
    
    
       false 
       Infinity 
       -Infinity 
       NaN 
       newline 
       null 
       true 
       undefined 
    
    
    
       Array 
       Boolean 
       Number 
       Object 
       String 
       Void 
    
    
    
      
        
        
        
        
        
        
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
         
         
          
        
        
          
        
         
        
         
        
      
      
        
        
        
      
        
        
      
      
        
      
      
        
      
      
      
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
       
      
      
      
    
  
  
    
      
      
    
    
  
highlighting-kate-0.6.1/xml/ada.xml0000644000000000000000000002023512633103275015346 0ustar0000000000000000


  
    
       abort 
       abs 
       abstract 
       accept 
       access 
       aliased 
       all 
       and 
       array 
       at 
       begin 
       body 
       constant 
       declare 
       delay 
       delta 
       digits 
       do 
       else 
       elsif 
       end 
       entry 
       exception 
       exit 
       for 
       function 
       generic 
       goto 
       in 
       interface 
       is 
       limited 
       mod 
       new 
       not 
       null 
       of 
       or 
       others 
       out 
       overriding 
       package 
       pragma 
       private 
       procedure 
       protected 
       raise 
       range 
       rem 
       record 
       renames 
       requeue 
       return 
       reverse 
       separate 
       subtype 
       tagged 
       task 
       terminate 
       then 
       type 
       until 
       use 
       when 
       while 
       with 
       xor 
    
    
       all_calls_remote 
       assert 
       assertion_policy 
       asynchronous 
       atomic 
       atomic_components 
       attach_handler 
       controlled 
       convention 
       detect_blocking 
       discard_names 
       elaborate 
       elaborate_all 
       elaborate_body 
       export 
       import 
       inline 
       inspection_point 
       interrupt_handler 
       interrupt_priority 
       linker_options 
       list 
       locking_policy 
       no_return 
       normalize_scalars 
       optimize 
       pack 
       page 
       partition_elaboration_policy 
       preelaborable_initialization 
       preelaborate 
       priority 
       priority_specific_dispatching 
       profile 
       pure 
       queuing_policy 
       relative_deadline 
       remote_call_interface 
       remote_types 
       restrictions 
       reviewable 
       shared_passive 
       storage_size 
       suppress 
       task_dispatching_policy 
       unchecked_union 
       unsuppress 
       volatile 
       volatile_components 
    
    
       boolean 
       char 
       float 
       integer 
       long_float 
       long_integer 
       long_long_float 
       long_long_integer 
       short_float 
       short_integer 
       string 
       wide_string 
       wide_char 
       wide_wide_char 
       wide_wide_string 
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
      
        
      
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  


highlighting-kate-0.6.1/xml/agda.xml0000644000000000000000000001207112633103275015514 0ustar0000000000000000

  
]>

  
    
       abstract 
       codata 
       coinductive 
       constructor 
       data 
       field 
       forall 
       hiding 
       import 
       in 
       inductive 
       infix 
       infixl  
       infixr 
       let 
       open 
       pattern 
       postulate 
       primitive 
       private 
       public 
       module 
       mutual 
       quote 
       quoteGoal 
       quoteTerm 
       record 
       renaming 
       rewrite 
       syntax 
       to 
       unquote 
       using 
       where 
       with 
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
      
         
        
      
      
        
      
      
        
        
      
      
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/alert.xml0000644000000000000000000000744412633103275015737 0ustar0000000000000000




highlighting-kate-0.6.1/xml/alert_indent.xml0000644000000000000000000000377712633103275017305 0ustar0000000000000000



highlighting-kate-0.6.1/xml/apache.xml0000644000000000000000000004226212633103275016046 0ustar0000000000000000








AcceptFilter
AccessFileName
Action
AddAlt
AddAltByEncoding
AddAltByType
AddCharset
AddDefaultCharset
AddDescription
AddEncoding
AddHandler
AddIcon
AddIconByEncoding
AddIconByType
AddInputFilter
AddLanguage
AddModuleInfo
AddOutputFilter
AddOutputFilterByType
AddType
Alias
AliasMatch
Allow
Anonymous
AuthBasicProvider
AuthDBMGroupFile
AuthDBMUserFile
AuthDigestDomain
AuthDigestFile
AuthDigestGroupFile
AuthDigestNonceFormat
AuthDigestProvider
AuthGroupFile
AuthLDAPBindDN
AuthLDAPBindPassword
AuthLDAPCharsetConfig
AuthLDAPGroupAttribute
AuthLDAPUrl
AuthName
AuthUserFile
BrowserMatch
BrowserMatchNoCase
BS2000Account
CacheDisable
CacheEnable
CacheFile
CacheGcClean
CacheGcUnused
CacheRoot
CGIMapExtension
CharsetDefault
CharsetOptions
CharsetSourceEnc
CookieDomain
CookieLog
CookieName
CoreDumpDirectory
CustomLog
Dav
DavGenericLockDB
DavLockDB
DBDParams
DBDPrepareSQL
DBDriver
DefaultIcon
DefaultLanguage
DefaultType
DeflateFilterNote
Deny
DirectoryIndex
DocumentRoot
ErrorDocument
ErrorLog
Example
ExpiresByType
ExpiresDefault
ExtFilterDefine
ExtFilterOptions
FilterChain
FilterDeclare
FilterProtocol
FilterProvider
FilterTrace
ForceType
ForensicLog
Group
Header
HeaderName
ImapBase
Include
IndexIgnore
IndexOptions
IndexStyleSheet
ISAPICacheFile
LanguagePriority
LDAPSharedCacheFile
LDAPTrustedCA
LDAPTrustedCAType
LDAPTrustedClientCert
LDAPTrustedGlobalCert
Listen
LoadFile
LoadModule
LockFile
LogFormat
MetaDir
MetaSuffix
MimeMagicFile
MMapFile
NameVirtualHost
NoProxy
NWSSLTrustedCerts
NWSSLUpgradeable
PassEnv
PidFile
ProxyBlock
ProxyDomain
ProxyPass
ProxyPassReverse
ProxyPassReverseCookieDomain
ProxyPassReverseCookiePath
ProxyRemote
ProxyRemoteMatch
ReadmeName
Redirect
RedirectMatch
RedirectPermanent
RedirectTemp
RemoveCharset
RemoveEncoding
RemoveHandler
RemoveInputFilter
RemoveLanguage
RemoveOutputFilter
RemoveType
RequestHeader
Require
RewriteBase
RewriteCond
RewriteLock
RewriteLog
RewriteMap
RewriteRule
ScoreBoardFile
Script
ScriptAlias
ScriptAliasMatch
ScriptLog
ScriptSock
SecureListen
ServerAdmin
ServerAlias
ServerName
ServerPath
ServerRoot
SetEnv
SetEnvIf
SetEnvIfNoCase
SetHandler
SetInputFilter
SetOutputFilter
SSIEndTag
SSIErrorMsg
SSIStartTag
SSITimeFormat
SSIUndefinedEcho
SSLCACertificateFile
SSLCACertificatePath
SSLCADNRequestFile
SSLCADNRequestPath
SSLCARevocationFile
SSLCARevocationPath
SSLCertificateChainFile
SSLCertificateFile
SSLCertificateKeyFile
SSLCipherSuite
SSLCryptoDevice
SSLHonorCiperOrder
SSLPassPhraseDialog
SSLProxyCACertificateFile
SSLProxyCACertificatePath
SSLProxyCARevocationFile
SSLProxyCARevocationPath
SSLProxyCipherSuite
SSLProxyMachineCertificateFile
SSLProxyMachineCertificatePath
SSLProxyProtocol
SSLRandomSeed
SSLRequire
SSLRequireSSL
SSLUserName
SuexecUserGroup
TransferLog
TypesConfig
UnsetEnv
User
UserDir
VirtualDocumentRoot
VirtualDocumentRootIP
VirtualScriptAlias
VirtualScriptAliasIP
Win32DisableAcceptEx



AllowCONNECT
AssignUserID
AuthDigestNonceLifetime
AuthDigestShmemSize
CacheDefaultExpire
CacheDirLength
CacheDirLevels
CacheForceCompletion
CacheGcDaily
CacheGcInterval
CacheGcMemUsage
CacheLastModifiedFactor
CacheMaxExpire
CacheMaxFileSize
CacheMinFileSize
CacheSize
CacheTimeMargin
ChildPerUserID
CookieExpires
DavMinTimeout
DBDExptime
DBDKeep
DBDMax
DBDMin
DBDPersist
DeflateBufferSize
DeflateCompressionLevel
DeflateMemLevel
DeflateWindowSize
IdentityCheckTimeout
ISAPIReadAheadBuffer
KeepAliveTimeout
LDAPCacheEntries
LDAPCacheTTL
LDAPConnectionTimeout
LDAPOpCacheEntries
LDAPOpCacheTTL
LDAPSharedCacheSize
LimitInternalRecursion
LimitRequestBody
LimitRequestFields
LimitRequestFieldsize
LimitRequestLine
LimitXMLRequestBody
ListenBacklog
MaxClients
MaxKeepAliveRequests
MaxMemFree
MaxRequestsPerChild
MaxRequestsPerThread
MaxSpareServers
MaxSpareThreads
MaxThreads
MaxThreadsPerChild
MCacheMaxObjectCount
MCacheMaxObjectSize
MCacheMaxStreamingBuffer
MCacheMinObjectSize
MCacheSize
MinSpareServers
MinSpareThreads
NumServers
ProxyIOBufferSize
ProxyMaxForwards
ProxyReceiveBufferSize
ProxyTimeout
RewriteLogLevel
RLimitCPU
RLimitMEM
RLimitNPROC
ScriptLogBuffer
ScriptLogLength
SendBufferSize
ServerLimit
SSLProxyVerifyDepth
SSLSessionCacheTimeout
SSLVerifyDepth
StartServers
StartThreads
ThreadLimit
ThreadsPerChild
ThreadStackSize
TimeOut



AcceptMutex
AcceptPathInfo
AllowEncodedSlashes
AllowOverride
Anonymous_Authoritative
Anonymous_LogEmail
Anonymous_MustGiveEmail
Anonymous_NoUserID
Anonymous_VerifyEmail
AuthAuthoritative
AuthBasicAuthoritative
AuthBasicProvider
AuthDBMAuthoritative
AuthDBMType
AuthDefaultAuthoritative
AuthDigestAlgorithm
AuthDigestNcCheck
AuthDigestQop
AuthLDAPAuthoritative
AuthLDAPCompareDNOnServer
AuthLDAPDereferenceAliases
AuthLDAPEnabled
AuthLDAPFrontPageHack
AuthLDAPGroupAttributeIsDN
AuthLDAPRemoteUserIsDN
AuthType
AuthzDBMAuthoritative
AuthzDBMType
AuthzDefaultAuthoritative
AuthzGroupFileAuthoritative
AuthzLDAPAuthoritative
AuthzOwnerAuthoritative
AuthzUserAuthoritative
BufferedLogs
CacheExpiryCheck
CacheIgnoreCacheControl
CacheIgnoreHeaders
CacheIgnoreNoLastMod
CacheNegotiatedDocs
CacheStoreNoStore
CacheStorePrivate
CheckSpelling
ContentDigest
CookieStyle
CookieTracking
CoreDumpDirectory
CustomLog
DavDepthInfinity
DirectorySlash
DumpIOInput
DumpIOOutput
EnableExceptionHook
EnableMMAP
EnableSendfile
ExpiresActive
ExtendedStatus
FileETag
ForceLanguagePriority
HostnameLookups
IdentityCheck
ImapDefault
ImapMenu
IndexOrderDefault
ISAPIAppendLogToErrors
ISAPIAppendLogToQuery
ISAPIFakeAsync
ISAPILogNotSupported
KeepAlive
LDAPTrustedMode
LDAPVerifyServerCert
LogLevel
MCacheRemovalAlgorithm
MetaFiles
ModMimeUsePathInfo
MultiviewsMatch
Options
Order
ProtocolEcho
ProxyBadHeader
ProxyErrorOverride
ProxyPreserveHost
ProxyRequests
ProxyVia
RewriteEngine
RewriteOptions
Satisfy
ScriptInterpreterSource
ServerSignature
ServerTokens
SSLEngine
SSLMutex
SSLOptions
SSLProtocol
SSLProxyEngine
SSLProxyVerify
SSLSessionCache
SSLVerifyClient
UseCanonicalName
XBitHack



On
Off
Default
flock
fcntl
posixsem
pthread
sysvsem
All
None
AuthConfig
FileInfo
Indexes
Limit
Options

ExecCGI
FollowSymLinks
Includes
IncludesNOEXEC
Indexes
MultiViews
SymLinksIfOwnerMatch
StdEnvVars
CompatEnvVars
ExportCertData
FakeBasicAuth
StrictRequire
OptRenegotiate

SDBM
GDBM
NDBM
DB
MD5
MD5-sess
auth
auth-int
never
searching
finding
always
Basic
Digest
Connection
Keep-Alive
Proxy-Authenticate
Proxy-Authorization
TE
Trailers
Transfer-Encoding
Upgrade
Netscape
Cookie
Cookie2
RFC2109
RFC2965
INode
MTime
Size
Prefer
Fallback
Double
error
nocontent
map
referer
formatted
semiformatted
unformatted
Ascending
Descending
Name
Date
Size
Description
SSL
TLS
STARTTLS
emerg
alert
crit
error
warn
notice
info
debug
LRU
GDSF
Any
NegotiatedOnly
Filters
Handlers
Deny,Allow
Allow,Deny
Mutual-failure
IsError
Ignore
StartBody
Full
Block
inherit
Registry
Registry-Strict
Script
EMail
Major
Minor
Min
Minimal
Prod
ProductOnly
OS
Full
optional
posixsem
sysvsem
sem
pthread
fcntl:
flock:
file:
yes
no
SSLv2
SSLv3
TLSv1
require
optional_no_ca
nonenotnull
dbm:
shm:
dc:
DNS




 
  
  
  

  
  
  
 

 
 
  
  
 

 
  
  
  
 

 
  
  
  
  
 


 
  
  
  
 


 
  
  
  
 

 
  
 


 
  
 

 



 
 
 
 
 
 
 
 
 
 
 





 
  
 
 





highlighting-kate-0.6.1/xml/asn1.xml0000644000000000000000000000500512633103275015461 0ustar0000000000000000



  
    
       DEFINITIONS 
       BEGIN 
       END 
       EXPORTS 
       IMPORTS 
       FROM 
       APPLICATION 
       PRIVATE 
       UNIVERSAL 
       DEFAULT 
       OPTIONAL 
       FALSE 
       TRUE 
    
    
       BOOLEAN 
       INTEGER 
       OCTET STRING 
       NULL 
       REAL 
       ENUMERATED 
       SEQUENCE 
       SET 
       CHOICE 
       OF 
       VisibleString 
       StringStore 
    
    
    
      
        
        
              
      
      
      
      
    
    
    
      
      
      
      
    
  


highlighting-kate-0.6.1/xml/asp.xml0000644000000000000000000004477712633103275015425 0ustar0000000000000000


    
        
            select
            case
            end select

            if
            then
            else
            elseif
            end if


            while
            do
            until
            loop
            wend

            for
            each
            to
            in
            next

            exit
            continue
        
        
            dim
            redim
            preserve

            const
            erase
            nothing
            set

            new
            me


            function
            sub
            call

            class
            private
            public
            with

            randomize

            open
            close
            movenext
            execute
            eof

            not
            true
            false
            or
            and
            xor
        
        
            response
            write
            redirect
            end

            request
            form
            querystring
            servervariables
            cookies

            session

            server
            createobject

            abs
            array
            asc
            atn
            cbool
            cbyte
            ccur
            cdate
            cdbl
            chr
            cint
            clng
            cos
            csng
            cstr
            date
            dateadd

            DateDiff
            DatePart
            DateSerial
            DateValue
            Date
            Day
            Exp
            Filter
            Fix
            FormatCurrency
            FormatDateTime
            FormatNumber
            FormatPercent

            GetObject
            Hex
            Hour
            InputBox
            InStr
            InStrRev
            Int
            IsArray
            IsDate
            IsEmpty
            IsNull
            IsNumeric
            IsObject
            Join
            LBound
            LCase

            Left
            Len
            LoadPicture
            Log
            LTrim
            Mid
            Minute
            Month
            MonthName
            MsgBox
            Now
            Oct
            Replace

            RGB
            Right
            Rnd
            Round
            RTrim

            ScriptEngine
            ScriptEngineBuildVersion
            ScriptEngineMajorVersion
            ScriptEngineMinorVersion
            Second
            Sgn
            Sin
            Space
            Split
            Sqr
            StrComp
            StrReverse
            String
            Tan
            Time
            Timer
            TimeSerial
            TimeValue
            Trim
            TypeName
            UBound
            UCase
            VarType
            Weekday
            WeekdayName
            Year

            Add
            AddFolders
            BuildPath
            Clear
            Close
            Copy
            CopyFile
            CopyFolder
            CreateFolder
            CreateTextFile
            Delete
            DeleteFile
            DeleteFolder
            DriveExists
            Exists
            FileExists
            FolderExists
            GetAbsolutePathName
            GetBaseName
            GetDrive
            GetDriveName
            GetExtensionName
            GetFile
            GetFileName
            GetFolder
            GetParentFolderName

            GetSpecialFolder
            GetTempName
            Items
            item
            Keys
            Move
            MoveFile
            MoveFolder
            OpenAsTextStream
            OpenTextFile
            Raise
            Read
            ReadAll
            ReadLine
            Remove
            RemoveAll
            Skip
            SkipLine
            Write
            WriteBlankLines
            WriteLine
        
            
            
                
                
                
                
                
            

            
                
                
                
                
                
                
                
                
                
                
                
                
                
                

                
                
                
                

                
                
                

                
                
                

                
                

                
                
                

                
                
                

                
                
                

                
                

                
                
                
            
            
                
            
            
                
                
                
                
            
            
                
                
            
            
                
                
                
                
                
            
            
                
                
                
                
            
            
                
                
                
            

            
                
                
                
            

            
                
                
                
            

            
                
                
                
                
                
                
                

                
                
                
                
                
                
                
                
                
                
            
            
                
            
            
                
            

        
        
            
            
            
            
            
            
            
            
            
            
            
            
            
            

            
            
            
            
        
    
    
        
            
            
        
        
    

highlighting-kate-0.6.1/xml/awk.xml0000644000000000000000000002023712633103275015405 0ustar0000000000000000



  
    
      if
      else
      while
      do
      for
      in
      continue
      break
      print
      printf
      getline
      function
      return
      next
      exit
    
    
      ARGC
      ARGV
      CONVFMT
      ENVIRON
      FILENAME
      FNR
      FS
      NF
      NR
      OFMT
      OFS
      ORS
      RS
      RSTART
      RLENGTH
      SUBSEP
    
    
      gsub
      gensub
      index
      length
      match
      split
      sprintf
      sub
      substr
      tolower
      toupper
      atan2
      cos
      exp
      int
      log
      rand
      sin
      sqrt
      srand
      close
      fflush
      system
    
    
       BEGIN 
       END 
    




	
	
	
	
	



	
	
	
	



	
	
	
	
	
	
	
	
	
	
	



	
	
	



	



	



	
	
	


	
	


	
	
	
	
	


	



	
	


	
	
	
	
	
	


	
	



	
	


	
	


	


	
	


	
	




    
      
      
      
      
      
      
      
      
	
   
	
	
	
	
	
	
	
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/bash.xml0000644000000000000000000012332612633103275015543 0ustar0000000000000000

        
            
                         
                        
             
]>




  
    
       else 
       for 
       function 
       in 
       select 
       until 
       while 
       elif 
       then 
       set 
    

    
       : 
       source 
       alias 
       bg 
       bind 
       break 
       builtin 
       cd 
       caller 
       command 
       compgen 
       complete 
       continue 
       dirs 
       disown 
       echo 
       enable 
       eval 
       exec 
       exit 
       fc 
       fg 
       getopts 
       hash 
       help 
       history 
       jobs 
       kill 
       let 
       logout 
       popd 
       printf 
       pushd 
       pwd 
       return 
       set 
       shift 
       shopt 
       suspend 
       test 
       time 
       times 
       trap 
       type 
       ulimit 
       umask 
       unalias 
       wait 
    

    
       export 
       unset 
       declare 
       typeset 
       local 
       read 
       readonly 
    

    
      
       arch 
       awk 
       bash 
       bunzip2 
       bzcat 
       bzcmp 
       bzdiff 
       bzegrep 
       bzfgrep 
       bzgrep 
       bzip2 
       bzip2recover 
       bzless 
       bzmore 
       cat 
       chattr 
       chgrp 
       chmod 
       chown 
       chvt 
       cp 
       date 
       dd 
       deallocvt 
       df 
       dir 
       dircolors 
       dmesg 
       dnsdomainname 
       domainname 
       du 
       dumpkeys 
       echo 
       ed 
       egrep 
       false 
       fgconsole 
       fgrep 
       fuser 
       gawk 
       getkeycodes 
       gocr 
       grep 
       groff 
       groups 
       gunzip 
       gzexe 
       gzip 
       hostname 
       igawk 
       install 
       kbd_mode 
       kbdrate 
       killall 
       last 
       lastb 
       link 
       ln 
       loadkeys 
       loadunimap 
       login 
       ls 
       lsattr 
       lsmod 
       lsmod.old 
       lzcat 
       lzcmp 
       lzdiff 
       lzegrep 
       lzfgrep 
       lzgrep 
       lzless 
       lzcat 
       lzma 
       lzmainfo 
       lzmore 
       mapscrn 
       mesg 
       mkdir 
       mkfifo 
       mknod 
       mktemp 
       more 
       mount 
       mv 
       nano 
       netstat 
       nisdomainname 
       nroff 
       openvt 
       pgawk 
       pidof 
       ping 
       ps 
       pstree 
       pwd 
       rbash 
       readlink 
       red 
       resizecons 
       rm 
       rmdir 
       run-parts 
       sash 
       sed 
       setfont 
       setkeycodes 
       setleds 
       setmetamode 
       setserial 
       sh 
       showkey 
       shred 
       sleep 
       ssed 
       stat 
       stty 
       su 
       sync 
       tar 
       tempfile 
       touch 
       troff 
       true 
       umount 
       uname 
       unicode_start 
       unicode_stop 
       unlink 
       unlzma 
       unxz 
       utmpdump 
       uuidgen 
       vdir 
       wall 
       wc 
       xz 
       xzcat 
       ypdomainname 
       zcat 
       zcmp 
       zdiff 
       zegrep 
       zfgrep 
       zforce 
       zgrep 
       zless 
       zmore 
       znew 
       zsh 

      
       aclocal 
       aconnect 
       aplay 
       apm 
       apmsleep 
       apropos 
       ar 
       arecord 
       as 
       as86 
       autoconf 
       autoheader 
       automake 
       awk 
       basename 
       bc 
       bison 
       c++ 
       cal 
       cat 
       cc 
       cdda2wav 
       cdparanoia 
       cdrdao 
       cd-read 
       cdrecord 
       chfn 
       chgrp 
       chmod 
       chown 
       chroot 
       chsh 
       clear 
       cmp 
       co 
       col 
       comm 
       cp 
       cpio 
       cpp 
       cut 
       dc 
       dd 
       df 
       diff 
       diff3 
       dir 
       dircolors 
       directomatic 
       dirname 
       du 
       env 
       expr 
       fbset 
       file 
       find 
       flex 
       flex++ 
       fmt 
       free 
       ftp 
       funzip 
       fuser 
       g++ 
       gawk 
       gc 
       gcc 
       gdb 
       getent 
       getopt 
       gettext 
       gettextize 
       gimp 
       gimp-remote 
       gimptool 
       gmake 
       gs 
       head 
       hexdump 
       id 
       install 
       join 
       kill 
       killall 
       ld 
       ld86 
       ldd 
       less 
       lex 
       ln 
       locate 
       lockfile 
       logname 
       lp 
       lpr 
       ls 
       lynx 
       m4 
       make 
       man 
       mkdir 
       mknod 
       msgfmt 
       mv 
       namei 
       nasm 
       nawk 
       nice 
       nl 
       nm 
       nm86 
       nmap 
       nohup 
       nop 
       od 
       passwd 
       patch 
       pcregrep 
       pcretest 
       perl 
       perror 
       pidof 
       pr 
       printf 
       procmail 
       prune 
       ps2ascii 
       ps2epsi 
       ps2frag 
       ps2pdf 
       ps2ps 
       psbook 
       psmerge 
       psnup 
       psresize 
       psselect 
       pstops 
       rcs 
       rev 
       rm 
       scp 
       sed 
       seq 
       setterm 
       shred 
       size 
       size86 
       skill 
       slogin 
       snice 
       sort 
       sox 
       split 
       ssh 
       ssh-add 
       ssh-agent 
       ssh-keygen 
       ssh-keyscan 
       stat 
       strings 
       strip 
       sudo 
       suidperl 
       sum 
       tac 
       tail 
       tee 
       test 
       tr 
       uniq 
       unlink 
       unzip 
       updatedb 
       updmap 
       uptime 
       users 
       vmstat 
       w 
       wc 
       wget 
       whatis 
       whereis 
       which 
       who 
       whoami 
       write 
       xargs 
       yacc 
       yes 
       zip 
       zsoelim 

      
       dcop 
       kdialog 
       kfile 
       xhost 
       xmodmap 
       xset 
    


    
      
        
      


      
      
        
        
        
        
        
      

      
      
        
        
        
        
      


      
      
        
        
      
      
        
        
      

      
      
        
        
      
      
        
        
      

      
      
        
        
      
      
        
        
      


      
      
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
            
      
        
        
        
        
        
        
        
                
      
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
                
        
        
        
      
      
      
      
        
        
      
      
        
        
        
        
        
        
        
      
       
        
        
        
      
          
      
      
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
      
        
        
        
        
      




      
      
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
      

      
      
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
        
        
        
      

      
      
        
      

      
      
        
        
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
      

      
      
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
        
      
      
        
        
        
      

      
      
        
        
        
        
        
      
      
        
        
        
        
      


      
      
        
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
        
      

      
      
        
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
        
        
        
        
        
        
      

      
        
      

      
        
        
      

      
        
        
        
      

      
        
        
      

      
        
        
        
      

    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/bibtex.xml0000644000000000000000000001176712633103275016110 0ustar0000000000000000

	  
	  
	   
	  ]>

  
    
      @article 
      @book 
      @booklet 
      @conference 
      @collection
      @electronic
      @inbook 
      @incollection 
      @inproceedings 
      @manual 
      @mastersthesis 
      @misc
      @online
      @patent
      @periodical
      @proceedings
      @report
      @phdthesis
      @set
      @thesis 
      @techreport 
      @unpublished
      @www
      @person 
      @company
      @place
    
    
      
        
	
	
	 
    

	
		
	
	
	
		
		
      

      
	      
	      
	      
	      
      

      
	      
	      
	      
	      
	      
	      
	      
	      
	       
	      
	       
	      
	       
      

      
	      
	      
	      
	      
      

      
	      
	      
      

    

    
      
      
      
      
      
      
      
      
      

  
  
   
  

highlighting-kate-0.6.1/xml/boo.xml0000644000000000000000000003054612633103275015406 0ustar0000000000000000




	
		
			import
			from
			as
			namespace
		

		
			 and 
			 assert 
			 in 
			 is 
			 not 
			 or 
		

		
			bool
			byte
			sbyte
			double
			decimal
			single
			short
			ushort
			int
			char
			uint
			long
			ulong
			object
			duck
			string
			regex
			date
			timespan
		

		
			abstract
			virtual
			override
			static
			final
			transient
			macro

			protected
			private
			public
			internal
			partial

			class
			struct
			interface
			enum
			callable
			of

			def
			constructor
			destructor

			do
			get
			set
			event

			return
			yield
		

		
			true
			false
		

		
			null
			self
			super
		

		
			and
			break
			cast
			continue
			elif
			else
			except
			ensure
			for
			given
			goto
			if
			in
			is
			isa
			not
			or
			otherwise
			pass
			raise
			try
			unless
			when
			while
			ref
		

		
			assert
			__eval__
			__switch__
			enumerate
			filter
			len
			typeof
			map
			max
			min
			property
			using
			getter
			required
			lock
			range
			zip
			checked
			unchecked
			rawArrayIndexing
			normalArrayIndexing
			print
			array
			matrix
			yieldAll
		

		
			
				
				
				
				
				
				
				
				
				

				
				
				
				
				
				

				
				

				
				

				
				
				
				

				
				
				
				

				
				

				
				

				
				
			

			
				
			

			
				
			

			
				
			

			
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
			

			
				
				
			

			
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			
		


		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
		
	
	
		
		
			
			
		
		
			
		
		
	

highlighting-kate-0.6.1/xml/c.xml0000644000000000000000000002615312633103275015050 0ustar0000000000000000



  
    
       break 
       case 
       continue 
       default 
       do 
       else 
       enum 
       extern 
       for 
       goto 
       if 
       inline 
       return 
       sizeof 
       struct 
       switch 
       typedef 
       union 
       while 
    
    
       auto 
       char 
       const 
       double 
       float 
       int 
       long 
       register 
       restrict 
       short 
       signed 
       static 
       unsigned 
       void 
       volatile 
       int8_t 
       int16_t 
       int32_t 
       int64_t 
       uint8_t 
       uint16_t 
       uint32_t 
       uint64_t 
       wchar_t 
       _Imaginary 
       _Complex 
       _Bool 
    
    
      
        
	
        
        
        
        
        
        
        
        
        
          
        
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
        
        
        
      

      
        
        
        
      

      
      

      
        
        
      

      
        
        
      

      
        

        
        
        
        
        
        
        
        

        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
      

      
        
      

      
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
       
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/changelog.xml0000644000000000000000000000256112633103275016552 0ustar0000000000000000


  
    
      
        
        
      
      
        
        
      
      
        
      
    
    
      
      
      
      
      
    
  
  
    
  

highlighting-kate-0.6.1/xml/clojure.xml0000644000000000000000000006744112633103275016276 0ustar0000000000000000



  
    
       def 
       def- 
       defalias 
       defhinted 
       definline 
       defmacro 
       defmacro- 
       defmethod 
       defmulti 
       defn 
       defn- 
       defnk 
       defn-memo 
       defonce 
       defonce- 
       defprotocol 
       defrecord 
       defstruct 
       defstruct- 
       deftest 
       deftest- 
       deftype 
       defunbound 
       defunbound- 
       defvar 
       defvar- 
    
    
       < 
       <= 
       = 
       == 
       > 
       >= 
       - 
       -> 
       ->> 
       / 
       . 
       .. 
       * 
       + 
       accessor 
       aclone 
       add-classpath 
       add-watcher 
       agent 
       agent-errors 
       aget 
       alength 
       alias 
       all-ns 
       alter 
       alter-meta! 
       alter-var-root 
       amap 
       ancestors 
       and 
       append-child 
       apply 
       apply-template 
       are 
       areduce 
       array-map 
       aset 
       aset-boolean 
       aset-byte 
       aset-char 
       aset-double 
       aset-float 
       aset-int 
       aset-long 
       aset-short 
       assert 
       assert-any 
       assert-expr 
       assert-predicate 
       assoc 
       assoc! 
       associative? 
       assoc-in 
       atom 
       atom? 
       attrs 
       await 
       await1 
       await-for 
       bases 
       bean 
       bigdec 
       bigint 
       binding 
       bit-and 
       bit-and-not 
       bit-clear 
       bit-flip 
       bit-not 
       bit-or 
       bit-set 
       bit-shift-left 
       bit-shift-right 
       bit-test 
       bit-xor 
       boolean 
       boolean-array 
       booleans 
       bound-fn 
       bound-fn* 
       branch? 
       butlast 
       byte 
       byte-array 
       bytes 
       case 
       cast 
       catch 
       char 
       char? 
       char-array 
       char-escape-string 
       char-name-string 
       chars 
       children 
       chunk 
       chunk-append 
       chunk-buffer 
       chunk-cons 
       chunked-seq? 
       chunk-first 
       chunk-next 
       chunk-rest 
       class 
       class? 
       clear-agent-errors 
       clojure-version 
       coll? 
       collection-tag 
       comment 
       commute 
       comp 
       comparator 
       compare 
       compare-and-set! 
       compile 
       complement 
       compose-fixtures 
       concat 
       cond 
       condp 
       conj 
       conj! 
       cons 
       constantly 
       construct-proxy 
       contains? 
       content 
       content-handler 
       count 
       counted? 
       create-ns 
       create-struct 
       cycle 
       dec 
       decimal? 
       declare 
       delay 
       delay? 
       deliver 
       deref 
       derive 
       descendants 
       destructure 
       difference 
       disj 
       disj! 
       dissoc 
       dissoc! 
       distinct 
       distinct? 
       do 
       doall 
       doc 
       dorun 
       doseq 
       dosync 
       do-template 
       dotimes 
       doto 
       double 
       double-array 
       doubles 
       down 
       drop 
       drop-last 
       drop-while 
       e 
       edit 
       element 
       emit 
       emit-element 
       empty 
       empty? 
       end? 
       ensure 
       enumeration-seq 
       eval 
       even? 
       every? 
       extend 
       extenders 
       extend-protocol 
       extends? 
       extend-type 
       false? 
       ffirst 
       file-position 
       file-seq 
       filter 
       finally 
       find 
       find-doc 
       find-ns 
       find-var 
       first 
       float 
       float? 
       float-array 
       floats 
       flush 
       fn 
       fn? 
       fnext 
       for 
       force 
       format 
       function? 
       future 
       future? 
       future-call 
       future-cancel 
       future-cancelled? 
       future-done? 
       gen-and-load-class 
       gen-and-save-class 
       gen-class 
       gen-interface 
       gensym 
       get 
       get-child 
       get-child-count 
       get-in 
       get-method 
       get-possibly-unbound-var 
       get-proxy-class 
       get-thread-bindings 
       get-validator 
       handle 
       handler-case 
       hash 
       hash-map 
       hash-set 
       identical? 
       identity 
       if 
       if-let 
       ifn? 
       if-not 
       import 
       inc 
       inc-report-counter 
       index 
       init-proxy 
       in-ns 
       insert-child 
       insert-left 
       insert-right 
       inspect 
       inspect-table 
       inspect-tree 
       instance? 
       int 
       int-array 
       integer? 
       interleave 
       intern 
       interpose 
       intersection 
       into 
       into-array 
       ints 
       io! 
       is 
       isa? 
       is-leaf 
       iterate 
       iterator-seq 
       join 
       join-fixtures 
       juxt 
       key 
       keys 
       keyword 
       keyword? 
       keywordize-keys 
       last 
       lazy-cat 
       lazy-seq 
       left 
       leftmost 
       lefts 
       let 
       letfn 
       line-seq 
       list 
       list* 
       list? 
       list-model 
       list-provider 
       load 
       loaded-libs 
       load-file 
       load-reader 
       load-script 
       load-string 
       locking 
       long 
       long-array 
       longs 
       loop 
       macroexpand 
       macroexpand-1 
       macroexpand-all 
       main 
       make-array 
       make-hierarchy 
       make-node 
       map 
       map? 
       mapcat 
       map-invert 
       max 
       max-key 
       memfn 
       memoize 
       merge 
       merge-with 
       meta 
       methods 
       method-sig 
       min 
       min-key 
       mod 
       name 
       namespace 
       neg? 
       newline 
       next 
       nfirst 
       nil? 
       nnext 
       node 
       not 
       not= 
       not-any? 
       not-empty 
       not-every? 
       ns 
       ns-aliases 
       ns-imports 
       ns-interns 
       ns-map 
       ns-name 
       ns-publics 
       ns-refers 
       ns-resolve 
       ns-unalias 
       ns-unmap 
       nth 
       nthnext 
       num 
       number? 
       odd? 
       or 
       parents 
       partial 
       partition 
       path 
       pcalls 
       peek 
       persistent! 
       pmap 
       pop 
       pop! 
       pop-thread-bindings 
       pos? 
       postwalk 
       postwalk-demo 
       postwalk-replace 
       pr 
       prefer-method 
       prefers 
       prev 
       prewalk 
       prewalk-demo 
       prewalk-replace 
       primitives-classnames 
       print 
       print-cause-trace 
       print-ctor 
       print-doc 
       print-dup 
       printf 
       println 
       println-str 
       print-method 
       print-namespace-doc 
       print-simple 
       print-special-doc 
       print-stack-trace 
       print-str 
       print-throwable 
       print-trace-element 
       prn 
       prn-str 
       project 
       promise 
       proxy 
       proxy-call-with-super 
       proxy-mappings 
       proxy-name 
       proxy-super 
       pr-str 
       push-thread-bindings 
       pvalues 
       quot 
       rand 
       rand-int 
       range 
       ratio? 
       rational? 
       rationalize 
       read 
       read-line 
       read-string 
       recur 
       reduce 
       ref 
       refer 
       refer-clojure 
       ref-history-count 
       re-find 
       ref-max-history 
       ref-min-history 
       ref-set 
       re-groups 
       reify 
       release-pending-sends 
       rem 
       re-matcher 
       re-matches 
       remove 
       remove-method 
       remove-ns 
       remove-watcher 
       rename 
       rename-keys 
       re-pattern 
       repeat 
       repeatedly 
       repl 
       replace 
       repl-caught 
       repl-exception 
       replicate 
       repl-prompt 
       repl-read 
       report 
       require 
       re-seq 
       reset! 
       reset-meta! 
       resolve 
       rest 
       resultset-seq 
       reverse 
       reversible? 
       right 
       rightmost 
       rights 
       root 
       rseq 
       rsubseq 
       run-all-tests 
       run-tests 
       satisfies? 
       second 
       select 
       select-keys 
       send 
       send-off 
       seq 
       seq? 
       seque 
       sequence 
       sequential? 
       seq-zip 
       set 
       set? 
       set-test 
       set-validator! 
       short 
       short-array 
       shorts 
       shutdown-agents 
       skip-if-eol 
       skip-whitespace 
       slurp 
       some 
       sort 
       sort-by 
       sorted? 
       sorted-map 
       sorted-map-by 
       sorted-set 
       sorted-set-by 
       special-form-anchor 
       special-symbol? 
       split-at 
       split-with 
       str 
       stream? 
       string? 
       stringify-keys 
       struct 
       struct-map 
       subs 
       subseq 
       subvec 
       successful? 
       supers 
       swap! 
       symbol 
       symbol? 
       sync 
       syntax-symbol-anchor 
       take 
       take-last 
       take-nth 
       take-while 
       test 
       test-all-vars 
       testing 
       testing-contexts-str 
       testing-vars-str 
       test-ns 
       test-var 
       the-ns 
       throw 
       time 
       to-array 
       to-array-2d 
       trampoline 
       transient 
       tree-seq 
       true? 
       try 
       try-expr 
       type 
       unchecked-add 
       unchecked-dec 
       unchecked-divide 
       unchecked-inc 
       unchecked-multiply 
       unchecked-negate 
       unchecked-remainder 
       unchecked-subtract 
       underive 
       unimport 
       union 
       unquote 
       unquote-splicing 
       up 
       update-in 
       update-proxy 
       use 
       use-fixtures 
       val 
       vals 
       var? 
       var-get 
       var-set 
       vary-meta 
       vec 
       vector 
       vector? 
       walk 
       when 
       when-first 
       when-let 
       when-not 
       while 
       with-bindings 
       with-bindings* 
       with-in-str 
       with-loading-context 
       with-local-vars 
       with-meta 
       with-open 
       with-out-str 
       with-precision 
       with-test 
       with-test-out 
       xml-seq 
       zero? 
    
    
       *1 
       *2 
       *3 
       *agent* 
       *allow-unresolved-vars* 
       *assert* 
       *clojure-version* 
       *command-line-args* 
       *compile-files* 
       *compile-path* 
       *current* 
       *e 
       *err* 
       *file* 
       *flush-on-newline* 
       *in* 
       *initial-report-counters* 
       *load-tests* 
       *macro-meta* 
       *math-context* 
       *ns* 
       *out* 
       *print-dup* 
       *print-length* 
       *print-level* 
       *print-meta* 
       *print-readably* 
       *read-eval* 
       *report-counters* 
       *sb* 
       *source-path* 
       *stack* 
       *stack-trace-depth* 
       *state* 
       *testing-contexts* 
       *testing-vars* 
       *test-out* 
       *use-context-classloader* 
       *warn-on-reflection* 
    
    
      
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
      
      
        
        
        
        
      
      
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
    
  

highlighting-kate-0.6.1/xml/cmake.xml0000644000000000000000000013147212633103275015707 0ustar0000000000000000




  

    
    
      
       add_compile_options 
       add_custom_command 
       add_custom_target 
       add_definitions 
       add_dependencies 
       add_executable 
       add_library 
       add_subdirectory 
       add_test 
       aux_source_directory 
       break 
       build_command 
       build_name 
       cmake_host_system_information 
       cmake_minimum_required 
       cmake_policy 
       configure_file 
       create_test_sourcelist 
       define_property 
       else 
       elseif 
       enable_language 
       enable_testing 
       endforeach 
       endfunction 
       endif 
       endmacro 
       endwhile 
       exec_program 
       execute_process 
       export 
       export_library_dependencies 
       file 
       find_file 
       find_library 
       find_package 
       find_path 
       find_program 
       fltk_wrap_ui 
       foreach 
       function 
       get_cmake_property 
       get_directory_property 
       get_filename_component 
       get_property 
       get_source_file_property 
       get_target_property 
       get_test_property 
       if 
       include 
       include_directories 
       include_external_msproject 
       include_regular_expression 
       install 
       install_files 
       install_programs 
       install_targets 
       link_directories 
       link_libraries 
       list 
       load_cache 
       load_command 
       macro 
       make_directory 
       mark_as_advanced 
       math 
       message 
       option 
       output_required_files 
       project 
       qt_wrap_cpp 
       qt_wrap_ui 
       remove 
       remove_definitions 
       return 
       separate_arguments 
       set 
       set_directory_properties 
       set_property 
       set_source_files_properties 
       set_target_properties 
       set_tests_properties 
       site_name 
       source_group 
       string 
       subdir_depends 
       subdirs 
       target_compile_definitions 
       target_compile_options 
       target_include_directories 
       target_link_libraries 
       try_compile 
       try_run 
       unset 
       use_mangled_mesa 
       utility_source 
       variable_requires 
       variable_watch 
       while 
       write_file 
    

    
       itk_wrap_tcl 
       vtk_make_instantiator 
       vtk_wrap_java 
       vtk_wrap_python 
       vtk_wrap_tcl 
    

    
    
      
       AFTER 
       ALIAS 
       ALL 
       ALPHABET 
       AND 
       APPEND 
       APPEND_STRING 
       ARCHIVE 
       ARGS 
       ASCII 
       AUTHOR_WARNING 
       BEFORE 
       BRIEF_DOCS 
       BUNDLE 
       CACHE 
       CACHED_VARIABLE 
       CLEAR 
       CMAKE_FIND_ROOT_PATH_BOTH 
       CMAKE_FLAGS 
       CODE 
       COMMAND 
       COMMAND_NAME 
       COMMENT 
       COMPARE 
       COMPILE_DEFINITIONS 
       COMPILE_OUTPUT_VARIABLE 
       COMPILE_RESULT_VAR 
       COMPONENT 
       COMPONENTS 
       CONDITION 
       CONFIG 
       CONFIGS 
       CONFIGURATION 
       CONFIGURATIONS 
       CONFIGURE 
       CONTENT 
       COPY 
       COPYONLY 
       COPY_FILE 
       COPY_FILE_ERROR 
       CRLF 
       DEFINED 
       DEFINITION 
       DEPENDS 
       DESTINATION 
       DIRECTORY 
       DIRECTORY_PERMISSIONS 
       DOC 
       DOS 
       DOWNLOAD 
       ENV 
       EQUAL 
       ERROR_FILE 
       ERROR_QUIET 
       ERROR_STRIP_TRAILING_WHITESPACE 
       ERROR_VARIABLE 
       ESCAPE_QUOTES 
       EXACT 
       EXCLUDE 
       EXCLUDE_FROM_ALL 
       EXISTS 
       EXPECTED_HASH 
       EXPECTED_MD5 
       EXPORT 
       EXPORT_LINK_INTERFACE_LIBRARIES 
       EXPR 
       EXTRA_INCLUDE 
       FATAL_ERROR 
       FILE 
       FILES 
       FILES_MATCHING 
       FILE_PERMISSIONS 
       FIND 
       FOLLOW_SYMLINKS 
       FORCE 
       FRAMEWORK 
       FULL_DOCS 
       FUNCTION 
       GENERATE 
       GET 
       GLOB 
       GLOBAL 
       GLOB_RECURSE 
       GREATER 
       GROUP_EXECUTE 
       GROUP_READ 
       GUID 
       HEX 
       HINTS 
       IMPLICIT_DEPENDS 
       IMPORTED 
       IN 
       INACTIVITY_TIMEOUT 
       INCLUDES 
       INCLUDE_INTERNALS 
       INHERITED 
       INPUT 
       INPUT_FILE 
       INSERT 
       INSTALL 
       INTERFACE 
       IS_ABSOLUTE 
       IS_DIRECTORY 
       IS_NEWER_THAN 
       IS_SYMLINK 
       ITEMS 
       LENGTH 
       LENGTH_MAXIMUM 
       LENGTH_MINIMUM 
       LESS 
       LF 
       LIBRARY 
       LIMIT 
       LIMIT_COUNT 
       LIMIT_INPUT 
       LIMIT_OUTPUT 
       LINK_INTERFACE_LIBRARIES 
       LINK_LIBRARIES 
       LINK_PRIVATE 
       LINK_PUBLIC 
       LISTS 
       LOG 
       MACOSX_BUNDLE 
       MAIN_DEPENDENCY 
       MAKE_C_IDENTIFIER 
       MAKE_DIRECTORY 
       MATCH 
       MATCHALL 
       MATCHES 
       MD5 
       MODULE 
       NAME 
       NAMELINK_ONLY 
       NAMELINK_SKIP 
       NAMES 
       NAMESPACE 
       NAMES_PER_DIR 
       NEW 
       NEWLINE_CONSUME 
       NEWLINE_STYLE 
       NOT 
       NOTEQUAL 
       NO_CMAKE_BUILDS_PATH 
       NO_CMAKE_ENVIRONMENT_PATH 
       NO_CMAKE_FIND_ROOT_PATH 
       NO_CMAKE_PACKAGE_REGISTRY 
       NO_CMAKE_PATH 
       NO_CMAKE_SYSTEM_PACKAGE_REGISTRY 
       NO_CMAKE_SYSTEM_PATH 
       NO_DEFAULT_PATH 
       NO_HEX_CONVERSION 
       NO_MODULE 
       NO_POLICY_SCOPE 
       NO_SOURCE_PERMISSIONS 
       NO_SYSTEM_ENVIRONMENT_PATH 
       OBJECT 
       OFFSET 
       OLD 
       ONLY_CMAKE_FIND_ROOT_PATH 
       OPTIONAL 
       OPTIONAL_COMPONENTS 
       OR 
       OUTPUT 
       OUTPUT_DIRECTORY 
       OUTPUT_FILE 
       OUTPUT_QUIET 
       OUTPUT_STRIP_TRAILING_WHITESPACE 
       OUTPUT_VARIABLE 
       OWNER_EXECUTE 
       OWNER_READ 
       OWNER_WRITE 
       PACKAGE 
       PARENT_SCOPE 
       PATHS 
       PATH_SUFFIXES 
       PATH_TO_MESA 
       PATTERN 
       PERMISSIONS 
       PLATFORM 
       POLICY 
       POP 
       POST_BUILD 
       PREORDER 
       PRE_BUILD 
       PRE_LINK 
       PRIVATE 
       PRIVATE_HEADER 
       PROGRAM 
       PROGRAMS 
       PROGRAM_ARGS 
       PROJECT_NAME 
       PROPERTIES 
       PROPERTY 
       PUBLIC 
       PUBLIC_HEADER 
       PUSH 
       QUERY 
       QUIET 
       RANDOM 
       RANDOM_SEED 
       RANGE 
       READ 
       READ_WITH_PREFIX 
       REGEX 
       REGULAR_EXPRESSION 
       RELATIVE 
       RELATIVE_PATH 
       REMOVE 
       REMOVE_AT 
       REMOVE_DUPLICATES 
       REMOVE_ITEM 
       REMOVE_RECURSE 
       RENAME 
       REPLACE 
       REQUIRED 
       REQUIRED_VARIABLE1 
       REQUIRED_VARIABLE2 
       RESOURCE 
       RESULT 
       RESULT_VAR 
       RESULT_VARIABLE 
       RETURN_VALUE 
       REVERSE 
       RUNTIME 
       RUNTIME_DIRECTORY 
       RUN_OUTPUT_VARIABLE 
       RUN_RESULT_VAR 
       SCRIPT 
       SEND_ERROR 
       SET 
       SHA1 
       SHA224 
       SHA256 
       SHA384 
       SHA512 
       SHARED 
       SHOW_PROGRESS 
       SORT 
       SOURCE 
       SOURCES 
       STATIC 
       STATUS 
       STREQUAL 
       STRGREATER 
       STRINGS 
       STRIP 
       STRLESS 
       SUBSTRING 
       SYSTEM 
       TARGET 
       TARGETS 
       TEST 
       TEST_VARIABLE 
       TIMEOUT 
       TIMESTAMP 
       TLS_CAINFO 
       TLS_VERIFY 
       TOLOWER 
       TOUPPER 
       TO_CMAKE_PATH 
       TO_NATIVE_PATH 
       TYPE 
       UNIX 
       UNIX_COMMAND 
       UNKNOWN 
       UPLOAD 
       USE_SOURCE_PERMISSIONS 
       UTC 
       VALUE 
       VARIABLE 
       VERBATIM 
       VERSION 
       VERSION_EQUAL 
       VERSION_GREATER 
       VERSION_LESS 
       WARNING 
       WIN32 
       WINDOWS_COMMAND 
       WORKING_DIRECTORY 
       WRITE 
    

    
    
      
       PATH 
       NAME 
       EXT 
       NAME_WE 
       ABSOLUTE 
       REALPATH 
      
       FILEPATH 
      
       STRING 
       BOOL 
       INTERNAL 
      
       NUMBER_OF_LOGICAL_CORES 
       NUMBER_OF_PHYSICAL_CORES 
       HOSTNAME 
       FQDN 
       TOTAL_VIRTUAL_MEMORY 
       AVAILABLE_VIRTUAL_MEMORY 
       TOTAL_PHYSICAL_MEMORY 
       AVAILABLE_PHYSICAL_MEMORY 
    

    
    
      
       ABSTRACT 
       ADDITIONAL_MAKE_CLEAN_FILES 
       ADVANCED 
       ALIASED_TARGET 
       ALLOW_DUPLICATE_CUSTOM_TARGETS 
       ARCHIVE_OUTPUT_DIRECTORY 
       ARCHIVE_OUTPUT_NAME 
       ATTACHED_FILES 
       ATTACHED_FILES_ON_FAIL 
       AUTOMOC 
       AUTOMOC_MOC_OPTIONS 
       AUTOMOC_TARGETS_FOLDER 
       BUILD_WITH_INSTALL_RPATH 
       BUNDLE 
       BUNDLE_EXTENSION 
       CACHE_VARIABLES 
       CLEAN_NO_CUSTOM 
       COMPATIBLE_INTERFACE_BOOL 
       COMPATIBLE_INTERFACE_STRING 
       COMPILE_DEFINITIONS 
       COMPILE_FLAGS 
       COMPILE_OPTIONS 
       COST 
       DEBUG_CONFIGURATIONS 
       DEBUG_POSTFIX 
       DEFINE_SYMBOL 
       DEFINITIONS 
       DEPENDS 
       DISABLED_FEATURES 
       ENABLED_FEATURES 
       ENABLED_LANGUAGES 
       ENABLE_EXPORTS 
       ENVIRONMENT 
       EXCLUDE_FROM_ALL 
       EXCLUDE_FROM_DEFAULT_BUILD 
       EXPORT_NAME 
       EXTERNAL_OBJECT 
       EchoString 
       FAIL_REGULAR_EXPRESSION 
       FIND_LIBRARY_USE_LIB64_PATHS 
       FIND_LIBRARY_USE_OPENBSD_VERSIONING 
       FOLDER 
       FRAMEWORK 
       Fortran_FORMAT 
       Fortran_MODULE_DIRECTORY 
       GENERATED 
       GENERATOR_FILE_NAME 
       GLOBAL_DEPENDS_DEBUG_MODE 
       GLOBAL_DEPENDS_NO_CYCLES 
       GNUtoMS 
       HAS_CXX 
       HEADER_FILE_ONLY 
       HELPSTRING 
       IMPLICIT_DEPENDS_INCLUDE_TRANSFORM 
       IMPORTED 
       IMPORTED_CONFIGURATIONS 
       IMPORTED_IMPLIB 
       IMPORTED_LINK_DEPENDENT_LIBRARIES 
       IMPORTED_LINK_INTERFACE_LANGUAGES 
       IMPORTED_LINK_INTERFACE_LIBRARIES 
       IMPORTED_LINK_INTERFACE_MULTIPLICITY 
       IMPORTED_LOCATION 
       IMPORTED_NO_SONAME 
       IMPORTED_SONAME 
       IMPORT_PREFIX 
       IMPORT_SUFFIX 
       INCLUDE_DIRECTORIES 
       INCLUDE_REGULAR_EXPRESSION 
       INSTALL_NAME_DIR 
       INSTALL_RPATH 
       INSTALL_RPATH_USE_LINK_PATH 
       INTERFACE_COMPILE_DEFINITIONS 
       INTERFACE_COMPILE_OPTIONS 
       INTERFACE_INCLUDE_DIRECTORIES 
       INTERFACE_LINK_LIBRARIES 
       INTERFACE_POSITION_INDEPENDENT_CODE 
       INTERFACE_SYSTEM_INCLUDE_DIRECTORIES 
       INTERPROCEDURAL_OPTIMIZATION 
       IN_TRY_COMPILE 
       KEEP_EXTENSION 
       LABELS 
       LANGUAGE 
       LIBRARY_OUTPUT_DIRECTORY 
       LIBRARY_OUTPUT_NAME 
       LINKER_LANGUAGE 
       LINK_DEPENDS 
       LINK_DEPENDS_NO_SHARED 
       LINK_DIRECTORIES 
       LINK_FLAGS 
       LINK_INTERFACE_LIBRARIES 
       LINK_INTERFACE_MULTIPLICITY 
       LINK_LIBRARIES 
       LINK_SEARCH_END_STATIC 
       LINK_SEARCH_START_STATIC 
       LISTFILE_STACK 
       LOCATION 
       MACOSX_BUNDLE 
       MACOSX_BUNDLE_INFO_PLIST 
       MACOSX_FRAMEWORK_INFO_PLIST 
       MACOSX_PACKAGE_LOCATION 
       MACOSX_RPATH 
       MACROS 
       MEASUREMENT 
       MODIFIED 
       NAME 
       NO_SONAME 
       OBJECT_DEPENDS 
       OBJECT_OUTPUTS 
       OSX_ARCHITECTURES 
       OUTPUT_NAME 
       PACKAGES_FOUND 
       PACKAGES_NOT_FOUND 
       PARENT_DIRECTORY 
       PASS_REGULAR_EXPRESSION 
       PDB_NAME 
       PDB_OUTPUT_DIRECTORY 
       POSITION_INDEPENDENT_CODE 
       POST_INSTALL_SCRIPT 
       PREDEFINED_TARGETS_FOLDER 
       PREFIX 
       PRE_INSTALL_SCRIPT 
       PRIVATE_HEADER 
       PROCESSORS 
       PROJECT_LABEL 
       PUBLIC_HEADER 
       REPORT_UNDEFINED_PROPERTIES 
       REQUIRED_FILES 
       RESOURCE 
       RESOURCE_LOCK 
       RULE_LAUNCH_COMPILE 
       RULE_LAUNCH_CUSTOM 
       RULE_LAUNCH_LINK 
       RULE_MESSAGES 
       RUNTIME_OUTPUT_DIRECTORY 
       RUNTIME_OUTPUT_NAME 
       RUN_SERIAL 
       SKIP_BUILD_RPATH 
       SOURCES 
       SOVERSION 
       STATIC_LIBRARY_FLAGS 
       STRINGS 
       SUFFIX 
       SYMBOLIC 
       TARGET_ARCHIVES_MAY_BE_SHARED_LIBS 
       TARGET_SUPPORTS_SHARED_LIBS 
       TEST_INCLUDE_FILE 
       TIMEOUT 
       TYPE 
       USE_FOLDERS 
       VALUE 
       VARIABLES 
       VERSION 
       VISIBILITY_INLINES_HIDDEN 
       VS_DOTNET_REFERENCES 
       VS_DOTNET_TARGET_FRAMEWORK_VERSION 
       VS_GLOBAL_KEYWORD 
       VS_GLOBAL_PROJECT_TYPES 
       VS_GLOBAL_ROOTNAMESPACE 
       VS_KEYWORD 
       VS_SCC_AUXPATH 
       VS_SCC_LOCALPATH 
       VS_SCC_PROJECTNAME 
       VS_SCC_PROVIDER 
       VS_WINRT_EXTENSIONS 
       VS_WINRT_REFERENCES 
       WILL_FAIL 
       WIN32_EXECUTABLE 
       WORKING_DIRECTORY 
       WRAP_EXCLUDE 
       __CMAKE_DELETE_CACHE_CHANGE_VARS_ 
    

    
    
       COMMANDS  
       DEFINITION 
    

    
    
      
       APPLE 
       BORLAND 
       BUILD_SHARED_LIBS 
       CMAKE_ABSOLUTE_DESTINATION_FILES 
       CMAKE_AR 
       CMAKE_ARCHIVE_OUTPUT_DIRECTORY 
       CMAKE_ARGC 
       CMAKE_ARGV0 
       CMAKE_AUTOMOC 
       CMAKE_AUTOMOC_MOC_OPTIONS 
       CMAKE_AUTOMOC_RELAXED_MODE 
       CMAKE_BACKWARDS_COMPATIBILITY 
       CMAKE_BINARY_DIR 
       CMAKE_BUILD_TOOL 
       CMAKE_BUILD_TYPE 
       CMAKE_BUILD_WITH_INSTALL_RPATH 
       CMAKE_CACHEFILE_DIR 
       CMAKE_CACHE_MAJOR_VERSION 
       CMAKE_CACHE_MINOR_VERSION 
       CMAKE_CACHE_PATCH_VERSION 
       CMAKE_CFG_INTDIR 
       CMAKE_CL_64 
       CMAKE_COLOR_MAKEFILE 
       CMAKE_COMMAND 
       CMAKE_COMPILER_2005 
       CMAKE_CONFIGURATION_TYPES 
       CMAKE_CROSSCOMPILING 
       CMAKE_CTEST_COMMAND 
       CMAKE_CURRENT_BINARY_DIR 
       CMAKE_CURRENT_LIST_DIR 
       CMAKE_CURRENT_LIST_FILE 
       CMAKE_CURRENT_LIST_LINE 
       CMAKE_CURRENT_SOURCE_DIR 
       CMAKE_DEBUG_POSTFIX 
       CMAKE_DEBUG_TARGET_PROPERTIES 
       CMAKE_DL_LIBS 
       CMAKE_EDIT_COMMAND 
       CMAKE_ERROR_DEPRECATED 
       CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION 
       CMAKE_EXECUTABLE_SUFFIX 
       CMAKE_EXE_LINKER_FLAGS 
       CMAKE_EXTRA_GENERATOR 
       CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES 
       CMAKE_FIND_LIBRARY_PREFIXES 
       CMAKE_FIND_LIBRARY_SUFFIXES 
       CMAKE_FIND_PACKAGE_WARN_NO_MODULE 
       CMAKE_Fortran_FORMAT 
       CMAKE_Fortran_MODDIR_DEFAULT 
       CMAKE_Fortran_MODDIR_FLAG 
       CMAKE_Fortran_MODOUT_FLAG 
       CMAKE_Fortran_MODULE_DIRECTORY 
       CMAKE_GENERATOR 
       CMAKE_GENERATOR_TOOLSET 
       CMAKE_GNUtoMS 
       CMAKE_HOME_DIRECTORY 
       CMAKE_HOST_APPLE 
       CMAKE_HOST_SYSTEM 
       CMAKE_HOST_SYSTEM_NAME 
       CMAKE_HOST_SYSTEM_PROCESSOR 
       CMAKE_HOST_SYSTEM_VERSION 
       CMAKE_HOST_UNIX 
       CMAKE_HOST_WIN32 
       CMAKE_IGNORE_PATH 
       CMAKE_IMPORT_LIBRARY_PREFIX 
       CMAKE_IMPORT_LIBRARY_SUFFIX 
       CMAKE_INCLUDE_CURRENT_DIR 
       CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE 
       CMAKE_INCLUDE_PATH 
       CMAKE_INSTALL_DEFAULT_COMPONENT_NAME 
       CMAKE_INSTALL_NAME_DIR 
       CMAKE_INSTALL_PREFIX 
       CMAKE_INSTALL_RPATH 
       CMAKE_INSTALL_RPATH_USE_LINK_PATH 
       CMAKE_INTERNAL_PLATFORM_ABI 
       CMAKE_LIBRARY_ARCHITECTURE 
       CMAKE_LIBRARY_ARCHITECTURE_REGEX 
       CMAKE_LIBRARY_OUTPUT_DIRECTORY 
       CMAKE_LIBRARY_PATH 
       CMAKE_LIBRARY_PATH_FLAG 
       CMAKE_LINK_DEF_FILE_FLAG   
       CMAKE_LINK_DEPENDS_NO_SHARED 
       CMAKE_LINK_INTERFACE_LIBRARIES 
       CMAKE_LINK_LIBRARY_FILE_FLAG 
       CMAKE_LINK_LIBRARY_FLAG 
       CMAKE_LINK_LIBRARY_SUFFIX 
       CMAKE_MACOSX_BUNDLE 
       CMAKE_MAJOR_VERSION 
       CMAKE_MAKE_PROGRAM 
       CMAKE_MFC_FLAG 
       CMAKE_MINIMUM_REQUIRED_VERSION 
       CMAKE_MINOR_VERSION 
       CMAKE_MODULE_LINKER_FLAGS 
       CMAKE_MODULE_PATH 
       CMAKE_NOT_USING_CONFIG_FLAGS 
       CMAKE_NO_BUILTIN_CHRPATH 
       CMAKE_OBJECT_PATH_MAX 
       CMAKE_PARENT_LIST_FILE 
       CMAKE_PATCH_VERSION 
       CMAKE_PDB_OUTPUT_DIRECTORY 
       CMAKE_POSITION_INDEPENDENT_CODE 
       CMAKE_PREFIX_PATH 
       CMAKE_PROGRAM_PATH 
       CMAKE_PROJECT_NAME 
       CMAKE_RANLIB 
       CMAKE_ROOT 
       CMAKE_RUNTIME_OUTPUT_DIRECTORY 
       CMAKE_SCRIPT_MODE_FILE 
       CMAKE_SHARED_LIBRARY_PREFIX 
       CMAKE_SHARED_LIBRARY_SUFFIX 
       CMAKE_SHARED_LINKER_FLAGS 
       CMAKE_SHARED_MODULE_PREFIX 
       CMAKE_SHARED_MODULE_SUFFIX 
       CMAKE_SIZEOF_VOID_P 
       CMAKE_SKIP_BUILD_RPATH 
       CMAKE_SKIP_INSTALL_ALL_DEPENDENCY 
       CMAKE_SKIP_INSTALL_RPATH 
       CMAKE_SKIP_RPATH 
       CMAKE_SOURCE_DIR 
       CMAKE_STANDARD_LIBRARIES 
       CMAKE_STATIC_LIBRARY_PREFIX 
       CMAKE_STATIC_LIBRARY_SUFFIX 
       CMAKE_STATIC_LINKER_FLAGS 
       CMAKE_SYSTEM 
       CMAKE_SYSTEM_IGNORE_PATH 
       CMAKE_SYSTEM_INCLUDE_PATH 
       CMAKE_SYSTEM_LIBRARY_PATH 
       CMAKE_SYSTEM_NAME 
       CMAKE_SYSTEM_PREFIX_PATH 
       CMAKE_SYSTEM_PROCESSOR 
       CMAKE_SYSTEM_PROGRAM_PATH 
       CMAKE_SYSTEM_VERSION 
       CMAKE_TRY_COMPILE_CONFIGURATION 
       CMAKE_TWEAK_VERSION 
       CMAKE_USER_MAKE_RULES_OVERRIDE 
       CMAKE_USE_RELATIVE_PATHS 
       CMAKE_VERBOSE_MAKEFILE 
       CMAKE_VERSION 
       CMAKE_VISIBILITY_INLINES_HIDDEN 
       CMAKE_VS_PLATFORM_TOOLSET 
       CMAKE_WARN_DEPRECATED 
       CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION 
       CMAKE_WIN32_EXECUTABLE 
       CMAKE_XCODE_PLATFORM_TOOLSET 
       CYGWIN 
       ENV 
       EXECUTABLE_OUTPUT_PATH 
       LIBRARY_OUTPUT_PATH 
       MSVC 
       MSVC10 
       MSVC11 
       MSVC12 
       MSVC60 
       MSVC70 
       MSVC71 
       MSVC80 
       MSVC90 
       MSVC_IDE 
       MSVC_VERSION 
       PROJECT_BINARY_DIR 
       PROJECT_NAME 
       PROJECT_SOURCE_DIR 
       UNIX 
       WIN32 
       XCODE_VERSION 
    

    
       CONFIGURATION 
       ANGLE-R 
       COMMA 
       SEMICOLON 
       INSTALL_PREFIX 
    

    
       0 
       1 
       CONFIG 
       BOOL 
       STREQUAL 
       JOIN 
       TARGET_NAME 
       INSTALL_INTERFACE 
       BUILD_INTERFACE 
       C_COMPILER_ID 
       CXX_COMPILER_ID 
       VERSION_GREATER 
       VERSION_LESS 
       VERSION_EQUAL 
       C_COMPILER_VERSION 
       CXX_COMPILER_VERSION 
       TARGET_FILE 
       TARGET_LINKER_FILE 
       TARGET_SONAME_FILE 
       TARGET_FILE_DIR 
       TARGET_FILE_NAME 
       TARGET_DIR 
       TARGET_LINKER_FILE_DIR 
       TARGET_LINKER_FILE_NAME 
       TARGET_SONAME_FILE_DIR 
       TARGET_SONAME_FILE_NAME 
       TARGET_PROPERTY 
       TARGET_OBJECTS 
       TARGET_POLICY 
       AND 
       OR 
       NOT 
    

    
      
        

        
        
        
        
        

        
        
        

        
        
        

        
        
        

        
        
        
        
        
        
        
        
        
      
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
      
      
        
        
        
        
      
      
        
        
      
      
        
      
      
        
        
        
        
        
      
      
        
      
      
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
      
      
        
        
        
      
      
        
      
      
        
        
        
      
      
        
        
        
        
      
      
        
      

    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  

  
    
      
    
    
  

highlighting-kate-0.6.1/xml/coffee.xml0000644000000000000000000002661212633103275016055 0ustar0000000000000000



  
    
    
      false
      true
      yes
      no
      on
      off
      undefined
      null
      NaN
      Infinity
    
    
    
      return
      break
      continue
      throw
      for
      while
      until
      loop
      if
      else
      unless
      switch
      when
      then
      and
      or
      in
      do
      of
      by
      is
      isnt
      not
      typeof
      delete
      where
      super
      try
      catch
      finally
      try
      catch
      finally
      constructor
    
    
    
      class
      extends
      new
      instanceof
    
    
    
      case
      default
      function
      var
      void
      with
      const
      let
      enum
      export
      import
      native
      __hasProp
      __extends
      __slice
      __bind
      __indexOf
    
    
    
      Object
      Number
      Boolean
      Array
      String
      RegExp
      Function
      Date
      Math
      eval
      setInterval
      clearInterval
      setTimeout
      clearTimeout
      isFinite
      isNaN
      parseFloat
      parseInt
      escape
      unescape
      console
      encodeURI
      encodeURIComponent
      decodeURI
      decodeURIComponent
    
    
    
      window
      document
      navigator
      location
      history
      screen
      alert
      prompt
    
    
    
      process
      GLOBAL
      require
      exports
    
    
    
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
      
        
        
        
      
      
      
        
        
      
      
      
        
      
      
        
        
      
      
      
        
        
      
      
        
        
        
      
      
      
        
        
      
      
        
        
        
      
      
      
        
      
      
      
        
        
        
      
    
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
  
    
    
    
      
      
    
    
    
      
    
  

highlighting-kate-0.6.1/xml/coldfusion.xml0000644000000000000000000006415012633103275016772 0ustar0000000000000000



	

		

			 if 
			 else 
			 for 
			 in 
			 while 
			 do 
			 continue 
			 break 
			 with 
			 try 
			 catch 
			 switch 
			 case 
			 new 
			 var 
			 function 
			 return 
			 this 
			 delete 
			 true 
			 false 
			 void 
			 throw 
			 typeof 
			 const 
			 default 

		

		

			 Anchor 
			 Applet 
			 Area 
			 Array 
			 Boolean 
			 Button 
			 Checkbox 
			 Date 
			 Document 
			 Event 
			 FileUpload 
			 Form 
			 Frame 
			 Function 
			 Hidden 
			 History 
			 Image 
			 Layer 
			 Linke 
			 Location 
			 Math 
			 Navigator 
			 Number 
			 Object 
			 Option 
			 Password 
			 Radio 
			 RegExp 
			 Reset 
			 Screen 
			 Select 
			 String 
			 Submit 
			 Text 
			 Textarea 
			 Window 

		

		

			 abs 
			 acos 
			 alert 
			 anchor 
			 apply 
			 asin 
			 atan 
			 atan2 
			 back 
			 blur 
			 call 
			 captureEvents 
			 ceil 
			 charAt 
			 charCodeAt 
			 clearInterval 
			 clearTimeout 
			 click 
			 close 
			 compile 
			 concat 
			 confirm 
			 cos 
			 disableExternalCapture 
			 enableExternalCapture 
			 eval 
			 exec 
			 exp 
			 find 
			 floor 
			 focus 
			 forward 
			 fromCharCode 
			 getDate 
			 getDay 
			 getFullYear 
			 getHours 
			 getMilliseconds 
			 getMinutes 
			 getMonth 
			 getSeconds 
			 getSelection 
			 getTime 
			 getTimezoneOffset 
			 getUTCDate 
			 getUTCDay 
			 getUTCFullYear 
			 getUTCHours 
			 getUTCMilliseconds 
			 getUTCMinutes 
			 getUTCMonth 
			 getUTCSeconds 
			 go 
			 handleEvent 
			 home 
			 indexOf 
			 javaEnabled 
			 join 
			 lastIndexOf 
			 link 
			 load 
			 log 
			 match 
			 max 
			 min 
			 moveAbove 
			 moveBelow 
			 moveBy 
			 moveTo 
			 moveToAbsolute 
			 open 
			 parse 
			 plugins.refresh 
			 pop 
			 pow 
			 preference 
			 print 
			 prompt 
			 push 
			 random 
			 releaseEvents 
			 reload 
			 replace 
			 reset 
			 resizeBy 
			 resizeTo 
			 reverse 
			 round 
			 routeEvent 
			 scrollBy 
			 scrollTo 
			 search 
			 select 
			 setDate 
			 setFullYear 
			 setHours 
			 setInterval 
			 setMilliseconds 
			 setMinutes 
			 setMonth 
			 setSeconds 
			 setTime 
			 setTimeout 
			 setUTCDate 
			 setUTCFullYear 
			 setUTCHours 
			 setUTCMilliseconds 
			 setUTCMinutes 
			 setUTCMonth 
			 setUTCSeconds 
			 shift 
			 sin 
			 slice 
			 sort 
			 splice 
			 split 
			 sqrt 
			 stop 
			 String formatting 
			 submit 
			 substr 
			 substring 
			 taintEnabled 
			 tan 
			 test 
			 toLocaleString 
			 toLowerCase 
			 toSource 
			 toString 
			 toUpperCase 
			 toUTCString 
			 unshift 
			 unwatch 
			 UTC 
			 valueOf 
			 watch 
			 write 
			 writeln  

		

		

			 break 
			 case 
			 catch 
			 continue 
			 default 
			 do 
			 else 
			 for 
			 function 
			 if 
			 in 
			 return 
			 switch 
			 try 
			 var 
			 while 

		

		

			 Abs 
			 ACos 
			 ArrayAppend 
			 ArrayAvg 
			 ArrayClear 
			 ArrayDeleteAt 
			 ArrayInsertAt 
			 ArrayIsEmpty 
			 ArrayLen 
			 ArrayMax 
			 ArrayMin 
			 ArrayNew 
			 ArrayPrepend 
			 ArrayResize 
			 ArraySet 
			 ArraySort 
			 ArraySum 
			 ArraySwap 
			 ArrayToList 
			 Asc 
			 ASin 
			 Atn 
			 BitAnd 
			 BitMaskClear 
			 BitMaskRead 
			 BitMaskSet 
			 BitNot 
			 BitOr 
			 BitSHLN 
			 BitSHRN 
			 BitXor 
			 Ceiling 
			 Chr 
			 CJustify 
			 Compare 
			 CompareNoCase 
			 Cos 
			 CreateDate 
			 CreateDateTime 
			 CreateObject 
			 CreateODBCDate 
			 CreateODBCDateTime 
			 CreateODBCTime 
			 CreateTime 
			 CreateTimeSpan 
			 CreateUUID 
			 DateAdd 
			 DateCompare 
			 DateConvert 
			 DateDiff 
			 DateFormat 
			 DatePart 
			 Day 
			 DayOfWeek 
			 DayOfWeekAsString 
			 DayOfYear 
			 DaysInMonth 
			 DaysInYear 
			 DE 
			 DecimalFormat 
			 DecrementValue 
			 Decrypt 
			 DeleteClientVariable 
			 DirectoryExists 
			 DollarFormat 
			 Duplicate 
			 Encrypt 
			 Evaluate 
			 Exp 
			 ExpandPath 
			 FileExists 
			 Find 
			 FindNoCase 
			 FindOneOf 
			 FirstDayOfMonth 
			 Fix 
			 FormatBaseN 
			 GetAuthUser 
			 GetBaseTagData 
			 GetBaseTagList 
			 GetBaseTemplatePath 
			 GetClientVariablesList 
			 GetCurrentTemplatePath 
			 GetDirectoryFromPath 
			 GetException 
			 GetFileFromPath 
			 GetFunctionList 
			 GetHttpRequestData 
			 GetHttpTimeString 
			 GetK2ServerDocCount 
			 GetK2ServerDocCountLimit 
			 GetLocale 
			 GetMetaData 
			 GetMetricData 
			 GetPageContext 
			 GetProfileSections 
			 GetProfileString 
			 GetServiceSettings 
			 GetTempDirectory 
			 GetTempFile 
			 GetTemplatePath 
			 GetTickCount 
			 GetTimeZoneInfo 
			 GetToken 
			 Hash 
			 Hour 
			 HTMLCodeFormat 
			 HTMLEditFormat 
			 IIf 
			 IncrementValue 
			 InputBaseN 
			 Insert 
			 Int 
			 IsArray 
			 IsBinary 
			 IsBoolean 
			 IsCustomFunction 
			 IsDate 
			 IsDebugMode 
			 IsDefined 
			 IsK2ServerABroker 
			 IsK2ServerDocCountExceeded 
			 IsK2ServerOnline 
			 IsLeapYear 
			 IsNumeric 
			 IsNumericDate 
			 IsObject 
			 IsQuery 
			 IsSimpleValue 
			 IsStruct 
			 IsUserInRole 
			 IsWDDX 
			 IsXmlDoc 
			 IsXmlElement 
			 IsXmlRoot 
			 JavaCast 
			 JSStringFormat 
			 LCase 
			 Left 
			 Len 
			 ListAppend 
			 ListChangeDelims 
			 ListContains 
			 ListContainsNoCase 
			 ListDeleteAt 
			 ListFind 
			 ListFindNoCase 
			 ListFirst 
			 ListGetAt 
			 ListInsertAt 
			 ListLast 
			 ListLen 
			 ListPrepend 
			 ListQualify 
			 ListRest 
			 ListSetAt 
			 ListSort 
			 ListToArray 
			 ListValueCount 
			 ListValueCountNoCase 
			 LJustify 
			 Log 
			 Log10 
			 LSCurrencyFormat 
			 LSDateFormat 
			 LSEuroCurrencyFormat 
			 LSIsCurrency 
			 LSIsDate 
			 LSIsNumeric 
			 LSNumberFormat 
			 LSParseCurrency 
			 LSParseDateTime 
			 LSParseEuroCurrency 
			 LSParseNumber 
			 LSTimeFormat 
			 LTrim 
			 Max 
			 Mid 
			 Min 
			 Minute 
			 Month 
			 MonthAsString 
			 Now 
			 NumberFormat 
			 ParagraphFormat 
			 ParameterExists 
			 ParseDateTime 
			 Pi 
			 PreserveSingleQuotes 
			 Quarter 
			 QueryAddColumn 
			 QueryAddRow 
			 QueryNew 
			 QuerySetCell 
			 QuotedValueList 
			 Rand 
			 Randomize 
			 RandRange 
			 REFind 
			 REFindNoCase 
			 RemoveChars 
			 RepeatString 
			 Replace 
			 ReplaceList 
			 ReplaceNoCase 
			 REReplace 
			 REReplaceNoCase 
			 Reverse 
			 Right 
			 RJustify 
			 Round 
			 RTrim 
			 Second 
			 SetEncoding 
			 SetLocale 
			 SetProfileString 
			 SetVariable 
			 Sgn 
			 Sin 
			 SpanExcluding 
			 SpanIncluding 
			 Sqr 
			 StripCR 
			 StructAppend 
			 StructClear 
			 StructCopy 
			 StructCount 
			 StructDelete 
			 StructFind 
			 StructFindKey 
			 StructFindValue 
			 StructGet 
			 StructInsert 
			 StructIsEmpty 
			 StructKeyArray 
			 StructKeyExists 
			 StructKeyList 
			 StructNew 
			 StructSort 
			 StructUpdate 
			 Tan 
			 TimeFormat 
			 ToBase64 
			 ToBinary 
			 ToString 
			 Trim 
			 UCase 
			 URLDecode 
			 URLEncodedFormat 
			 URLSessionFormat 
			 Val 
			 ValueList 
			 Week 
			 WriteOutput 
			 XmlChildPos 
			 XmlElemNew 
			 XmlFormat 
			 XmlNew 
			 XmlParse 
			 XmlSearch 
			 XmlTransform 
			 Year 
			 YesNoFormat 

		

		

			
				
				
				
				
				
				
				
				
				
				
				
				
				
			



			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			



			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			

			
				
				
				
				
			



			
				
				
			

			
				
			

			
        		
			

			

			
				
			



			
				
				
				
				
				
				
				
				

				
				
				
			



			
				
				
				
				
				
				
				
				

				
				
				
				
			



			
				
				
				
			

			
				
				
				
			

			
				
				
				
				
				
				
				
			

		

		

			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			

		

	

	

		

			
			
			

		

		

	


highlighting-kate-0.6.1/xml/commonlisp.xml0000644000000000000000000012441112633103275017002 0ustar0000000000000000



  
    
       < 
       <= 
       = 
       > 
       >= 
       => 
       -  
       /  
       /=  
       //  
       ///  
       *  
       **  
       ***  
       +  
       ++  
       +++  
       1-  
       1+  
    
    
       defclass  
       defconstant  
       defgeneric  
       define-compiler-macro  
       define-condition  
       define-method-combination  
       define-modify-macro  
       define-setf-expander  
       define-setf-method  
       define-symbol-macro  
       defmacro  
       defmethod  
       defpackage  
       defparameter  
       defsetf  
       deftype  
       defvar  
       defun  
       defstruct  
    
    
       abort  
       abs  
       access  
       acons  
       acos  
       acosh  
       add-method  
       adjoin  
       adjustable-array-p  
       adjust-array  
       allocate-instance  
       alpha-char-p  
       alphanumericp  
       and  
       append  
       apply  
       applyhook  
       apropos  
       apropos-list  
       aref  
       arithmetic-error  
       arithmetic-error-operands  
       arithmetic-error-operation  
       array  
       array-dimension  
       array-dimension-limit  
       array-dimensions  
       array-displacement  
       array-element-type  
       array-has-fill-pointer-p  
       array-in-bounds-p  
       arrayp  
       array-rank  
       array-rank-limit  
       array-row-major-index  
       array-total-size  
       array-total-size-limit  
       ash  
       asin  
       asinh  
       assert  
       assoc  
       assoc-if  
       assoc-if-not  
       atan  
       atanh  
       atom  
       base-char  
       base-string  
       bignum  
       bit  
       bit-and  
       bit-andc1  
       bit-andc2  
       bit-eqv  
       bit-ior  
       bit-nand  
       bit-nor  
       bit-not  
       bit-orc1  
       bit-orc2  
       bit-vector  
       bit-vector-p  
       bit-xor  
       block  
       boole  
       boole-1  
       boole-2  
       boolean  
       boole-and  
       boole-andc1  
       boole-andc2  
       boole-c1  
       boole-c2  
       boole-clr  
       boole-eqv  
       boole-ior  
       boole-nand  
       boole-nor  
       boole-orc1  
       boole-orc2  
       boole-set  
       boole-xor  
       both-case-p  
       boundp  
       break  
       broadcast-stream  
       broadcast-stream-streams  
       built-in-class  
       butlast  
       byte  
       byte-position  
       byte-size  
       caaaar 
       caaadr 
       caaar  
       caadar 
       caaddr 
       caadr  
       caar  
       cadaar 
       cadadr 
       cadar  
       caddar 
       cadddr 
       caddr  
       cadr  
       call-arguments-limit  
       call-method  
       call-next-method  
       capitalize  
       car  
       case  
       catch  
       ccase  
       cdaaar  
       cdaadr  
       cdaar  
       cdadar  
       cdaddr  
       cdadr  
       cdar  
       cddaar  
       cddadr  
       cddar  
       cdddar  
       cddddr  
       cdddr  
       cddr  
       cdr  
       ceiling  
       cell-error  
       cell-error-name  
       cerror  
       change-class  
       char  
       char<  
       char<=  
       char=  
       char>  
       char>=  
       char/=  
       character  
       characterp  
       char-bit  
       char-bits  
       char-bits-limit  
       char-code  
       char-code-limit  
       char-control-bit  
       char-downcase  
       char-equal  
       char-font  
       char-font-limit  
       char-greaterp  
       char-hyper-bit  
       char-int  
       char-lessp  
       char-meta-bit  
       char-name  
       char-not-equal  
       char-not-greaterp  
       char-not-lessp  
       char-super-bit  
       char-upcase  
       check-type  
       cis  
       class  
       class-name  
       class-of  
       clear-input  
       clear-output  
       close  
       clrhash  
       code-char  
       coerce  
       commonp  
       compilation-speed  
       compile  
       compiled-function  
       compiled-function-p  
       compile-file  
       compile-file-pathname  
       compiler-let  
       compiler-macro  
       compiler-macro-function  
       complement  
       complex  
       complexp  
       compute-applicable-methods  
       compute-restarts  
       concatenate  
       concatenated-stream  
       concatenated-stream-streams  
       cond  
       condition  
       conjugate  
       cons  
       consp  
       constantly  
       constantp  
       continue  
       control-error  
       copy-alist  
       copy-list  
       copy-pprint-dispatch  
       copy-readtable  
       copy-seq  
       copy-structure  
       copy-symbol  
       copy-tree  
       cos  
       cosh  
       count  
       count-if  
       count-if-not  
       ctypecase  
       debug  
       decf  
       declaim  
       declaration  
       declare  
       decode-float  
       decode-universal-time  
       delete  
       delete-duplicates  
       delete-file  
       delete-if  
       delete-if-not  
       delete-package  
       denominator  
       deposit-field  
       describe  
       describe-object  
       destructuring-bind  
       digit-char  
       digit-char-p  
       directory  
       directory-namestring  
       disassemble  
       division-by-zero  
       do  
       do*  
       do-all-symbols  
       documentation  
       do-exeternal-symbols  
       do-external-symbols  
       dolist  
       do-symbols  
       dotimes  
       double-float  
       double-float-epsilon  
       double-float-negative-epsilon  
       dpb  
       dribble  
       dynamic-extent  
       ecase  
       echo-stream  
       echo-stream-input-stream  
       echo-stream-output-stream  
       ed  
       eighth  
       elt  
       encode-universal-time  
       end-of-file  
       endp  
       enough-namestring  
       ensure-directories-exist  
       ensure-generic-function  
       eq  
       eql  
       equal  
       equalp  
       error  
       etypecase  
       eval  
       evalhook  
       eval-when  
       evenp  
       every  
       exp  
       export  
       expt  
       extended-char  
       fboundp  
       fceiling  
       fdefinition  
       ffloor  
       fifth  
       file-author  
       file-error  
       file-error-pathname  
       file-length  
       file-namestring  
       file-position  
       file-stream  
       file-string-length  
       file-write-date  
       fill  
       fill-pointer  
       find  
       find-all-symbols  
       find-class  
       find-if  
       find-if-not  
       find-method  
       find-package  
       find-restart  
       find-symbol  
       finish-output  
       first  
       fixnum  
       flet  
       float  
       float-digits  
       floating-point-inexact  
       floating-point-invalid-operation  
       floating-point-overflow  
       floating-point-underflow  
       floatp  
       float-precision  
       float-radix  
       float-sign  
       floor  
       fmakunbound  
       force-output  
       format  
       formatter  
       fourth  
       fresh-line  
       fround  
       ftruncate  
       ftype  
       funcall  
       function  
       function-keywords  
       function-lambda-expression  
       functionp  
       gbitp  
       gcd  
       generic-function  
       gensym  
       gentemp  
       get  
       get-decoded-time  
       get-dispatch-macro-character  
       getf  
       gethash  
       get-internal-real-time  
       get-internal-run-time  
       get-macro-character  
       get-output-stream-string  
       get-properties  
       get-setf-expansion  
       get-setf-method  
       get-universal-time  
       go  
       graphic-char-p  
       handler-bind  
       handler-case  
       hash-table  
       hash-table-count  
       hash-table-p  
       hash-table-rehash-size  
       hash-table-rehash-threshold  
       hash-table-size  
       hash-table-test  
       host-namestring  
       identity  
       if  
       if-exists  
       ignorable  
       ignore  
       ignore-errors  
       imagpart  
       import  
       incf  
       initialize-instance  
       inline  
       in-package  
       in-package  
       input-stream-p  
       inspect  
       int-char  
       integer  
       integer-decode-float  
       integer-length  
       integerp  
       interactive-stream-p  
       intern  
       internal-time-units-per-second  
       intersection  
       invalid-method-error  
       invoke-debugger  
       invoke-restart  
       invoke-restart-interactively  
       isqrt  
       keyword  
       keywordp  
       labels  
       lambda  
       lambda-list-keywords  
       lambda-parameters-limit  
       last  
       lcm  
       ldb  
       ldb-test  
       ldiff  
       least-negative-double-float  
       least-negative-long-float  
       least-negative-normalized-double-float  
       least-negative-normalized-long-float  
       least-negative-normalized-short-float  
       least-negative-normalized-single-float  
       least-negative-short-float  
       least-negative-single-float  
       least-positive-double-float  
       least-positive-long-float  
       least-positive-normalized-double-float  
       least-positive-normalized-long-float  
       least-positive-normalized-short-float  
       least-positive-normalized-single-float  
       least-positive-short-float  
       least-positive-single-float  
       length  
       let  
       let*  
       lisp  
       lisp-implementation-type  
       lisp-implementation-version  
       list  
       list*  
       list-all-packages  
       listen  
       list-length  
       listp  
       load  
       load-logical-pathname-translations  
       load-time-value  
       locally  
       log  
       logand  
       logandc1  
       logandc2  
       logbitp  
       logcount  
       logeqv  
       logical-pathname  
       logical-pathname-translations  
       logior  
       lognand  
       lognor  
       lognot  
       logorc1  
       logorc2  
       logtest  
       logxor  
       long-float  
       long-float-epsilon  
       long-float-negative-epsilon  
       long-site-name  
       loop  
       loop-finish  
       lower-case-p  
       machine-instance  
       machine-type  
       machine-version  
       macroexpand  
       macroexpand-1  
       macroexpand-l  
       macro-function  
       macrolet  
       make-array  
       make-array  
       make-broadcast-stream  
       make-char  
       make-concatenated-stream  
       make-condition  
       make-dispatch-macro-character  
       make-echo-stream  
       make-hash-table  
       make-instance  
       make-instances-obsolete  
       make-list  
       make-load-form  
       make-load-form-saving-slots  
       make-method  
       make-package  
       make-pathname  
       make-random-state  
       make-sequence  
       make-string  
       make-string-input-stream  
       make-string-output-stream  
       make-symbol  
       make-synonym-stream  
       make-two-way-stream  
       makunbound  
       map  
       mapc  
       mapcan  
       mapcar  
       mapcon  
       maphash  
       map-into  
       mapl  
       maplist  
       mask-field  
       max  
       member  
       member-if  
       member-if-not  
       merge  
       merge-pathname  
       merge-pathnames  
       method  
       method-combination  
       method-combination-error  
       method-qualifiers  
       min  
       minusp  
       mismatch  
       mod  
       most-negative-double-float  
       most-negative-fixnum  
       most-negative-long-float  
       most-negative-short-float  
       most-negative-single-float  
       most-positive-double-float  
       most-positive-fixnum  
       most-positive-long-float  
       most-positive-short-float  
       most-positive-single-float  
       muffle-warning  
       multiple-value-bind  
       multiple-value-call  
       multiple-value-list  
       multiple-value-prog1  
       multiple-value-seteq  
       multiple-value-setq  
       multiple-values-limit  
       name-char  
       namestring  
       nbutlast  
       nconc  
       next-method-p  
       nil  
       nintersection  
       ninth  
       no-applicable-method  
       no-next-method  
       not  
       notany  
       notevery  
       notinline  
       nreconc  
       nreverse  
       nset-difference  
       nset-exclusive-or  
       nstring  
       nstring-capitalize  
       nstring-downcase  
       nstring-upcase  
       nsublis  
       nsubst  
       nsubst-if  
       nsubst-if-not  
       nsubstitute  
       nsubstitute-if  
       nsubstitute-if-not  
       nth  
       nthcdr  
       nth-value  
       null  
       number  
       numberp  
       numerator  
       nunion  
       oddp  
       open  
       open-stream-p  
       optimize  
       or  
       otherwise  
       output-stream-p  
       package  
       package-error  
       package-error-package  
       package-name  
       package-nicknames  
       packagep  
       package-shadowing-symbols  
       package-used-by-list  
       package-use-list  
       pairlis  
       parse-error  
       parse-integer  
       parse-namestring  
       pathname  
       pathname-device  
       pathname-directory  
       pathname-host  
       pathname-match-p  
       pathname-name  
       pathnamep  
       pathname-type  
       pathname-version  
       peek-char  
       phase  
       pi  
       plusp  
       pop  
       position  
       position-if  
       position-if-not  
       pprint  
       pprint-dispatch  
       pprint-exit-if-list-exhausted  
       pprint-fill  
       pprint-indent  
       pprint-linear  
       pprint-logical-block  
       pprint-newline  
       pprint-pop  
       pprint-tab  
       pprint-tabular  
       prin1  
       prin1-to-string  
       princ  
       princ-to-string  
       print  
       print-not-readable  
       print-not-readable-object  
       print-object  
       print-unreadable-object  
       probe-file  
       proclaim  
       prog  
       prog*  
       prog1  
       prog2  
       progn  
       program-error  
       progv  
       provide  
       psetf  
       psetq  
       push  
       pushnew  
       putprop  
       quote  
       random  
       random-state  
       random-state-p  
       rassoc  
       rassoc-if  
       rassoc-if-not  
       ratio  
       rational  
       rationalize  
       rationalp  
       read  
       read-byte  
       read-char  
       read-char-no-hang  
       read-delimited-list  
       reader-error  
       read-eval-print  
       read-from-string  
       read-line  
       read-preserving-whitespace  
       read-sequence  
       readtable  
       readtable-case  
       readtablep  
       real  
       realp  
       realpart  
       reduce  
       reinitialize-instance  
       rem  
       remf  
       remhash  
       remove  
       remove-duplicates  
       remove-if  
       remove-if-not  
       remove-method  
       remprop  
       rename-file  
       rename-package  
       replace  
       require  
       rest  
       restart  
       restart-bind  
       restart-case  
       restart-name  
       return  
       return-from  
       revappend  
       reverse  
       room  
       rotatef  
       round  
       row-major-aref  
       rplaca  
       rplacd  
       safety  
       satisfies  
       sbit  
       scale-float  
       schar  
       search  
       second  
       sequence  
       serious-condition  
       set  
       set-char-bit  
       set-difference  
       set-dispatch-macro-character  
       set-exclusive-or  
       setf  
       set-macro-character  
       set-pprint-dispatch  
       setq  
       set-syntax-from-char  
       seventh  
       shadow  
       shadowing-import  
       shared-initialize  
       shiftf  
       short-float  
       short-float-epsilon  
       short-float-negative-epsilon  
       short-site-name  
       signal  
       signed-byte  
       signum  
       simle-condition  
       simple-array  
       simple-base-string  
       simple-bit-vector  
       simple-bit-vector-p  
       simple-condition-format-arguments  
       simple-condition-format-control  
       simple-error  
       simple-string  
       simple-string-p  
       simple-type-error  
       simple-vector  
       simple-vector-p  
       simple-warning  
       sin  
       single-flaot-epsilon  
       single-float  
       single-float-epsilon  
       single-float-negative-epsilon  
       sinh  
       sixth  
       sleep  
       slot-boundp  
       slot-exists-p  
       slot-makunbound  
       slot-missing  
       slot-unbound  
       slot-value  
       software-type  
       software-version  
       some  
       sort  
       space  
       special  
       special-form-p  
       special-operator-p  
       speed  
       sqrt  
       stable-sort  
       standard  
       standard-char  
       standard-char-p  
       standard-class  
       standard-generic-function  
       standard-method  
       standard-object  
       step  
       storage-condition  
       store-value  
       stream  
       stream-element-type  
       stream-error  
       stream-error-stream  
       stream-external-format  
       streamp  
       streamup  
       string  
       string<  
       string<=  
       string=  
       string>  
       string>=  
       string/=  
       string-capitalize  
       string-char  
       string-char-p  
       string-downcase  
       string-equal  
       string-greaterp  
       string-left-trim  
       string-lessp  
       string-not-equal  
       string-not-greaterp  
       string-not-lessp  
       stringp  
       string-right-strim  
       string-right-trim  
       string-stream  
       string-trim  
       string-upcase  
       structure  
       structure-class  
       structure-object  
       style-warning  
       sublim  
       sublis  
       subseq  
       subsetp  
       subst  
       subst-if  
       subst-if-not  
       substitute  
       substitute-if  
       substitute-if-not  
       subtypep  
       svref  
       sxhash  
       symbol  
       symbol-function  
       symbol-macrolet  
       symbol-name  
       symbolp  
       symbol-package  
       symbol-plist  
       symbol-value  
       synonym-stream  
       synonym-stream-symbol  
       sys  
       system  
       t  
       tagbody  
       tailp  
       tan  
       tanh  
       tenth  
       terpri  
       the  
       third  
       throw  
       time  
       trace  
       translate-logical-pathname  
       translate-pathname  
       tree-equal  
       truename  
       truncase  
       truncate  
       two-way-stream  
       two-way-stream-input-stream  
       two-way-stream-output-stream  
       type  
       typecase  
       type-error  
       type-error-datum  
       type-error-expected-type  
       type-of  
       typep  
       unbound-slot  
       unbound-slot-instance  
       unbound-variable  
       undefined-function  
       unexport  
       unintern  
       union  
       unless  
       unread  
       unread-char  
       unsigned-byte  
       untrace  
       unuse-package  
       unwind-protect  
       update-instance-for-different-class  
       update-instance-for-redefined-class  
       upgraded-array-element-type  
       upgraded-complex-part-type  
       upper-case-p  
       use-package  
       user  
       user-homedir-pathname  
       use-value  
       values  
       values-list  
       vector  
       vectorp  
       vector-pop  
       vector-push  
       vector-push-extend  
       warn  
       warning  
       when  
       wild-pathname-p  
       with-accessors  
       with-compilation-unit  
       with-condition-restarts  
       with-hash-table-iterator  
       with-input-from-string  
       with-open-file  
       with-open-stream  
       with-output-to-string  
       with-package-iterator  
       with-simple-restart  
       with-slots  
       with-standard-io-syntax  
       write  
       write-byte  
       write-char  
       write-line  
       write-sequence  
       write-string  
       write-to-string  
       yes-or-no-p  
       y-or-n-p  
       zerop  
    

    
       :abort  
       :adjustable  
       :append  
       :array  
       :base  
       :case  
       :circle  
       :conc-name  
       :constructor  
       :copier  
       :count  
       :create  
       :default  
       :defaults  
       :device  
       :direction  
       :directory  
       :displaced-index-offset  
       :displaced-to  
       :element-type  
       :end1  
       :end2  
       :end  
       :error  
       :escape  
       :external  
       :from-end  
       :gensym  
       :host  
       :if-does-not-exist:pretty  
       :if-exists:print  
       :include:print-function  
       :index  
       :inherited  
       :initial-contents  
       :initial-element  
       :initial-offset  
       :initial-value  
       :input  
       :internal:size  
       :io  
       :junk-allowed  
       :key  
       :length  
       :level  
       :named  
       :name  
       :new-version  
       :nicknames  
       :output-file  
       :output  
       :overwrite  
       :predicate  
       :preserve-whitespace  
       :probe  
       :radix  
       :read-only  
       :rehash-size  
       :rehash-threshold  
       :rename-and-delete  
       :rename  
       :start1  
       :start2  
       :start  
       :stream  
       :supersede  
       :test  
       :test-not  
       :type  
       :use  
       :verbose  
       :version  
    
    
       *applyhook* 
       *break-on-signals* 
       *break-on-signals* 
       *break-on-warnings* 
       *compile-file-pathname* 
       *compile-file-pathname* 
       *compile-file-truename* 
       *compile-file-truename* 
       *compile-print* 
       *compile-verbose* 
       *compile-verbose* 
       *debugger-hook* 
       *debug-io* 
       *default-pathname-defaults* 
       *error-output* 
       *evalhook* 
       *features* 
       *gensym-counter* 
       *load-pathname*  
       *load-print* 
       *load-truename* 
       *load-verbose* 
       *macroexpand-hook* 
       *modules* 
       *package* 
       *print-array* 
       *print-base* 
       *print-case* 
       *print-circle* 
       *print-escape* 
       *print-gensym* 
       *print-length* 
       *print-level* 
       *print-lines* 
       *print-miser-width* 
       *print-miser-width* 
       *print-pprint-dispatch* 
       *print-pprint-dispatch* 
       *print-pretty* 
       *print-radix* 
       *print-readably* 
       *print-right-margin* 
       *print-right-margin* 
       *query-io* 
       *random-state* 
       *read-base* 
       *read-default-float-format* 
       *read-eval* 
       *read-suppress* 
       *readtable* 
       *standard-input* 
       *standard-output* 
       *terminal-io* 
       *trace-output* 
    

    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
      
      
        
      
      
        
        
        
        
      
      
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
      
    
  

highlighting-kate-0.6.1/xml/cpp.xml0000644000000000000000000016137012633103275015411 0ustar0000000000000000

    
    
]>




  
     emit 
     signals 
     slots 
     foreach 
     forever 
     SIGNAL 
     SLOT 
    
     qApp 
    
     Q_DECLARE_TR_FUNCTIONS 
    
     Q_CLASSINFO 
     Q_DISABLE_COPY 
     Q_EMIT 
     Q_ENUMS 
     Q_FLAGS 
     Q_INTERFACES 
     Q_INVOKABLE 
     Q_OBJECT 
     Q_PROPERTY 
     Q_SIGNAL 
     Q_SIGNALS 
     Q_SLOT 
     Q_SLOTS 
    
     Q_DECLARE_METATYPE 
     QT_NO_CAST_FROM_BYTEARRAY 
     QT_NO_CAST_FROM_ASCII 
     QT_NO_CAST_TO_ASCII 
     QT_NO_URL_CAST_FROM_STRING 
     QT_USE_QSTRINGBUILDER 
    
     QBENCHMARK 
     QBENCHMARK_ONCE 
     QCOMPARE 
     QEXPECT_FAIL 
     QFAIL 
     QFETCH 
     QSKIP 
     QTEST 
     QTEST_APPLESS_MAIN 
     QTEST_MAIN 
     QTEST_NOOP_MAIN 
     QVERIFY2 
     QVERIFY 
     QWARN 
    
     QAXCLASS 
     QAXFACTORY_BEGIN 
     QAXFACTORY_DEFAULT 
     QAXFACTORY_END 
     QAXFACTORY_EXPORT 
     QAXTYPE 
    
     QDESIGNER_WIDGET_EXPORT 
    
     QML_DECLARE_TYPE 
     QML_DECLARE_TYPEINFO 
    
     QTWEBKIT_VERSION 
     QTWEBKIT_VERSION_CHECK 
     QTWEBKIT_VERSION_STR 
    
     Q_ARG 
     Q_RETURN_ARG 
    
     Q_ATOMIC_INT_FETCH_AND_ADD_IS_ALWAYS_NATIVE 
     Q_ATOMIC_INT_FETCH_AND_ADD_IS_NOT_NATIVE 
     Q_ATOMIC_INT_FETCH_AND_ADD_IS_SOMETIMES_NATIVE 
     Q_ATOMIC_INT_FETCH_AND_ADD_IS_WAIT_FREE 
     Q_ATOMIC_INT_FETCH_AND_STORE_IS_ALWAYS_NATIVE 
     Q_ATOMIC_INT_FETCH_AND_STORE_IS_NOT_NATIVE 
     Q_ATOMIC_INT_FETCH_AND_STORE_IS_SOMETIMES_NATIVE 
     Q_ATOMIC_INT_FETCH_AND_STORE_IS_WAIT_FREE 
     Q_ATOMIC_INT_REFERENCE_COUNTING_IS_ALWAYS_NATIVE 
     Q_ATOMIC_INT_REFERENCE_COUNTING_IS_NOT_NATIVE 
     Q_ATOMIC_INT_REFERENCE_COUNTING_IS_SOMETIMES_NATIVE 
     Q_ATOMIC_INT_REFERENCE_COUNTING_IS_WAIT_FREE 
     Q_ATOMIC_INT_TEST_AND_SET_IS_ALWAYS_NATIVE 
     Q_ATOMIC_INT_TEST_AND_SET_IS_NOT_NATIVE 
     Q_ATOMIC_INT_TEST_AND_SET_IS_SOMETIMES_NATIVE 
     Q_ATOMIC_INT_TEST_AND_SET_IS_WAIT_FREE 
    
     Q_DECLARE_EXTENSION_INTERFACE 
    
     Q_DECLARE_INTERFACE 
     Q_EXPORT_PLUGIN2 
     Q_IMPORT_PLUGIN 
    
     Q_NOREPLY 
    
     Q_SCRIPT_DECLARE_QMETAOBJECT 
    
     QWIDGETSIZE_MAX 
    
     QT3_SUPPORT 
     QT3_SUPPORT_CONSTRUCTOR 
     QT3_SUPPORT_VARIABLE 
     QT3_SUPPORT_WARNINGS 
     QT_ARCH_X86_64 
     QT_ASCII_CAST_WARN 
     QT_ASCII_CAST_WARN_CONSTRUCTOR 
     QT_BUILD_KEY 
     QT_BUILD_KEY_COMPAT 
     QT_CATCH 
     QT_COMPAT 
     QT_COMPAT_WARNINGS 
     QT_DEBUG 
     QT_DEPRECATED 
     QT_DEPRECATED_CONSTRUCTOR 
     QT_DEPRECATED_VARIABLE 
     QT_EDITION 
     QT_EDITION_ACADEMIC 
     QT_EDITION_CONSOLE 
     QT_EDITION_DESKTOP 
     QT_EDITION_DESKTOPLIGHT 
     QT_EDITION_EDUCATIONAL 
     QT_EDITION_EVALUATION 
     QT_EDITION_OPENSOURCE 
     QT_EDITION_UNIVERSAL 
     QT_ENSURE_STACK_ALIGNED_FOR_SSE 
     QT_FASTCALL 
     QT_FORWARD_DECLARE_CLASS 
     QT_FORWARD_DECLARE_STRUCT 
     QT_HAVE_ARMV6 
     QT_LARGEFILE_SUPPORT 
     QT_LICENSED_MODULE 
     QT_LINKED_OPENSSL 
     QT_LINUXBASE 
     QT_MAC_USE_COCOA 
     QT_MOC_COMPAT 
     QT_MODULE 
     QT_MODULE_ACTIVEQT 
     QT_MODULE_CORE 
     QT_MODULE_DBUS 
     QT_MODULE_DECLARATIVE 
     QT_MODULE_GRAPHICSVIEW 
     QT_MODULE_GUI 
     QT_MODULE_HELP 
     QT_MODULE_MULTIMEDIA 
     QT_MODULE_NETWORK 
     QT_MODULE_OPENGL 
     QT_MODULE_OPENVG 
     QT_MODULE_QT3SUPPORT 
     QT_MODULE_QT3SUPPORTLIGHT 
     QT_MODULE_SCRIPT 
     QT_MODULE_SCRIPTTOOLS 
     QT_MODULE_SQL 
     QT_MODULE_SVG 
     QT_MODULE_TEST 
     QT_MODULE_XML 
     QT_MODULE_XMLPATTERNS 
     QT_NO_ACCESSIBILITY 
     QT_NO_ANIMATION 
     QT_NO_ARM_EABI 
     QT_NO_BEARERMANAGEMENT 
     QT_NO_BUTTONGROUP 
     QT_NO_CALENDARWIDGET 
     QT_NO_CLIPBOARD 
     QT_NO_CODECS 
     QT_NO_COLORDIALOG 
     QT_NO_COLUMNVIEW 
     QT_NO_COMBOBOX 
     QT_NO_COMPLETER 
     QT_NO_CONCURRENT 
     QT_NO_CONCURRENT_FILTER 
     QT_NO_CONCURRENT_MAP 
     QT_NO_CONTEXTMENU 
     QT_NO_COP 
     QT_NO_CRASHHANDLER 
     QT_NO_CUPS 
     QT_NO_DATAWIDGETMAPPER 
     QT_NO_DATESTRING 
     QT_NO_DATETIMEEDIT 
     QT_NO_DBUS 
     QT_NO_DEBUG 
     QT_NO_DEBUG_STREAM 
     QT_NO_DECLARATIVE 
     QT_NO_DIAL 
     QT_NO_DIRMODEL 
     QT_NO_DOCKWIDGET 
     QT_NO_DRAGANDDROP 
     QT_NO_EGL 
     QT_NO_ERRORMESSAGE 
     QT_NO_EXCEPTIONS 
     QT_NO_FILEDIALOG 
     QT_NO_FILESYSTEMMODEL 
     QT_NO_FONTCOMBOBOX 
     QT_NO_FONTCONFIG 
     QT_NO_FONTDIALOG 
     QT_NO_FPU 
     QT_NO_FSCOMPLETER 
     QT_NO_FTP 
     QT_NO_GETIFADDRS 
     QT_NO_GRAPHICSEFFECT 
     QT_NO_GRAPHICSSVGITEM 
     QT_NO_GRAPHICSVIEW 
     QT_NO_GSTREAMER 
     QT_NO_HOSTINFO 
     QT_NO_HTTP 
     QT_NO_ICD 
     QT_NO_IM 
     QT_NO_IMAGEFORMAT_JPEG 
     QT_NO_IMAGEFORMAT_MNG 
     QT_NO_IMAGEFORMAT_PNG 
     QT_NO_IMAGEFORMAT_TIFF 
     QT_NO_IMAGEFORMAT_XPM 
     QT_NO_INPUTDIALOG 
     QT_NO_ITEMVIEWS 
     QT_NO_LIBRARY 
     QT_NO_LISTVIEW 
     QT_NO_LISTWIDGET 
     QT_NO_LPR 
     QT_NO_MAINWINDOW 
     QT_NO_MDIAREA 
     QT_NO_MENU 
     QT_NO_MENUBAR 
     QT_NO_MITSHM 
     QT_NO_MULTIMEDIA 
     QT_NO_NAS 
     QT_NO_NETWORKDISKCACHE 
     QT_NO_OPENGL 
     QT_NO_OPENVG 
     QT_NO_PAINT_DEBUG 
     QT_NO_PHONON 
     QT_NO_PHONON_EFFECTWIDGET 
     QT_NO_PHONON_PLATFORMPLUGIN 
     QT_NO_PHONON_SEEKSLIDER 
     QT_NO_PHONON_SETTINGSGROUP 
     QT_NO_PHONON_VIDEOPLAYER 
     QT_NO_PHONON_VOLUMEFADEREFFECT 
     QT_NO_PHONON_VOLUMESLIDER 
     QT_NO_PRINTDIALOG 
     QT_NO_PRINTER 
     QT_NO_PRINTPREVIEWDIALOG 
     QT_NO_PRINTPREVIEWWIDGET 
     QT_NO_PROCESS 
     QT_NO_PROGRESSDIALOG 
     QT_NO_PROXYMODEL 
     QT_NO_PULSEAUDIO 
     QT_NO_QDEBUG_MACRO 
     QT_NO_QFUTURE 
     QT_NO_QWARNING_MACRO 
     QT_NO_QWS_CURSOR 
     QT_NO_QWS_DECORATION_STYLED 
     QT_NO_QWS_DECORATION_WINDOWS 
     QT_NO_QWS_DYNAMICSCREENTRANSFORMATION 
     QT_NO_QWS_INPUTMETHODS 
     QT_NO_QWS_MANAGER 
     QT_NO_QWS_MULTIPROCESS 
     QT_NO_QWS_SOUNDSERVER 
     QT_NO_QWS_TRANSFORMED 
     QT_NO_QWS_VNC 
     QT_NO_RAWFONT 
     QT_NO_S60 
     QT_NO_SCRIPT 
     QT_NO_SCRIPTTOOLS 
     QT_NO_SCROLLAREA 
     QT_NO_SCROLLBAR 
     QT_NO_SESSIONMANAGER 
     QT_NO_SHAPE 
     QT_NO_SHAREDMEMORY 
     QT_NO_SOCKS5 
     QT_NO_SOFTKEYMANAGER 
     QT_NO_SORTFILTERPROXYMODEL 
     QT_NO_SPINBOX 
     QT_NO_SPLITTER 
     QT_NO_STANDARDITEMMODEL 
     QT_NO_STATEMACHINE 
     QT_NO_STL_WCHAR 
     QT_NO_STRINGLISTMODEL 
     QT_NO_STYLE_CDE 
     QT_NO_STYLE_CLEANLOOKS 
     QT_NO_STYLE_GTK 
     QT_NO_STYLE_PLASTIQUE 
     QT_NO_STYLE_S60 
     QT_NO_STYLE_STYLESHEET 
     QT_NO_STYLE_WINDOWSCE 
     QT_NO_STYLE_WINDOWSMOBILE 
     QT_NO_STYLE_WINDOWSVISTA 
     QT_NO_STYLE_WINDOWSXP 
     QT_NO_SVG 
     QT_NO_SVGGENERATOR 
     QT_NO_SVGRENDERER 
     QT_NO_SVGWIDGET 
     QT_NO_SXE 
     QT_NO_SYNTAXHIGHLIGHTER 
     QT_NO_SYSTEMSEMAPHORE 
     QT_NO_TABBAR 
     QT_NO_TABDIALOG 
     QT_NO_TABLET 
     QT_NO_TABLEVIEW 
     QT_NO_TABLEWIDGET 
     QT_NO_TABWIDGET 
     QT_NO_TEMPLATE_TEMPLATE_PARAMETERS 
     QT_NO_TEXTBROWSER 
     QT_NO_TEXTCODECPLUGIN 
     QT_NO_TEXTEDIT 
     QT_NO_TEXTODFWRITER 
     QT_NO_TOOLBAR 
     QT_NO_TOOLBOX 
     QT_NO_TOOLBUTTON 
     QT_NO_TRANSLATION_UTF8 
     QT_NO_TREEVIEW 
     QT_NO_TREEWIDGET 
     QT_NO_UNDOGROUP 
     QT_NO_UNDOSTACK 
     QT_NO_UNDOVIEW 
     QT_NO_WARNINGS 
     QT_NO_WEBKIT 
     QT_NO_WHATSTHIS 
     QT_NO_WIN_ACTIVEQT 
     QT_NO_WIZARD 
     QT_NO_WORKSPACE 
     QT_NO_XCURSOR 
     QT_NO_XFIXES 
     QT_NO_XINERAMA 
     QT_NO_XINPUT 
     QT_NO_XKB 
     QT_NO_XMLPATTERNS 
     QT_NO_XMLSTREAMREADER 
     QT_NO_XMLSTREAMWRITER 
     QT_NO_XRANDR 
     QT_NO_XRENDER 
     QT_NO_XSYNC 
     QT_NO_XVIDEO 
     QT_NO_ZLIB 
     QT_PACKAGEDATE_STR 
     QT_PACKAGE_TAG 
     QT_POINTER_SIZE 
     QT_PREPEND_NAMESPACE 
     QT_PRODUCT_LICENSE 
     QT_PRODUCT_LICENSEE 
     QT_RETHROW 
     QT_STATIC_CONST 
     QT_STATIC_CONST_IMPL 
     QT_STRINGIFY 
     QT_STRINGIFY2 
     QT_SUPPORTS 
     QT_SYMBIAN_SUPPORTS_ADVANCED_POINTER 
     QT_SYMBIAN_SUPPORTS_SGIMAGE 
     QT_THROW 
     QT_TRANSLATE_NOOP 
     QT_TRANSLATE_NOOP3 
     QT_TRANSLATE_NOOP3_UTF8 
     QT_TRANSLATE_NOOP_UTF8 
     QT_TRAP_THROWING 
     QT_TRID_NOOP 
     QT_TRY 
     QT_TRYCATCH_ERROR 
     QT_TRYCATCH_LEAVING 
     QT_TR_NOOP 
     QT_TR_NOOP_UTF8 
     QT_USE_MATH_H_FLOATS 
     QT_USE_NAMESPACE 
     QT_VERSION 
     QT_VERSION_CHECK 
     QT_VERSION_STR 
     QT_VISIBILITY_AVAILABLE 
     QT_WA 
     QT_WA_INLINE 
     QT_WIN_CALLBACK 
     QT_USE_NAMESPACE 
     QT_BEGIN_NAMESPACE 
     QT_END_NAMESPACE 
     QT_BEGIN_HEADER 
     QT_END_HEADER 
     Q_ALIGNOF 
     Q_ASSERT 
     Q_ASSERT_X 
     Q_BIG_ENDIAN 
     Q_BROKEN_DEBUG_STREAM 
     Q_BROKEN_TEMPLATE_SPECIALIZATION 
     Q_BYTE_ORDER 
     Q_CANNOT_DELETE_CONSTANT 
     Q_CC_BOR 
     Q_CC_CDS 
     Q_CC_CLANG 
     Q_CC_COMEAU 
     Q_CC_DEC 
     Q_CC_DIAB 
     Q_CC_EDG 
     Q_CC_GCCE 
     Q_CC_GHS 
     Q_CC_GNU 
     Q_CC_HIGHC 
     Q_CC_HP 
     Q_CC_HPACC 
     Q_CC_INTEL 
     Q_CC_KAI 
     Q_CC_MINGW 
     Q_CC_MIPS 
     Q_CC_MSVC 
     Q_CC_MSVC_NET 
     Q_CC_MWERKS 
     Q_CC_NOKIAX86 
     Q_CC_OC 
     Q_CC_PGI 
     Q_CC_RVCT 
     Q_CC_SUN 
     Q_CC_SYM 
     Q_CC_USLC 
     Q_CC_WAT 
     Q_CC_XLC 
     Q_CHECK_PTR 
     Q_CLEANUP_RESOURCE 
     Q_COMPILER_AUTO_TYPE 
     Q_COMPILER_CLASS_ENUM 
     Q_COMPILER_CONSTEXPR 
     Q_COMPILER_DECLTYPE 
     Q_COMPILER_DEFAULT_DELETE_MEMBERS 
     Q_COMPILER_EXTERN_TEMPLATES 
     Q_COMPILER_INITIALIZER_LISTS 
     Q_COMPILER_LAMBDA 
     Q_COMPILER_MANGLES_RETURN_TYPE 
     Q_COMPILER_RVALUE_REFS 
     Q_COMPILER_UNICODE_STRINGS 
     Q_COMPILER_VARIADIC_TEMPLATES 
     Q_CONSTRUCTOR_FUNCTION 
     Q_CONSTRUCTOR_FUNCTION0 
     Q_C_CALLBACKS 
     Q_D 
     Q_DECLARE_FLAGS 
     Q_DECLARE_INCOMPATIBLE_FLAGS 
     Q_DECLARE_OPERATORS_FOR_FLAGS 
     Q_DECLARE_PRIVATE 
     Q_DECLARE_PRIVATE_D 
     Q_DECLARE_PUBLIC 
     Q_DECLARE_SHARED 
     Q_DECLARE_SHARED_STL 
     Q_DECLARE_TYPEINFO 
     Q_DECLARE_TYPEINFO_BODY 
     Q_DECL_ALIGN 
     Q_DECL_CONSTEXPR 
     Q_DECL_CONSTRUCTOR_DEPRECATED 
     Q_DECL_DEPRECATED 
     Q_DECL_FINAL 
     Q_DECL_HIDDEN 
     Q_DECL_IMPORT 
     Q_DECL_OVERRIDE 
     Q_DECL_NOEXCEPT 
     Q_DECL_NOTHROW 
     Q_NULLPTR 
     Q_DECL_VARIABLE_DEPRECATED 
     Q_DESTRUCTOR_FUNCTION 
     Q_DESTRUCTOR_FUNCTION0 
     Q_DISABLE_COPY 
     Q_DUMMY_COMPARISON_OPERATOR 
     Q_FOREACH 
     Q_FOREVER 
     Q_FULL_TEMPLATE_INSTANTIATION 
     Q_FUNC_INFO 
     Q_GLOBAL_STATIC 
     Q_GLOBAL_STATIC_INIT 
     Q_GLOBAL_STATIC_WITH_ARGS 
     Q_GLOBAL_STATIC_WITH_INITIALIZER 
     Q_INIT_RESOURCE 
     Q_INIT_RESOURCE_EXTERN 
     Q_INLINE_TEMPLATE 
     Q_INT64_C 
     Q_LIKELY 
     Q_LITTLE_ENDIAN 
     Q_NO_BOOL_TYPE 
     Q_NO_DATA_RELOCATION 
     Q_NO_DECLARED_NOT_DEFINED 
     Q_NO_DEPRECATED_CONSTRUCTORS 
     Q_NO_EXPLICIT_KEYWORD 
     Q_NO_PACKED_REFERENCE 
     Q_NO_POSIX_SIGNALS 
     Q_NO_TEMPLATE_FRIENDS 
     Q_NO_USING_KEYWORD 
     Q_OF_ELF 
     Q_OS_AIX 
     Q_OS_BSD4 
     Q_OS_BSDI 
     Q_OS_CYGWIN 
     Q_OS_DARWIN 
     Q_OS_DARWIN32 
     Q_OS_DARWIN64 
     Q_OS_DGUX 
     Q_OS_DYNIX 
     Q_OS_FREEBSD 
     Q_OS_HPUX 
     Q_OS_HURD 
     Q_OS_INTEGRITY 
     Q_OS_IRIX 
     Q_OS_LINUX 
     Q_OS_LYNX 
     Q_OS_MAC 
     Q_OS_MAC32 
     Q_OS_MAC64 
     Q_OS_MACX 
     Q_OS_MSDOS 
     Q_OS_NACL 
     Q_OS_NETBSD 
     Q_OS_OPENBSD 
     Q_OS_OS2 
     Q_OS_OS2EMX 
     Q_OS_OSF 
     Q_OS_QNX 
     Q_OS_RELIANT 
     Q_OS_SCO 
     Q_OS_SOLARIS 
     Q_OS_SYMBIAN 
     Q_OS_ULTRIX 
     Q_OS_UNIX 
     Q_OS_UNIXWARE 
     Q_OS_VXWORKS 
     Q_OS_WIN 
     Q_OS_WIN32 
     Q_OS_WIN64 
     Q_OS_WINCE 
     Q_OUTOFLINE_TEMPLATE 
     Q_PACKED 
     Q_Q 
     Q_REQUIRED_RESULT 
     Q_SYMBIAN_FIXED_POINTER_CURSORS 
     Q_SYMBIAN_HAS_EXTENDED_BITMAP_TYPE 
     Q_SYMBIAN_SEMITRANSPARENT_BG_SURFACE 
     Q_SYMBIAN_SUPPORTS_FIXNATIVEORIENTATION 
     Q_SYMBIAN_SUPPORTS_MULTIPLE_SCREENS 
     Q_SYMBIAN_SUPPORTS_SURFACES 
     Q_SYMBIAN_TRANSITION_EFFECTS 
     Q_SYMBIAN_WINDOW_SIZE_CACHE 
     Q_TEMPLATEDLL 
     Q_TYPENAME 
     Q_TYPEOF 
     Q_UINT64_C 
     Q_UNLIKELY 
     Q_UNUSED 
     Q_WRONG_SB_CTYPE_MACROS 
     Q_WS_MAC 
     Q_WS_MAC32 
     Q_WS_MAC64 
     Q_WS_MACX 
     Q_WS_PM 
     Q_WS_S60 
     Q_WS_WIN 
     Q_WS_WIN16 
     Q_WS_WIN32 
     Q_WS_WIN64 
     Q_WS_WINCE 
     Q_WS_WINCE_WM 
     Q_WS_X11 
    
     Q_COMPLEX_TYPE 
     Q_PRIMITIVE_TYPE 
     Q_STATIC_TYPE 
     Q_MOVABLE_TYPE 
     Q_DUMMY_TYPE 
  

  
    
     QAbstractAnimation 
     QAbstractButton 
     QAbstractEventDispatcher 
     QAbstractExtensionFactory 
     QAbstractExtensionManager 
     QAbstractFileEngine 
     QAbstractFileEngineHandler 
     QAbstractFileEngineIterator 
     QAbstractFontEngine 
     QAbstractFormBuilder 
     QAbstractGraphicsShapeItem 
     QAbstractItemDelegate 
     QAbstractItemModel 
     QAbstractItemView 
     QAbstractListModel 
     QAbstractMessageHandler 
     QAbstractNetworkCache 
     QAbstractPrintDialog 
     QAbstractProxyModel 
     QAbstractScrollArea 
     QAbstractSlider 
     QAbstractSocket 
     QAbstractSpinBox 
     QAbstractState 
     QAbstractTableModel 
     QAbstractTextDocumentLayout 
     QAbstractTransition 
     QAbstractUriResolver 
     QAbstractVideoBuffer 
     QAbstractVideoSurface 
     QAbstractXmlNodeModel 
     QAbstractXmlReceiver 
     QAccessible 
     QAccessibleBridge 
     QAccessibleBridgePlugin 
     QAccessibleEvent 
     QAccessibleInterface 
     QAccessibleObject 
     QAccessiblePlugin 
     QAccessibleWidget 
     QAction 
     QActionEvent 
     QActionGroup 
     QAnimationGroup 
     QApplication 
     QAtomicInt 
     QAtomicPointer 
     QAudioDeviceInfo 
     QAudioFormat 
     QAudioInput 
     QAudioOutput 
     QAuthenticator 
     QAxAggregated 
     QAxBase 
     QAxBindable 
     QAxFactory 
     QAxObject 
     QAxScript 
     QAxScriptEngine 
     QAxScriptManager 
     QAxWidget 
     QBasicTimer 
     QBitArray 
     QBitmap 
     QBoxLayout 
     QBool 
     QBrush 
     QBuffer 
     QButtonGroup 
     QByteArray 
     QByteArrayMatcher 
     QCache 
     QCalendarWidget 
     QCDEStyle 
     QChar 
     QCheckBox 
     QChildEvent 
     QCleanlooksStyle 
     QClipboard 
     QCloseEvent 
     QColor 
     QColorDialog 
     QColormap 
     QColumnView 
     QComboBox 
     QCommandLinkButton 
     QCommonStyle 
     QCompleter 
     QConicalGradient 
     QContextMenuEvent 
     QContiguousCache 
     QCopChannel 
     QCoreApplication 
     QCryptographicHash 
     QCursor 
     QCustomRasterPaintDevice 
     QDataStream 
     QDataWidgetMapper 
     QDate 
     QDateEdit 
     QDateTime 
     QDateTimeEdit 
     QDBusAbstractAdaptor 
     QDBusAbstractInterface 
     QDBusArgument 
     QDBusConnection 
     QDBusConnectionInterface 
     QDBusContext 
     QDBusError 
     QDBusInterface 
     QDBusMessage 
     QDBusObjectPath 
     QDBusPendingCall 
     QDBusPendingCallWatcher 
     QDBusPendingReply 
     QDBusReply 
     QDBusServiceWatcher 
     QDBusSignature 
     QDBusUnixFileDescriptor 
     QDBusVariant 
     QDebug 
     QDeclarativeComponent 
     QDeclarativeContext 
     QDeclarativeEngine 
     QDeclarativeError 
     QDeclarativeExpression 
     QDeclarativeExtensionPlugin 
     QDeclarativeImageProvider 
     QDeclarativeItem 
     QDeclarativeListProperty 
     QDeclarativeListReference 
     QDeclarativeNetworkAccessManagerFactory 
     QDeclarativeParserStatus 
     QDeclarativeProperty 
     QDeclarativePropertyMap 
     QDeclarativePropertyValueSource 
     QDeclarativeScriptString 
     QDeclarativeView 
     QDecoration 
     QDecorationDefault 
     QDecorationFactory 
     QDecorationPlugin 
     QDesignerActionEditorInterface 
     QDesignerContainerExtension 
     QDesignerCustomWidgetCollectionInterface 
     QDesignerCustomWidgetInterface 
     QDesignerDynamicPropertySheetExtension 
     QDesignerFormEditorInterface 
     QDesignerFormWindowCursorInterface 
     QDesignerFormWindowInterface 
     QDesignerFormWindowManagerInterface 
     QDesignerMemberSheetExtension 
     QDesignerObjectInspectorInterface 
     QDesignerPropertyEditorInterface 
     QDesignerPropertySheetExtension 
     QDesignerTaskMenuExtension 
     QDesignerWidgetBoxInterface 
     QDesktopServices 
     QDesktopWidget 
     QDial 
     QDialog 
     QDialogButtonBox 
     QDir 
     QDirectPainter 
     QDirIterator 
     QDockWidget 
     QDomAttr 
     QDomCDATASection 
     QDomCharacterData 
     QDomComment 
     QDomDocument 
     QDomDocumentFragment 
     QDomDocumentType 
     QDomElement 
     QDomEntity 
     QDomEntityReference 
     QDomImplementation 
     QDomNamedNodeMap 
     QDomNode 
     QDomNodeList 
     QDomNotation 
     QDomProcessingInstruction 
     QDomText 
     QDoubleSpinBox 
     QDoubleValidator 
     QDrag 
     QDragEnterEvent 
     QDragLeaveEvent 
     QDragMoveEvent 
     QDropEvent 
     QDynamicPropertyChangeEvent 
     QEasingCurve 
     QElapsedTimer 
     QErrorMessage 
     QEvent 
     QEventLoop 
     QEventTransition 
     QExplicitlySharedDataPointer 
     QExtensionFactory 
     QExtensionManager 
     QFile 
     QFileDialog 
     QFileIconProvider 
     QFileInfo 
     QFileOpenEvent 
     QFileSystemModel 
     QFileSystemWatcher 
     QFinalState 
     QFlag 
     QFlags 
     QFocusEvent 
     QFocusFrame 
     QFont 
     QFontComboBox 
     QFontDatabase 
     QFontDialog 
     QFontEngineInfo 
     QFontEnginePlugin 
     QFontInfo 
     QFontMetrics 
     QFontMetricsF 
     QFormBuilder 
     QFormLayout 
     QFrame 
     QFSFileEngine 
     QFtp 
     QFuture 
     QFutureIterator 
     QFutureSynchronizer 
     QFutureWatcher 
     QGenericArgument 
     QGenericMatrix 
     QGenericPlugin 
     QGenericPluginFactory 
     QGenericReturnArgument 
     QGesture 
     QGestureEvent 
     QGestureRecognizer 
     QGLBuffer 
     QGLColormap 
     QGLContext 
     QGLFormat 
     QGLFramebufferObject 
     QGLFramebufferObjectFormat 
     QGLFunctions 
     QGLPixelBuffer 
     QGLShader 
     QGLShaderProgram 
     QGLWidget 
     QGlyphRun 
     QGradient 
     QGraphicsAnchor 
     QGraphicsAnchorLayout 
     QGraphicsBlurEffect 
     QGraphicsColorizeEffect 
     QGraphicsDropShadowEffect 
     QGraphicsEffect 
     QGraphicsEllipseItem 
     QGraphicsGridLayout 
     QGraphicsItem 
     QGraphicsItemAnimation 
     QGraphicsItemGroup 
     QGraphicsLayout 
     QGraphicsLayoutItem 
     QGraphicsLinearLayout 
     QGraphicsLineItem 
     QGraphicsObject 
     QGraphicsOpacityEffect 
     QGraphicsPathItem 
     QGraphicsPixmapItem 
     QGraphicsPolygonItem 
     QGraphicsProxyWidget 
     QGraphicsRectItem 
     QGraphicsRotation 
     QGraphicsScale 
     QGraphicsScene 
     QGraphicsSceneContextMenuEvent 
     QGraphicsSceneDragDropEvent 
     QGraphicsSceneEvent 
     QGraphicsSceneHelpEvent 
     QGraphicsSceneHoverEvent 
     QGraphicsSceneMouseEvent 
     QGraphicsSceneMoveEvent 
     QGraphicsSceneResizeEvent 
     QGraphicsSceneWheelEvent 
     QGraphicsSimpleTextItem 
     QGraphicsSvgItem 
     QGraphicsTextItem 
     QGraphicsTransform 
     QGraphicsView 
     QGraphicsWebView 
     QGraphicsWidget 
     QGridLayout 
     QGroupBox 
     QGtkStyle 
     QHash 
     QHashIterator 
     QHBoxLayout 
     QHeaderView 
     QHelpContentItem 
     QHelpContentModel 
     QHelpContentWidget 
     QHelpEngine 
     QHelpEngineCore 
     QHelpEvent 
     QHelpIndexModel 
     QHelpIndexWidget 
     QHelpSearchEngine 
     QHelpSearchQuery 
     QHelpSearchQueryWidget 
     QHelpSearchResultWidget 
     QHideEvent 
     QHistoryState 
     QHostAddress 
     QHostInfo 
     QHoverEvent 
     QHttpMultiPart 
     QHttpPart 
     QIcon 
     QIconDragEvent 
     QIconEngine 
     QIconEnginePlugin 
     QIconEnginePluginV2 
     QIconEngineV2 
     QIdentityProxyModel 
     QImage 
     QImageIOHandler 
     QImageIOPlugin 
     QImageReader 
     QImageWriter 
     QInputContext 
     QInputContextFactory 
     QInputContextPlugin 
     QInputDialog 
     QInputEvent 
     QInputMethodEvent 
     QIntValidator 
     QIODevice 
     QItemDelegate 
     QItemEditorCreator 
     QItemEditorCreatorBase 
     QItemEditorFactory 
     QItemSelection 
     QItemSelectionModel 
     QItemSelectionRange 
     QKbdDriverFactory 
     QKbdDriverPlugin 
     QKeyEvent 
     QKeyEventTransition 
     QKeySequence 
     QLabel 
     QLatin1Char 
     QLatin1String 
     QLayout 
     QLayoutItem 
     QLCDNumber 
     QLibrary 
     QLibraryInfo 
     QLine 
     QLinearGradient 
     QLineEdit 
     QLineF 
     QLinkedList 
     QLinkedListIterator 
     QList 
     QListIterator 
     QListView 
     QListWidget 
     QListWidgetItem 
     QLocale 
     QLocalServer 
     QLocalSocket 
     QMacCocoaViewContainer 
     QMacNativeWidget 
     QMacPasteboardMime 
     QMacStyle 
     QMainWindow 
     QMap 
     QMapIterator 
     QMargins 
     QMatrix4x4 
     QMdiArea 
     QMdiSubWindow 
     QMenu 
     QMenuBar 
     QMessageBox 
     QMetaClassInfo 
     QMetaEnum 
     QMetaMethod 
     QMetaObject 
     QMetaProperty 
     QMetaType 
     QMimeData 
     QModelIndex 
     QMotifStyle 
     QMouseDriverFactory 
     QMouseDriverPlugin 
     QMouseEvent 
     QMouseEventTransition 
     QMoveEvent 
     QMovie 
     QMultiHash 
     QMultiMap 
     QMutableHashIterator 
     QMutableLinkedListIterator 
     QMutableListIterator 
     QMutableMapIterator 
     QMutableSetIterator 
     QMutableVectorIterator 
     QMutex 
     QMutexLocker 
     QNetworkAccessManager 
     QNetworkAddressEntry 
     QNetworkCacheMetaData 
     QNetworkConfiguration 
     QNetworkConfigurationManager 
     QNetworkCookie 
     QNetworkCookieJar 
     QNetworkDiskCache 
     QNetworkInterface 
     QNetworkProxy 
     QNetworkProxyFactory 
     QNetworkProxyQuery 
     QNetworkReply 
     QNetworkRequest 
     QNetworkSession 
     QObject 
     QObjectCleanupHandler 
     QPageSetupDialog 
     QPaintDevice 
     QPaintEngine 
     QPaintEngineState 
     QPainter 
     QPainterPath 
     QPainterPathStroker 
     QPaintEvent 
     QPair 
     QPalette 
     QPanGesture 
     QParallelAnimationGroup 
     QPauseAnimation 
     QPen 
     QPersistentModelIndex 
     QPicture 
     QPinchGesture 
     QPixmap 
     QPixmapCache 
     QPlainTextDocumentLayout 
     QPlainTextEdit 
     QPlastiqueStyle 
     QPlatformCursor 
     QPlatformCursorImage 
     QPlatformFontDatabase 
     QPlatformWindowFormat 
     QPluginLoader 
     QPoint 
     QPointer 
     QPointF 
     QPolygon 
     QPolygonF 
     QPrintDialog 
     QPrintEngine 
     QPrinter 
     QPrinterInfo 
     QPrintPreviewDialog 
     QPrintPreviewWidget 
     QProcess 
     QProcessEnvironment 
     QProgressBar 
     QProgressDialog 
     QPropertyAnimation 
     QProxyScreen 
     QProxyScreenCursor 
     QProxyStyle 
     QPushButton 
     QQuaternion 
     QQueue 
     QRadialGradient 
     QRadioButton 
     QRasterPaintEngine 
     QRawFont 
     QReadLocker 
     QReadWriteLock 
     QRect 
     QRectF 
     QRegExp 
     QRegExpValidator 
     QRegion 
     QResizeEvent 
     QResource 
     QRubberBand 
     QRunnable 
     QS60MainApplication 
     QS60MainAppUi 
     QS60MainDocument 
     QS60Style 
     QScopedArrayPointer 
     QScopedPointer 
     QScopedValueRollback 
     QScreen 
     QScreenCursor 
     QScreenDriverFactory 
     QScreenDriverPlugin 
     QScriptable 
     QScriptClass 
     QScriptClassPropertyIterator 
     QScriptContext 
     QScriptContextInfo 
     QScriptEngine 
     QScriptEngineAgent 
     QScriptEngineDebugger 
     QScriptExtensionPlugin 
     QScriptProgram 
     QScriptString 
     QScriptSyntaxCheckResult 
     QScriptValue 
     QScriptValueIterator 
     QScrollArea 
     QScrollBar 
     QSemaphore 
     QSequentialAnimationGroup 
     QSessionManager 
     QSet 
     QSetIterator 
     QSettings 
     QSharedData 
     QSharedDataPointer 
     QSharedMemory 
     QSharedPointer 
     QShortcut 
     QShortcutEvent 
     QShowEvent 
     QSignalMapper 
     QSignalSpy 
     QSignalTransition 
     QSimpleXmlNodeModel 
     QSize 
     QSizeF 
     QSizeGrip 
     QSizePolicy 
     QSlider 
     QSocketNotifier 
     QSortFilterProxyModel 
     QSound 
     QSourceLocation 
     QSpacerItem 
     QSpinBox 
     QSplashScreen 
     QSplitter 
     QSplitterHandle 
     QSqlDatabase 
     QSqlDriver 
     QSqlDriverCreator 
     QSqlDriverCreatorBase 
     QSqlDriverPlugin 
     QSqlError 
     QSqlField 
     QSqlIndex 
     QSqlQuery 
     QSqlQueryModel 
     QSqlRecord 
     QSqlRelation 
     QSqlRelationalDelegate 
     QSqlRelationalTableModel 
     QSqlResult 
     QSqlTableModel 
     QSslCertificate 
     QSslCipher 
     QSslConfiguration 
     QSslError 
     QSslKey 
     QSslSocket 
     QStack 
     QStackedLayout 
     QStackedWidget 
     QStandardItem 
     QStandardItemEditorCreator 
     QStandardItemModel 
     QState 
     QStateMachine 
     QStaticText 
     QStatusBar 
     QStatusTipEvent 
     QString 
     QStringList 
     QStringListModel 
     QStringMatcher 
     QStringRef 
     QStyle 
     QStyledItemDelegate 
     QStyleFactory 
     QStyleHintReturn 
     QStyleHintReturnMask 
     QStyleHintReturnVariant 
     QStyleOption 
     QStyleOptionButton 
     QStyleOptionComboBox 
     QStyleOptionComplex 
     QStyleOptionDockWidget 
     QStyleOptionFocusRect 
     QStyleOptionFrame 
     QStyleOptionFrameV2 
     QStyleOptionFrameV3 
     QStyleOptionGraphicsItem 
     QStyleOptionGroupBox 
     QStyleOptionHeader 
     QStyleOptionMenuItem 
     QStyleOptionProgressBar 
     QStyleOptionProgressBarV2 
     QStyleOptionQ3DockWindow 
     QStyleOptionQ3ListView 
     QStyleOptionQ3ListViewItem 
     QStyleOptionRubberBand 
     QStyleOptionSizeGrip 
     QStyleOptionSlider 
     QStyleOptionSpinBox 
     QStyleOptionTab 
     QStyleOptionTabBarBase 
     QStyleOptionTabBarBaseV2 
     QStyleOptionTabV2 
     QStyleOptionTabV3 
     QStyleOptionTabWidgetFrame 
     QStyleOptionTabWidgetFrameV2 
     QStyleOptionTitleBar 
     QStyleOptionToolBar 
     QStyleOptionToolBox 
     QStyleOptionToolBoxV2 
     QStyleOptionToolButton 
     QStyleOptionViewItem 
     QStyleOptionViewItemV2 
     QStyleOptionViewItemV3 
     QStyleOptionViewItemV4 
     QStylePainter 
     QStylePlugin 
     QSupportedWritingSystems 
     QSvgGenerator 
     QSvgRenderer 
     QSvgWidget 
     QSwipeGesture 
     QSymbianEvent 
     QSymbianGraphicsSystemHelper 
     QSyntaxHighlighter 
     QSysInfo 
     QSystemLocale 
     QSystemSemaphore 
     QSystemTrayIcon 
     QTabBar 
     QTabletEvent 
     QTableView 
     QTableWidget 
     QTableWidgetItem 
     QTableWidgetSelectionRange 
     QTabWidget 
     QTapAndHoldGesture 
     QTapGesture 
     QTcpServer 
     QTcpSocket 
     QTemporaryFile 
     QTestEventList 
     QTextBlock 
     QTextBlockFormat 
     QTextBlockGroup 
     QTextBlockUserData 
     QTextBoundaryFinder 
     QTextBrowser 
     QTextCharFormat 
     QTextCodec 
     QTextCodecPlugin 
     QTextCursor 
     QTextDecoder 
     QTextDocument 
     QTextDocumentFragment 
     QTextDocumentWriter 
     QTextEdit 
     QTextEncoder 
     QTextFormat 
     QTextFragment 
     QTextFrame 
     QTextFrameFormat 
     QTextImageFormat 
     QTextInlineObject 
     QTextItem 
     QTextLayout 
     QTextLength 
     QTextLine 
     QTextList 
     QTextListFormat 
     QTextObject 
     QTextObjectInterface 
     QTextOption 
     QTextStream 
     QTextTable 
     QTextTableCell 
     QTextTableCellFormat 
     QTextTableFormat 
     QThread 
     QThreadPool 
     QThreadStorage 
     QTileRules 
     QTime 
     QTimeEdit 
     QTimeLine 
     QTimer 
     QTimerEvent 
     QToolBar 
     QToolBox 
     QToolButton 
     QToolTip 
     QTouchEvent 
     QTransform 
     QTranslator 
     QTreeView 
     QTreeWidget 
     QTreeWidgetItem 
     QTreeWidgetItemIterator 
     QUdpSocket 
     QUiLoader 
     QUndoCommand 
     QUndoGroup 
     QUndoStack 
     QUndoView 
     QUrl 
     QUrlInfo 
     QUuid 
     QValidator 
     QVariant 
     QVariantAnimation 
     QVarLengthArray 
     QVBoxLayout 
     QVector 
     QVector2D 
     QVector3D 
     QVector4D 
     QVectorIterator 
     QVideoFrame 
     QVideoSurfaceFormat 
     QWaitCondition 
     QWeakPointer 
     QWebDatabase 
     QWebElement 
     QWebElementCollection 
     QWebFrame 
     QWebHistory 
     QWebHistoryInterface 
     QWebHistoryItem 
     QWebHitTestResult 
     QWebInspector 
     QWebPage 
     QWebPluginFactory 
     QWebSecurityOrigin 
     QWebSettings 
     QWebView 
     QWhatsThis 
     QWhatsThisClickedEvent 
     QWheelEvent 
     QWidget 
     QWidgetAction 
     QWidgetItem 
     QWindowsMime 
     QWindowsStyle 
     QWindowStateChangeEvent 
     QWindowsVistaStyle 
     QWindowsXPStyle 
     QWizard 
     QWizardPage 
     QWriteLocker 
     QWSCalibratedMouseHandler 
     QWSClient 
     QWSEmbedWidget 
     QWSEvent 
     QWSGLWindowSurface 
     QWSInputMethod 
     QWSKeyboardHandler 
     QWSMouseHandler 
     QWSPointerCalibrationData 
     QWSScreenSaver 
     QWSServer 
     QWSWindow 
     QX11EmbedContainer 
     QX11EmbedWidget 
     QX11Info 
     QXmlAttributes 
     QXmlContentHandler 
     QXmlDeclHandler 
     QXmlDefaultHandler 
     QXmlDTDHandler 
     QXmlEntityResolver 
     QXmlErrorHandler 
     QXmlFormatter 
     QXmlInputSource 
     QXmlItem 
     QXmlLexicalHandler 
     QXmlLocator 
     QXmlName 
     QXmlNamePool 
     QXmlNamespaceSupport 
     QXmlNodeModelIndex 
     QXmlParseException 
     QXmlQuery 
     QXmlReader 
     QXmlResultItems 
     QXmlSchema 
     QXmlSchemaValidator 
     QXmlSerializer 
     QXmlSimpleReader 
     QXmlStreamAttribute 
     QXmlStreamAttributes 
     QXmlStreamEntityDeclaration 
     QXmlStreamEntityResolver 
     QXmlStreamNamespaceDeclaration 
     QXmlStreamNotationDeclaration 
     QXmlStreamReader 
     QXmlStreamWriter 
    
     Qt 
     QTest 
     QtConcurrent 
     Phonon 
    
     QFileInfoList 
     QMutableStringListIterator 
     QTouchEventSequence                       
     QStringListIterator 
     QStringBuilder 
    
     QWidgetList 
  

  
    
     connect 
     disconnect 
     staticMetaObject 
     tr 
     trUtf8 
    
     qFindChildren
     qobject_cast 
    
     qAbs 
     qBound 
     qCritical 
     qDebug 
     qFatal 
     qFuzzyCompare 
     qFuzzyCompare 
     qInstallMsgHandler 
     qMacVersion 
     qMakePair 
     qMax 
     qMin 
     qPrintable 
     qRound64 
     qRound 
     qVersion 
     qWarning 
     q_check_ptr 
     qgetenv 
     qrand 
     qsrand 
     qtTrId 
     qt_set_sequence_auto_mnemonic 
     qt_symbian_exception2Error 
     qt_symbian_exception2LeaveL 
     qt_symbian_throwIfError 
    
     qBinaryFind 
     qCopy 
     qCopyBackward 
     qCount 
     qDeleteAll 
     qEqual 
     qFill 
     qFind 
     qGreater 
     qLess 
     qLowerBound 
     qSort 
     qStableSort 
     qSwap 
     qUpperBound 
    
     qChecksum 
     qCompress 
     qUncompress 
     qsnprintf 
     qstrcmp 
     qstrcpy 
     qstrdup 
     qstricmp 
     qstrlen 
     qstrncmp 
     qstrncpy 
     qstrnicmp 
     qstrnlen 
     qvsnprintf 
    
     qHash 
    
     qMetaTypeId 
     qRegisterMetaType 
     qRegisterMetaType 
     qRegisterMetaTypeStreamOperators 
    
     qAlpha 
     qBlue 
     qGray 
     qGray 
     qGreen 
     qRed 
     qRgb 
     qRgba  
    
     qAddPostRoutine 
    
     qmlInfo 
     qmlRegisterInterface 
     qmlRegisterType 
     qmlRegisterType 
     qmlRegisterTypeNotAvailable 
     qmlRegisterUncreatableType 
    
     qWebKitMajorVersion 
     qWebKitMinorVersion 
     qWebKitVersion 
    
     qt_extension 
    
     qDBusRegisterMetaType 
     qdbus_cast 
  

  
  
     QtMsgHandler 
     QtMsgType 
     QObjectList 
     qint8 
     qint16 
     qint32 
     qint64 
     qlonglong 
     qptrdiff 
     qreal 
     quint8 
     quint16 
     quint32 
     quint64 
     quintptr 
     qulonglong 
     uchar 
     uint 
     ulong 
     ushort 
    
     Q_PID 
    
     QRgb 
    
     qScriptConnect 
     qScriptDisconnect 
     qScriptRegisterMetaType 
     qScriptRegisterSequenceMetaType 
     qScriptValueFromSequence 
     qScriptValueToSequence 
    
     WId 
  

  
    
    
      
      
    

    
    
      
      
      
      
    

    
      
    

    
      
      
      
    

  

  
    
    
    
    
    
  



  
    
    
  
  




highlighting-kate-0.6.1/xml/cs.xml0000644000000000000000000001566412633103275015240 0ustar0000000000000000

  
    
       abstract
       as
       base
       break
       case
       catch
       class
       checked
       continue
       default
       delegate
       do
       else
       enum
       event
       explicit
       extern
       false
       for
       foreach
       finally
       fixed
       goto
       if
       implicit
       in
       interface
       internal
       is
       lock
       namespace
       new
       null
       operator
       out
       override
       params
       private
       protected
       public
       readonly
       ref
       return
       sealed
       sizeof
       stackalloc
       static
       struct
       switch
       this
       throw
       true
       try
       typeof
       unchecked
       unsafe
       using
       virtual
       while
       #if
       #else
       #elif
       #endif
       #define
       #undef
       #warning
       #error
       #line
    
    
       bool
       byte
       char
       const
       decimal
       double
       float
       int
       long
       object
       uint
       ushort
       ulong
       sbyte
       short
       string
       void
    
    
      
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
      
      
        
      
      
      
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/css.xml0000644000000000000000000010025412633103275015411 0ustar0000000000000000

  
  
]>





	
		
			
			 azimuth 
			 background 
			 background-attachment 
			 background-break 
			 background-clip 
			 background-color 
			 background-image 
			 background-position 
			 background-origin 
			 background-repeat 
			 border 
			 border-bottom 
			 border-bottom-color 
			 border-bottom-style 
			 border-bottom-width 
			 border-collapse 
			 border-color 
			 border-left 
			 border-left-color 
			 border-left-style 
			 border-left-width 
			 border-right 
			 border-right-color 
			 border-right-style 
			 border-right-width 
			 border-spacing 
			 border-style 
			 border-top 
			 border-top-color 
			 border-top-style 
			 border-top-width 
			 border-width 
			 bottom 
			 caption-side 
			 clear 
			 clip 
			 color 
			 content 
			 counter-increment 
			 counter-reset 
			 cue 
			 cue-after 
			 cue-before 
			 cursor 
			 direction 
			 display 
			 elevation 
			 empty-cells 
			 float 
			 font 
			 font-family 
			 font-size 
			 font-size-adjust 
			 font-stretch 
			 font-style 
			 font-variant 
			 font-weight 
			 font-stretch 
			 height 
			 left 
			 letter-spacing 
			 line-height 
			 list-style 
			 list-style-image 
			 list-style-keyword 
			 list-style-position 
			 list-style-type  
			 margin 
			 margin-bottom 
			 margin-left 
			 margin-right 
			 margin-top 
			 marker-offset 
			 max-height 
			 max-width 
			 min-height 
			 min-width 
			 orphans 
			 outline 
			 outline-color 
			 outline-style 
			 outline-width 
			 overflow 
			 padding 
			 padding-bottom 
			 padding-left 
			 padding-right 
			 padding-top 
			 page 
			 page-break-after 
			 page-break-before 
			 page-break-inside 
			 pause 
			 pause-after 
			 pause-before 
			 pitch 
			 pitch-range 
			 play-during 
			 position 
			 quotes 
			 richness 
			 right 
			 size 
			 speak 
			 speak-header 
			 speak-numeral 
			 speak-punctuation 
			 speech-rate 
			 stress 
			 table-layout 
			 text-align 
			 text-decoration 
			 text-decoration-color 
			 text-indent 
			 text-shadow 
			 text-transform 
			 top 
			 unicode-bidi 
			 vertical-align 
			 visibility 
			 voice-family 
			 volume 
			 white-space 
			 widows 
			 width 
			 word-spacing 
			 z-index 

			
			 animation-name 
			 animation-duration 
			 animation-iteration 
			 animation-direction 
			 animation-delay 
			 animation-play-state 
			 animation-fill-mode 
			 animation-timing-function 
			 background-size 
			 border-bottom-image 
			 border-bottom-left-image 
			 border-bottom-left-radius 
			 border-bottom-right-image 
			 border-bottom-right-radius 
			 border-collapse 
			 border-corner-image 
			 border-image 
			 border-left-image 
			 border-radius 
			 border-right-image 
			 border-top-image 
			 border-top-left-image 
			 border-top-left-radius 
			 border-top-right-image 
			 border-top-right-radius 
			 box-align 
			 box-direction 
			 box-flex 
			 box-shadow 
			 box-sizing 
			 column-count 
			 column-fill 
			 column-gap 
			 column-rule-color 
			 column-rule-style 
			 column-rule-width 
			 column-span 
			 column-width 
			 hyphens 
			 linear-gradient 
			 opacity 
			 outline 
			 outline-offset 
			 overflow-x 
			 overflow-y 
			 pointer-events 
			 resize 
			 rotation 
			 rotation-point 
			 table-layout 
			 text-overflow 
			 text-shadow 
			 text-wrap 
			 transform-origin 
			 transition 
			 transition-property 
			 transition-duration 
			 word-wrap 

			
			 -moz-animation-name 
			 -moz-animation-duration 
			 -moz-animation-iteration 
			 -moz-animation-direction 
			 -moz-animation-delay 
			 -moz-animation-play-state 
			 -moz-animation-fill-mode 
			 -moz-background-size 
			 -moz-border-image 
			 -moz-border-bottom-colors 
			 -moz-border-left-colors 
			 -moz-border-radius 
			 -moz-border-radius-topleft 
			 -moz-border-radius-topright 
			 -moz-border-radius-bottomleft 
			 -moz-border-radius-bottomright 
			 -moz-border-right-colors 
			 -moz-border-top-colors 
			 -moz-box 
			 -moz-box-flex 
			 -moz-box-shadow 
			 -moz-box-sizing 
			 -moz-column-count 
			 -moz-column-gap 
			 -moz-hyphens 
			 -moz-linear-gradient 
			 -moz-opacity 
			 -moz-outline-style 
			 -moz-perspective 
			 -moz-radial-gradient 
			 -moz-resize 
			 -moz-transform 
			 -moz-transform-origin 
			 -moz-transform-style 
			 -moz-transition 
			 -moz-transition-property 
			 -moz-transition-duration 

			
			 -o-background-size 
			 -o-linear-gradient 
			 -o-text-overflow 
			 -o-transition 
			 -o-transform-origin 

			
			 konq_bgpos_x 
			 konq_bgpos_y 
			 -khtml-background-size 
			 -khtml-border-top-left-radius 
			 -khtml-border-top-right-radius 
			 -khtml-border-bottom-left-radius 
			 -khtml-border-bottom-right-radius 
			 -khtml-border-radius 
			 -khtml-box-shadow 
			 -khtml-opacity 

			
			 -webkit-appearance 
			 -webkit-animation-name 
			 -webkit-animation-duration 
			 -webkit-animation-iteration 
			 -webkit-animation-direction 
			 -webkit-animation-delay 
			 -webkit-animation-play-state 
			 -webkit-animation-fill-mode 
			 -webkit-background-size 
			 -webkit-border-image 
			 -webkit-border-bottom-colors 
			 -webkit-border-left-colors 
			 -webkit-border-radius 
			 -webkit-border-right-colors 
			 -webkit-border-top-colors 
			 -webkit-border-top-left-radius 
			 -webkit-border-top-right-radius 
			 -webkit-border-bottom-left-radius 
			 -webkit-border-bottom-right-radius 
			 -webkit-border-radius-bottomleft 
			 -webkit-border-radius-bottomright 
			 -webkit-box-flex 
			 -webkit-box-reflect
			 -webkit-box-shadow 
			 -webkit-box-sizing 
			 -webkit-column-count 
			 -webkit-column-gap 
			 -webkit-hyphens 
			 -webkit-linear-gradient 
			 -webkit-gradient 
			 -webkit-perspective 
			 -webkit-text-fill-color 
			 -webkit-text-stroke-color 
			 -webkit-text-stroke-width 
			 -webkit-text-size-adjust 
			 -webkit-transform 
			 -webkit-transform-origin 
			 -webkit-transform-style 
			 -webkit-transition 
			 -webkit-transition-property 
			 -webkit-transition-duration 

			
			 filter 
			 zoom 
			 -ms-animation-name 
			 -ms-animation-duration 
			 -ms-animation-iteration 
			 -ms-animation-direction 
			 -ms-animation-delay 
			 -ms-animation-play-state 
			 -ms-animation-fill-mode 
			 -ms-box-sizing 
			 -ms-filter 
			 -ms-interpolation-mode 
			 -ms-linear-gradient 
			 -ms-text-size-adjust 
			 -ms-transform 
			 -ms-transition 

			
			 font-family 
			 font-size 
			 font-stretch 
			 font-style 
			 font-variant 
			 font-weight 
			 unicode-range 
			 units-per-em 
			 src 
			 panose-1 
			 stemv 
			 stemh 
			 slope 
			 cap-height 
			 x-height 
			 ascent 
			 descent 
			 widths 
			 bbox 
			 definition-src 
			 baseline 
			 centerline 
			 mathline 
			 topline 
		

		
			 inherit 
			 none 
			 hidden 
			 dotted 
			 dashed 
			 solid 
			 double 
			 groove 
			 ridge 
			 inset 
			 outset 
			 xx-small 
			 x-small 
			 small 
			 medium 
			 large 
			 x-large 
			 xx-large 
			 smaller 
			 larger 
			 italic 
			 oblique 
			 small-caps 
			 normal 
			 bold 
			 bolder 
			 lighter 
			 light 
			 100 
			 200 
			 300 
			 400 
			 500 
			 600 
			 700 
			 800 
			 900 
			 transparent 
			 repeat 
			 repeat-x 
			 repeat-y 
			 no-repeat 
			 baseline 
			 sub 
			 super 
			 top 
			 text-top 
			 middle 
			 bottom 
			 text-bottom 
			 left 
			 right 
			 center 
			 justify 
			 konq-center 
			 disc 
			 circle 
			 square 
			 box 
			 decimal 
			 decimal-leading-zero 
			 lower-roman 
			 upper-roman 
			 lower-greek 
			 lower-alpha 
			 lower-latin 
			 upper-alpha 
			 upper-latin 
			 hebrew 
			 armenian 
			 georgian 
			 cjk-ideographic 
			 hiragana 
			 katakana 
			 hiragana-iroha 
			 katakana-iroha 
			 inline 
			 inline-block 
			 block 
			 list-item 
			 run-in 
			 compact 
			 marker 
			 table 
			 inline-table 
			 table-row-group 
			 table-header-group 
			 table-footer-group 
			 table-row 
			 table-column-group 
			 table-column 
			 table-cell 
			 table-caption 
			 auto 
			 crosshair 
			 default 
			 pointer 
			 move 
			 e-resize 
			 ne-resize 
			 nw-resize 
			 n-resize 
			 se-resize 
			 sw-resize 
			 s-resize 
			 w-resize 
			 text 
			 wait 
			 help 
			 above 
			 absolute 
			 always 
			 avoid 
			 below 
			 bidi-override 
			 blink 
			 both 
			 capitalize 
			 caption 
			 clip 
			 close-quote 
			 collapse 
			 condensed 
			 crop 
			 cross 
			 ellipsis 
			 ellipsis-word 
			 embed 
			 expanded 
			 extra-condensed 
			 extra-expanded 
			 fixed 
			 hand 
			 hide 
			 higher 
			 icon 
			 inside 
			 invert 
			 landscape 
			 level 
			 line-through 
			 loud 
			 lower 
			 lowercase 
			 ltr 
			 menu 
			 message-box 
			 mix 
			 narrower 
			 no-close-quote 
			 no-open-quote 
			 nowrap 
			 open-quote 
			 outside 
			 overline 
			 portrait 
			 pre 
			 pre-line 
			 pre-wrap 
			 relative 
			 rtl 
			 scroll 
			 semi-condensed 
			 semi-expanded 
			 separate 
			 show 
			 small-caption 
			 static 
			 static-position 
			 status-bar 
			 thick 
			 thin 
			 ultra-condensed 
			 ultra-expanded 
			 underline 
			 uppercase 
			 visible 
			 wider 
			 break 
			 serif 
			 sans-serif 
			 cursive 
			 fantasy 
			 monospace 
			 border-box 
			 content-box 
			 -epub-hyphens 
		


		
			 aqua 
			 black 
			 blue 
			 cyan 
			 fuchsia 
			 gray 
			 green 
			 lime 
			 maroon 
			 navy 
			 olive 
			 purple 
			 red 
			 silver 
			 teal 
			 white 
			 yellow 
			 ActiveBorder  
			 ActiveCaption  
			 AppWorkspace  
			 Background  
			 ButtonFace  
			 ButtonHighlight  
			 ButtonShadow  
			 ButtonText  
			 CaptionText  
			 GrayText  
			 Highlight  
			 HighlightText  
			 InactiveBorder  
			 InactiveCaption  
			 InactiveCaptionText  
			 InfoBackground  
			 InfoText  
			 Menu  
			 MenuText  
			 Scrollbar  
			 ThreeDDarkShadow  
			 ThreeDFace  
			 ThreeDHighlight  
			 ThreeDLightShadow  
			 ThreeDShadow  
			 Window  
			 WindowFrame  
			 WindowText  
		

		
			 url 
			 attr 
			 rect 
			 rgb 
			 rgba 
			 hsl 
			 hsla 
			 counter 
			 counters 

			
			 local 
			 format 

			
			 expression 

		

		
			 all 
			 aural 
			 braille 
			 embossed 
			 handheld 
			 print 
			 projection 
			 screen 
			 speech 
			 tty 
			 tv 
		

		
                     not 
                     only 
		
		
		
                     width 
                     min-width 
                     max-width
                     height 
                     min-height 
                     max-height 
                     device-width 
                     min-device-width 
                     max-device-width 
                     device-height 
                     min-device-height 
                     max-device-height 
                     orientation 
                     aspect-ratio 
                     min-aspect-ratio 
                     max-aspect-ratio 
                     device-aspect-ratio 
                     min-device-aspect-ratio 
                     max-device-aspect-ratio 
                     color 
                     min-color 
                     max-color 
                     color-index 
                     min-color-index 
                     max-color-index 
                     monochrome 
                     min-monochrome 
                     max-monochrome 
                     resolution 
                     min-resolution 
                     max-resolution 
                     scan 
                     grid 
		
		
		
			 hover 
			 link 
			 visited 
			 active 
			 focus 
			 first-child 
			 last-child 
			 only-child 
			 first-of-type 
			 last-of-type 
			 only-of-type 
			 first-letter 
			 first-line 
			 before 
			 after 
			 selection 
			 root 
			 empty 
			 target 
			 enabled 
			 disabled 
			 checked 
			 indeterminate 
			 nth-child 
			 nth-last-child 
			 nth-of-type 
			 nth-last-of-type 
			 not 
		

		
			
				
				
				
			

			
			
			
				
				
				
				
				
				
				
				
				
				
				
				
			

			
			
				
				
				
			

			
			
				
				
			

			
			
				
				
				
			

			
			
				
                                
				
				
				
				
				
			
			
			
                            
                            
                            
                            
                            
                             
			
			
			
			    
			    
                            
                            
                            
                            
			
			
                        
                            
                            
                            
                            
                        
                        
                        
                            
                            
                            
                            
                            
                        
                        
                        
                        
                            
                            
                            
                            
                            
                            
                        

			
				
				
			

			
				
				
			

			
					
				

				
					
					
					
					
					
				

				
					
					
					
					
				

				
					
					
					
					
					
				

				
					
					
				

				
					
					
					
					
					
					
					
					
					
					
					
				

				
					
					
					
				

				
					
					
					
					
				

				
				
					
					
				

				
					
					
				

				
					
					
				

			
			
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
		
		
			
			
				
			
		
	
highlighting-kate-0.6.1/xml/curry.xml0000644000000000000000000003746312633103275016000 0ustar0000000000000000

  
  
  
  
  
  
  
  
  

  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
]>

  
  
     case 
     data 
     do 
     else 
     external 
     fcase 
     free 
     if 

     in 
     infix 
     infixl 
     infixr 
     let 
     module 
     of 
     then 
     type 
     where 
  
  
     and 
     all 
     any 
     appendFile 
     best 
     break 
     browse 
     browseList 
     chr 
     concat 
     concatMap 
     const 
     curry 
     div 
     done 
     doSolve 
     drop 
     dropWhile 
     either 
     elem 
     ensureNotFree 
     ensureSpine 
     enumFrom 
     enumFromThen 
     enumFromTo 
     enumFromThenTo 
     error 
     failed 
     filter 
     findall 
     flip 
     foldl 
     foldl1 
     foldr 
     foldr1 
     fst 
     getChar 
     getLine 
     id 
     if_then_else 
     iterate 
     head 
     length 
     lines 
     lookup 
     map 
     mapIO 
     mapIO_ 
     max 
     maybe 
     min 
     mod 
     negate 
     not 
     notElem 
     null 
     once 
     or 
     ord 
     otherwise 
     print 
     putChar 
     putStr 
     putStrLn 
     readFile 
     repeat 
     replicate 
     return 
     reverse 
     seq 
     sequenceIO 
     sequenceIO_ 
     show 
     snd 
     solveAll 
     span 
     splitAt 
     success 
     tail 
     take 
     takeWhile 
     try 
     uncurry 
     unknown 
     unlines 
     unpack 
     until 
     unwords 
     unzip 
     unzip3 
     writeFile 
     words 
     zip 
     zip3 
     zipWith 
     zipWith3 
  
  
     Bool 
     Char 
     Either 
     Float 
     Int 
     IO 
     Maybe 
     Ordering 
     String 
     Success 
  
  
     False 
     True 
     Left 
     Right 
     Just 
     Nothing 
     EQ 
     LT 
     GT 
  
  
    
      
      
      
      
      

      
      
      
      
      
      

      
      
      
      
      
      
      

      
      
      
      
      
      
      

      
      
      
      
      
      
      
    

    
    
      
    

    
    
      
    

    
    

    
    

    
    
      
      
      
      
      

      
      
      
      
      
      
    

    
    
      
      
      
    

    
    
      
      
      
      
      
      
      
    

    
    
      
      
    

    
    
      
    

    
    
      
      
      
    

    
    
      
      
      
      
      
      
      
      
    

    
      
      
      
      
    

    
    
      
    

    
    
      
    
  

  
    

    
    
    
    

    
    
    
    
    

    
    
    
    
    
    
    
    

    
    
    
    
    
    
    
    
    
  
  
  
    
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/d.xml0000644000000000000000000012116612633103275015051 0ustar0000000000000000




  
    
    
    
    
       asm 
       body 
       break 
       case 
       catch 
       continue 
       default 
       do 
       else 
       finally 
       for 
       foreach 
       foreach_reverse 
       goto 
       if 
       mixin 
       return 
       switch 
       throw 
       try 
       while 
       with 
      
      
       synchronized 

    

    
      
       abstract 
       align 
       auto 
       const 
       export 
       final 
       immutable 
       inout 
       invariant 
       lazy 
       nothrow 
       override 
       package 
       private 
       protected 
       public 
       pure 
       ref 
       static 
      
      
      
       out 
       scope 
    
    
    
      
       false 
       null 
       super 
       this 
       true 
       typeid 
      
      
       assert 
       cast 
       is 
       new 
       delete 
       in  
      
      
       delegate 
       function 
    
    
    
       module 
       import  
    

    
       alias 
       enum 
       typedef 
       class 
       interface 
       struct 
       union 
    
    
    
       typeof 
      
       void 
       bool 
       byte 
       ubyte 
       short 
       ushort 
       int 
       uint 
       long 
       ulong 
       cent 
       ucent 
       float 
       double 
       real 
       ireal 
       ifloat 
       idouble 
       creal 
       cfloat 
       cdouble 
       char 
       wchar 
       dchar 
    

    
       macro  
       template 
    
    
    
       init 
       sizeof 
       alignof 
       mangleof 
       stringof 
       tupleof 
       offsetof 
       max 
       min 
       infinity 
       nan 
       dig 
       epsilon 
       mant_dig 
       max_10_exp 
       max_exp 
       min_10_exp 
       min_exp 
       re 
       im 
       length 
       ptr 
       dup 
       idup 
       reverse 
       sort 
       keys 
       values 
       rehash 
    
    
    
      
       size_t 
       ptrdiff_t 
       hash_t 
       Error 
       Exception 
       Object 
       TypeInfo 
       ClassInfo 
       ModuleInfo 
       Interface 
       OffsetTypeInfo 
       TypeInfo_Typedef 
       TypeInfo_Enum 
       TypeInfo_Pointer 
       TypeInfo_Array 
       TypeInfo_StaticArray 
       TypeInfo_AssociativeArray 
       TypeInfo_Function 
       TypeInfo_Delegate 
       TypeInfo_Class 
       TypeInfo_Interface 
       TypeInfo_Struct 
       TypeInfo_Tuple 
      
      
       string 
       wstring 
       dstring 
       bit 
       TypeInfo_Const 
       TypeInfo_Invariant 
    

    
       extern 
    
    
       C 
      
       D 
       Windows 
       Pascal 
       System 
    

    
       msg 
       lib 
    
    
    
       exit 
       success 
       failure 
    

    
       DigitalMars 
       X86 
       X86_64 
       Windows 
       Win32 
       Win64 
       linux 
       LittleEndian 
       BigEndian 
       D_Coverage 
       D_InlineAsm_X86 
       unittest 
       D_Version2 
       none 
       all 
    

    
       __FILE__ 
       __LINE__ 
       __DATE__ 
       __TIME__ 
       __TIMESTAMP__ 
       __VENDOR__ 
       __VERSION__ 
       __EOF__ 
    
    
    
       debug 
       unittest 
    
    
    
         pragma 
    

    
         version 
    
    
    
         deprecated 
         volatile  
    
    
    
      
        
        
        

        
        
        
        

        
        
        

        
        
        

        
        
        
        
        
        
        
        
        
        

        
        

        
        
        
        
        
        
        
      

      
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
          
      
      
      
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
      

      
      
        
      
      
      
        
      
      
      
        
      

      
        
        
        
      

      
        
        
        
      
      
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
      
      
      
        
        
        
      
      
        
        
        
        
        
        
      

      
        
        
        
        
        
      
      
        
        
        
        
        
        
        
      

      
      
      
        
      
      
      
        
      
      
      
        
        
      
      
      
        
        
        
        
        
        
        
        
        
        
      
      
      
        
      
      
      
        
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
      
      
      
      
        
        
      
      
        
        
        
      
      
        
       
       
       
      
      
      
      
      
        
        
        
      
      
      
        
        
        
        
        
      
      
      
        
        
        
        
        
        
        
        
        
        
        
        
      
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
      
        
        
        
        
        
        
      
      
      
      
         
        
         
        
        
        
        
      
      
      
         
        
      
      
      
         
        
      
      
      
         
         
        
        
      
      
      
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      

      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/diff.xml0000644000000000000000000001456312633103275015540 0ustar0000000000000000

  
  
  
]>



  

    

      
        
        
        
        
        
        
        
        
      

      
        
        
        
        
      

      
      
        
        
        
        
        
      

      
        
        
        
      

      
        
        
        
        
        
      

      
      
        
        
        
        
      

      
        
        
        
      

      
        
        
        
      

      
        
        
        
      

      
        
        
        
        
      

      
      
      
      
      
      

    

    
      
      
      
      
      
      
      
    

  


highlighting-kate-0.6.1/xml/djangotemplate.xml0000644000000000000000000004013412633103275017617 0ustar0000000000000000

	
]>







    for
    block
    if
    ifequal
    ifnotequal
    ifchanged
    blocktrans
    spaceless
    autoescape



    endfor
    endblock
    endif
    endifequal
    endifnotequal
    endifchanged
    endblocktrans
    endspaceless
    endautoescape



  
    
    
    
  

  
    
    
    
  

  
    
    
    
  

  
    
  

  
    
    
    
    
    
  

  
    
    
    
    
    
    
  

  
      
      
  

  
    
    
  

  
    
    
    
    
  

  
    
    
    
  

  
    
    
    
    
    
    
  

  
    

    
  

  
    

    
  



  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  

  
    
    
  

  
    
    
    
  

  
    
    
    
  

  
    
  


  
    
    
    
    
    
    
  

  
    
    
    
    
  

  
    
  

  
    
    
  

  
    
    
    
    
    
  

  
    
    
    
  

  
    
    
  

  
    
    
  

  
    
    
    
    
    
  

  
    
    
  

  
    
    
  

  
    
    
  

  
    
    
    
    
    
  

  
    
    
    
  

  
    
    
    
    
    
  

  
    
    
    
    
  

  
    
    
    
  

  
    
    
    
  

  
    
    
    
    
  

  
    
    
    
  

  
    
    
    
  



  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  




  
      
  


highlighting-kate-0.6.1/xml/dockerfile.xml0000644000000000000000000000441712633103275016734 0ustar0000000000000000



  
    
       FROM 
       MAINTAINER 
       ENV 
       RUN 
       ONBUILD 
       COPY 
       ADD 
       VOLUME 
       EXPOSE 
       ENTRYPOINT 
       CMD 
       WORKDIR 
       USER 
    

    
      
        
        
        
        
        
        
      

      
        
      

      
        
        
      

      
        
        
      

    
    
      
      
      
      
    
  
  
    
      
    
  



highlighting-kate-0.6.1/xml/dot.xml0000644000000000000000000001441512633103275015412 0ustar0000000000000000




  

    
       digraph 
       node 
       edge 
       subgraph 
    

    
      
       center 
       layers 
       margin 
       mclimit 
       name 
       nodesep 
       nslimit 
       ordering 
       page 
       pagedir 
       rank 
       rankdir 
       ranksep 
       ratio 
       rotate 
       size 
      
       distortion 
       fillcolor 
       fontcolor 
       fontname 
       fontsize 
       height 
       layer 
       orientation 
       peripheries 
       regular 
       shape 
       shapefile 
       sides 
       skew 
       width
      
       arrowhead 
       arrowsize 
       arrowtail 
       constraint 
       decorateP 
       dir 
       headclip 
       headlabel 
       labelangle 
       labeldistance 
       labelfontcolor 
       labelfontname 
       labelfontsize 
       minlen 
       port_label_distance 
       samehead 
       sametail 
       tailclip 
       taillabel 
       weight 
      
       color 
      
       bgcolor 
       label 
       URL 
      
       fontcolor 
       fontname 
       fontsize 
       layer 
       style 
    

    

      
        
      

      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
      

      
      
        
        
      

      
        
        
      

      
        
        
      

      
      
        
        
        
      

      
        
      

      
        
        
      

    

    
      
      
      
      
      
      
      
      
      
      
    

  

  

    
      
      
    

    

  


highlighting-kate-0.6.1/xml/doxygen.xml0000644000000000000000000007336212633103275016307 0ustar0000000000000000
     
]>



  
    
    
    
       \arg                @arg 
       \author             @author 
       \authors            @authors 
       \brief              @brief 
       \callgraph          @callgraph 
       \callergraph        @callergraph 
       \date               @date 
       \deprecated         @deprecated 
       \details            @details 
       \docbookonly        @docbookonly 
       \else               @else 
       \endcond            @endcond 
       \enddocbookonly     @enddocbookonly 
       \endhtmlonly        @endhtmlonly 
       \endif              @endif 
       \endinternal        @endinternal 
       \endlatexonly       @endlatexonly 
       \endlink            @endlink 
       \endmanonly         @endmanonly 
       \endparblock        @endparblock 
       \endrtfonly         @endrtfonly 
       \endsecreflist      @endsecreflist 
       \endxmlonly         @endxmlonly 
       \f[                 @f[ 
       \f]                 @f] 
       \f$                 @f$ 
      
       \hideinitializer    @hideinitializer 
       \htmlonly           @htmlonly 
      
       \internal           @internal 
       \invariant          @invariant 
       \latexonly          @latexonly 
       \li                 @li 
       \manonly            @manonly 
       \n                  @n 
       \nosubgrouping      @nosubgrouping 
       \only               @only 
       \parblock           @parblock 
       \post               @post 
       \pre                @pre 
       \private            @pivate 
       \privatesection     @pivatesection 
       \protected          @protected 
       \protectedsection   @protectedsection 
       \public             @public 
       \publicsection      @publicsection 
       \pure               @pure 
       \remark             @remark 
       \remarks            @remarks 
       \return             @return 
       \returns            @returns 
       \result             @result 
       \rtfonly            @rtfonly 
       \sa                 @sa 
       \secreflist         @secreflist 
       \see                @see 
       \short              @short 
       \showinitializer    @showinitializer 
       \since              @since 
       \static             @static 
       \tableofcontents    @tableofcontents 
       \test               @test 
       \version            @version 
       \xmlonly            @xmlonly 
      
       \#                  @# 
       \$                  @$ 
       \%                  @% 
       \&              @& 
       \>               @> 
       \<               @< 
       \"             @" 
       \::                 @:: 
       \@                  @@ 
       \\                  @\ 
       \~                  @~ 
       \.                  @. 
       \--                 @-- 
       \---                @--- 
    

    
       \a                  @a 
       \anchor             @anchor 
       \b                  @b 
       \c                  @c 
       \cite               @cite 
       \cond               @cond 
       \copybrief          @copybrief 
       \copydetails        @copydetails 
       \copydoc            @copydoc 
       \def                @def 
       \dir                @dir 
       \dontinclude        @dontinclude 
       \e                  @e 
       \elseif             @elseif 
       \em                 @em 
       \enum               @enum 
       \example            @example 
       \exception          @exception 
       \exceptions         @exceptions 
       \extends            @extends 
       \file               @file 
       \htmlinclude        @htmlinclude 
       \idlexcept          @idlexcept 
       \if                 @if 
       \ifnot              @ifnot 
       \implements         @implements 
       \include            @include 
       \includelineno      @includelineno 
       \latexinclude       @latexinclude 
       \link               @link 
       \memberof           @memberof 
       \namespace          @namespace 
       \p                  @p 
       \package            @package 
       \property           @property 
       \relatedalso        @relatedalso 
       \relatesalso        @relatesalso 
       \related            @related 
       \relates            @relates 
       \retval             @retval 
       \throw              @throw 
       \throws             @throws 
       \verbinclude        @verbinclude 
       \version            @version 
      
       \xrefitem           @xrefitem 
    
    
       \param              @param 
      
       \tparam             @tparam 
    
    
    
       \image              @image 
    
      
      
    
       \addtogroup         @addtogroup 
       \category           @category 
       \class              @class 
       \diafile            @diafile 
       \dotfile            @dotfile 
       \defgroup           @defgroup 
       \interface          @interface 
       \headerfile         @headerfile 
       \mscfile            @mscfile 
       \page               @page 
       \paragraph          @paragraph 
       \protocol           @prtocol 
       \ref                @ref 
       \section            @section 
       \snippet            @snippet 
       \struct             @struct 
       \subpage            @subpage 
       \subsection         @subsection 
       \subsubsection      @subsubsection 
       \union              @union 
       \weakgroup          @weakgroup 
    
    
       \addindex           @addindex 
       \copyright          @copyright 
       \fn                 @fn 
       \ingroup            @ingroup 
       \line               @line 
       \mainpage           @mainpage 
       \name               @name 
       \overload           @overload 
       \par                @par 
       \skip               @skip 
       \skipline           @skipline 
       \typedef            @typedef 
       \until              @until 
       \var                @var 
       \vhdlflow           @vhdlflow 
    
    
       \note               @note 
    
    
       \warning            @warning 
    
    
       \attention          @attention 
       \bug                @bug 
    
    
       \todo               @todo 
    

    
    
      
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
      
      
        
        
      
      
        
        
        
        
        
        
        
      
      
        
        
        
        
      
      
      
        
        
      
      
        
        
        
        
        
        
      
      
        
        
      

      
      
        
        
        
        
      
      
        
        
        
      
      
        
        
        
        
      
      
        
        
      
      
        
        
      

      
      
      
        
        
        
        
      
      
        
        
        
        
        
        
      
      
        
        
        
      
      
      
        
        
        
      
      
        
        
        
        
        
      
      
        
        
        
      

      
      
        
        
        
      
      
        
        
      
      
        
        
        
      
      
        
      
      
        
      

      
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
      

      
        
        
      

      
        
        
      

      
        
        
        
        
      

      
        
        
      

      
        
        
      

  
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
  


highlighting-kate-0.6.1/xml/doxygenlua.xml0000644000000000000000000005067512633103275017013 0ustar0000000000000000
     
]>


  
    
    
       \arg 
       \attention 
       \author 
       \callgraph 
       \code 
       \dot 
       \else 
       \endcode 
       \endcond 
       \enddot 
       \endhtmlonly 
       \endif 
       \endlatexonly 
       \endlink 
       \endmanonly 
       \endverbatim 
       \endxmlonly 
       \f[ 
       \f] 
       \f$ 
       \hideinitializer 
       \htmlonly 
       \interface 
       \internal 
       \invariant 
       \~ 
       \@ 
       \$ 
       \\ 
       \# 
       \latexonly 
       \li 
       \manonly 
       \n 
       \nosubgrouping 
       \note 
       \only 
       \post 
       \pre 
       \remarks 
       \return 
       \returns 
       \sa 
       \see 
       \showinitializer 
       \since 
       \test 
       \todo 
       \verbatim 
       \warning 
       \xmlonly 

       @arg 
       @attention 
       @author 
       @callgraph 
       @code 
       @dot 
       @else 
       @endcode 
       @endcond 
       @enddot 
       @endhtmlonly 
       @endif 
       @endlatexonly 
       @endlink 
       @endmanonly 
       @endverbatim 
       @endxmlonly 
       @f[ 
       @f] 
       @f$ 
       @hideinitializer 
       @htmlonly 
       @interface 
       @internal 
       @invariant 
       @~ 
       @@ 
       @$ 
       @\ 
       @# 
       @latexonly 
       @li 
       @manonly 
       @n 
       @nosubgrouping 
       @note 
       @only 
       @post 
       @pre 
       @remarks 
       @return 
       @returns 
       @sa 
       @see 
       @showinitializer 
       @since 
       @test 
       @todo 
       @verbatim 
       @warning 
       @xmlonly 
    

    
       \addtogroup 
       \a 
       \anchor 
       \b 
       \c 
       \class 
       \cond 
       \copydoc 
       \def 
       \dontinclude 
       \dotfile 
       \e 
       \elseif 
       \em 
       \enum 
       \example 
       \exception 
       \exceptions 
       \file 
       \htmlinclude 
       \if 
       \ifnot 
       \include 
       \link 
       \namespace 
       \p 
       \package 
       \ref 
       \relatesalso 
       \relates 
       \retval 
       \throw 
       \throws 
       \verbinclude 
       \version 
       \xrefitem 

       @addtogroup 
       @a 
       @anchor 
       @b 
       @c 
       @class 
       @cond 
       @copydoc 
       @def 
       @dontinclude 
       @dotfile 
       @e 
       @elseif 
       @em 
       @enum 
       @example 
       @exception 
       @exceptions 
       @file 
       @htmlinclude 
       @if 
       @ifnot 
       @include 
       @link 
       @namespace 
       @p 
       @package 
       @ref 
       @relatesalso 
       @relates 
       @retval 
       @throw 
       @throws 
       @verbinclude 
       @version 
       @xrefitem 
    
    
       \param 

       @param 
    
    
       \image 

       @image 
    
    
       \defgroup 
       \page 
       \paragraph 
       \section 
       \struct 
       \subsection 
       \subsubsection 
       \union 
       \weakgroup 

       @defgroup 
       @page 
       @paragraph 
       @section 
       @struct 
       @subsection 
       @subsubsection 
       @union 
       @weakgroup 
    
    
       \addindex 
       \brief 
       \bug 
       \date 
       \deprecated 
       \fn 
       \ingroup 
       \line 
       \mainpage 
       \name 
       \overload 
       \par 
       \short 
       \skip 
       \skipline 
       \typedef 
       \until 
       \var 

       @addindex 
       @brief 
       @bug 
       @date 
       @deprecated 
       @fn 
       @ingroup 
       @line 
       @mainpage 
       @name 
       @overload 
       @par 
       @short 
       @skip 
       @skipline 
       @typedef 
       @until 
       @var 
    
    
    
      
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      


      
      
        
        
      
      
        
        
        
        
        
        
        
      
      
        
        
        
        
      
      
      
        
        
      
      
        
        
        
        
        
        
      
      
        
        
      

      
      
        
        
        
        
      
      
        
        
        
      
      
        
        
        
        
      
      
        
        
      
      
        
        
      


      
      
        
        
        
        
      
      
        
        
        
        
        
        
      
      
        
        
        
      
      
      
        
        
        
      
      
        
        
        
        
        
      
      
        
        
        
      

      
      
        
        
        
      
      
        
        
      
      
        
        
        
      
      
        
      
      
        
      

    
    
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/dtd.xml0000644000000000000000000001166212633103275015400 0ustar0000000000000000

  
]>

  

    
      EMPTY
      ANY
      CDATA
      ID
      IDREF
      IDREFS
      NMTOKEN
      NMTOKENS
      ENTITY
      ENTITIES
      NOTATION
      PUBLIC
      SYSTEM
      NDATA
    

    
      #PCDATA
      #REQUIRED
      #IMPLIED
      #FIXED
    

    
      
        
        
        
        
        
        
        
        
      

      
        
        
        
        
      

      
        
      

      
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
      

      
        
        
        
        
      

    

    
      
      
      
      
      
      
      
      
      
      
      
      
    
  

  
    
      
    
  




highlighting-kate-0.6.1/xml/eiffel.xml0000644000000000000000000000730012633103275016051 0ustar0000000000000000



	
		
			 agent 
			 alias 
			 all 
			 and 
			 as 
			 assign 
			 class 
			 convert 
			 create 
			 creation 
			 debug 
			 deferred 
			 do 
			 else 
			 elseif 
			 end 
			 expanded 
			 export 
			 external 
			 feature 
			 from 
			 frozen 
			 if 
			 implies 
			 indexing 
			 infix 
			 inherit 
			 inspect 
			 is 
			 like 
			 local 
			 loop 
			 not 
			 obsolete 
			 old 
			 once 
			 or 
			 prefix 
			 pure 
			 redefine 
			 reference 
			 rename 
			 rescue 
			 retry 
			 separate 
			 then 
			 undefine 
		

		
			 Current 
			 False 
			 Precursor 
			 Result 
			 True 
			 TUPLE 
		

		
			 check 
			 ensure 
			 require 
			 variant 
			 invariant 
		

		
			
				
				
				

				
				
				
				

				
			

			
				
			

			
		

		
			

			
			
			

			
			
			
			

			
		
	

	
		
			
		
		
	

highlighting-kate-0.6.1/xml/email.xml0000644000000000000000000001534612633103275015717 0ustar0000000000000000



  
          
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
  

highlighting-kate-0.6.1/xml/erlang.xml0000644000000000000000000002347412633103275016101 0ustar0000000000000000

          
          
          
          
          
          
          
]
>



  
    
      
       after 
       begin 
       case 
       catch 
       cond 
       end 
       fun 
       if 
       let 
       of 
       query 
       receive 
       all_true 
       some_true 
    
    
      
      
       div 
       rem 
       or 
       xor 
       bor 
       bxor 
       bsl 
       bsr 
       and 
       band 
       not 
       bnot 
    
    
      
      
      abs
      accept
      alarm
      apply
      atom_to_list
      binary_to_list
      binary_to_term
      check_process_code
      concat_binary
      date
      delete_module
      disconnect_node
      element
      erase
      exit
      float
      float_to_list
      garbage_collect
      get
      get_keys
      group_leader
      halt
      hd
      integer_to_list
      is_alive
      is_atom
      is_binary
      is_boolean
      is_float
      is_function
      is_integer
      is_list
      is_number
      is_pid
      is_port
      is_process_alive
      is_record
      is_reference
      is_tuple
      length
      link
      list_to_atom
      list_to_binary
      list_to_float
      list_to_integer
      list_to_pid
      list_to_tuple
      load_module
      loaded
      localtime
      make_ref
      module_loaded
      node
      nodes
      now
      open_port
      pid_to_list
      port_close
      port_command
      port_connect
      port_control
      ports
      pre_loaded
      process_flag
      process_info
      processes
      purge_module
      put
      register
      registered
      round
      self
      setelement
      size
      spawn
      spawn_link
      spawn_opt
      split_binary
      statistics
      term_to_binary
      throw
      time
      tl
      trunc
      tuple_to_list
      unlink
      unregister
      whereis
   
    
      
        
        
        
        
        
        
        
        

        
        
        
        

        
        

        
         
        
        
        
        
        
        
        
        
        
        
        

      

      
      
      
      
        
      

      
      
        
      

      
      
        
      
      
      
      
        
        
        
      

    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  


highlighting-kate-0.6.1/xml/fasm.xml0000644000000000000000000005777212633103275015567 0ustar0000000000000000




  
    
      
      rax
      eax
      ax
      ah
      al
      rbx
      ebx
      bx
      bh
      bl
      rcx
      ecx
      cx
      ch
      cl
      rdx
      edx
      dx
      dh
      dl
      rbp
      ebp
      bp
      rsi
      esi
      si
      rdi
      edi
      di
      rsp
      esp
      sp
      r8
      r9
      r10
      r11
      r12
      r13
      r14
      r15
      
      cs
      ds
      es
      fs
      gs
      ss
      
      cr0
      
      cr2
      cr3
      cr4
      
      dr0
      dr1
      dr2
      dr3
      dr6
      dr7
      
      st
      
      mm0
      mm1
      mm2
      mm3
      mm4
      mm5
      mm6
      mm7
      
      xmm0
      xmm1
      xmm2
      xmm3
      xmm4
      xmm5
      xmm6
      xmm7
    
    
      aaa
      aad
      aam
      aas
      adc
      add
      addpd
      addps
      addsd
      addss
      addsubpd
      addsubps
      and
      andnpd
      andnps
      andpd
      andps
      arpl
      bound
      bsf
      bsr
      bswap
      bt
      btc
      btr
      bts
      call
      cbw
      cwde
      cwd
      cdq
      cdqe
      cqo
      clc
      cld
      clgi
      cli
      clts
      clflush
      cmc
      cmova
      cmovae
      cmovb
      cmovbe
      cmovc
      cmove
      cmovg
      cmovge
      cmovl
      cmovle
      cmovna
      cmovnae
      cmovnb
      cmovnbe
      cmovnc
      cmovne
      cmovng
      cmovnge
      cmovnl
      cmovnle
      cmovno
      cmovnp
      cmovns
      cmovnz
      cmovo
      cmovp
      cmovpe
      cmovpo
      cmovs
      cmovz
      cmp
      cmpeqpd
      cmpeqps
      cmpeqsd
      cmpeqss
      cmplepd
      cmpleps
      cmplesd
      cmpless
      cmpltpd
      cmpltps
      cmpltsd
      cmpltss
      cmpneqpd
      cmpneqps
      cmpneqsd
      cmpneqss
      cmpnlepd
      cmpnleps
      cmpnlesd
      cmpnless
      cmpnltpd
      cmpnltps
      cmpnltsd
      cmpnltss
      cmpordpd
      cmpordps
      cmpordsd
      cmpordss
      cmppd
      cmpps
      cmps
      cmpsb
      cmpsd
      cmpss
      cmpsw
      cmpunordpd
      cmpunordps
      cmpunordsd
      cmpunordss
      cmpxchg
      cmpxchg486
      cmpxchg8b
      cmpxchg16b
      comisd
      comiss
      cpuid
      cvtdq2pd
      cvtdq2ps
      cvtpd2dq
      cvtpd2pi
      cvtpd2ps
      cvtpi2pd
      cvtpi2ps
      cvtps2dq
      cvtps2pd
      cvtps2pi
      cvtsd2si
      cvtsd2ss
      cvtsi2sd
      cvtsi2ss
      cvtss2sd
      cvtss2si
      cvttpd2dq
      cvttpd2pi
      cvttps2dq
      cvttps2pi
      cvttsd2si
      cvttss2si
      daa
      das
      dec
      div
      divpd
      divps
      divsd
      divss
      emms
      enter
      f2xm1
      fabs
      fadd
      faddp
      fbld
      fbstp
      fchs
      fclex
      fnclex
      fcmovb
      fcmovbe
      fcmove
      fcmovnb
      fcmovnbe
      fcmovne
      fcmovnu
      fcmovu
      fcom
      fcomp
      fcompp
      fcomi
      fcomip
      fcos
      fdecstp
      fdisi
      feni
      fdiv
      fdivr
      fdivp
      fdivrp
      femms
      ffree
      ffreep
      fiadd
      ficom
      ficomp
      fidiv
      fidivr
      fild
      fimul
      fincstp
      finit
      fist
      fistp
      fisttp
      fisub
      fisubr
      fld
      fld1
      fldl2e
      fldl2t
      fldlg2
      fldln2
      fldcw
      fldenv
      fldpi
      fldz
      fmul
      fmulp
      fndisi
      fneni
      fninit
      fnop
      fnsave
      fnstcw
      fnstenv
      fnstsw
      fnwait
      fpatan
      fptan
      fprem
      fprem1
      frndint
      frstor
      fsave
      fscale
      fsetpm
      fsin
      fsincos
      fsqrt
      fst
      fstp
      fstcw
      fstenv
      fstsw
      fsub
      fsubr
      fsubp
      fsubrp
      ftst
      fucom
      fucomp
      fucompp
      fucomi
      fucomip
      fwait
      fxam
      fxch
      fxrstor
      fxsave
      fxtract
      fyl2x
      fyl2xp1
      haddpd
      haddps
      hlt
      hsubpd
      hsubps
      ibts
      idiv
      imul
      in
      inc
      ins
      insb
      insd
      insw
      int
      int1
      int3
      into
      invd
      invlpg
      invlpga
      iret
      iretd
      iretq
      iretw
      ja
      jae
      jb
      jbe
      jc
      je
      jg
      jge
      jl
      jle
      jna
      jnae
      jnb
      jnbe
      jnc
      jne
      jng
      jnge
      jnl
      jnle
      jno
      jnp
      jns
      jnz
      jo
      jp
      jpe
      jpo
      js
      jz
      jcxz
      jecxz
      jrcxz
      jmp
      lahf
      lar
      lddqu
      ldmxcsr
      lds
      les
      lea
      leave
      lfence
      lfs
      lgdt
      lgs
      lidt
      lldt
      lmsw
      loadall
      loadall286
      lods
      lodsb
      lodsd
      lodsq
      lodsw
      loop
      loope
      loopne
      loopnz
      loopz
      lsl
      lss
      ltr
      maskmovdqu
      maskmovq
      maxpd
      maxps
      maxsd
      maxss
      mfence
      minpd
      minps
      minsd
      minss
      monitor
      mov
      movapd
      movaps
      movd
      movddup
      movdq2q
      movdqa
      movdqu
      movhlps
      movhpd
      movhps
      movlhps
      movlpd
      movlps
      movmskpd
      movmskps
      movntdq
      movnti
      movntpd
      movntps
      movntq
      movq
      movq2dq
      movs
      movsb
      movsd
      movshdup
      movsldup
      movsq
      movss
      movsx
      movsxd
      movsw
      movupd
      movups
      movzx
      mul
      mulpd
      mulps
      mulsd
      mulss
      mwait
      neg
      nop
      not
      or
      orpd
      orps
      out
      outs
      outsb
      outsw
      outsd
      packssdw
      packsswb
      packuswb
      paddb
      paddd
      paddq
      paddsb
      paddsw
      paddusb
      paddusw
      paddw
      pand
      pandn
      pause
      pavgb
      pavgusb
      pavgw
      pcmpeqb
      pcmpeqw
      pcmpeqd
      pcmpgtb
      pcmpgtw
      pcmpgtd
      pdistib
      pextrw
      pf2id
      pf2iw
      pfacc
      pfadd
      pfcmpeq
      pfcmpge
      pfcmpgt
      pfmax
      pfmin
      pfmul
      pfnacc
      pfpnacc
      pfrcp
      pfrcpit1
      pfrcpit2
      pfrsqit1
      pfrsqrt
      pfsub
      pfsubr
      pi2fd
      pi2fw
      pinsrw
      pmachriw
      pmaddwd
      pmagw
      pmaxsw
      pmaxub
      pminsw
      pminub
      pmovmskb
      pmulhrw
      pmulhuw
      pmulhw
      pmullw
      pmuludq
      pmvgezb
      pmvlzb
      pmvnzb
      pmvzb
      pop
      popa
      popaw
      popad
      popf
      popfw
      popfd
      popfq
      por
      prefetch
      prefetchnta
      prefetcht0
      prefetcht1
      prefetcht2
      prefetchw
      psadbw
      pshufd
      pshufhw
      pshuflw
      pshufw
      pslld
      pslldq
      psllq
      psllw
      psrad
      psraw
      psrld
      psrldq
      psrlq
      psrlw
      psubb
      psubd
      psubq
      psubsb
      psubsiw
      psubsw
      psubusb
      psubusw
      psubw
      pswapd
      punpckhbw
      punpckhdq
      punpckhqdq
      punpckhwd
      punpcklbw
      punpckldq
      punpcklqdq
      punpcklwd
      push
      pusha
      pushad
      pushaw
      pushf
      pushfd
      pushfq
      pushfw
      pxor
      rcl
      rcr
      rcpps
      rcpss
      rdmsr
      rdpmc
      rdshr
      rdtsc
      rdtscp
      ret
      retf
      retn
      rol
      ror
      rsdc
      rsldt
      rsm
      rsqrtps
      rsqrtss
      rsts
      sahf
      sal
      sar
      salc
      sbb
      scas
      scasb
      scasd
      scasq
      scasw
      seta
      setae
      setb
      setbe
      setc
      sete
      setg
      setge
      setl
      setle
      setna
      setnae
      setnb
      setnbe
      setnc
      setne
      setng
      setnge
      setnl
      setnle
      setno
      setnp
      setns
      setnz
      seto
      setp
      setpe
      setpo
      sets
      setz
      sfence
      sgdt
      shl
      shld
      shr
      shrd
      shufpd
      shufps
      sidt
      skinit
      sldt
      smi
      smint
      smintold
      smsw
      sqrtpd
      sqrtps
      sqrtsd
      sqrtss
      stc
      std
      stgi
      sti
      stmxcsr
      stos
      stosb
      stosd
      stosq
      stosw
      str
      sub
      subpd
      subps
      subsd
      subss
      svdc
      svldt
      svts
      swapgs
      syscall
      sysenter
      sysexit
      sysret
      test
      ucomisd
      ucomiss
      ud0
      ud1
      ud2
      umov
      unpckhpd
      unpckhps
      unpcklpd
      unpcklps
      verr
      verw
      vmload
      vmmcall
      vmrun
      vmsave
      wait
      wbinvd
      wrmsr
      wrshr
      xadd
      xbts
      xchg
      xlat
      xlatb
      xor
      xorpd
      xorps
    

    
      
      db
      dw
      du
      dd
      dp
      df
      dq
      dt
      
      rb
      rw
      rd
      rp
      rf
      rq
      rt
      
      file
      
      byte
      word
      dword
      pword
      qword
      tbyte
      tword
      dqword
      ptr
    

     
      append
      at   
      break
      common
      display
      else
      end 
      equ
      fix
      foward
      if
      irp
      irps
      label
      local
      match
      macro
      purge
      repeat
      rept
      reverse
      restore
      struc
      times
      while
      virtual
    

     
      align
      entry
      extrn
      format
      include
      invoke
      data
      load
      from
      heap
      org
      proc
      public
      section
      segment
      stack
      store
      use16
      use32
      use64
    

    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
      
      
        
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
    
  


highlighting-kate-0.6.1/xml/fortran.xml0000644000000000000000000006535312633103275016306 0ustar0000000000000000



  




    
       allocate 
       break 
       call 
       case 
       common 
      
       continue 
       cycle 
       deallocate 
       default 
      
       forall 
       where 
       elsewhere 
      
      
       equivalence 
       exit 
       external 
       for 
       go 
       goto 
       if 
       implicit 
       include 
       interface 
       intrinsic 
       namelist 
       none 
       nullify 
       operator 
       assignment 
       pause 
       procedure 
       pure 
       elemental 
       record 
       recursive 
       result 
       return 
       select 
       selectcase 
       stop 
      
       to 
       use 
       only 
       entry 
       while 
    
    
       access 
       backspace 
       close 
       inquire 
       open 
       print 
       read 
       rewind 
       write 
       format 
    
    
    
       unit 
       end 
       err 
       fmt 
       iostat 
       status 
       advance 
       size 
       eor 
    
    
    
       unit 
       iostat 
       err 
       file 
       status 
       access 
       form 
       recl 
       blank 
       position 
       action 
       delim 
       pad 
    
    
    
       unit 
       iostat 
       err 
       file 
       exist 
       opened 
       number 
       named 
       name 
       access 
       sequential 
       direct 
       form 
       formatted 
       unformatted 
       recl 
       nextrec 
       blank 
       position 
       action 
       read 
       write 
       readwrite 
       delim 
       pad 
    
    
       double 
       precision 
       parameter 
       save 
       pointer 
       public 
       private 
       target 
       allocatable 
       optional 
       sequence 
    




    
    
       abs    
       cabs   
       dabs 
       iabs 
       aimag 
       aint   
       dint   
       anint  
       dnint  
       ceiling 
       cmplx 
       dcmplx  
       dimag   
       floor 
       nint   
       idnint 
       int    
       idint  
       ifix 
       real   
       float  
       sngl 
       dble 
       dreal  
       aprime  
       dconjg  
       dfloat  
       ddmim 
       rand 
    
       modulo 
       conjg 
       dprod   
       dim     
       ddim    
       idim 
       max     
       amax0   
       amax1 
       max0 
       max1 
       dmax1 
       min     
       amin0   
       amin1 
       min0 
       min1 
       dmin1 
       mod     
       amod    
       dmod 
       sign    
       dsign   
       isign 
    
       acos     
       dacos    
       asin     
       dasin    
       atan     
       datan    
       atan2    
       datan2   
       cos      
       ccos     
       dcos 
       cosh     
       dcosh    
       exp      
       cexp     
       dexp 
       log      
       alog     
       dlog 
       clog 
       log10    
       alog10   
       dlog10 
       sin      
       csin     
       dsin 
       sinh     
       dsinh    
       sqrt     
       csqrt    
       dsqrt 
       tan      
       dtan     
       tanh     
       dtanh    
    
    
       achar 
       char 
       iachar 
       ichar 
    
       lge 
       lgt 
       lle 
       llt 
    
       adjustl 
       adjustr 
       index 
       len_trim 
       scan 
       verify 
    
       logical 
    
       exponent 
       fraction 
       nearest 
       rrspacing 
       scale 
       set_exponent 
       spacing 
    
       btest 
       iand 
       ibclr 
       ibits 
       ibset 
       ieor 
       ior 
       ishft 
       ishftc 
       not 
    
       mvbits 
    
       merge 
    


    
    
       associated 
       present 
       kind 
    
       len 
    
       digits 
       epsilon 
       huge 
       maxexponent 
       minexponent 
       precision 
       radix 
       range 
       tiny 
    
       bit_size 
    
       allocated 
       lbound 
       ubound 
       shape 
       size 
    


    
    
       repeat 
       trim 
    
       selected_int_kind 
       selected_real_kind 
    
       transfer 
    
       dot_product 
       matmul 
    
       all 
       any 
       count 
       maxval 
       minval 
       product 
       sum 
    
       pack 
       unpack 
    
       reshape 
    
       spread 
    
       cshift 
       eoshift 
    
       transpose 
    
       maxloc 
       minloc 
    


    
    
       date_and_time 
       system_clock 
    
       random_number 
       random_seed 
    




    
      
        
        
        
        
        
        
        
        
        
        
        
        
      





      
        
      


      
        
        
        
      


      
        
        
      


      
        
        
        
        
        
      


      
        
        
        
        
        
      


      
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
      


      
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
      


      
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
      


      
        
      
        
        
        
        
      


      
        
        
        
        
        
        
        
        
      


      
      
        
        
      

      
        
        
        
      

      
        
        
        
      

      
        
        
        
        
      
    




    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/fsharp.xml0000644000000000000000000003141612633103275016107 0ustar0000000000000000


          
                      
                            
 
                                     
]>


  
    
       abstract 
       and 
       as 
       assert 
       base 

       class 
       delegate 


       dowcast 
       downto 
       elif 
       else 

       exception 
       extern 
       false 
       for 
       fun 
       function 
       functor 
       global 
       if 
       in 

       inherit 
       inline 
       interfaece 
       internal 
       lazy 
       let 
       match 
       member 

       mutable 
       namespace 
       new 
       not 
       null 

       of 

       or 
       override 
       private 
       public 
       rec 
       ref 
       return 

       static 

       then 
       to 
       true 
       try 
       type 
       upcast 
       use 
       val 
       void 
       when 
       while 
       with 
       yield 
    
    
       bool 
       byte 
       sbyte 
       int16 
       uint16 
       int 
       uint32 
       int64 
       uint64 
       nativeint 
       unativeint 
       char 
       string 
       decimal 
       unit 
       void 
       float32 
       single 
       float 
       double 
       bigint 
       option 
       seq 
    
    
       ? 
    
    
       end 
    
    
       sig 
    
    
       struct 
    
    
       object 
    
    
       begin 
    
    
       do 
    
    
       done 
    
    
       module 
       open 
    
    

      

        
        

        
        

        
        
        
        

        
        
        
        

        
        
        
        
        
        
        

        
        
        

         
        
         
        
        

         
        
        
        
        
        
        

         
        
        
        

        
         
        
        
        
        
        
      

      
      
        
        
        
      

      
        
        
        
        
        
      

      
        
        
      

      
        
        
      

      
        
        
      
      
      
        
        
      
      
      
        
        
        
      
      
      
        
        
        
      
      
      
      
      
        
        
        
        
        
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  

  
    
    
      
      
      
    
  


highlighting-kate-0.6.1/xml/gcc.xml0000644000000000000000000005116212633103275015360 0ustar0000000000000000

    
    
    
]>



highlighting-kate-0.6.1/xml/glsl.xml0000644000000000000000000002421112633103275015560 0ustar0000000000000000


	
		
			break
			continue
			do
			for
			while
			
			if
			else
			
			true
			false
			
			discard
			return
			
			struct
		
		
			float
			int
			void
			bool

			mat2
			mat3
			mat4
			
			vec2
			vec3
			vec4
			ivec2
			ivec3
			ivec4
			bvec2
			bvec3
			bvec4
			
			sampler1D
			sampler2D
			sampler3D
			samplerCube
			sampler1DShadow
			sampler2DShadow
		
		
			attribute
			const
			uniform
			varying
			
			in
			out
			inout
		
		
			FIXME
			TODO
			BUG
		
		
			
			radians
			degrees
			sin
			cos
			tan
			asin
			acos
			atan

			
			pow
			exp
			log
			exp2
			log2
			sqrt
			inversesqrt

			
			abs
			sign
			floor
			ceil
			fract
			mod
			min
			max
			clamp
			mix
			step
			smoothstep

			
			length
			distance
			dot
			cross
			normalize
			ftransform
			faceforward
			reflect
			refract

			
			matrixCompMult

			
			lessThan
			lessThenEqual
			greaterThan
			greaterThanEqual
			equal
			notEqual
			any
			all
			not

			
			texture1D
			texture1DProj
			texture1DLod
			texture1DProjLod
			texture2D
			texture2DProj
			texture2DLod
			texture2DProjLod
			texture3D
			texture3DProj
			texture3DLod
			texture3DProjLod
			textureCube
			textureCubeLod
			shadow1D
			shadow2D
			shadow1DProj
			shadow2DProj
			shadow1DLod
			shadow2DLod
			shadow1DProjLod
			shadow2DProjLod

			
			dFdx
			dFdy
			fwidth

			
			noise1
			noise2
			noise3
			noise4
		
		
			
			gl_Position
			gl_PointSize
			gl_ClipVertex

			
			gl_FragCoord
			gl_FragFacing
			gl_FragColor
			gl_FragData
			gl_FragDepth

			
			gl_Color
			gl_SecondaryColor
			gl_Normal
			gl_Vertex
			gl_MultiTexCoord0
			gl_MultiTexCoord1
			gl_MultiTexCoord2
			gl_MultiTexCoord2
			gl_MultiTexCoord3
			gl_MultiTexCoord4
			gl_MultiTexCoord5
			gl_MultiTexCoord6
			gl_MultiTexCoord7
			gl_FogColor

			
			gl_MaxLights
			gl_MaxClipPlanes
			gl_MaxTextureUnits
			gl_MaxTextureCoords
			gl_MaxVertexAttributes
			gl_MaxVertexUniformComponents
			gl_MaxVaryingFloats
			gl_MaxVertexTextureImageUnits
			gl_MaxCombinedTextureImageUnits
			gl_MaxTextureImageUnits
			gl_MaxFragmentUniformComponents
			gl_MaxDrawBuffers

			
			gl_ModelViewMatrix
			gl_ProjectionMatrix
			gl_ModelViewProjectionMatrix
			gl_TextureMatrix
			gl_NormalMatrix
			gl_ModelViewMatrixInverse
			gl_ProjectionMatrixInverse
			gl_ModelViewProjectionMatrixInverse
			gl_TextureMatrixInverse
			gl_ModelViewMatrixTranspose
			gl_ProjectionMatrixTranspose
			gl_ModelViewProjectionMatrixTranspose
			gl_TextureMatrixTranspose
			gl_ModelViewMatrixInverseTranspose
			gl_ProjectionMatrixInverseTranspose
			gl_ModelViewProjectionMatrixInverseTranspose
			gl_TextureMatrixInverseTranspose
			gl_NormScale
			gl_DepthRangeParameters
			gl_DepthRange
			gl_ClipPlane
			gl_PointParameters
			gl_Point
			gl_MaterialParameters
			gl_FrontMaterial
			gl_BackMaterial
			gl_LightSourceParameters
			gl_LightSource
			gl_LightModelParameters
			gl_LightModel
			gl_LightModelProducts
			gl_FrontLightModelProduct
			gl_BackLightModelProduct
			gl_LightProducts
			gl_FrontLightProduct
			gl_BackLightProduct
			gl_TextureEnvColor
			gl_EyePlaneS
			gl_EyePlaneT
			gl_EyePlaneR
			gl_EyePlaneQ
			gl_ObjectPlaneS
			gl_ObjectPlaneT
			gl_ObjectPlaneR
			gl_ObjectPlaneQ
			gl_FogParameters
			gl_Fog

			
			gl_FrontColor
			gl_BackColor
			gl_FrontSecondaryColor
			gl_BackSecondaryColor
			gl_TexCoord
			gl_FogFragCoord
			gl_Color
			gl_SecondaryColor
		
		
			
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
			
				
			
			
				
			
			
				
				
			
			
			
	        
		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
		
	
	
		
			
			
		
		
	

highlighting-kate-0.6.1/xml/gnuassembler.xml0000644000000000000000000002556712633103275017325 0ustar0000000000000000




  
    
      .abort
      .align
      .app-file
      .appline
      .ascii
      .asciz
      .att_syntax
      .balign
      .balignl
      .balignw
      .byte
      .code16
      .code32
      .comm
      .common.s
      .common
      .data
      .dc.b
      .dc.d
      .dc.l
      .dc.s
      .dc.w
      .dc.x
      .dc
      .dcb.b
      .dcb.d
      .dcb.l
      .dcb.s
      .dcb.w
      .dcb.x
      .dcb
      .debug
      .def
      .desc
      .dim
      .double
      .ds.b
      .ds.d
      .ds.l
      .ds.p
      .ds.s
      .ds.w
      .ds.x
      .ds
      .dsect
      .eject
      .else
      .elsec
      .elseif
      .end
      .endc
      .endef
      .endfunc
      .endif
      .endm
      .endr
      .equ
      .equiv
      .err
      .exitm
      .extend
      .extern
      .fail
      .file
      .fill
      .float
      .format
      .func
      .global
      .globl
      .hidden
      .hword
      .ident
      .if
      .ifc
      .ifdef
      .ifeq
      .ifeqs
      .ifge
      .ifgt
      .ifle
      .iflt
      .ifnc
      .ifndef
      .ifne
      .ifnes
      .ifnotdef
      .include
      .int
      .intel_syntax
      .internal
      .irep
      .irepc
      .irp
      .irpc
      .lcomm
      .lflags
      .line
      .linkonce
      .list
      .llen
      .ln
      .long
      .lsym
      .macro
      .mexit
      .name
      .noformat
      .nolist
      .nopage
      noprefix
      .octa
      .offset
      .org
      .p2align
      .p2alignl
      .p2alignw
      .page
      .plen
      .popsection
      .previous
      .print
      .protected
      .psize
      .purgem
      .pushsection
      .quad
      .rodata
      .rep
      .rept
      .rva
      .sbttl
      .scl
      .sect.s
      .sect
      .section.s
      .section
      .set
      .short
      .single
      .size
      .skip
      .sleb128
      .space
      .spc
      .stabd
      .stabn
      .stabs
      .string
      .struct
      .subsection
      .symver
      .tag
      .text
      .title
      .ttl
      .type
      .uleb128
      .use
      .val
      .version
      .vtable_entry
      .vtable_inherit
      .weak
      .word
      .xcom
      .xdef
      .xref
      .xstabs
      .zero
      
      .arm
      .bss
      .code
      .even
      .force_thumb
      .ldouble
      .loc
      .ltorg
      .packed
      .pool
      .req
      .thumb
      .thumb_func
      .thumb_set
    

    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
      
      
        
      
      
        
        
        
      
      
      
        
      
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  

  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/go.xml0000644000000000000000000001571412633103275015234 0ustar0000000000000000






    
    

      break
      case
      chan
      const
      continue
      default
      defer
      else
      fallthrough
      for
      func
      go
      goto
      if
      import
      interface
      map
      package
      range
      return
      select
      struct
      switch
      type
      var
    
    
      bool
      byte
      complex64
      complex128
      error
      float32
      float64
      int
      int8
      int16
      int32
      int64
      rune
      string
      uint
      uintptr
      uint8
      uint16
      uint32
      uint64
    
    
      append
      cap
      close
      complex
      copy
      delete
      imag
      len
      make
      new
      panic
      print
      println
      real
      recover
    
    
      false
      nil
      true
      iota
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
      

      
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
    
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/haskell.xml0000644000000000000000000004205212633103275016245 0ustar0000000000000000


  
  
     case 
     class 
     data 
     deriving 
     do 
     else 
     if 
     in 
     infixl 
     infixr 
     instance 
     let 
     module 
     newtype 
     of 
     primitive 
     then 
     type 
     where 
  
  
     FilePath 
     IOError 
     abs 
     acos 
     acosh 
     all 
     and 
     any 
     appendFile 
     approxRational 
     asTypeOf 
     asin 
     asinh 
     atan 
     atan2 
     atanh 
     basicIORun 
     break 
     catch 
     ceiling 
     chr 
     compare 
     concat 
     concatMap 
     const 
     cos 
     cosh 
     curry 
     cycle 
     decodeFloat 
     denominator 
     digitToInt 
     div 
     divMod 
     drop 
     dropWhile 
     either 
     elem 
     encodeFloat 
     enumFrom 
     enumFromThen 
     enumFromThenTo 
     enumFromTo 
     error 
     even 
     exp 
     exponent 
     fail 
     filter 
     flip 
     floatDigits 
     floatRadix 
     floatRange 
     floor 
     fmap 
     foldl 
     foldl1 
     foldr 
     foldr1 
     fromDouble 
     fromEnum 
     fromInt 
     fromInteger 
     fromIntegral 
     fromRational 
     fst 
     gcd 
     getChar 
     getContents 
     getLine 
     group 
     head 
     id 
     inRange 
     index 
     init 
     intToDigit 
     interact 
     ioError 
     isAlpha 
     isAlphaNum 
     isAscii 
     isControl 
     isDenormalized 
     isDigit 
     isHexDigit 
     isIEEE 
     isInfinite 
     isLower 
     isNaN 
     isNegativeZero 
     isOctDigit 
     isPrint 
     isSpace 
     isUpper 
     iterate 
     last 
     lcm 
     length 
     lex 
     lexDigits 
     lexLitChar 
     lines 
     log 
     logBase 
     lookup 
     map 
     mapM 
     mapM_ 
     max 
     maxBound 
     maximum 
     maybe 
     min 
     minBound 
     minimum 
     mod 
     negate 
     not 
     notElem 
     null 
     numerator 
     odd 
     or 
     ord 
     otherwise 
     pack 
     pi 
     pred 
     primExitWith 
     print 
     product 
     properFraction 
     putChar 
     putStr 
     putStrLn 
     quot 
     quotRem 
     range 
     rangeSize 
     read 
     readDec 
     readFile 
     readFloat 
     readHex 
     readIO 
     readInt 
     readList 
     readLitChar 
     readLn 
     readOct 
     readParen 
     readSigned 
     reads 
     readsPrec 
     realToFrac 
     recip 
     rem 
     repeat 
     replicate 
     return 
     reverse 
     round 
     scaleFloat 
     scanl 
     scanl1 
     scanr 
     scanr1 
     seq 
     sequence 
     sequence_ 
     show 
     showChar 
     showInt 
     showList 
     showLitChar 
     showParen 
     showSigned 
     showString 
     shows 
     showsPrec 
     significand 
     signum 
     sin 
     sinh 
     snd 
     sort 
     span 
     splitAt 
     sqrt 
     subtract 
     succ 
     sum 
     tail 
     take 
     takeWhile 
     tan 
     tanh 
     threadToIOResult 
     toEnum 
     toInt 
     toInteger 
     toLower 
     toRational 
     toUpper 
     truncate 
     uncurry 
     undefined 
     unlines 
     until 
     unwords 
     unzip 
     unzip3 
     userError 
     words 
     writeFile 
     zip 
     zip3 
     zipWith 
     zipWith3 
  
  
     Bounded 
     Enum 
     Eq 
     Floating 
     Fractional 
     Functor 
     Integral 
     Ix 
     Monad 
     Num 
     Ord 
     Read 
     Real 
     RealFloat 
     RealFrac 
     Show 
  
  
     Bool 
     Char 
     Double 
     Either 
     FilePath 
     Float 
     Int 
     Integer 
     IO 
     IOError 
     Maybe 
     Ordering 
     Ratio 
     Rational 
     ReadS 
     ShowS 
     String 
     ByteString 
  
  
     False 
     True 
     Left 
     Right 
     Just 
     Nothing 
     EQ 
     LT 
     GT 
  
  
     Applicative 
     Foldable 
     Traversable 
  
  
     qualified 
     lib 
     prefix 
     as 
     with 
     call 
     pure 
     unsafe 
     get 
     set 
     foreign 
     stable 
     nocode 
  
  
     as 
     qualified 
     hiding 
  
  
    
      
      
      
      
      
      

      
      
      
      
      
      

      
      
      
      
      
      
      

      
      
      
      
      
      

      
      
      
    
    
    
      
    
    
      
      
    
    
      
      
    
    
      
    
    
      
      
      

      
      
      
    
    
    
      
      
      
      
      
      
      
      
      
      
    
    
      
      
    
    
      
      
    
    
      
      
      
      
    
    
      
      
      
    
    
      
      
    
  
  
    
    
    

    
    
    
    
    

    
    
    
    
    

    
    
    
    
    
    

    
    
    
    
  
  
  
    
    
      
      
    
    


highlighting-kate-0.6.1/xml/haskell.xml.patch0000644000000000000000000000166312633103275017346 0ustar0000000000000000--- a/haskell.xml
+++ b/haskell.xml
@@ -422,9 +418,9 @@

     
     
-    
-    
-    
+    
+    
+    

     
     
highlighting-kate-0.6.1/xml/haxe.xml0000644000000000000000000001470512633103275015553 0ustar0000000000000000




  
    
    
       break 
      
       case 
       cast 
       catch 
       class 
       continue 
      
       default 

       else 
       enum 
       extends 
      
       false 
       for 
       function 
      
       if 
       implements 
       in 
       inline 
       interface 
      
       new 
       null 
      
       override 
      
       private 
       public 
      
       return 
      
       static 
       super 
       switch 
      
       this 
       throw 
       trace 
       true 
       try 
       typedef 
      
       untyped 
      
       var 
      
       while 

    

    
       package 
       import 
    

    
       Array 
       Void 
       Bool 
       Int 
       UInt 
       Float 
       Dynamic 
       String 
       List 
       Error 
       Unknown 
       Type 
    

    
      
        
        

        
        
        
      
        

        

        
        

        
        

        
        

        
        
        

        
        
        
        
        

        
        
        
      

      
        
        
        
      

      
      
      
        
      
      
      
        
        
        
        
      

      
      
      
        
      
    
    
      
      
      
      
      
      

      
      

      
      
      

      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/html.xml0000644000000000000000000003155112633103275015570 0ustar0000000000000000

	
]>




  
    
  

  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  

  
    
    
  

  
    
    
    
  

  
    
    
    
  

  
    
  


  
    
    
    
    
    
  

  
    
    
    
    
  

  
    
  

  
    
    
  

  
    
    
    
    
    
  

  
    
    
    
  

  
    
    
  

  
    
    
  

  
    
    
    
    
  

  
    
    
  

  
    
    
  

  
    
    
  

  
    
    
    
    
  

  
    
    
  

  
    
    
    
    
  

  
    
    
    
  

  
    
    
  

  
    
    
    
  

  
    
    
    
  

  
    
    
  

  
    
    
  



  
  
  
  
  
  
  
  
  
  
  
  




  
    
  


highlighting-kate-0.6.1/xml/idris.xml0000644000000000000000000001647312633103275015744 0ustar0000000000000000



  
  
     abstract 
     auto 
     case 
     class 
     codata 
     covering 
     data 
     default 
     do 
     dsl 
     else 
     if 
     implicit 
     import 
     impossible 
     in 
     index_first 
     index_next 
     infix 
     infixl 
     infixr 
     instance 
     lambda 
     let 
     module 
     mututal 
     namespace 
     of 
     parameters 
     partial 
     pattern 
     postulate 
     prefix 
     private 
     proof 
     public 
     record 
     rewrite 
     static 
     syntax 
     tactics 
     term 
     then 
     total 
     using 
     variable 
     where 
     with 
  
  
      access 
      assert_total 
      default 
      dynamic 
      elim 
      error_handlers 
      error_reverse 
      flag 
      hide 
      include 
      language 
      lib 
      link 
      name 
      provide 
      reflection 
  
  
     applyTactic 
     attack 
     compute 
     exact 
     fill 
     focus 
     induction 
     intro 
     intros 
     let 
     refine 
     reflect 
     rewrite 
     solve 
     trivial 
     try 
  
  
     
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
     
     
        
        
        
        
        
     
     
        
        
     
     
        
        
     
     
        
        
     
     
     
        
        
     
  
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
  
  
  
    
    
      
      
    
    


highlighting-kate-0.6.1/xml/ini.xml0000644000000000000000000000457712633103275015413 0ustar0000000000000000





On
Off
Default
Defaults
Localhost
Null
True
False
Yes
No
Normal


E_ALL
E_ERROR
E_WARNING
E_PARSE
E_NOTICE
E_STRICT
E_CORE_ERROR
E_CORE_WARNING
E_COMPILE_ERROR
E_COMPILE_WARNING
E_USER_ERROR
E_USER_WARNING
E_USER_NOTICE



 
  
  
  
  
 

 
  
  
  
  
  
 

 
  
  
  
 




 
 
 
 
 
 
 
 





 
  
  
 
 



highlighting-kate-0.6.1/xml/isocpp.xml0000644000000000000000000006244212633103275016124 0ustar0000000000000000

    
    
    
    
    
]>

  
  
    
       alignof 
       alignas 
       asm 
       auto 
       break 
       case 
       catch 
       class 
       constexpr 
       const_cast 
       continue 
       decltype 
       default 
       delete 
       do 
       dynamic_cast
       else 
       enum 
       explicit 
       export  
       false 
       final  
       friend 
       for 
       goto 
       if 
       inline 
       namespace 
       new 
       noexcept 
       nullptr 
       operator 
       override  
       private 
       protected 
       public 
       reinterpret_cast 
       return 
       sizeof 
       static_assert 
       static_cast 
       struct 
       switch 
       template 
       this 
       throw 
       true 
       try 
       typedef 
       typeid 
       typename 
       union 
       using 
       virtual 
       while 
      
       and 
       and_eq 
       bitand 
       bitor 
       compl 
       not 
       not_eq 
       or 
       or_eq 
       xor 
       xor_eq 
    
    
    
       template 
    

    
    
      
       noreturn 
       carries_dependency 
      
       deprecated 
    

    
       bool 
       char 
       char16_t 
       char32_t 
       double 
       float 
       int 
       long 
       short 
       signed 
       unsigned 
       void 
       int8_t 
       int16_t 
       int32_t 
       int64_t 
       uint8_t 
       uint16_t 
       uint32_t 
       uint64_t 
       wchar_t 
    
    
       const 
       extern 
       mutable 
       register 
       static 
       thread_local 
       volatile 
    
    
       __FILE__ 
       __LINE__ 
       __DATE__ 
       __TIME__ 
       __STDC__ 
       __STDC_VERSION__ 
       __STDC_HOSTED__ 
       __STDC_ISO_10646__ 
       __STDC_MB_MIGHT_NEQ_WC__ 
       __cplusplus 
       __func__ 
    

    
      
        
        
        
        
      

      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
      

      
        
        
        
      

      
        
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
        
      

      
        
        
        
      

      
        
        
        
        
        
      

      
        
        
        
      

      
        
      

      

      
        
        
        
        
        
      

      
        
      

      
        
      

      
        
      

      
        
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        

        
        
        
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
      

      
        
        
        
        
        
        
        
        
        
      

      
        
        
        
      

      
        
        
      

      
        
        
        
        
      

      
        
        
        
        
        
        
        
        
        
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  


highlighting-kate-0.6.1/xml/isocpp.xml.patch0000644000000000000000000000222412633103275017212 0ustar0000000000000000diff --git a/xml/isocpp.xml b/xml/isocpp.xml
index 88e7b88..2d2da8a 100644
--- a/xml/isocpp.xml
+++ b/xml/isocpp.xml
@@ -191,7 +191,7 @@
         
         
         
-        
+        
         
         
         
highlighting-kate-0.6.1/xml/java.xml0000644000000000000000000041262612633103275015553 0ustar0000000000000000


	
		
			 ACTIVE 
			 ACTIVITY_COMPLETED 
			 ACTIVITY_REQUIRED 
			 ARG_IN 
			 ARG_INOUT 
			 ARG_OUT 
			 AWTError 
			 AWTEvent 
			 AWTEventListener 
			 AWTEventListenerProxy 
			 AWTEventMulticaster 
			 AWTException 
			 AWTKeyStroke 
			 AWTPermission 
			 AbstractAction 
			 AbstractBorder 
			 AbstractButton 
			 AbstractCellEditor 
			 AbstractCollection 
			 AbstractColorChooserPanel 
			 AbstractDocument 
			 AbstractDocument.AttributeContext 
			 AbstractDocument.Content 
			 AbstractDocument.ElementEdit 
			 AbstractExecutorService 
			 AbstractInterruptibleChannel 
			 AbstractLayoutCache 
			 AbstractLayoutCache.NodeDimensions 
			 AbstractList 
			 AbstractListModel 
			 AbstractMap 
			 AbstractMethodError 
			 AbstractPreferences 
			 AbstractQueue 
			 AbstractQueuedSynchronizer 
			 AbstractSelectableChannel 
			 AbstractSelectionKey 
			 AbstractSelector 
			 AbstractSequentialList 
			 AbstractSet 
			 AbstractSpinnerModel 
			 AbstractTableModel 
			 AbstractUndoableEdit 
			 AbstractWriter 
			 AccessControlContext 
			 AccessControlException 
			 AccessController 
			 AccessException 
			 Accessible 
			 AccessibleAction 
			 AccessibleAttributeSequence 
			 AccessibleBundle 
			 AccessibleComponent 
			 AccessibleContext 
			 AccessibleEditableText 
			 AccessibleExtendedComponent 
			 AccessibleExtendedTable 
			 AccessibleExtendedText 
			 AccessibleHyperlink 
			 AccessibleHypertext 
			 AccessibleIcon 
			 AccessibleKeyBinding 
			 AccessibleObject 
			 AccessibleRelation 
			 AccessibleRelationSet 
			 AccessibleResourceBundle 
			 AccessibleRole 
			 AccessibleSelection 
			 AccessibleState 
			 AccessibleStateSet 
			 AccessibleStreamable 
			 AccessibleTable 
			 AccessibleTableModelChange 
			 AccessibleText 
			 AccessibleTextSequence 
			 AccessibleValue 
			 AccountException 
			 AccountExpiredException 
			 AccountLockedException 
			 AccountNotFoundException 
			 Acl 
			 AclEntry 
			 AclNotFoundException 
			 Action 
			 ActionEvent 
			 ActionListener 
			 ActionMap 
			 ActionMapUIResource 
			 Activatable 
			 ActivateFailedException 
			 ActivationDesc 
			 ActivationException 
			 ActivationGroup 
			 ActivationGroupDesc 
			 ActivationGroupDesc.CommandEnvironment 
			 ActivationGroupID 
			 ActivationGroup_Stub 
			 ActivationID 
			 ActivationInstantiator 
			 ActivationMonitor 
			 ActivationSystem 
			 Activator 
			 ActiveEvent 
			 ActivityCompletedException 
			 ActivityRequiredException 
			 AdapterActivator 
			 AdapterActivatorOperations 
			 AdapterAlreadyExists 
			 AdapterAlreadyExistsHelper 
			 AdapterInactive 
			 AdapterInactiveHelper 
			 AdapterManagerIdHelper 
			 AdapterNameHelper 
			 AdapterNonExistent 
			 AdapterNonExistentHelper 
			 AdapterStateHelper 
			 AddressHelper 
			 Adjustable 
			 AdjustmentEvent 
			 AdjustmentListener 
			 Adler32 
			 AffineTransform 
			 AffineTransformOp 
			 AlgorithmParameterGenerator 
			 AlgorithmParameterGeneratorSpi 
			 AlgorithmParameterSpec 
			 AlgorithmParameters 
			 AlgorithmParametersSpi 
			 AllPermission 
			 AlphaComposite 
			 AlreadyBound 
			 AlreadyBoundException 
			 AlreadyBoundHelper 
			 AlreadyBoundHolder 
			 AlreadyConnectedException 
			 AncestorEvent 
			 AncestorListener 
			 AnnotatedElement 
			 Annotation 
			 AnnotationFormatError 
			 AnnotationTypeMismatchException 
			 Any 
			 AnyHolder 
			 AnySeqHelper 
			 AnySeqHelper 
			 AnySeqHolder 
			 AppConfigurationEntry 
			 AppConfigurationEntry.LoginModuleControlFlag 
			 Appendable 
			 Applet 
			 AppletContext 
			 AppletInitializer 
			 AppletStub 
			 ApplicationException 
			 Arc2D 
			 Arc2D.Double 
			 Arc2D.Float 
			 Area 
			 AreaAveragingScaleFilter 
			 ArithmeticException 
			 Array 
			 Array 
			 ArrayBlockingQueue 
			 ArrayIndexOutOfBoundsException 
			 ArrayList 
			 ArrayStoreException 
			 ArrayType 
			 Arrays 
			 AssertionError 
			 AsyncBoxView 
			 AsynchronousCloseException 
			 AtomicBoolean 
			 AtomicInteger 
			 AtomicIntegerArray 
			 AtomicIntegerFieldUpdater 
			 AtomicLong 
			 AtomicLongArray 
			 AtomicLongFieldUpdater 
			 AtomicMarkableReference 
			 AtomicReference 
			 AtomicReferenceArray 
			 AtomicReferenceFieldUpdater 
			 AtomicStampedReference 
			 Attr 
			 Attribute 
			 Attribute 
			 Attribute 
			 AttributeChangeNotification 
			 AttributeChangeNotificationFilter 
			 AttributeException 
			 AttributeInUseException 
			 AttributeList 
			 AttributeList 
			 AttributeList 
			 AttributeListImpl 
			 AttributeModificationException 
			 AttributeNotFoundException 
			 AttributeSet 
			 AttributeSet 
			 AttributeSet.CharacterAttribute 
			 AttributeSet.ColorAttribute 
			 AttributeSet.FontAttribute 
			 AttributeSet.ParagraphAttribute 
			 AttributeSetUtilities 
			 AttributeValueExp 
			 AttributedCharacterIterator 
			 AttributedCharacterIterator.Attribute 
			 AttributedString 
			 Attributes 
			 Attributes 
			 Attributes 
			 Attributes.Name 
			 Attributes2 
			 Attributes2Impl 
			 AttributesImpl 
			 AudioClip 
			 AudioFileFormat 
			 AudioFileFormat.Type 
			 AudioFileReader 
			 AudioFileWriter 
			 AudioFormat 
			 AudioFormat.Encoding 
			 AudioInputStream 
			 AudioPermission 
			 AudioSystem 
			 AuthPermission 
			 AuthProvider 
			 AuthenticationException 
			 AuthenticationException 
			 AuthenticationNotSupportedException 
			 Authenticator 
			 Authenticator.RequestorType 
			 AuthorizeCallback 
			 Autoscroll 
			 BAD_CONTEXT 
			 BAD_INV_ORDER 
			 BAD_OPERATION 
			 BAD_PARAM 
			 BAD_POLICY 
			 BAD_POLICY_TYPE 
			 BAD_POLICY_VALUE 
			 BAD_QOS 
			 BAD_TYPECODE 
			 BMPImageWriteParam 
			 BackingStoreException 
			 BadAttributeValueExpException 
			 BadBinaryOpValueExpException 
			 BadKind 
			 BadLocationException 
			 BadPaddingException 
			 BadStringOperationException 
			 BandCombineOp 
			 BandedSampleModel 
			 BaseRowSet 
			 BasicArrowButton 
			 BasicAttribute 
			 BasicAttributes 
			 BasicBorders 
			 BasicBorders.ButtonBorder 
			 BasicBorders.FieldBorder 
			 BasicBorders.MarginBorder 
			 BasicBorders.MenuBarBorder 
			 BasicBorders.RadioButtonBorder 
			 BasicBorders.RolloverButtonBorder 
			 BasicBorders.SplitPaneBorder 
			 BasicBorders.ToggleButtonBorder 
			 BasicButtonListener 
			 BasicButtonUI 
			 BasicCheckBoxMenuItemUI 
			 BasicCheckBoxUI 
			 BasicColorChooserUI 
			 BasicComboBoxEditor 
			 BasicComboBoxEditor.UIResource 
			 BasicComboBoxRenderer 
			 BasicComboBoxRenderer.UIResource 
			 BasicComboBoxUI 
			 BasicComboPopup 
			 BasicControl 
			 BasicDesktopIconUI 
			 BasicDesktopPaneUI 
			 BasicDirectoryModel 
			 BasicEditorPaneUI 
			 BasicFileChooserUI 
			 BasicFormattedTextFieldUI 
			 BasicGraphicsUtils 
			 BasicHTML 
			 BasicIconFactory 
			 BasicInternalFrameTitlePane 
			 BasicInternalFrameUI 
			 BasicLabelUI 
			 BasicListUI 
			 BasicLookAndFeel 
			 BasicMenuBarUI 
			 BasicMenuItemUI 
			 BasicMenuUI 
			 BasicOptionPaneUI 
			 BasicOptionPaneUI.ButtonAreaLayout 
			 BasicPanelUI 
			 BasicPasswordFieldUI 
			 BasicPermission 
			 BasicPopupMenuSeparatorUI 
			 BasicPopupMenuUI 
			 BasicProgressBarUI 
			 BasicRadioButtonMenuItemUI 
			 BasicRadioButtonUI 
			 BasicRootPaneUI 
			 BasicScrollBarUI 
			 BasicScrollPaneUI 
			 BasicSeparatorUI 
			 BasicSliderUI 
			 BasicSpinnerUI 
			 BasicSplitPaneDivider 
			 BasicSplitPaneUI 
			 BasicStroke 
			 BasicTabbedPaneUI 
			 BasicTableHeaderUI 
			 BasicTableUI 
			 BasicTextAreaUI 
			 BasicTextFieldUI 
			 BasicTextPaneUI 
			 BasicTextUI 
			 BasicTextUI.BasicCaret 
			 BasicTextUI.BasicHighlighter 
			 BasicToggleButtonUI 
			 BasicToolBarSeparatorUI 
			 BasicToolBarUI 
			 BasicToolTipUI 
			 BasicTreeUI 
			 BasicViewportUI 
			 BatchUpdateException 
			 BeanContext 
			 BeanContextChild 
			 BeanContextChildComponentProxy 
			 BeanContextChildSupport 
			 BeanContextContainerProxy 
			 BeanContextEvent 
			 BeanContextMembershipEvent 
			 BeanContextMembershipListener 
			 BeanContextProxy 
			 BeanContextServiceAvailableEvent 
			 BeanContextServiceProvider 
			 BeanContextServiceProviderBeanInfo 
			 BeanContextServiceRevokedEvent 
			 BeanContextServiceRevokedListener 
			 BeanContextServices 
			 BeanContextServicesListener 
			 BeanContextServicesSupport 
			 BeanContextServicesSupport.BCSSServiceProvider 
			 BeanContextSupport 
			 BeanContextSupport.BCSIterator 
			 BeanDescriptor 
			 BeanInfo 
			 Beans 
			 BevelBorder 
			 Bidi 
			 BigDecimal 
			 BigInteger 
			 BinaryRefAddr 
			 BindException 
			 Binding 
			 Binding 
			 BindingHelper 
			 BindingHolder 
			 BindingIterator 
			 BindingIteratorHelper 
			 BindingIteratorHolder 
			 BindingIteratorOperations 
			 BindingIteratorPOA 
			 BindingListHelper 
			 BindingListHolder 
			 BindingType 
			 BindingTypeHelper 
			 BindingTypeHolder 
			 BitSet 
			 Blob 
			 BlockView 
			 BlockingQueue 
			 Book 
			 Boolean 
			 BooleanControl 
			 BooleanControl.Type 
			 BooleanHolder 
			 BooleanSeqHelper 
			 BooleanSeqHolder 
			 Border 
			 BorderFactory 
			 BorderLayout 
			 BorderUIResource 
			 BorderUIResource.BevelBorderUIResource 
			 BorderUIResource.CompoundBorderUIResource 
			 BorderUIResource.EmptyBorderUIResource 
			 BorderUIResource.EtchedBorderUIResource 
			 BorderUIResource.LineBorderUIResource 
			 BorderUIResource.MatteBorderUIResource 
			 BorderUIResource.TitledBorderUIResource 
			 BoundedRangeModel 
			 Bounds 
			 Bounds 
			 Box 
			 Box.Filler 
			 BoxLayout 
			 BoxView 
			 BoxedValueHelper 
			 BreakIterator 
			 BrokenBarrierException 
			 Buffer 
			 BufferCapabilities 
			 BufferCapabilities.FlipContents 
			 BufferOverflowException 
			 BufferStrategy 
			 BufferUnderflowException 
			 BufferedImage 
			 BufferedImageFilter 
			 BufferedImageOp 
			 BufferedInputStream 
			 BufferedOutputStream 
			 BufferedReader 
			 BufferedWriter 
			 Button 
			 ButtonGroup 
			 ButtonModel 
			 ButtonUI 
			 Byte 
			 ByteArrayInputStream 
			 ByteArrayOutputStream 
			 ByteBuffer 
			 ByteChannel 
			 ByteHolder 
			 ByteLookupTable 
			 ByteOrder 
			 CDATASection 
			 CMMException 
			 CODESET_INCOMPATIBLE 
			 COMM_FAILURE 
			 CRC32 
			 CRL 
			 CRLException 
			 CRLSelector 
			 CSS 
			 CSS.Attribute 
			 CTX_RESTRICT_SCOPE 
			 CacheRequest 
			 CacheResponse 
			 CachedRowSet 
			 Calendar 
			 Callable 
			 CallableStatement 
			 Callback 
			 CallbackHandler 
			 CancelablePrintJob 
			 CancellationException 
			 CancelledKeyException 
			 CannotProceed 
			 CannotProceedException 
			 CannotProceedHelper 
			 CannotProceedHolder 
			 CannotRedoException 
			 CannotUndoException 
			 Canvas 
			 CardLayout 
			 Caret 
			 CaretEvent 
			 CaretListener 
			 CellEditor 
			 CellEditorListener 
			 CellRendererPane 
			 CertPath 
			 CertPath.CertPathRep 
			 CertPathBuilder 
			 CertPathBuilderException 
			 CertPathBuilderResult 
			 CertPathBuilderSpi 
			 CertPathParameters 
			 CertPathTrustManagerParameters 
			 CertPathValidator 
			 CertPathValidatorException 
			 CertPathValidatorResult 
			 CertPathValidatorSpi 
			 CertSelector 
			 CertStore 
			 CertStoreException 
			 CertStoreParameters 
			 CertStoreSpi 
			 Certificate 
			 Certificate 
			 Certificate 
			 Certificate.CertificateRep 
			 CertificateEncodingException 
			 CertificateEncodingException 
			 CertificateException 
			 CertificateException 
			 CertificateExpiredException 
			 CertificateExpiredException 
			 CertificateFactory 
			 CertificateFactorySpi 
			 CertificateNotYetValidException 
			 CertificateNotYetValidException 
			 CertificateParsingException 
			 CertificateParsingException 
			 ChangeEvent 
			 ChangeListener 
			 ChangedCharSetException 
			 Channel 
			 ChannelBinding 
			 Channels 
			 CharArrayReader 
			 CharArrayWriter 
			 CharBuffer 
			 CharConversionException 
			 CharHolder 
			 CharSeqHelper 
			 CharSeqHolder 
			 CharSequence 
			 Character 
			 Character.Subset 
			 Character.UnicodeBlock 
			 CharacterCodingException 
			 CharacterData 
			 CharacterIterator 
			 Charset 
			 CharsetDecoder 
			 CharsetEncoder 
			 CharsetProvider 
			 Checkbox 
			 CheckboxGroup 
			 CheckboxMenuItem 
			 CheckedInputStream 
			 CheckedOutputStream 
			 Checksum 
			 Choice 
			 ChoiceCallback 
			 ChoiceFormat 
			 Chromaticity 
			 Cipher 
			 CipherInputStream 
			 CipherOutputStream 
			 CipherSpi 
			 Class 
			 ClassCastException 
			 ClassCircularityError 
			 ClassDefinition 
			 ClassDesc 
			 ClassFileTransformer 
			 ClassFormatError 
			 ClassLoader 
			 ClassLoaderRepository 
			 ClassLoadingMXBean 
			 ClassNotFoundException 
			 ClientRequestInfo 
			 ClientRequestInfoOperations 
			 ClientRequestInterceptor 
			 ClientRequestInterceptorOperations 
			 Clip 
			 Clipboard 
			 ClipboardOwner 
			 Clob 
			 CloneNotSupportedException 
			 Cloneable 
			 Closeable 
			 ClosedByInterruptException 
			 ClosedChannelException 
			 ClosedSelectorException 
			 CodeSets 
			 CodeSigner 
			 CodeSource 
			 Codec 
			 CodecFactory 
			 CodecFactoryHelper 
			 CodecFactoryOperations 
			 CodecOperations 
			 CoderMalfunctionError 
			 CoderResult 
			 CodingErrorAction 
			 CollationElementIterator 
			 CollationKey 
			 Collator 
			 Collection 
			 CollectionCertStoreParameters 
			 Collections 
			 Color 
			 ColorChooserComponentFactory 
			 ColorChooserUI 
			 ColorConvertOp 
			 ColorModel 
			 ColorSelectionModel 
			 ColorSpace 
			 ColorSupported 
			 ColorType 
			 ColorUIResource 
			 ComboBoxEditor 
			 ComboBoxModel 
			 ComboBoxUI 
			 ComboPopup 
			 Comment 
			 CommunicationException 
			 Comparable 
			 Comparator 
			 CompilationMXBean 
			 Compiler 
			 CompletionService 
			 CompletionStatus 
			 CompletionStatusHelper 
			 Component 
			 ComponentAdapter 
			 ComponentColorModel 
			 ComponentEvent 
			 ComponentIdHelper 
			 ComponentInputMap 
			 ComponentInputMapUIResource 
			 ComponentListener 
			 ComponentOrientation 
			 ComponentSampleModel 
			 ComponentUI 
			 ComponentView 
			 Composite 
			 CompositeContext 
			 CompositeData 
			 CompositeDataSupport 
			 CompositeName 
			 CompositeType 
			 CompositeView 
			 CompoundBorder 
			 CompoundControl 
			 CompoundControl.Type 
			 CompoundEdit 
			 CompoundName 
			 Compression 
			 ConcurrentHashMap 
			 ConcurrentLinkedQueue 
			 ConcurrentMap 
			 ConcurrentModificationException 
			 Condition 
			 Configuration 
			 ConfigurationException 
			 ConfirmationCallback 
			 ConnectException 
			 ConnectException 
			 ConnectIOException 
			 Connection 
			 ConnectionEvent 
			 ConnectionEventListener 
			 ConnectionPendingException 
			 ConnectionPoolDataSource 
			 ConsoleHandler 
			 Constructor 
			 Container 
			 ContainerAdapter 
			 ContainerEvent 
			 ContainerListener 
			 ContainerOrderFocusTraversalPolicy 
			 ContentHandler 
			 ContentHandler 
			 ContentHandlerFactory 
			 ContentModel 
			 Context 
			 Context 
			 ContextList 
			 ContextNotEmptyException 
			 ContextualRenderedImageFactory 
			 Control 
			 Control 
			 Control.Type 
			 ControlFactory 
			 ControllerEventListener 
			 ConvolveOp 
			 CookieHandler 
			 CookieHolder 
			 Copies 
			 CopiesSupported 
			 CopyOnWriteArrayList 
			 CopyOnWriteArraySet 
			 CountDownLatch 
			 CounterMonitor 
			 CounterMonitorMBean 
			 CredentialException 
			 CredentialExpiredException 
			 CredentialNotFoundException 
			 CropImageFilter 
			 CubicCurve2D 
			 CubicCurve2D.Double 
			 CubicCurve2D.Float 
			 Currency 
			 Current 
			 Current 
			 Current 
			 CurrentHelper 
			 CurrentHelper 
			 CurrentHelper 
			 CurrentHolder 
			 CurrentOperations 
			 CurrentOperations 
			 CurrentOperations 
			 Cursor 
			 CustomMarshal 
			 CustomValue 
			 Customizer 
			 CyclicBarrier 
			 DATA_CONVERSION 
			 DESKeySpec 
			 DESedeKeySpec 
			 DGC 
			 DHGenParameterSpec 
			 DHKey 
			 DHParameterSpec 
			 DHPrivateKey 
			 DHPrivateKeySpec 
			 DHPublicKey 
			 DHPublicKeySpec 
			 DISCARDING 
			 DOMConfiguration 
			 DOMError 
			 DOMErrorHandler 
			 DOMException 
			 DOMImplementation 
			 DOMImplementationLS 
			 DOMImplementationList 
			 DOMImplementationRegistry 
			 DOMImplementationSource 
			 DOMLocator 
			 DOMLocator 
			 DOMResult 
			 DOMSource 
			 DOMStringList 
			 DSAKey 
			 DSAKeyPairGenerator 
			 DSAParameterSpec 
			 DSAParams 
			 DSAPrivateKey 
			 DSAPrivateKeySpec 
			 DSAPublicKey 
			 DSAPublicKeySpec 
			 DTD 
			 DTDConstants 
			 DTDHandler 
			 DataBuffer 
			 DataBufferByte 
			 DataBufferDouble 
			 DataBufferFloat 
			 DataBufferInt 
			 DataBufferShort 
			 DataBufferUShort 
			 DataFlavor 
			 DataFormatException 
			 DataInput 
			 DataInputStream 
			 DataInputStream 
			 DataLine 
			 DataLine.Info 
			 DataOutput 
			 DataOutputStream 
			 DataOutputStream 
			 DataSource 
			 DataTruncation 
			 DatabaseMetaData 
			 DatagramChannel 
			 DatagramPacket 
			 DatagramSocket 
			 DatagramSocketImpl 
			 DatagramSocketImplFactory 
			 DatatypeConfigurationException 
			 DatatypeConstants 
			 DatatypeConstants.Field 
			 DatatypeFactory 
			 Date 
			 Date 
			 DateFormat 
			 DateFormat.Field 
			 DateFormatSymbols 
			 DateFormatter 
			 DateTimeAtCompleted 
			 DateTimeAtCreation 
			 DateTimeAtProcessing 
			 DateTimeSyntax 
			 DebugGraphics 
			 DecimalFormat 
			 DecimalFormatSymbols 
			 DeclHandler 
			 DefaultBoundedRangeModel 
			 DefaultButtonModel 
			 DefaultCaret 
			 DefaultCellEditor 
			 DefaultColorSelectionModel 
			 DefaultComboBoxModel 
			 DefaultDesktopManager 
			 DefaultEditorKit 
			 DefaultEditorKit.BeepAction 
			 DefaultEditorKit.CopyAction 
			 DefaultEditorKit.CutAction 
			 DefaultEditorKit.DefaultKeyTypedAction 
			 DefaultEditorKit.InsertBreakAction 
			 DefaultEditorKit.InsertContentAction 
			 DefaultEditorKit.InsertTabAction 
			 DefaultEditorKit.PasteAction 
			 DefaultFocusManager 
			 DefaultFocusTraversalPolicy 
			 DefaultFormatter 
			 DefaultFormatterFactory 
			 DefaultHandler 
			 DefaultHandler2 
			 DefaultHighlighter 
			 DefaultHighlighter.DefaultHighlightPainter 
			 DefaultKeyboardFocusManager 
			 DefaultListCellRenderer 
			 DefaultListCellRenderer.UIResource 
			 DefaultListModel 
			 DefaultListSelectionModel 
			 DefaultLoaderRepository 
			 DefaultLoaderRepository 
			 DefaultMenuLayout 
			 DefaultMetalTheme 
			 DefaultMutableTreeNode 
			 DefaultPersistenceDelegate 
			 DefaultSingleSelectionModel 
			 DefaultStyledDocument 
			 DefaultStyledDocument.AttributeUndoableEdit 
			 DefaultStyledDocument.ElementSpec 
			 DefaultTableCellRenderer 
			 DefaultTableCellRenderer.UIResource 
			 DefaultTableColumnModel 
			 DefaultTableModel 
			 DefaultTextUI 
			 DefaultTreeCellEditor 
			 DefaultTreeCellRenderer 
			 DefaultTreeModel 
			 DefaultTreeSelectionModel 
			 DefinitionKind 
			 DefinitionKindHelper 
			 Deflater 
			 DeflaterOutputStream 
			 DelayQueue 
			 Delayed 
			 Delegate 
			 Delegate 
			 Delegate 
			 DelegationPermission 
			 Deprecated 
			 Descriptor 
			 DescriptorAccess 
			 DescriptorSupport 
			 DesignMode 
			 DesktopIconUI 
			 DesktopManager 
			 DesktopPaneUI 
			 Destination 
			 DestroyFailedException 
			 Destroyable 
			 Dialog 
			 Dictionary 
			 DigestException 
			 DigestInputStream 
			 DigestOutputStream 
			 Dimension 
			 Dimension2D 
			 DimensionUIResource 
			 DirContext 
			 DirObjectFactory 
			 DirStateFactory 
			 DirStateFactory.Result 
			 DirectColorModel 
			 DirectoryManager 
			 DisplayMode 
			 DnDConstants 
			 Doc 
			 DocAttribute 
			 DocAttributeSet 
			 DocFlavor 
			 DocFlavor.BYTE_ARRAY 
			 DocFlavor.CHAR_ARRAY 
			 DocFlavor.INPUT_STREAM 
			 DocFlavor.READER 
			 DocFlavor.SERVICE_FORMATTED 
			 DocFlavor.STRING 
			 DocFlavor.URL 
			 DocPrintJob 
			 Document 
			 Document 
			 DocumentBuilder 
			 DocumentBuilderFactory 
			 DocumentEvent 
			 DocumentEvent.ElementChange 
			 DocumentEvent.EventType 
			 DocumentFilter 
			 DocumentFilter.FilterBypass 
			 DocumentFragment 
			 DocumentHandler 
			 DocumentListener 
			 DocumentName 
			 DocumentParser 
			 DocumentType 
			 Documented 
			 DomainCombiner 
			 DomainManager 
			 DomainManagerOperations 
			 Double 
			 DoubleBuffer 
			 DoubleHolder 
			 DoubleSeqHelper 
			 DoubleSeqHolder 
			 DragGestureEvent 
			 DragGestureListener 
			 DragGestureRecognizer 
			 DragSource 
			 DragSourceAdapter 
			 DragSourceContext 
			 DragSourceDragEvent 
			 DragSourceDropEvent 
			 DragSourceEvent 
			 DragSourceListener 
			 DragSourceMotionListener 
			 Driver 
			 DriverManager 
			 DriverPropertyInfo 
			 DropTarget 
			 DropTarget.DropTargetAutoScroller 
			 DropTargetAdapter 
			 DropTargetContext 
			 DropTargetDragEvent 
			 DropTargetDropEvent 
			 DropTargetEvent 
			 DropTargetListener 
			 DuplicateFormatFlagsException 
			 DuplicateName 
			 DuplicateNameHelper 
			 Duration 
			 DynAny 
			 DynAny 
			 DynAnyFactory 
			 DynAnyFactoryHelper 
			 DynAnyFactoryOperations 
			 DynAnyHelper 
			 DynAnyOperations 
			 DynAnySeqHelper 
			 DynArray 
			 DynArray 
			 DynArrayHelper 
			 DynArrayOperations 
			 DynEnum 
			 DynEnum 
			 DynEnumHelper 
			 DynEnumOperations 
			 DynFixed 
			 DynFixed 
			 DynFixedHelper 
			 DynFixedOperations 
			 DynSequence 
			 DynSequence 
			 DynSequenceHelper 
			 DynSequenceOperations 
			 DynStruct 
			 DynStruct 
			 DynStructHelper 
			 DynStructOperations 
			 DynUnion 
			 DynUnion 
			 DynUnionHelper 
			 DynUnionOperations 
			 DynValue 
			 DynValue 
			 DynValueBox 
			 DynValueBoxOperations 
			 DynValueCommon 
			 DynValueCommonOperations 
			 DynValueHelper 
			 DynValueOperations 
			 DynamicImplementation 
			 DynamicImplementation 
			 DynamicMBean 
			 ECField 
			 ECFieldF2m 
			 ECFieldFp 
			 ECGenParameterSpec 
			 ECKey 
			 ECParameterSpec 
			 ECPoint 
			 ECPrivateKey 
			 ECPrivateKeySpec 
			 ECPublicKey 
			 ECPublicKeySpec 
			 ENCODING_CDR_ENCAPS 
			 EOFException 
			 EditorKit 
			 Element 
			 Element 
			 Element 
			 ElementIterator 
			 ElementType 
			 Ellipse2D 
			 Ellipse2D.Double 
			 Ellipse2D.Float 
			 EllipticCurve 
			 EmptyBorder 
			 EmptyStackException 
			 EncodedKeySpec 
			 Encoder 
			 Encoding 
			 EncryptedPrivateKeyInfo 
			 Entity 
			 Entity 
			 EntityReference 
			 EntityResolver 
			 EntityResolver2 
			 Enum 
			 EnumConstantNotPresentException 
			 EnumControl 
			 EnumControl.Type 
			 EnumMap 
			 EnumSet 
			 EnumSyntax 
			 Enumeration 
			 Environment 
			 Error 
			 ErrorHandler 
			 ErrorListener 
			 ErrorManager 
			 EtchedBorder 
			 Event 
			 EventContext 
			 EventDirContext 
			 EventHandler 
			 EventListener 
			 EventListenerList 
			 EventListenerProxy 
			 EventObject 
			 EventQueue 
			 EventSetDescriptor 
			 Exception 
			 ExceptionDetailMessage 
			 ExceptionInInitializerError 
			 ExceptionList 
			 ExceptionListener 
			 Exchanger 
			 ExecutionException 
			 Executor 
			 ExecutorCompletionService 
			 ExecutorService 
			 Executors 
			 ExemptionMechanism 
			 ExemptionMechanismException 
			 ExemptionMechanismSpi 
			 ExpandVetoException 
			 ExportException 
			 Expression 
			 ExtendedRequest 
			 ExtendedResponse 
			 Externalizable 
			 FREE_MEM 
			 FactoryConfigurationError 
			 FailedLoginException 
			 FeatureDescriptor 
			 Fidelity 
			 Field 
			 FieldNameHelper 
			 FieldNameHelper 
			 FieldPosition 
			 FieldView 
			 File 
			 FileCacheImageInputStream 
			 FileCacheImageOutputStream 
			 FileChannel 
			 FileChannel.MapMode 
			 FileChooserUI 
			 FileDescriptor 
			 FileDialog 
			 FileFilter 
			 FileFilter 
			 FileHandler 
			 FileImageInputStream 
			 FileImageOutputStream 
			 FileInputStream 
			 FileLock 
			 FileLockInterruptionException 
			 FileNameMap 
			 FileNotFoundException 
			 FileOutputStream 
			 FilePermission 
			 FileReader 
			 FileSystemView 
			 FileView 
			 FileWriter 
			 FilenameFilter 
			 Filter 
			 FilterInputStream 
			 FilterOutputStream 
			 FilterReader 
			 FilterWriter 
			 FilteredImageSource 
			 FilteredRowSet 
			 Finishings 
			 FixedHeightLayoutCache 
			 FixedHolder 
			 FlatteningPathIterator 
			 FlavorEvent 
			 FlavorException 
			 FlavorListener 
			 FlavorMap 
			 FlavorTable 
			 Float 
			 FloatBuffer 
			 FloatControl 
			 FloatControl.Type 
			 FloatHolder 
			 FloatSeqHelper 
			 FloatSeqHolder 
			 FlowLayout 
			 FlowView 
			 FlowView.FlowStrategy 
			 Flushable 
			 FocusAdapter 
			 FocusEvent 
			 FocusListener 
			 FocusManager 
			 FocusTraversalPolicy 
			 Font 
			 FontFormatException 
			 FontMetrics 
			 FontRenderContext 
			 FontUIResource 
			 FormSubmitEvent 
			 FormSubmitEvent.MethodType 
			 FormView 
			 Format 
			 Format.Field 
			 FormatConversionProvider 
			 FormatFlagsConversionMismatchException 
			 FormatMismatch 
			 FormatMismatchHelper 
			 Formattable 
			 FormattableFlags 
			 Formatter 
			 Formatter 
			 FormatterClosedException 
			 ForwardRequest 
			 ForwardRequest 
			 ForwardRequestHelper 
			 ForwardRequestHelper 
			 Frame 
			 Future 
			 FutureTask 
			 GSSContext 
			 GSSCredential 
			 GSSException 
			 GSSManager 
			 GSSName 
			 GZIPInputStream 
			 GZIPOutputStream 
			 GapContent 
			 GarbageCollectorMXBean 
			 GatheringByteChannel 
			 GaugeMonitor 
			 GaugeMonitorMBean 
			 GeneralPath 
			 GeneralSecurityException 
			 GenericArrayType 
			 GenericDeclaration 
			 GenericSignatureFormatError 
			 GlyphJustificationInfo 
			 GlyphMetrics 
			 GlyphVector 
			 GlyphView 
			 GlyphView.GlyphPainter 
			 GradientPaint 
			 GraphicAttribute 
			 Graphics 
			 Graphics2D 
			 GraphicsConfigTemplate 
			 GraphicsConfiguration 
			 GraphicsDevice 
			 GraphicsEnvironment 
			 GrayFilter 
			 GregorianCalendar 
			 GridBagConstraints 
			 GridBagLayout 
			 GridLayout 
			 Group 
			 Guard 
			 GuardedObject 
			 HOLDING 
			 HTML 
			 HTML.Attribute 
			 HTML.Tag 
			 HTML.UnknownTag 
			 HTMLDocument 
			 HTMLDocument.Iterator 
			 HTMLEditorKit 
			 HTMLEditorKit.HTMLFactory 
			 HTMLEditorKit.HTMLTextAction 
			 HTMLEditorKit.InsertHTMLTextAction 
			 HTMLEditorKit.LinkController 
			 HTMLEditorKit.Parser 
			 HTMLEditorKit.ParserCallback 
			 HTMLFrameHyperlinkEvent 
			 HTMLWriter 
			 Handler 
			 HandlerBase 
			 HandshakeCompletedEvent 
			 HandshakeCompletedListener 
			 HasControls 
			 HashAttributeSet 
			 HashDocAttributeSet 
			 HashMap 
			 HashPrintJobAttributeSet 
			 HashPrintRequestAttributeSet 
			 HashPrintServiceAttributeSet 
			 HashSet 
			 Hashtable 
			 HeadlessException 
			 HierarchyBoundsAdapter 
			 HierarchyBoundsListener 
			 HierarchyEvent 
			 HierarchyListener 
			 Highlighter 
			 Highlighter.Highlight 
			 Highlighter.HighlightPainter 
			 HostnameVerifier 
			 HttpRetryException 
			 HttpURLConnection 
			 HttpsURLConnection 
			 HyperlinkEvent 
			 HyperlinkEvent.EventType 
			 HyperlinkListener 
			 ICC_ColorSpace 
			 ICC_Profile 
			 ICC_ProfileGray 
			 ICC_ProfileRGB 
			 IDLEntity 
			 IDLType 
			 IDLTypeHelper 
			 IDLTypeOperations 
			 ID_ASSIGNMENT_POLICY_ID 
			 ID_UNIQUENESS_POLICY_ID 
			 IIOByteBuffer 
			 IIOException 
			 IIOImage 
			 IIOInvalidTreeException 
			 IIOMetadata 
			 IIOMetadataController 
			 IIOMetadataFormat 
			 IIOMetadataFormatImpl 
			 IIOMetadataNode 
			 IIOParam 
			 IIOParamController 
			 IIOReadProgressListener 
			 IIOReadUpdateListener 
			 IIOReadWarningListener 
			 IIORegistry 
			 IIOServiceProvider 
			 IIOWriteProgressListener 
			 IIOWriteWarningListener 
			 IMPLICIT_ACTIVATION_POLICY_ID 
			 IMP_LIMIT 
			 INACTIVE 
			 INITIALIZE 
			 INTERNAL 
			 INTF_REPOS 
			 INVALID_ACTIVITY 
			 INVALID_TRANSACTION 
			 INV_FLAG 
			 INV_IDENT 
			 INV_OBJREF 
			 INV_POLICY 
			 IOException 
			 IOR 
			 IORHelper 
			 IORHolder 
			 IORInfo 
			 IORInfoOperations 
			 IORInterceptor 
			 IORInterceptorOperations 
			 IORInterceptor_3_0 
			 IORInterceptor_3_0Helper 
			 IORInterceptor_3_0Holder 
			 IORInterceptor_3_0Operations 
			 IRObject 
			 IRObjectOperations 
			 Icon 
			 IconUIResource 
			 IconView 
			 IdAssignmentPolicy 
			 IdAssignmentPolicyOperations 
			 IdAssignmentPolicyValue 
			 IdUniquenessPolicy 
			 IdUniquenessPolicyOperations 
			 IdUniquenessPolicyValue 
			 IdentifierHelper 
			 Identity 
			 IdentityHashMap 
			 IdentityScope 
			 IllegalAccessError 
			 IllegalAccessException 
			 IllegalArgumentException 
			 IllegalBlockSizeException 
			 IllegalBlockingModeException 
			 IllegalCharsetNameException 
			 IllegalClassFormatException 
			 IllegalComponentStateException 
			 IllegalFormatCodePointException 
			 IllegalFormatConversionException 
			 IllegalFormatException 
			 IllegalFormatFlagsException 
			 IllegalFormatPrecisionException 
			 IllegalFormatWidthException 
			 IllegalMonitorStateException 
			 IllegalPathStateException 
			 IllegalSelectorException 
			 IllegalStateException 
			 IllegalThreadStateException 
			 Image 
			 ImageCapabilities 
			 ImageConsumer 
			 ImageFilter 
			 ImageGraphicAttribute 
			 ImageIO 
			 ImageIcon 
			 ImageInputStream 
			 ImageInputStreamImpl 
			 ImageInputStreamSpi 
			 ImageObserver 
			 ImageOutputStream 
			 ImageOutputStreamImpl 
			 ImageOutputStreamSpi 
			 ImageProducer 
			 ImageReadParam 
			 ImageReader 
			 ImageReaderSpi 
			 ImageReaderWriterSpi 
			 ImageTranscoder 
			 ImageTranscoderSpi 
			 ImageTypeSpecifier 
			 ImageView 
			 ImageWriteParam 
			 ImageWriter 
			 ImageWriterSpi 
			 ImagingOpException 
			 ImplicitActivationPolicy 
			 ImplicitActivationPolicyOperations 
			 ImplicitActivationPolicyValue 
			 IncompatibleClassChangeError 
			 IncompleteAnnotationException 
			 InconsistentTypeCode 
			 InconsistentTypeCode 
			 InconsistentTypeCodeHelper 
			 IndexColorModel 
			 IndexOutOfBoundsException 
			 IndexedPropertyChangeEvent 
			 IndexedPropertyDescriptor 
			 IndirectionException 
			 Inet4Address 
			 Inet6Address 
			 InetAddress 
			 InetSocketAddress 
			 Inflater 
			 InflaterInputStream 
			 InheritableThreadLocal 
			 Inherited 
			 InitialContext 
			 InitialContextFactory 
			 InitialContextFactoryBuilder 
			 InitialDirContext 
			 InitialLdapContext 
			 InlineView 
			 InputContext 
			 InputEvent 
			 InputMap 
			 InputMapUIResource 
			 InputMethod 
			 InputMethodContext 
			 InputMethodDescriptor 
			 InputMethodEvent 
			 InputMethodHighlight 
			 InputMethodListener 
			 InputMethodRequests 
			 InputMismatchException 
			 InputSource 
			 InputStream 
			 InputStream 
			 InputStream 
			 InputStreamReader 
			 InputSubset 
			 InputVerifier 
			 Insets 
			 InsetsUIResource 
			 InstanceAlreadyExistsException 
			 InstanceNotFoundException 
			 InstantiationError 
			 InstantiationException 
			 Instrument 
			 Instrumentation 
			 InsufficientResourcesException 
			 IntBuffer 
			 IntHolder 
			 Integer 
			 IntegerSyntax 
			 Interceptor 
			 InterceptorOperations 
			 InternalError 
			 InternalFrameAdapter 
			 InternalFrameEvent 
			 InternalFrameFocusTraversalPolicy 
			 InternalFrameListener 
			 InternalFrameUI 
			 InternationalFormatter 
			 InterruptedException 
			 InterruptedIOException 
			 InterruptedNamingException 
			 InterruptibleChannel 
			 IntrospectionException 
			 IntrospectionException 
			 Introspector 
			 Invalid 
			 InvalidActivityException 
			 InvalidAddress 
			 InvalidAddressHelper 
			 InvalidAddressHolder 
			 InvalidAlgorithmParameterException 
			 InvalidApplicationException 
			 InvalidAttributeIdentifierException 
			 InvalidAttributeValueException 
			 InvalidAttributeValueException 
			 InvalidAttributesException 
			 InvalidClassException 
			 InvalidDnDOperationException 
			 InvalidKeyException 
			 InvalidKeyException 
			 InvalidKeySpecException 
			 InvalidMarkException 
			 InvalidMidiDataException 
			 InvalidName 
			 InvalidName 
			 InvalidName 
			 InvalidNameException 
			 InvalidNameHelper 
			 InvalidNameHelper 
			 InvalidNameHolder 
			 InvalidObjectException 
			 InvalidOpenTypeException 
			 InvalidParameterException 
			 InvalidParameterSpecException 
			 InvalidPolicy 
			 InvalidPolicyHelper 
			 InvalidPreferencesFormatException 
			 InvalidPropertiesFormatException 
			 InvalidRelationIdException 
			 InvalidRelationServiceException 
			 InvalidRelationTypeException 
			 InvalidRoleInfoException 
			 InvalidRoleValueException 
			 InvalidSearchControlsException 
			 InvalidSearchFilterException 
			 InvalidSeq 
			 InvalidSlot 
			 InvalidSlotHelper 
			 InvalidTargetObjectTypeException 
			 InvalidTransactionException 
			 InvalidTypeForEncoding 
			 InvalidTypeForEncodingHelper 
			 InvalidValue 
			 InvalidValue 
			 InvalidValueHelper 
			 InvocationEvent 
			 InvocationHandler 
			 InvocationTargetException 
			 InvokeHandler 
			 IstringHelper 
			 ItemEvent 
			 ItemListener 
			 ItemSelectable 
			 Iterable 
			 Iterator 
			 IvParameterSpec 
			 JApplet 
			 JButton 
			 JCheckBox 
			 JCheckBoxMenuItem 
			 JColorChooser 
			 JComboBox 
			 JComboBox.KeySelectionManager 
			 JComponent 
			 JDesktopPane 
			 JDialog 
			 JEditorPane 
			 JFileChooser 
			 JFormattedTextField 
			 JFormattedTextField.AbstractFormatter 
			 JFormattedTextField.AbstractFormatterFactory 
			 JFrame 
			 JInternalFrame 
			 JInternalFrame.JDesktopIcon 
			 JLabel 
			 JLayeredPane 
			 JList 
			 JMException 
			 JMRuntimeException 
			 JMXAuthenticator 
			 JMXConnectionNotification 
			 JMXConnector 
			 JMXConnectorFactory 
			 JMXConnectorProvider 
			 JMXConnectorServer 
			 JMXConnectorServerFactory 
			 JMXConnectorServerMBean 
			 JMXConnectorServerProvider 
			 JMXPrincipal 
			 JMXProviderException 
			 JMXServerErrorException 
			 JMXServiceURL 
			 JMenu 
			 JMenuBar 
			 JMenuItem 
			 JOptionPane 
			 JPEGHuffmanTable 
			 JPEGImageReadParam 
			 JPEGImageWriteParam 
			 JPEGQTable 
			 JPanel 
			 JPasswordField 
			 JPopupMenu 
			 JPopupMenu.Separator 
			 JProgressBar 
			 JRadioButton 
			 JRadioButtonMenuItem 
			 JRootPane 
			 JScrollBar 
			 JScrollPane 
			 JSeparator 
			 JSlider 
			 JSpinner 
			 JSpinner.DateEditor 
			 JSpinner.DefaultEditor 
			 JSpinner.ListEditor 
			 JSpinner.NumberEditor 
			 JSplitPane 
			 JTabbedPane 
			 JTable 
			 JTable.PrintMode 
			 JTableHeader 
			 JTextArea 
			 JTextComponent 
			 JTextComponent.KeyBinding 
			 JTextField 
			 JTextPane 
			 JToggleButton 
			 JToggleButton.ToggleButtonModel 
			 JToolBar 
			 JToolBar.Separator 
			 JToolTip 
			 JTree 
			 JTree.DynamicUtilTreeNode 
			 JTree.EmptySelectionModel 
			 JViewport 
			 JWindow 
			 JarEntry 
			 JarException 
			 JarFile 
			 JarInputStream 
			 JarOutputStream 
			 JarURLConnection 
			 JdbcRowSet 
			 JobAttributes 
			 JobAttributes.DefaultSelectionType 
			 JobAttributes.DestinationType 
			 JobAttributes.DialogType 
			 JobAttributes.MultipleDocumentHandlingType 
			 JobAttributes.SidesType 
			 JobHoldUntil 
			 JobImpressions 
			 JobImpressionsCompleted 
			 JobImpressionsSupported 
			 JobKOctets 
			 JobKOctetsProcessed 
			 JobKOctetsSupported 
			 JobMediaSheets 
			 JobMediaSheetsCompleted 
			 JobMediaSheetsSupported 
			 JobMessageFromOperator 
			 JobName 
			 JobOriginatingUserName 
			 JobPriority 
			 JobPrioritySupported 
			 JobSheets 
			 JobState 
			 JobStateReason 
			 JobStateReasons 
			 JoinRowSet 
			 Joinable 
			 KerberosKey 
			 KerberosPrincipal 
			 KerberosTicket 
			 Kernel 
			 Key 
			 KeyAdapter 
			 KeyAgreement 
			 KeyAgreementSpi 
			 KeyAlreadyExistsException 
			 KeyEvent 
			 KeyEventDispatcher 
			 KeyEventPostProcessor 
			 KeyException 
			 KeyFactory 
			 KeyFactorySpi 
			 KeyGenerator 
			 KeyGeneratorSpi 
			 KeyListener 
			 KeyManagementException 
			 KeyManager 
			 KeyManagerFactory 
			 KeyManagerFactorySpi 
			 KeyPair 
			 KeyPairGenerator 
			 KeyPairGeneratorSpi 
			 KeyRep 
			 KeyRep.Type 
			 KeySpec 
			 KeyStore 
			 KeyStore.Builder 
			 KeyStore.CallbackHandlerProtection 
			 KeyStore.Entry 
			 KeyStore.LoadStoreParameter 
			 KeyStore.PasswordProtection 
			 KeyStore.PrivateKeyEntry 
			 KeyStore.ProtectionParameter 
			 KeyStore.SecretKeyEntry 
			 KeyStore.TrustedCertificateEntry 
			 KeyStoreBuilderParameters 
			 KeyStoreException 
			 KeyStoreSpi 
			 KeyStroke 
			 KeyboardFocusManager 
			 Keymap 
			 LDAPCertStoreParameters 
			 LIFESPAN_POLICY_ID 
			 LOCATION_FORWARD 
			 LSException 
			 LSInput 
			 LSLoadEvent 
			 LSOutput 
			 LSParser 
			 LSParserFilter 
			 LSProgressEvent 
			 LSResourceResolver 
			 LSSerializer 
			 LSSerializerFilter 
			 Label 
			 LabelUI 
			 LabelView 
			 LanguageCallback 
			 LastOwnerException 
			 LayeredHighlighter 
			 LayeredHighlighter.LayerPainter 
			 LayoutFocusTraversalPolicy 
			 LayoutManager 
			 LayoutManager2 
			 LayoutQueue 
			 LdapContext 
			 LdapName 
			 LdapReferralException 
			 Lease 
			 Level 
			 LexicalHandler 
			 LifespanPolicy 
			 LifespanPolicyOperations 
			 LifespanPolicyValue 
			 LimitExceededException 
			 Line 
			 Line.Info 
			 Line2D 
			 Line2D.Double 
			 Line2D.Float 
			 LineBorder 
			 LineBreakMeasurer 
			 LineEvent 
			 LineEvent.Type 
			 LineListener 
			 LineMetrics 
			 LineNumberInputStream 
			 LineNumberReader 
			 LineUnavailableException 
			 LinkException 
			 LinkLoopException 
			 LinkRef 
			 LinkageError 
			 LinkedBlockingQueue 
			 LinkedHashMap 
			 LinkedHashSet 
			 LinkedList 
			 List 
			 List 
			 ListCellRenderer 
			 ListDataEvent 
			 ListDataListener 
			 ListIterator 
			 ListModel 
			 ListResourceBundle 
			 ListSelectionEvent 
			 ListSelectionListener 
			 ListSelectionModel 
			 ListUI 
			 ListView 
			 ListenerNotFoundException 
			 LoaderHandler 
			 LocalObject 
			 Locale 
			 LocateRegistry 
			 Locator 
			 Locator2 
			 Locator2Impl 
			 LocatorImpl 
			 Lock 
			 LockSupport 
			 LogManager 
			 LogRecord 
			 LogStream 
			 Logger 
			 LoggingMXBean 
			 LoggingPermission 
			 LoginContext 
			 LoginException 
			 LoginModule 
			 Long 
			 LongBuffer 
			 LongHolder 
			 LongLongSeqHelper 
			 LongLongSeqHolder 
			 LongSeqHelper 
			 LongSeqHolder 
			 LookAndFeel 
			 LookupOp 
			 LookupTable 
			 MARSHAL 
			 MBeanAttributeInfo 
			 MBeanConstructorInfo 
			 MBeanException 
			 MBeanFeatureInfo 
			 MBeanInfo 
			 MBeanNotificationInfo 
			 MBeanOperationInfo 
			 MBeanParameterInfo 
			 MBeanPermission 
			 MBeanRegistration 
			 MBeanRegistrationException 
			 MBeanServer 
			 MBeanServerBuilder 
			 MBeanServerConnection 
			 MBeanServerDelegate 
			 MBeanServerDelegateMBean 
			 MBeanServerFactory 
			 MBeanServerForwarder 
			 MBeanServerInvocationHandler 
			 MBeanServerNotification 
			 MBeanServerNotificationFilter 
			 MBeanServerPermission 
			 MBeanTrustPermission 
			 MGF1ParameterSpec 
			 MLet 
			 MLetMBean 
			 Mac 
			 MacSpi 
			 MalformedInputException 
			 MalformedLinkException 
			 MalformedObjectNameException 
			 MalformedParameterizedTypeException 
			 MalformedURLException 
			 ManageReferralControl 
			 ManagementFactory 
			 ManagementPermission 
			 ManagerFactoryParameters 
			 Manifest 
			 Map 
			 Map.Entry 
			 MappedByteBuffer 
			 MarshalException 
			 MarshalledObject 
			 MaskFormatter 
			 MatchResult 
			 Matcher 
			 Math 
			 MathContext 
			 MatteBorder 
			 Media 
			 MediaName 
			 MediaPrintableArea 
			 MediaSize 
			 MediaSize.Engineering 
			 MediaSize.ISO 
			 MediaSize.JIS 
			 MediaSize.NA 
			 MediaSize.Other 
			 MediaSizeName 
			 MediaTracker 
			 MediaTray 
			 Member 
			 MemoryCacheImageInputStream 
			 MemoryCacheImageOutputStream 
			 MemoryHandler 
			 MemoryImageSource 
			 MemoryMXBean 
			 MemoryManagerMXBean 
			 MemoryNotificationInfo 
			 MemoryPoolMXBean 
			 MemoryType 
			 MemoryUsage 
			 Menu 
			 MenuBar 
			 MenuBarUI 
			 MenuComponent 
			 MenuContainer 
			 MenuDragMouseEvent 
			 MenuDragMouseListener 
			 MenuElement 
			 MenuEvent 
			 MenuItem 
			 MenuItemUI 
			 MenuKeyEvent 
			 MenuKeyListener 
			 MenuListener 
			 MenuSelectionManager 
			 MenuShortcut 
			 MessageDigest 
			 MessageDigestSpi 
			 MessageFormat 
			 MessageFormat.Field 
			 MessageProp 
			 MetaEventListener 
			 MetaMessage 
			 MetalBorders 
			 MetalBorders.ButtonBorder 
			 MetalBorders.Flush3DBorder 
			 MetalBorders.InternalFrameBorder 
			 MetalBorders.MenuBarBorder 
			 MetalBorders.MenuItemBorder 
			 MetalBorders.OptionDialogBorder 
			 MetalBorders.PaletteBorder 
			 MetalBorders.PopupMenuBorder 
			 MetalBorders.RolloverButtonBorder 
			 MetalBorders.ScrollPaneBorder 
			 MetalBorders.TableHeaderBorder 
			 MetalBorders.TextFieldBorder 
			 MetalBorders.ToggleButtonBorder 
			 MetalBorders.ToolBarBorder 
			 MetalButtonUI 
			 MetalCheckBoxIcon 
			 MetalCheckBoxUI 
			 MetalComboBoxButton 
			 MetalComboBoxEditor 
			 MetalComboBoxEditor.UIResource 
			 MetalComboBoxIcon 
			 MetalComboBoxUI 
			 MetalDesktopIconUI 
			 MetalFileChooserUI 
			 MetalIconFactory 
			 MetalIconFactory.FileIcon16 
			 MetalIconFactory.FolderIcon16 
			 MetalIconFactory.PaletteCloseIcon 
			 MetalIconFactory.TreeControlIcon 
			 MetalIconFactory.TreeFolderIcon 
			 MetalIconFactory.TreeLeafIcon 
			 MetalInternalFrameTitlePane 
			 MetalInternalFrameUI 
			 MetalLabelUI 
			 MetalLookAndFeel 
			 MetalMenuBarUI 
			 MetalPopupMenuSeparatorUI 
			 MetalProgressBarUI 
			 MetalRadioButtonUI 
			 MetalRootPaneUI 
			 MetalScrollBarUI 
			 MetalScrollButton 
			 MetalScrollPaneUI 
			 MetalSeparatorUI 
			 MetalSliderUI 
			 MetalSplitPaneUI 
			 MetalTabbedPaneUI 
			 MetalTextFieldUI 
			 MetalTheme 
			 MetalToggleButtonUI 
			 MetalToolBarUI 
			 MetalToolTipUI 
			 MetalTreeUI 
			 Method 
			 MethodDescriptor 
			 MidiChannel 
			 MidiDevice 
			 MidiDevice.Info 
			 MidiDeviceProvider 
			 MidiEvent 
			 MidiFileFormat 
			 MidiFileReader 
			 MidiFileWriter 
			 MidiMessage 
			 MidiSystem 
			 MidiUnavailableException 
			 MimeTypeParseException 
			 MinimalHTMLWriter 
			 MissingFormatArgumentException 
			 MissingFormatWidthException 
			 MissingResourceException 
			 Mixer 
			 Mixer.Info 
			 MixerProvider 
			 ModelMBean 
			 ModelMBeanAttributeInfo 
			 ModelMBeanConstructorInfo 
			 ModelMBeanInfo 
			 ModelMBeanInfoSupport 
			 ModelMBeanNotificationBroadcaster 
			 ModelMBeanNotificationInfo 
			 ModelMBeanOperationInfo 
			 ModificationItem 
			 Modifier 
			 Monitor 
			 MonitorMBean 
			 MonitorNotification 
			 MonitorSettingException 
			 MouseAdapter 
			 MouseDragGestureRecognizer 
			 MouseEvent 
			 MouseInfo 
			 MouseInputAdapter 
			 MouseInputListener 
			 MouseListener 
			 MouseMotionAdapter 
			 MouseMotionListener 
			 MouseWheelEvent 
			 MouseWheelListener 
			 MultiButtonUI 
			 MultiColorChooserUI 
			 MultiComboBoxUI 
			 MultiDesktopIconUI 
			 MultiDesktopPaneUI 
			 MultiDoc 
			 MultiDocPrintJob 
			 MultiDocPrintService 
			 MultiFileChooserUI 
			 MultiInternalFrameUI 
			 MultiLabelUI 
			 MultiListUI 
			 MultiLookAndFeel 
			 MultiMenuBarUI 
			 MultiMenuItemUI 
			 MultiOptionPaneUI 
			 MultiPanelUI 
			 MultiPixelPackedSampleModel 
			 MultiPopupMenuUI 
			 MultiProgressBarUI 
			 MultiRootPaneUI 
			 MultiScrollBarUI 
			 MultiScrollPaneUI 
			 MultiSeparatorUI 
			 MultiSliderUI 
			 MultiSpinnerUI 
			 MultiSplitPaneUI 
			 MultiTabbedPaneUI 
			 MultiTableHeaderUI 
			 MultiTableUI 
			 MultiTextUI 
			 MultiToolBarUI 
			 MultiToolTipUI 
			 MultiTreeUI 
			 MultiViewportUI 
			 MulticastSocket 
			 MultipleComponentProfileHelper 
			 MultipleComponentProfileHolder 
			 MultipleDocumentHandling 
			 MultipleMaster 
			 MutableAttributeSet 
			 MutableComboBoxModel 
			 MutableTreeNode 
			 NON_EXISTENT 
			 NO_IMPLEMENT 
			 NO_MEMORY 
			 NO_PERMISSION 
			 NO_RESOURCES 
			 NO_RESPONSE 
			 NVList 
			 Name 
			 NameAlreadyBoundException 
			 NameCallback 
			 NameClassPair 
			 NameComponent 
			 NameComponentHelper 
			 NameComponentHolder 
			 NameDynAnyPair 
			 NameDynAnyPairHelper 
			 NameDynAnyPairSeqHelper 
			 NameHelper 
			 NameHolder 
			 NameList 
			 NameNotFoundException 
			 NameParser 
			 NameValuePair 
			 NameValuePair 
			 NameValuePairHelper 
			 NameValuePairHelper 
			 NameValuePairSeqHelper 
			 NamedNodeMap 
			 NamedValue 
			 NamespaceChangeListener 
			 NamespaceContext 
			 NamespaceSupport 
			 Naming 
			 NamingContext 
			 NamingContextExt 
			 NamingContextExtHelper 
			 NamingContextExtHolder 
			 NamingContextExtOperations 
			 NamingContextExtPOA 
			 NamingContextHelper 
			 NamingContextHolder 
			 NamingContextOperations 
			 NamingContextPOA 
			 NamingEnumeration 
			 NamingEvent 
			 NamingException 
			 NamingExceptionEvent 
			 NamingListener 
			 NamingManager 
			 NamingSecurityException 
			 NavigationFilter 
			 NavigationFilter.FilterBypass 
			 NegativeArraySizeException 
			 NetPermission 
			 NetworkInterface 
			 NoClassDefFoundError 
			 NoConnectionPendingException 
			 NoContext 
			 NoContextHelper 
			 NoInitialContextException 
			 NoPermissionException 
			 NoRouteToHostException 
			 NoServant 
			 NoServantHelper 
			 NoSuchAlgorithmException 
			 NoSuchAttributeException 
			 NoSuchElementException 
			 NoSuchFieldError 
			 NoSuchFieldException 
			 NoSuchMethodError 
			 NoSuchMethodException 
			 NoSuchObjectException 
			 NoSuchPaddingException 
			 NoSuchProviderException 
			 Node 
			 NodeChangeEvent 
			 NodeChangeListener 
			 NodeList 
			 NonReadableChannelException 
			 NonWritableChannelException 
			 NoninvertibleTransformException 
			 NotActiveException 
			 NotBoundException 
			 NotCompliantMBeanException 
			 NotContextException 
			 NotEmpty 
			 NotEmptyHelper 
			 NotEmptyHolder 
			 NotFound 
			 NotFoundHelper 
			 NotFoundHolder 
			 NotFoundReason 
			 NotFoundReasonHelper 
			 NotFoundReasonHolder 
			 NotOwnerException 
			 NotSerializableException 
			 NotYetBoundException 
			 NotYetConnectedException 
			 Notation 
			 Notification 
			 NotificationBroadcaster 
			 NotificationBroadcasterSupport 
			 NotificationEmitter 
			 NotificationFilter 
			 NotificationFilterSupport 
			 NotificationListener 
			 NotificationResult 
			 NullCipher 
			 NullPointerException 
			 Number 
			 NumberFormat 
			 NumberFormat.Field 
			 NumberFormatException 
			 NumberFormatter 
			 NumberOfDocuments 
			 NumberOfInterveningJobs 
			 NumberUp 
			 NumberUpSupported 
			 NumericShaper 
			 OAEPParameterSpec 
			 OBJECT_NOT_EXIST 
			 OBJ_ADAPTER 
			 OMGVMCID 
			 ORB 
			 ORB 
			 ORBIdHelper 
			 ORBInitInfo 
			 ORBInitInfoOperations 
			 ORBInitializer 
			 ORBInitializerOperations 
			 ObjID 
			 Object 
			 Object 
			 ObjectAlreadyActive 
			 ObjectAlreadyActiveHelper 
			 ObjectChangeListener 
			 ObjectFactory 
			 ObjectFactoryBuilder 
			 ObjectHelper 
			 ObjectHolder 
			 ObjectIdHelper 
			 ObjectIdHelper 
			 ObjectImpl 
			 ObjectImpl 
			 ObjectInput 
			 ObjectInputStream 
			 ObjectInputStream.GetField 
			 ObjectInputValidation 
			 ObjectInstance 
			 ObjectName 
			 ObjectNotActive 
			 ObjectNotActiveHelper 
			 ObjectOutput 
			 ObjectOutputStream 
			 ObjectOutputStream.PutField 
			 ObjectReferenceFactory 
			 ObjectReferenceFactoryHelper 
			 ObjectReferenceFactoryHolder 
			 ObjectReferenceTemplate 
			 ObjectReferenceTemplateHelper 
			 ObjectReferenceTemplateHolder 
			 ObjectReferenceTemplateSeqHelper 
			 ObjectReferenceTemplateSeqHolder 
			 ObjectStreamClass 
			 ObjectStreamConstants 
			 ObjectStreamException 
			 ObjectStreamField 
			 ObjectView 
			 Observable 
			 Observer 
			 OceanTheme 
			 OctetSeqHelper 
			 OctetSeqHolder 
			 Oid 
			 OpenDataException 
			 OpenMBeanAttributeInfo 
			 OpenMBeanAttributeInfoSupport 
			 OpenMBeanConstructorInfo 
			 OpenMBeanConstructorInfoSupport 
			 OpenMBeanInfo 
			 OpenMBeanInfoSupport 
			 OpenMBeanOperationInfo 
			 OpenMBeanOperationInfoSupport 
			 OpenMBeanParameterInfo 
			 OpenMBeanParameterInfoSupport 
			 OpenType 
			 OpenType 
			 OperatingSystemMXBean 
			 Operation 
			 OperationNotSupportedException 
			 OperationsException 
			 Option 
			 OptionPaneUI 
			 OptionalDataException 
			 OrientationRequested 
			 OutOfMemoryError 
			 OutputDeviceAssigned 
			 OutputKeys 
			 OutputStream 
			 OutputStream 
			 OutputStream 
			 OutputStreamWriter 
			 OverlappingFileLockException 
			 OverlayLayout 
			 Override 
			 Owner 
			 PBEKey 
			 PBEKeySpec 
			 PBEParameterSpec 
			 PDLOverrideSupported 
			 PERSIST_STORE 
			 PKCS8EncodedKeySpec 
			 PKIXBuilderParameters 
			 PKIXCertPathBuilderResult 
			 PKIXCertPathChecker 
			 PKIXCertPathValidatorResult 
			 PKIXParameters 
			 POA 
			 POAHelper 
			 POAManager 
			 POAManagerOperations 
			 POAOperations 
			 PRIVATE_MEMBER 
			 PSSParameterSpec 
			 PSource 
			 PSource.PSpecified 
			 PUBLIC_MEMBER 
			 Pack200 
			 Pack200.Packer 
			 Pack200.Unpacker 
			 Package 
			 PackedColorModel 
			 PageAttributes 
			 PageAttributes.ColorType 
			 PageAttributes.MediaType 
			 PageAttributes.OrientationRequestedType 
			 PageAttributes.OriginType 
			 PageAttributes.PrintQualityType 
			 PageFormat 
			 PageRanges 
			 Pageable 
			 PagedResultsControl 
			 PagedResultsResponseControl 
			 PagesPerMinute 
			 PagesPerMinuteColor 
			 Paint 
			 PaintContext 
			 PaintEvent 
			 Panel 
			 PanelUI 
			 Paper 
			 ParagraphView 
			 ParagraphView 
			 Parameter 
			 ParameterBlock 
			 ParameterDescriptor 
			 ParameterMetaData 
			 ParameterMode 
			 ParameterModeHelper 
			 ParameterModeHolder 
			 ParameterizedType 
			 ParseException 
			 ParsePosition 
			 Parser 
			 Parser 
			 ParserAdapter 
			 ParserConfigurationException 
			 ParserDelegator 
			 ParserFactory 
			 PartialResultException 
			 PasswordAuthentication 
			 PasswordCallback 
			 PasswordView 
			 Patch 
			 PathIterator 
			 Pattern 
			 PatternSyntaxException 
			 Permission 
			 Permission 
			 PermissionCollection 
			 Permissions 
			 PersistenceDelegate 
			 PersistentMBean 
			 PhantomReference 
			 Pipe 
			 Pipe.SinkChannel 
			 Pipe.SourceChannel 
			 PipedInputStream 
			 PipedOutputStream 
			 PipedReader 
			 PipedWriter 
			 PixelGrabber 
			 PixelInterleavedSampleModel 
			 PlainDocument 
			 PlainView 
			 Point 
			 Point2D 
			 Point2D.Double 
			 Point2D.Float 
			 PointerInfo 
			 Policy 
			 Policy 
			 Policy 
			 PolicyError 
			 PolicyErrorCodeHelper 
			 PolicyErrorHelper 
			 PolicyErrorHolder 
			 PolicyFactory 
			 PolicyFactoryOperations 
			 PolicyHelper 
			 PolicyHolder 
			 PolicyListHelper 
			 PolicyListHolder 
			 PolicyNode 
			 PolicyOperations 
			 PolicyQualifierInfo 
			 PolicyTypeHelper 
			 Polygon 
			 PooledConnection 
			 Popup 
			 PopupFactory 
			 PopupMenu 
			 PopupMenuEvent 
			 PopupMenuListener 
			 PopupMenuUI 
			 Port 
			 Port.Info 
			 PortUnreachableException 
			 PortableRemoteObject 
			 PortableRemoteObjectDelegate 
			 Position 
			 Position.Bias 
			 Predicate 
			 PreferenceChangeEvent 
			 PreferenceChangeListener 
			 Preferences 
			 PreferencesFactory 
			 PreparedStatement 
			 PresentationDirection 
			 Principal 
			 Principal 
			 PrincipalHolder 
			 PrintEvent 
			 PrintException 
			 PrintGraphics 
			 PrintJob 
			 PrintJobAdapter 
			 PrintJobAttribute 
			 PrintJobAttributeEvent 
			 PrintJobAttributeListener 
			 PrintJobAttributeSet 
			 PrintJobEvent 
			 PrintJobListener 
			 PrintQuality 
			 PrintRequestAttribute 
			 PrintRequestAttributeSet 
			 PrintService 
			 PrintServiceAttribute 
			 PrintServiceAttributeEvent 
			 PrintServiceAttributeListener 
			 PrintServiceAttributeSet 
			 PrintServiceLookup 
			 PrintStream 
			 PrintWriter 
			 Printable 
			 PrinterAbortException 
			 PrinterException 
			 PrinterGraphics 
			 PrinterIOException 
			 PrinterInfo 
			 PrinterIsAcceptingJobs 
			 PrinterJob 
			 PrinterLocation 
			 PrinterMakeAndModel 
			 PrinterMessageFromOperator 
			 PrinterMoreInfo 
			 PrinterMoreInfoManufacturer 
			 PrinterName 
			 PrinterResolution 
			 PrinterState 
			 PrinterStateReason 
			 PrinterStateReasons 
			 PrinterURI 
			 PriorityBlockingQueue 
			 PriorityQueue 
			 PrivateClassLoader 
			 PrivateCredentialPermission 
			 PrivateKey 
			 PrivateMLet 
			 PrivilegedAction 
			 PrivilegedActionException 
			 PrivilegedExceptionAction 
			 Process 
			 ProcessBuilder 
			 ProcessingInstruction 
			 ProfileDataException 
			 ProfileIdHelper 
			 ProgressBarUI 
			 ProgressMonitor 
			 ProgressMonitorInputStream 
			 Properties 
			 PropertyChangeEvent 
			 PropertyChangeListener 
			 PropertyChangeListenerProxy 
			 PropertyChangeSupport 
			 PropertyDescriptor 
			 PropertyEditor 
			 PropertyEditorManager 
			 PropertyEditorSupport 
			 PropertyPermission 
			 PropertyResourceBundle 
			 PropertyVetoException 
			 ProtectionDomain 
			 ProtocolException 
			 Provider 
			 Provider.Service 
			 ProviderException 
			 Proxy 
			 Proxy 
			 Proxy.Type 
			 ProxySelector 
			 PublicKey 
			 PushbackInputStream 
			 PushbackReader 
			 QName 
			 QuadCurve2D 
			 QuadCurve2D.Double 
			 QuadCurve2D.Float 
			 Query 
			 QueryEval 
			 QueryExp 
			 Queue 
			 QueuedJobCount 
			 RC2ParameterSpec 
			 RC5ParameterSpec 
			 REBIND 
			 REQUEST_PROCESSING_POLICY_ID 
			 RGBImageFilter 
			 RMIClassLoader 
			 RMIClassLoaderSpi 
			 RMIClientSocketFactory 
			 RMIConnection 
			 RMIConnectionImpl 
			 RMIConnectionImpl_Stub 
			 RMIConnector 
			 RMIConnectorServer 
			 RMICustomMaxStreamFormat 
			 RMIFailureHandler 
			 RMIIIOPServerImpl 
			 RMIJRMPServerImpl 
			 RMISecurityException 
			 RMISecurityManager 
			 RMIServer 
			 RMIServerImpl 
			 RMIServerImpl_Stub 
			 RMIServerSocketFactory 
			 RMISocketFactory 
			 RSAKey 
			 RSAKeyGenParameterSpec 
			 RSAMultiPrimePrivateCrtKey 
			 RSAMultiPrimePrivateCrtKeySpec 
			 RSAOtherPrimeInfo 
			 RSAPrivateCrtKey 
			 RSAPrivateCrtKeySpec 
			 RSAPrivateKey 
			 RSAPrivateKeySpec 
			 RSAPublicKey 
			 RSAPublicKeySpec 
			 RTFEditorKit 
			 Random 
			 RandomAccess 
			 RandomAccessFile 
			 Raster 
			 RasterFormatException 
			 RasterOp 
			 Rdn 
			 ReadOnlyBufferException 
			 ReadWriteLock 
			 Readable 
			 ReadableByteChannel 
			 Reader 
			 RealmCallback 
			 RealmChoiceCallback 
			 Receiver 
			 Rectangle 
			 Rectangle2D 
			 Rectangle2D.Double 
			 Rectangle2D.Float 
			 RectangularShape 
			 ReentrantLock 
			 ReentrantReadWriteLock 
			 ReentrantReadWriteLock.ReadLock 
			 ReentrantReadWriteLock.WriteLock 
			 Ref 
			 RefAddr 
			 Reference 
			 Reference 
			 ReferenceQueue 
			 ReferenceUriSchemesSupported 
			 Referenceable 
			 ReferralException 
			 ReflectPermission 
			 ReflectionException 
			 RefreshFailedException 
			 Refreshable 
			 Region 
			 RegisterableService 
			 Registry 
			 RegistryHandler 
			 RejectedExecutionException 
			 RejectedExecutionHandler 
			 Relation 
			 RelationException 
			 RelationNotFoundException 
			 RelationNotification 
			 RelationService 
			 RelationServiceMBean 
			 RelationServiceNotRegisteredException 
			 RelationSupport 
			 RelationSupportMBean 
			 RelationType 
			 RelationTypeNotFoundException 
			 RelationTypeSupport 
			 RemarshalException 
			 Remote 
			 RemoteCall 
			 RemoteException 
			 RemoteObject 
			 RemoteObjectInvocationHandler 
			 RemoteRef 
			 RemoteServer 
			 RemoteStub 
			 RenderContext 
			 RenderableImage 
			 RenderableImageOp 
			 RenderableImageProducer 
			 RenderedImage 
			 RenderedImageFactory 
			 Renderer 
			 RenderingHints 
			 RenderingHints.Key 
			 RepaintManager 
			 ReplicateScaleFilter 
			 RepositoryIdHelper 
			 Request 
			 RequestInfo 
			 RequestInfoOperations 
			 RequestProcessingPolicy 
			 RequestProcessingPolicyOperations 
			 RequestProcessingPolicyValue 
			 RequestingUserName 
			 RequiredModelMBean 
			 RescaleOp 
			 ResolutionSyntax 
			 ResolveResult 
			 Resolver 
			 ResourceBundle 
			 ResponseCache 
			 ResponseHandler 
			 Result 
			 ResultSet 
			 ResultSetMetaData 
			 Retention 
			 RetentionPolicy 
			 ReverbType 
			 Robot 
			 Role 
			 RoleInfo 
			 RoleInfoNotFoundException 
			 RoleList 
			 RoleNotFoundException 
			 RoleResult 
			 RoleStatus 
			 RoleUnresolved 
			 RoleUnresolvedList 
			 RootPaneContainer 
			 RootPaneUI 
			 RoundRectangle2D 
			 RoundRectangle2D.Double 
			 RoundRectangle2D.Float 
			 RoundingMode 
			 RowMapper 
			 RowSet 
			 RowSetEvent 
			 RowSetInternal 
			 RowSetListener 
			 RowSetMetaData 
			 RowSetMetaDataImpl 
			 RowSetReader 
			 RowSetWarning 
			 RowSetWriter 
			 RuleBasedCollator 
			 RunTime 
			 RunTimeOperations 
			 Runnable 
			 Runtime 
			 RuntimeErrorException 
			 RuntimeException 
			 RuntimeMBeanException 
			 RuntimeMXBean 
			 RuntimeOperationsException 
			 RuntimePermission 
			 SAXException 
			 SAXNotRecognizedException 
			 SAXNotSupportedException 
			 SAXParseException 
			 SAXParser 
			 SAXParserFactory 
			 SAXResult 
			 SAXSource 
			 SAXTransformerFactory 
			 SERVANT_RETENTION_POLICY_ID 
			 SQLData 
			 SQLException 
			 SQLInput 
			 SQLInputImpl 
			 SQLOutput 
			 SQLOutputImpl 
			 SQLPermission 
			 SQLWarning 
			 SSLContext 
			 SSLContextSpi 
			 SSLEngine 
			 SSLEngineResult 
			 SSLEngineResult.HandshakeStatus 
			 SSLEngineResult.Status 
			 SSLException 
			 SSLHandshakeException 
			 SSLKeyException 
			 SSLPeerUnverifiedException 
			 SSLPermission 
			 SSLProtocolException 
			 SSLServerSocket 
			 SSLServerSocketFactory 
			 SSLSession 
			 SSLSessionBindingEvent 
			 SSLSessionBindingListener 
			 SSLSessionContext 
			 SSLSocket 
			 SSLSocketFactory 
			 SUCCESSFUL 
			 SYNC_WITH_TRANSPORT 
			 SYSTEM_EXCEPTION 
			 SampleModel 
			 Sasl 
			 SaslClient 
			 SaslClientFactory 
			 SaslException 
			 SaslServer 
			 SaslServerFactory 
			 Savepoint 
			 Scanner 
			 ScatteringByteChannel 
			 ScheduledExecutorService 
			 ScheduledFuture 
			 ScheduledThreadPoolExecutor 
			 Schema 
			 SchemaFactory 
			 SchemaFactoryLoader 
			 SchemaViolationException 
			 ScrollBarUI 
			 ScrollPane 
			 ScrollPaneAdjustable 
			 ScrollPaneConstants 
			 ScrollPaneLayout 
			 ScrollPaneLayout.UIResource 
			 ScrollPaneUI 
			 Scrollable 
			 Scrollbar 
			 SealedObject 
			 SearchControls 
			 SearchResult 
			 SecretKey 
			 SecretKeyFactory 
			 SecretKeyFactorySpi 
			 SecretKeySpec 
			 SecureCacheResponse 
			 SecureClassLoader 
			 SecureRandom 
			 SecureRandomSpi 
			 Security 
			 SecurityException 
			 SecurityManager 
			 SecurityPermission 
			 Segment 
			 SelectableChannel 
			 SelectionKey 
			 Selector 
			 SelectorProvider 
			 Semaphore 
			 SeparatorUI 
			 Sequence 
			 SequenceInputStream 
			 Sequencer 
			 Sequencer.SyncMode 
			 SerialArray 
			 SerialBlob 
			 SerialClob 
			 SerialDatalink 
			 SerialException 
			 SerialJavaObject 
			 SerialRef 
			 SerialStruct 
			 Serializable 
			 SerializablePermission 
			 Servant 
			 ServantActivator 
			 ServantActivatorHelper 
			 ServantActivatorOperations 
			 ServantActivatorPOA 
			 ServantAlreadyActive 
			 ServantAlreadyActiveHelper 
			 ServantLocator 
			 ServantLocatorHelper 
			 ServantLocatorOperations 
			 ServantLocatorPOA 
			 ServantManager 
			 ServantManagerOperations 
			 ServantNotActive 
			 ServantNotActiveHelper 
			 ServantObject 
			 ServantRetentionPolicy 
			 ServantRetentionPolicyOperations 
			 ServantRetentionPolicyValue 
			 ServerCloneException 
			 ServerError 
			 ServerException 
			 ServerIdHelper 
			 ServerNotActiveException 
			 ServerRef 
			 ServerRequest 
			 ServerRequestInfo 
			 ServerRequestInfoOperations 
			 ServerRequestInterceptor 
			 ServerRequestInterceptorOperations 
			 ServerRuntimeException 
			 ServerSocket 
			 ServerSocketChannel 
			 ServerSocketFactory 
			 ServiceContext 
			 ServiceContextHelper 
			 ServiceContextHolder 
			 ServiceContextListHelper 
			 ServiceContextListHolder 
			 ServiceDetail 
			 ServiceDetailHelper 
			 ServiceIdHelper 
			 ServiceInformation 
			 ServiceInformationHelper 
			 ServiceInformationHolder 
			 ServiceNotFoundException 
			 ServicePermission 
			 ServiceRegistry 
			 ServiceRegistry.Filter 
			 ServiceUI 
			 ServiceUIFactory 
			 ServiceUnavailableException 
			 Set 
			 SetOfIntegerSyntax 
			 SetOverrideType 
			 SetOverrideTypeHelper 
			 Severity 
			 Shape 
			 ShapeGraphicAttribute 
			 SheetCollate 
			 Short 
			 ShortBuffer 
			 ShortBufferException 
			 ShortHolder 
			 ShortLookupTable 
			 ShortMessage 
			 ShortSeqHelper 
			 ShortSeqHolder 
			 Sides 
			 Signature 
			 SignatureException 
			 SignatureSpi 
			 SignedObject 
			 Signer 
			 SimpleAttributeSet 
			 SimpleBeanInfo 
			 SimpleDateFormat 
			 SimpleDoc 
			 SimpleFormatter 
			 SimpleTimeZone 
			 SimpleType 
			 SinglePixelPackedSampleModel 
			 SingleSelectionModel 
			 Size2DSyntax 
			 SizeLimitExceededException 
			 SizeRequirements 
			 SizeSequence 
			 Skeleton 
			 SkeletonMismatchException 
			 SkeletonNotFoundException 
			 SliderUI 
			 Socket 
			 SocketAddress 
			 SocketChannel 
			 SocketException 
			 SocketFactory 
			 SocketHandler 
			 SocketImpl 
			 SocketImplFactory 
			 SocketOptions 
			 SocketPermission 
			 SocketSecurityException 
			 SocketTimeoutException 
			 SoftBevelBorder 
			 SoftReference 
			 SortControl 
			 SortKey 
			 SortResponseControl 
			 SortedMap 
			 SortedSet 
			 SortingFocusTraversalPolicy 
			 Soundbank 
			 SoundbankReader 
			 SoundbankResource 
			 Source 
			 SourceDataLine 
			 SourceLocator 
			 SpinnerDateModel 
			 SpinnerListModel 
			 SpinnerModel 
			 SpinnerNumberModel 
			 SpinnerUI 
			 SplitPaneUI 
			 Spring 
			 SpringLayout 
			 SpringLayout.Constraints 
			 SslRMIClientSocketFactory 
			 SslRMIServerSocketFactory 
			 Stack 
			 StackOverflowError 
			 StackTraceElement 
			 StandardMBean 
			 StartTlsRequest 
			 StartTlsResponse 
			 State 
			 StateEdit 
			 StateEditable 
			 StateFactory 
			 Statement 
			 Statement 
			 StreamCorruptedException 
			 StreamHandler 
			 StreamPrintService 
			 StreamPrintServiceFactory 
			 StreamResult 
			 StreamSource 
			 StreamTokenizer 
			 Streamable 
			 StreamableValue 
			 StrictMath 
			 String 
			 StringBuffer 
			 StringBufferInputStream 
			 StringBuilder 
			 StringCharacterIterator 
			 StringContent 
			 StringHolder 
			 StringIndexOutOfBoundsException 
			 StringMonitor 
			 StringMonitorMBean 
			 StringNameHelper 
			 StringReader 
			 StringRefAddr 
			 StringSelection 
			 StringSeqHelper 
			 StringSeqHolder 
			 StringTokenizer 
			 StringValueExp 
			 StringValueHelper 
			 StringWriter 
			 Stroke 
			 Struct 
			 StructMember 
			 StructMemberHelper 
			 Stub 
			 StubDelegate 
			 StubNotFoundException 
			 Style 
			 StyleConstants 
			 StyleConstants.CharacterConstants 
			 StyleConstants.ColorConstants 
			 StyleConstants.FontConstants 
			 StyleConstants.ParagraphConstants 
			 StyleContext 
			 StyleSheet 
			 StyleSheet.BoxPainter 
			 StyleSheet.ListPainter 
			 StyledDocument 
			 StyledEditorKit 
			 StyledEditorKit.AlignmentAction 
			 StyledEditorKit.BoldAction 
			 StyledEditorKit.FontFamilyAction 
			 StyledEditorKit.FontSizeAction 
			 StyledEditorKit.ForegroundAction 
			 StyledEditorKit.ItalicAction 
			 StyledEditorKit.StyledTextAction 
			 StyledEditorKit.UnderlineAction 
			 Subject 
			 SubjectDelegationPermission 
			 SubjectDomainCombiner 
			 SupportedValuesAttribute 
			 SuppressWarnings 
			 SwingConstants 
			 SwingPropertyChangeSupport 
			 SwingUtilities 
			 SyncFactory 
			 SyncFactoryException 
			 SyncFailedException 
			 SyncProvider 
			 SyncProviderException 
			 SyncResolver 
			 SyncScopeHelper 
			 SynchronousQueue 
			 SynthConstants 
			 SynthContext 
			 SynthGraphicsUtils 
			 SynthLookAndFeel 
			 SynthPainter 
			 SynthStyle 
			 SynthStyleFactory 
			 Synthesizer 
			 SysexMessage 
			 System 
			 SystemColor 
			 SystemException 
			 SystemFlavorMap 
			 TAG_ALTERNATE_IIOP_ADDRESS 
			 TAG_CODE_SETS 
			 TAG_INTERNET_IOP 
			 TAG_JAVA_CODEBASE 
			 TAG_MULTIPLE_COMPONENTS 
			 TAG_ORB_TYPE 
			 TAG_POLICIES 
			 TAG_RMI_CUSTOM_MAX_STREAM_FORMAT 
			 TCKind 
			 THREAD_POLICY_ID 
			 TIMEOUT 
			 TRANSACTION_MODE 
			 TRANSACTION_REQUIRED 
			 TRANSACTION_ROLLEDBACK 
			 TRANSACTION_UNAVAILABLE 
			 TRANSIENT 
			 TRANSPORT_RETRY 
			 TabExpander 
			 TabSet 
			 TabStop 
			 TabableView 
			 TabbedPaneUI 
			 TableCellEditor 
			 TableCellRenderer 
			 TableColumn 
			 TableColumnModel 
			 TableColumnModelEvent 
			 TableColumnModelListener 
			 TableHeaderUI 
			 TableModel 
			 TableModelEvent 
			 TableModelListener 
			 TableUI 
			 TableView 
			 TabularData 
			 TabularDataSupport 
			 TabularType 
			 TagElement 
			 TaggedComponent 
			 TaggedComponentHelper 
			 TaggedComponentHolder 
			 TaggedProfile 
			 TaggedProfileHelper 
			 TaggedProfileHolder 
			 Target 
			 TargetDataLine 
			 TargetedNotification 
			 Templates 
			 TemplatesHandler 
			 Text 
			 TextAction 
			 TextArea 
			 TextAttribute 
			 TextComponent 
			 TextEvent 
			 TextField 
			 TextHitInfo 
			 TextInputCallback 
			 TextLayout 
			 TextLayout.CaretPolicy 
			 TextListener 
			 TextMeasurer 
			 TextOutputCallback 
			 TextSyntax 
			 TextUI 
			 TexturePaint 
			 Thread 
			 Thread.State 
			 Thread.UncaughtExceptionHandler 
			 ThreadDeath 
			 ThreadFactory 
			 ThreadGroup 
			 ThreadInfo 
			 ThreadLocal 
			 ThreadMXBean 
			 ThreadPolicy 
			 ThreadPolicyOperations 
			 ThreadPolicyValue 
			 ThreadPoolExecutor 
			 ThreadPoolExecutor.AbortPolicy 
			 ThreadPoolExecutor.CallerRunsPolicy 
			 ThreadPoolExecutor.DiscardOldestPolicy 
			 ThreadPoolExecutor.DiscardPolicy 
			 Throwable 
			 Tie 
			 TileObserver 
			 Time 
			 TimeLimitExceededException 
			 TimeUnit 
			 TimeZone 
			 TimeoutException 
			 Timer 
			 Timer 
			 Timer 
			 TimerAlarmClockNotification 
			 TimerMBean 
			 TimerNotification 
			 TimerTask 
			 Timestamp 
			 Timestamp 
			 TitledBorder 
			 TooManyListenersException 
			 ToolBarUI 
			 ToolTipManager 
			 ToolTipUI 
			 Toolkit 
			 Track 
			 TransactionRequiredException 
			 TransactionRolledbackException 
			 TransactionService 
			 TransactionalWriter 
			 TransferHandler 
			 Transferable 
			 TransformAttribute 
			 Transformer 
			 TransformerConfigurationException 
			 TransformerException 
			 TransformerFactory 
			 TransformerFactoryConfigurationError 
			 TransformerHandler 
			 Transmitter 
			 Transparency 
			 TreeCellEditor 
			 TreeCellRenderer 
			 TreeExpansionEvent 
			 TreeExpansionListener 
			 TreeMap 
			 TreeModel 
			 TreeModelEvent 
			 TreeModelListener 
			 TreeNode 
			 TreePath 
			 TreeSelectionEvent 
			 TreeSelectionListener 
			 TreeSelectionModel 
			 TreeSet 
			 TreeUI 
			 TreeWillExpandListener 
			 TrustAnchor 
			 TrustManager 
			 TrustManagerFactory 
			 TrustManagerFactorySpi 
			 Type 
			 TypeCode 
			 TypeCodeHolder 
			 TypeInfo 
			 TypeInfoProvider 
			 TypeMismatch 
			 TypeMismatch 
			 TypeMismatch 
			 TypeMismatchHelper 
			 TypeMismatchHelper 
			 TypeNotPresentException 
			 TypeVariable 
			 Types 
			 UID 
			 UIDefaults 
			 UIDefaults.ActiveValue 
			 UIDefaults.LazyInputMap 
			 UIDefaults.LazyValue 
			 UIDefaults.ProxyLazyValue 
			 UIManager 
			 UIManager.LookAndFeelInfo 
			 UIResource 
			 ULongLongSeqHelper 
			 ULongLongSeqHolder 
			 ULongSeqHelper 
			 ULongSeqHolder 
			 UNKNOWN 
			 UNKNOWN 
			 UNSUPPORTED_POLICY 
			 UNSUPPORTED_POLICY_VALUE 
			 URI 
			 URIException 
			 URIResolver 
			 URISyntax 
			 URISyntaxException 
			 URL 
			 URLClassLoader 
			 URLConnection 
			 URLDecoder 
			 URLEncoder 
			 URLStreamHandler 
			 URLStreamHandlerFactory 
			 URLStringHelper 
			 USER_EXCEPTION 
			 UShortSeqHelper 
			 UShortSeqHolder 
			 UTFDataFormatException 
			 UUID 
			 UndeclaredThrowableException 
			 UndoManager 
			 UndoableEdit 
			 UndoableEditEvent 
			 UndoableEditListener 
			 UndoableEditSupport 
			 UnexpectedException 
			 UnicastRemoteObject 
			 UnionMember 
			 UnionMemberHelper 
			 UnknownEncoding 
			 UnknownEncodingHelper 
			 UnknownError 
			 UnknownException 
			 UnknownFormatConversionException 
			 UnknownFormatFlagsException 
			 UnknownGroupException 
			 UnknownHostException 
			 UnknownHostException 
			 UnknownObjectException 
			 UnknownServiceException 
			 UnknownUserException 
			 UnknownUserExceptionHelper 
			 UnknownUserExceptionHolder 
			 UnmappableCharacterException 
			 UnmarshalException 
			 UnmodifiableClassException 
			 UnmodifiableSetException 
			 UnrecoverableEntryException 
			 UnrecoverableKeyException 
			 Unreferenced 
			 UnresolvedAddressException 
			 UnresolvedPermission 
			 UnsatisfiedLinkError 
			 UnsolicitedNotification 
			 UnsolicitedNotificationEvent 
			 UnsolicitedNotificationListener 
			 UnsupportedAddressTypeException 
			 UnsupportedAudioFileException 
			 UnsupportedCallbackException 
			 UnsupportedCharsetException 
			 UnsupportedClassVersionError 
			 UnsupportedEncodingException 
			 UnsupportedFlavorException 
			 UnsupportedLookAndFeelException 
			 UnsupportedOperationException 
			 UserDataHandler 
			 UserException 
			 Util 
			 UtilDelegate 
			 Utilities 
			 VMID 
			 VM_ABSTRACT 
			 VM_CUSTOM 
			 VM_NONE 
			 VM_TRUNCATABLE 
			 Validator 
			 ValidatorHandler 
			 ValueBase 
			 ValueBaseHelper 
			 ValueBaseHolder 
			 ValueExp 
			 ValueFactory 
			 ValueHandler 
			 ValueHandlerMultiFormat 
			 ValueInputStream 
			 ValueMember 
			 ValueMemberHelper 
			 ValueOutputStream 
			 VariableHeightLayoutCache 
			 Vector 
			 VerifyError 
			 VersionSpecHelper 
			 VetoableChangeListener 
			 VetoableChangeListenerProxy 
			 VetoableChangeSupport 
			 View 
			 ViewFactory 
			 ViewportLayout 
			 ViewportUI 
			 VirtualMachineError 
			 Visibility 
			 VisibilityHelper 
			 VoiceStatus 
			 Void 
			 VolatileImage 
			 WCharSeqHelper 
			 WCharSeqHolder 
			 WStringSeqHelper 
			 WStringSeqHolder 
			 WStringValueHelper 
			 WeakHashMap 
			 WeakReference 
			 WebRowSet 
			 WildcardType 
			 Window 
			 WindowAdapter 
			 WindowConstants 
			 WindowEvent 
			 WindowFocusListener 
			 WindowListener 
			 WindowStateListener 
			 WrappedPlainView 
			 WritableByteChannel 
			 WritableRaster 
			 WritableRenderedImage 
			 WriteAbortedException 
			 Writer 
			 WrongAdapter 
			 WrongAdapterHelper 
			 WrongPolicy 
			 WrongPolicyHelper 
			 WrongTransaction 
			 WrongTransactionHelper 
			 WrongTransactionHolder 
			 X500Principal 
			 X500PrivateCredential 
			 X509CRL 
			 X509CRLEntry 
			 X509CRLSelector 
			 X509CertSelector 
			 X509Certificate 
			 X509Certificate 
			 X509EncodedKeySpec 
			 X509ExtendedKeyManager 
			 X509Extension 
			 X509KeyManager 
			 X509TrustManager 
			 XAConnection 
			 XADataSource 
			 XAException 
			 XAResource 
			 XMLConstants 
			 XMLDecoder 
			 XMLEncoder 
			 XMLFilter 
			 XMLFilterImpl 
			 XMLFormatter 
			 XMLGregorianCalendar 
			 XMLParseException 
			 XMLReader 
			 XMLReaderAdapter 
			 XMLReaderFactory 
			 XPath 
			 XPathConstants 
			 XPathException 
			 XPathExpression 
			 XPathExpressionException 
			 XPathFactory 
			 XPathFactoryConfigurationException 
			 XPathFunction 
			 XPathFunctionException 
			 XPathFunctionResolver 
			 XPathVariableResolver 
			 Xid 
			 XmlReader 
			 XmlWriter 
			 ZipEntry 
			 ZipException 
			 ZipFile 
			 ZipInputStream 
			 ZipOutputStream 
			 ZoneView 
			 _BindingIteratorImplBase 
			 _BindingIteratorStub 
			 _DynAnyFactoryStub 
			 _DynAnyStub 
			 _DynArrayStub 
			 _DynEnumStub 
			 _DynFixedStub 
			 _DynSequenceStub 
			 _DynStructStub 
			 _DynUnionStub 
			 _DynValueStub 
			 _IDLTypeStub 
			 _NamingContextExtStub 
			 _NamingContextImplBase 
			 _NamingContextStub 
			 _PolicyStub 
			 _Remote_Stub 
			 _ServantActivatorStub 
			 _ServantLocatorStub 
			


			 AbstractAnnotationValueVisitor6 
			 AbstractElementVisitor6 
			 AbstractMarshallerImpl 
			 AbstractOwnableSynchronizer 
			 AbstractProcessor 
			 AbstractQueuedLongSynchronizer 
			 AbstractScriptEngine 
			 AbstractTypeVisitor6 
			 AbstractUnmarshallerImpl 
			 ActivationDataFlavor 
			 AlgorithmMethod 
			 AnnotationMirror 
			 AnnotationValue 
			 AnnotationValueVisitor 
			 ArrayDeque 
			 AsyncHandler 
			 AttachmentMarshaller 
			 AttachmentPart 
			 AttachmentUnmarshaller 
			 Binder 
			 BindingProvider 
			 Bindings 
			 BlockingDeque 
			 BreakIteratorProvider 
			 C14NMethodParameterSpec 
			 CanonicalizationMethod 
			 Characters 
			 ClientInfoStatus 
			 CollapsedStringAdapter 
			 CollatorProvider 
			 CommandInfo 
			 CommandMap 
			 CommandObject 
			 CommonDataSource 
			 Compilable 
			 CompiledScript 
			 Completion 
			 Completions 
			 CompositeDataInvocationHandler 
			 CompositeDataView 
			 ConcurrentNavigableMap 
			 ConcurrentSkipListMap 
			 ConcurrentSkipListSet 
			 ConfigurationSpi 
			 Console 
			 ConstructorProperties 
			 CookieManager 
			 CookiePolicy 
			 CookieStore 
			 CurrencyNameProvider 
			 Data 
			 DataContentHandler 
			 DataContentHandlerFactory 
			 DataHandler 
			 DatatypeConverter 
			 DatatypeConverterInterface 
			 DateFormatProvider 
			 DateFormatSymbolsProvider 
			 DecimalFormatSymbolsProvider 
			 DeclaredType 
			 DefaultRowSorter 
			 DefaultValidationEventHandler 
			 DeflaterInputStream 
			 Deque 
			 DescriptorKey 
			 DescriptorRead 
			 Desktop 
			 Detail 
			 DetailEntry 
			 Diagnostic 
			 DiagnosticCollector 
			 DiagnosticListener 
			 DigestMethod 
			 DigestMethodParameterSpec 
			 Dispatch 
			 DOMCryptoContext 
			 DomHandler 
			 DOMSignContext 
			 DOMStructure 
			 DOMURIReference 
			 DOMValidateContext 
			 DropMode 
			 ElementFilter 
			 ElementKind 
			 ElementKindVisitor6 
			 Elements 
			 ElementScanner6 
			 ElementVisitor 
			 EndDocument 
			 EndElement 
			 Endpoint 
			 EntityDeclaration 
			 ErrorType 
			 EventException 
			 EventFilter 
			 EventReaderDelegate 
			 EventTarget 
			 ExcC14NParameterSpec 
			 ExecutableElement 
			 ExecutableType 
			 FileDataSource 
			 FileNameExtensionFilter 
			 FileObject 
			 Filer 
			 FilerException 
			 FileTypeMap 
			 ForwardingFileObject 
			 ForwardingJavaFileManager 
			 ForwardingJavaFileObject 
			 Generated 
			 GridBagLayoutInfo 
			 GroupLayout 
			 HandlerChain 
			 HandlerResolver 
			 HexBinaryAdapter 
			 HMACParameterSpec 
			 Holder 
			 HTTPBinding 
			 HttpCookie 
			 HTTPException 
			 IDN 
			 ImmutableDescriptor 
			 InflaterOutputStream 
			 InitParam 
			 InterfaceAddress 
			 Invocable 
			 IOError 
			 JavaCompiler 
			 JavaFileManager 
			 JavaFileObject 
			 JAXBContext 
			 JAXBElement 
			 JAXBException 
			 JAXBIntrospector 
			 JAXBResult 
			 JAXBSource 
			 JMX 
			 JMXAddressable 
			 KeyInfo 
			 KeyInfoFactory 
			 KeyName 
			 KeySelector 
			 KeySelectorException 
			 KeySelectorResult 
			 KeyValue 
			 LayoutPath 
			 LayoutStyle 
			 LinearGradientPaint 
			 LinkedBlockingDeque 
			 LocaleNameProvider 
			 LocaleServiceProvider 
			 Location 
			 LockInfo 
			 LogicalHandler 
			 LogicalMessage 
			 LogicalMessageContext 
			 MailcapCommandMap 
			 Marshaller 
			 MessageContext 
			 MessageFactory 
			 Messager 
			 MimeHeader 
			 MimeHeaders 
			 MimeType 
			 MimeTypeParameterList 
			 MimetypesFileTypeMap 
			 MirroredTypeException 
			 MirroredTypesException 
			 MLetContent 
			 MonitorInfo 
			 MultipleGradientPaint 
			 MutationEvent 
			 MXBean 
			 Namespace 
			 NavigableMap 
			 NavigableSet 
			 NClob 
			 NestingKind 
			 NodeSetData 
			 NormalizedStringAdapter 
			 Normalizer 
			 NoSuchMechanismException 
			 NotationDeclaration 
			 NotIdentifiableEvent 
			 NotIdentifiableEventImpl 
			 NoType 
			 NullType 
			 NumberFormatProvider 
			 OctetStreamData 
			 Oneway 
			 OptionChecker 
			 PackageElement 
			 ParseConversionEvent 
			 ParseConversionEventImpl 
			 Path2D 
			 PGPData 
			 PolicySpi 
			 PortInfo 
			 PostConstruct 
			 PreDestroy 
			 PrimitiveType 
			 PrintConversionEvent 
			 PrintConversionEventImpl 
			 ProcessingEnvironment 
			 Processor 
			 PropertyException 
			 RadialGradientPaint 
			 ReferenceType 
			 RequestWrapper 
			 Resource 
			 Resources 
			 Response 
			 ResponseWrapper 
			 RetrievalMethod 
			 RoundEnvironment 
			 RowFilter 
			 RowId 
			 RowIdLifetime 
			 RowSorter 
			 RowSorterEvent 
			 RowSorterListener 
			 RunnableFuture 
			 RunnableScheduledFuture 
			 SAAJMetaFactory 
			 SAAJResult 
			 SchemaOutputResolver 
			 ScriptContext 
			 ScriptEngine 
			 ScriptEngineFactory 
			 ScriptEngineManager 
			 ScriptException 
			 Service 
			 ServiceConfigurationError 
			 ServiceDelegate 
			 ServiceLoader 
			 ServiceMode 
			 SignatureMethod 
			 SignatureMethodParameterSpec 
			 SignatureProperties 
			 SignatureProperty 
			 SignedInfo 
			 SimpleAnnotationValueVisitor6 
			 SimpleBindings 
			 SimpleElementVisitor6 
			 SimpleJavaFileObject 
			 SimpleScriptContext 
			 SimpleTypeVisitor6 
			 SOAPBinding 
			 SOAPBinding 
			 SOAPBody 
			 SOAPBodyElement 
			 SOAPConnection 
			 SOAPConnectionFactory 
			 SOAPConstants 
			 SOAPElement 
			 SOAPElementFactory 
			 SOAPEnvelope 
			 SOAPException 
			 SOAPFactory 
			 SOAPFault 
			 SOAPFaultElement 
			 SOAPFaultException 
			 SOAPHandler 
			 SOAPHeader 
			 SOAPHeaderElement 
			 SOAPMessage 
			 SOAPMessageContext 
			 SOAPMessageHandler 
			 SOAPMessageHandlers 
			 SOAPPart 
			 SortOrder 
			 SourceVersion 
			 SplashScreen 
			 SQLClientInfoException 
			 SQLDataException 
			 SQLFeatureNotSupportedException 
			 SQLIntegrityConstraintViolationException 
			 SQLInvalidAuthorizationSpecException 
			 SQLNonTransientConnectionException 
			 SQLNonTransientException 
			 SQLRecoverableException 
			 SQLSyntaxErrorException 
			 SQLTimeoutException 
			 SQLTransactionRollbackException 
			 SQLTransientConnectionException 
			 SQLTransientException 
			 SQLXML 
			 SSLParameters 
			 StandardEmitterMBean 
			 StandardJavaFileManager 
			 StandardLocation 
			 StartDocument 
			 StartElement 
			 StatementEvent 
			 StatementEventListener 
			 StAXResult 
			 StAXSource 
			 StreamFilter 
			 StreamReaderDelegate 
			 SupportedAnnotationTypes 
			 SupportedOptions 
			 SupportedSourceVersion 
			 SwingWorker 
			 SystemTray 
			 TableRowSorter 
			 TableStringConverter 
			 TimeZoneNameProvider 
			 Tool 
			 ToolProvider 
			 Transform 
			 TransformException 
			 TransformParameterSpec 
			 TransformService 
			 TrayIcon 
			 TypeConstraintException 
			 TypeElement 
			 TypeKind 
			 TypeKindVisitor6 
			 TypeMirror 
			 TypeParameterElement 
			 TypeVisitor 
			 UIEvent 
			 UnknownAnnotationValueException 
			 UnknownElementException 
			 UnknownTypeException 
			 Unmarshaller 
			 UnmarshallerHandler 
			 UnsupportedDataTypeException 
			 URIDereferencer 
			 URIParameter 
			 URIReference 
			 URIReferenceException 
			 URLDataSource 
			 ValidationEvent 
			 ValidationEventCollector 
			 ValidationEventHandler 
			 ValidationEventImpl 
			 ValidationEventLocator 
			 ValidationEventLocatorImpl 
			 ValidationException 
			 VariableElement 
			 W3CDomHandler 
			 WebEndpoint 
			 WebFault 
			 WebMethod 
			 WebParam 
			 WebResult 
			 WebService 
			 WebServiceClient 
			 WebServiceContext 
			 WebServiceException 
			 WebServicePermission 
			 WebServiceProvider 
			 WebServiceRef 
			 WebServiceRefs 
			 Wrapper 
			 X509Data 
			 X509IssuerSerial 
			 XmlAccessOrder 
			 XmlAccessorOrder 
			 XmlAccessorType 
			 XmlAccessType 
			 XmlAdapter 
			 XmlAnyAttribute 
			 XmlAnyElement 
			 XmlAttachmentRef 
			 XmlAttribute 
			 XMLCryptoContext 
			 XmlElement 
			 XmlElementDecl 
			 XmlElementRef 
			 XmlElementRefs 
			 XmlElements 
			 XmlElementWrapper 
			 XmlEnum 
			 XmlEnumValue 
			 XMLEvent 
			 XMLEventAllocator 
			 XMLEventConsumer 
			 XMLEventFactory 
			 XMLEventReader 
			 XMLEventWriter 
			 XmlID 
			 XmlIDREF 
			 XmlInlineBinaryData 
			 XMLInputFactory 
			 XmlJavaTypeAdapter 
			 XmlJavaTypeAdapters 
			 XmlList 
			 XmlMimeType 
			 XmlMixed 
			 XmlNs 
			 XmlNsForm 
			 XMLObject 
			 XMLOutputFactory 
			 XmlRegistry 
			 XMLReporter 
			 XMLResolver 
			 XmlRootElement 
			 XmlSchema 
			 XmlSchemaType 
			 XmlSchemaTypes 
			 XMLSignature 
			 XMLSignatureException 
			 XMLSignatureFactory 
			 XMLSignContext 
			 XMLStreamConstants 
			 XMLStreamException 
			 XMLStreamReader 
			 XMLStreamWriter 
			 XMLStructure 
			 XmlTransient 
			 XmlType 
			 XMLValidateContext 
			 XmlValue 
			 XPathFilter2ParameterSpec 
			 XPathFilterParameterSpec 
			 XPathType 
			 XSLTTransformParameterSpec 
			 ZipError 
			

		
		
			 abstract 
			 break 
			 case 
			 catch 
			 class 
			 continue 
			 default 
			 do 
			 else 
			 enum 
			 extends 
			 false 
			 finally 
			 for 
			 goto 
			 if 
			 implements 
			 instanceof 
			 @interface 
			 interface 
			 native 
			 new 
			 null 
			 private 
			 protected 
			 public 
			 return 
			 super 
			 strictfp 
			 switch 
			 synchronized 
			 this 
			 throws 
			 throw 
			 transient 
			 true 
			 try 
			 volatile 
			 while 
		
		
			 boolean 
			 byte 
			 char 
			 const 
			 double 
			 final 
			 float 
			 int 
			 long 
			 short 
			 static 
			 void 
		
		
			
				
				
				
				
				
				
					
				
				
				
				
					
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
			
				
				
			
			
				
				
				
				
			
			
				
				
			
			
				
				
			
			
				
				
				
				
				
				
			
			
				
			
			
				
			
			
				
			
			
			
				
			
		
		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
		
	
	
		
			
			
		
		
	

highlighting-kate-0.6.1/xml/javadoc.xml0000644000000000000000000001673412633103275016241 0ustar0000000000000000


	
		
			
				
			
			
				
				
			
			
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
			
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
			
				
				
				
			
			
				
				
				
			
			
				
				
			
			
				
				
			
		
		
			
			
			
			
			
			
			
		
	
	
		
	

highlighting-kate-0.6.1/xml/javascript.xml0000644000000000000000000003020012633103275016760 0ustar0000000000000000





  
    
       break 
       case 
       catch 
       continue 
       debugger 
       do 
       else 
       finally 
       for 
       if 
       return 
       switch 
       throw 
       try 
       while 
       with 
    
    
       const 
       delete 
       function 
       in 
       instanceof 
       new 
       this 
       typeof 
       var 
       void 
    
    
       class 
       enum 
       extends 
       super 

      
       implements 
       interface 
       let 
       private 
       protected 
       public 
       static 
       yield 
    
    
       import 
       from 
       as 
       default 
       export 
       package 
    
    
       Infinity 
       NaN 
       false 
       null 
       true 
       undefined 
    
    

      
      
      
        
      

      
        
        
        

        
        
        
        
        

        
        
        
        
        

        
        

        
        
        
        
        
        
        

        
        

        
        
        

        

        
        

        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
      

      
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
      
      
        
        
        
      

      
        
        
        
        
      
      
        
      
      
          
          
      

      
        
        
      
      
        
        
        
      

      
        
        
        
        
        
        
        
        
      
      
        
        
        
      
      
        
      
      
        
      

      
        
        
      
    
    
      
      
      
      
      
      
      
      

      
      
      
      
      
      
      
      

      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  



highlighting-kate-0.6.1/xml/json.xml0000644000000000000000000001265112633103275015575 0ustar0000000000000000



  
    
      null
      true
      false
    

    
      
        
        

        
      

      
        
        
        
        

        
      

      
        
        
      

      
        
        
        
        
        

        

        

        
        
      

      
        
        
      

      
        
        

        
        
        

        

        

        
        
      
    

    
      

      
      

      
      
      
      
      
      

      

      
    
  



highlighting-kate-0.6.1/xml/jsp.xml0000644000000000000000000035206112633103275015422 0ustar0000000000000000


  

    
       ARG_IN 
       ARG_INOUT 
       ARG_OUT 
       AWTError 
       AWTEvent 
       AWTEventListener 
       AWTEventListenerProxy 
       AWTEventMulticaster 
       AWTException 
       AWTKeyStroke 
       AWTPermission 
       AbstractAction 
       AbstractBorder 
       AbstractButton 
       AbstractCellEditor 
       AbstractCollection 
       AbstractColorChooserPanel 
       AbstractDocument 
       AbstractFormatter 
       AbstractFormatterFactory 
       AbstractInterruptibleChannel 
       AbstractLayoutCache 
       AbstractList 
       AbstractListModel 
       AbstractMap 
       AbstractMethodError 
       AbstractPreferences 
       AbstractSelectableChannel 
       AbstractSelectionKey 
       AbstractSelector 
       AbstractSequentialList 
       AbstractSet 
       AbstractSpinnerModel 
       AbstractTableModel 
       AbstractUndoableEdit 
       AbstractWriter 
       AccessControlContext 
       AccessControlException 
       AccessController 
       AccessException 
       Accessible 
       AccessibleAction 
       AccessibleBundle 
       AccessibleComponent 
       AccessibleContext 
       AccessibleEditableText 
       AccessibleExtendedComponent 
       AccessibleExtendedTable 
       AccessibleHyperlink 
       AccessibleHypertext 
       AccessibleIcon 
       AccessibleKeyBinding 
       AccessibleObject 
       AccessibleRelation 
       AccessibleRelationSet 
       AccessibleResourceBundle 
       AccessibleRole 
       AccessibleSelection 
       AccessibleState 
       AccessibleStateSet 
       AccessibleTable 
       AccessibleTableModelChange 
       AccessibleText 
       AccessibleValue 
       AccountExpiredException 
       Acl 
       AclEntry 
       AclNotFoundException 
       Action 
       ActionEvent 
       ActionListener 
       ActionMap 
       ActionMapUIResource 
       Activatable 
       ActivateFailedException 
       ActivationDesc 
       ActivationException 
       ActivationGroup 
       ActivationGroupDesc 
       ActivationGroupID 
       ActivationGroup_Stub 
       ActivationID 
       ActivationInstantiator 
       ActivationMonitor 
       ActivationSystem 
       Activator 
       ActiveEvent 
       ActiveValue 
       AdapterActivator 
       AdapterActivatorOperations 
       AdapterAlreadyExists 
       AdapterAlreadyExistsHelper 
       AdapterInactive 
       AdapterInactiveHelper 
       AdapterNonExistent 
       AdapterNonExistentHelper 
       AddressHelper 
       Adjustable 
       AdjustmentEvent 
       AdjustmentListener 
       Adler32 
       AffineTransform 
       AffineTransformOp 
       AlgorithmParameterGenerator 
       AlgorithmParameterGeneratorSpi 
       AlgorithmParameterSpec 
       AlgorithmParameters 
       AlgorithmParametersSpi 
       AlignmentAction 
       AllPermission 
       AlphaComposite 
       AlreadyBound 
       AlreadyBoundException 
       AlreadyBoundHelper 
       AlreadyBoundHolder 
       AlreadyConnectedException 
       AncestorEvent 
       AncestorListener 
       Annotation 
       Any 
       AnyHolder 
       AnySeqHelper 
       AnySeqHelper 
       AnySeqHolder 
       AppConfigurationEntry 
       Applet 
       AppletContext 
       AppletInitializer 
       AppletStub 
       ApplicationException 
       Arc2D 
       Area 
       AreaAveragingScaleFilter 
       ArithmeticException 
       Array 
       Array 
       ArrayIndexOutOfBoundsException 
       ArrayList 
       ArrayStoreException 
       Arrays 
       AssertionError 
       AsyncBoxView 
       AsynchronousCloseException 
       Attr 
       Attribute 
       Attribute 
       Attribute 
       Attribute 
       Attribute 
       AttributeContext 
       AttributeException 
       AttributeInUseException 
       AttributeList 
       AttributeList 
       AttributeListImpl 
       AttributeModificationException 
       AttributeSet 
       AttributeSet 
       AttributeSetUtilities 
       AttributeUndoableEdit 
       AttributedCharacterIterator 
       AttributedString 
       Attributes 
       Attributes 
       Attributes 
       AttributesImpl 
       AudioClip 
       AudioFileFormat 
       AudioFileReader 
       AudioFileWriter 
       AudioFormat 
       AudioInputStream 
       AudioPermission 
       AudioSystem 
       AuthPermission 
       AuthenticationException 
       AuthenticationNotSupportedException 
       Authenticator 
       Autoscroll 
       BAD_CONTEXT 
       BAD_INV_ORDER 
       BAD_OPERATION 
       BAD_PARAM 
       BAD_POLICY 
       BAD_POLICY_TYPE 
       BAD_POLICY_VALUE 
       BAD_TYPECODE 
       BCSIterator 
       BCSSServiceProvider 
       BYTE_ARRAY 
       BackingStoreException 
       BadKind 
       BadLocationException 
       BadPaddingException 
       BandCombineOp 
       BandedSampleModel 
       BasicArrowButton 
       BasicAttribute 
       BasicAttributes 
       BasicBorders 
       BasicButtonListener 
       BasicButtonUI 
       BasicCaret 
       BasicCheckBoxMenuItemUI 
       BasicCheckBoxUI 
       BasicColorChooserUI 
       BasicComboBoxEditor 
       BasicComboBoxRenderer 
       BasicComboBoxUI 
       BasicComboPopup 
       BasicDesktopIconUI 
       BasicDesktopPaneUI 
       BasicDirectoryModel 
       BasicEditorPaneUI 
       BasicFileChooserUI 
       BasicFormattedTextFieldUI 
       BasicGraphicsUtils 
       BasicHTML 
       BasicHighlighter 
       BasicIconFactory 
       BasicInternalFrameTitlePane 
       BasicInternalFrameUI 
       BasicLabelUI 
       BasicListUI 
       BasicLookAndFeel 
       BasicMenuBarUI 
       BasicMenuItemUI 
       BasicMenuUI 
       BasicOptionPaneUI 
       BasicPanelUI 
       BasicPasswordFieldUI 
       BasicPermission 
       BasicPopupMenuSeparatorUI 
       BasicPopupMenuUI 
       BasicProgressBarUI 
       BasicRadioButtonMenuItemUI 
       BasicRadioButtonUI 
       BasicRootPaneUI 
       BasicScrollBarUI 
       BasicScrollPaneUI 
       BasicSeparatorUI 
       BasicSliderUI 
       BasicSpinnerUI 
       BasicSplitPaneDivider 
       BasicSplitPaneUI 
       BasicStroke 
       BasicTabbedPaneUI 
       BasicTableHeaderUI 
       BasicTableUI 
       BasicTextAreaUI 
       BasicTextFieldUI 
       BasicTextPaneUI 
       BasicTextUI 
       BasicToggleButtonUI 
       BasicToolBarSeparatorUI 
       BasicToolBarUI 
       BasicToolTipUI 
       BasicTreeUI 
       BasicViewportUI 
       BatchUpdateException 
       BeanContext 
       BeanContextChild 
       BeanContextChildComponentProxy 
       BeanContextChildSupport 
       BeanContextContainerProxy 
       BeanContextEvent 
       BeanContextMembershipEvent 
       BeanContextMembershipListener 
       BeanContextProxy 
       BeanContextServiceAvailableEvent 
       BeanContextServiceProvider 
       BeanContextServiceProviderBeanInfo 
       BeanContextServiceRevokedEvent 
       BeanContextServiceRevokedListener 
       BeanContextServices 
       BeanContextServicesListener 
       BeanContextServicesSupport 
       BeanContextSupport 
       BeanDescriptor 
       BeanInfo 
       Beans 
       BeepAction 
       BevelBorder 
       BevelBorderUIResource 
       Bias 
       Bidi 
       BigDecimal 
       BigInteger 
       BinaryRefAddr 
       BindException 
       Binding 
       Binding 
       BindingHelper 
       BindingHolder 
       BindingIterator 
       BindingIteratorHelper 
       BindingIteratorHolder 
       BindingIteratorOperations 
       BindingIteratorPOA 
       BindingListHelper 
       BindingListHolder 
       BindingType 
       BindingTypeHelper 
       BindingTypeHolder 
       BitSet 
       Blob 
       BlockView 
       BoldAction 
       Book 
       Boolean 
       BooleanControl 
       BooleanHolder 
       BooleanSeqHelper 
       BooleanSeqHolder 
       Border 
       BorderFactory 
       BorderLayout 
       BorderUIResource 
       BoundedRangeModel 
       Bounds 
       Bounds 
       Box 
       BoxLayout 
       BoxPainter 
       BoxView 
       BoxedValueHelper 
       BreakIterator 
       Buffer 
       BufferCapabilities 
       BufferOverflowException 
       BufferStrategy 
       BufferUnderflowException 
       BufferedImage 
       BufferedImageFilter 
       BufferedImageOp 
       BufferedInputStream 
       BufferedOutputStream 
       BufferedReader 
       BufferedWriter 
       Button 
       ButtonAreaLayout 
       ButtonBorder 
       ButtonBorder 
       ButtonGroup 
       ButtonModel 
       ButtonUI 
       Byte 
       ByteArrayInputStream 
       ByteArrayOutputStream 
       ByteBuffer 
       ByteChannel 
       ByteHolder 
       ByteLookupTable 
       ByteOrder 
       CDATASection 
       CHAR_ARRAY 
       CMMException 
       COMM_FAILURE 
       CRC32 
       CRL 
       CRLException 
       CRLSelector 
       CSS 
       CTX_RESTRICT_SCOPE 
       Calendar 
       CallableStatement 
       Callback 
       CallbackHandler 
       CancelablePrintJob 
       CancelledKeyException 
       CannotProceed 
       CannotProceedException 
       CannotProceedHelper 
       CannotProceedHolder 
       CannotRedoException 
       CannotUndoException 
       Canvas 
       CardLayout 
       Caret 
       CaretEvent 
       CaretListener 
       CaretPolicy 
       CellEditor 
       CellEditorListener 
       CellRendererPane 
       CertPath 
       CertPathBuilder 
       CertPathBuilderException 
       CertPathBuilderResult 
       CertPathBuilderSpi 
       CertPathParameters 
       CertPathRep 
       CertPathValidator 
       CertPathValidatorException 
       CertPathValidatorResult 
       CertPathValidatorSpi 
       CertSelector 
       CertStore 
       CertStoreException 
       CertStoreParameters 
       CertStoreSpi 
       Certificate 
       Certificate 
       Certificate 
       CertificateEncodingException 
       CertificateEncodingException 
       CertificateException 
       CertificateException 
       CertificateExpiredException 
       CertificateExpiredException 
       CertificateFactory 
       CertificateFactorySpi 
       CertificateNotYetValidException 
       CertificateNotYetValidException 
       CertificateParsingException 
       CertificateParsingException 
       CertificateRep 
       ChangeEvent 
       ChangeListener 
       ChangedCharSetException 
       Channel 
       ChannelBinding 
       Channels 
       CharArrayReader 
       CharArrayWriter 
       CharBuffer 
       CharConversionException 
       CharHolder 
       CharSeqHelper 
       CharSeqHolder 
       CharSequence 
       Character 
       CharacterAttribute 
       CharacterCodingException 
       CharacterConstants 
       CharacterData 
       CharacterIterator 
       Charset 
       CharsetDecoder 
       CharsetEncoder 
       CharsetProvider 
       Checkbox 
       CheckboxGroup 
       CheckboxMenuItem 
       CheckedInputStream 
       CheckedOutputStream 
       Checksum 
       Choice 
       ChoiceCallback 
       ChoiceFormat 
       Chromaticity 
       Cipher 
       CipherInputStream 
       CipherOutputStream 
       CipherSpi 
       Class 
       ClassCastException 
       ClassCircularityError 
       ClassDesc 
       ClassFormatError 
       ClassLoader 
       ClassNotFoundException 
       ClientRequestInfo 
       ClientRequestInfoOperations 
       ClientRequestInterceptor 
       ClientRequestInterceptorOperations 
       Clip 
       Clipboard 
       ClipboardOwner 
       Clob 
       CloneNotSupportedException 
       Cloneable 
       ClosedByInterruptException 
       ClosedChannelException 
       ClosedSelectorException 
       CodeSets 
       CodeSource 
       Codec 
       CodecFactory 
       CodecFactoryHelper 
       CodecFactoryOperations 
       CodecOperations 
       CoderMalfunctionError 
       CoderResult 
       CodingErrorAction 
       CollationElementIterator 
       CollationKey 
       Collator 
       Collection 
       CollectionCertStoreParameters 
       Collections 
       Color 
       ColorAttribute 
       ColorChooserComponentFactory 
       ColorChooserUI 
       ColorConstants 
       ColorConvertOp 
       ColorModel 
       ColorSelectionModel 
       ColorSpace 
       ColorSupported 
       ColorType 
       ColorUIResource 
       ComboBoxEditor 
       ComboBoxModel 
       ComboBoxUI 
       ComboPopup 
       CommandEnvironment 
       Comment 
       CommunicationException 
       Comparable 
       Comparator 
       Compiler 
       CompletionStatus 
       CompletionStatusHelper 
       Component 
       ComponentAdapter 
       ComponentColorModel 
       ComponentEvent 
       ComponentIdHelper 
       ComponentInputMap 
       ComponentInputMapUIResource 
       ComponentListener 
       ComponentOrientation 
       ComponentSampleModel 
       ComponentUI 
       ComponentView 
       Composite 
       CompositeContext 
       CompositeName 
       CompositeView 
       CompoundBorder 
       CompoundBorderUIResource 
       CompoundControl 
       CompoundEdit 
       CompoundName 
       Compression 
       ConcurrentModificationException 
       Configuration 
       ConfigurationException 
       ConfirmationCallback 
       ConnectException 
       ConnectException 
       ConnectIOException 
       Connection 
       ConnectionEvent 
       ConnectionEventListener 
       ConnectionPendingException 
       ConnectionPoolDataSource 
       ConsoleHandler 
       Constraints 
       Constructor 
       Container 
       ContainerAdapter 
       ContainerEvent 
       ContainerListener 
       ContainerOrderFocusTraversalPolicy 
       Content 
       ContentHandler 
       ContentHandler 
       ContentHandlerFactory 
       ContentModel 
       Context 
       Context 
       ContextList 
       ContextNotEmptyException 
       ContextualRenderedImageFactory 
       Control 
       Control 
       ControlFactory 
       ControllerEventListener 
       ConvolveOp 
       CookieHolder 
       Copies 
       CopiesSupported 
       CopyAction 
       CredentialExpiredException 
       CropImageFilter 
       CubicCurve2D 
       Currency 
       Current 
       Current 
       Current 
       CurrentHelper 
       CurrentHelper 
       CurrentHelper 
       CurrentHolder 
       CurrentOperations 
       CurrentOperations 
       CurrentOperations 
       Cursor 
       CustomMarshal 
       CustomValue 
       Customizer 
       CutAction 
       DATA_CONVERSION 
       DESKeySpec 
       DESedeKeySpec 
       DGC 
       DHGenParameterSpec 
       DHKey 
       DHParameterSpec 
       DHPrivateKey 
       DHPrivateKeySpec 
       DHPublicKey 
       DHPublicKeySpec 
       DOMException 
       DOMImplementation 
       DOMLocator 
       DOMResult 
       DOMSource 
       DSAKey 
       DSAKeyPairGenerator 
       DSAParameterSpec 
       DSAParams 
       DSAPrivateKey 
       DSAPrivateKeySpec 
       DSAPublicKey 
       DSAPublicKeySpec 
       DTD 
       DTDConstants 
       DTDHandler 
       DataBuffer 
       DataBufferByte 
       DataBufferDouble 
       DataBufferFloat 
       DataBufferInt 
       DataBufferShort 
       DataBufferUShort 
       DataFlavor 
       DataFormatException 
       DataInput 
       DataInputStream 
       DataInputStream 
       DataLine 
       DataOutput 
       DataOutputStream 
       DataOutputStream 
       DataSource 
       DataTruncation 
       DatabaseMetaData 
       DatagramChannel 
       DatagramPacket 
       DatagramSocket 
       DatagramSocketImpl 
       DatagramSocketImplFactory 
       Date 
       Date 
       DateEditor 
       DateFormat 
       DateFormatSymbols 
       DateFormatter 
       DateTimeAtCompleted 
       DateTimeAtCreation 
       DateTimeAtProcessing 
       DateTimeSyntax 
       DebugGraphics 
       DecimalFormat 
       DecimalFormatSymbols 
       DeclHandler 
       DefaultBoundedRangeModel 
       DefaultButtonModel 
       DefaultCaret 
       DefaultCellEditor 
       DefaultColorSelectionModel 
       DefaultComboBoxModel 
       DefaultDesktopManager 
       DefaultEditor 
       DefaultEditorKit 
       DefaultFocusManager 
       DefaultFocusTraversalPolicy 
       DefaultFormatter 
       DefaultFormatterFactory 
       DefaultHandler 
       DefaultHighlightPainter 
       DefaultHighlighter 
       DefaultKeyTypedAction 
       DefaultKeyboardFocusManager 
       DefaultListCellRenderer 
       DefaultListModel 
       DefaultListSelectionModel 
       DefaultMenuLayout 
       DefaultMetalTheme 
       DefaultMutableTreeNode 
       DefaultPersistenceDelegate 
       DefaultSelectionType 
       DefaultSingleSelectionModel 
       DefaultStyledDocument 
       DefaultTableCellRenderer 
       DefaultTableColumnModel 
       DefaultTableModel 
       DefaultTextUI 
       DefaultTreeCellEditor 
       DefaultTreeCellRenderer 
       DefaultTreeModel 
       DefaultTreeSelectionModel 
       DefinitionKind 
       DefinitionKindHelper 
       Deflater 
       DeflaterOutputStream 
       Delegate 
       Delegate 
       Delegate 
       DelegationPermission 
       DesignMode 
       DesktopIconUI 
       DesktopManager 
       DesktopPaneUI 
       Destination 
       DestinationType 
       DestroyFailedException 
       Destroyable 
       Dialog 
       DialogType 
       Dictionary 
       DigestException 
       DigestInputStream 
       DigestOutputStream 
       Dimension 
       Dimension2D 
       DimensionUIResource 
       DirContext 
       DirObjectFactory 
       DirStateFactory 
       DirectColorModel 
       DirectoryManager 
       DisplayMode 
       DnDConstants 
       Doc 
       DocAttribute 
       DocAttributeSet 
       DocFlavor 
       DocPrintJob 
       Document 
       Document 
       DocumentBuilder 
       DocumentBuilderFactory 
       DocumentEvent 
       DocumentFilter 
       DocumentFragment 
       DocumentHandler 
       DocumentListener 
       DocumentName 
       DocumentParser 
       DocumentType 
       DomainCombiner 
       DomainManager 
       DomainManagerOperations 
       Double 
       Double 
       Double 
       Double 
       Double 
       Double 
       Double 
       Double 
       Double 
       DoubleBuffer 
       DoubleHolder 
       DoubleSeqHelper 
       DoubleSeqHolder 
       DragGestureEvent 
       DragGestureListener 
       DragGestureRecognizer 
       DragSource 
       DragSourceAdapter 
       DragSourceContext 
       DragSourceDragEvent 
       DragSourceDropEvent 
       DragSourceEvent 
       DragSourceListener 
       DragSourceMotionListener 
       Driver 
       DriverManager 
       DriverPropertyInfo 
       DropTarget 
       DropTargetAdapter 
       DropTargetAutoScroller 
       DropTargetContext 
       DropTargetDragEvent 
       DropTargetDropEvent 
       DropTargetEvent 
       DropTargetListener 
       DuplicateName 
       DuplicateNameHelper 
       DynAny 
       DynAny 
       DynAnyFactory 
       DynAnyFactoryHelper 
       DynAnyFactoryOperations 
       DynAnyHelper 
       DynAnyOperations 
       DynAnySeqHelper 
       DynArray 
       DynArray 
       DynArrayHelper 
       DynArrayOperations 
       DynEnum 
       DynEnum 
       DynEnumHelper 
       DynEnumOperations 
       DynFixed 
       DynFixed 
       DynFixedHelper 
       DynFixedOperations 
       DynSequence 
       DynSequence 
       DynSequenceHelper 
       DynSequenceOperations 
       DynStruct 
       DynStruct 
       DynStructHelper 
       DynStructOperations 
       DynUnion 
       DynUnion 
       DynUnionHelper 
       DynUnionOperations 
       DynValue 
       DynValue 
       DynValueBox 
       DynValueBoxOperations 
       DynValueCommon 
       DynValueCommonOperations 
       DynValueHelper 
       DynValueOperations 
       DynamicImplementation 
       DynamicImplementation 
       DynamicUtilTreeNode 
       ENCODING_CDR_ENCAPS 
       EOFException 
       EditorKit 
       Element 
       Element 
       Element 
       ElementChange 
       ElementEdit 
       ElementIterator 
       ElementSpec 
       Ellipse2D 
       EmptyBorder 
       EmptyBorderUIResource 
       EmptySelectionModel 
       EmptyStackException 
       EncodedKeySpec 
       Encoder 
       Encoding 
       Encoding 
       EncryptedPrivateKeyInfo 
       Engineering 
       Entity 
       Entity 
       EntityReference 
       EntityResolver 
       Entry 
       EnumControl 
       EnumSyntax 
       Enumeration 
       Environment 
       Error 
       ErrorHandler 
       ErrorListener 
       ErrorManager 
       EtchedBorder 
       EtchedBorderUIResource 
       Event 
       EventContext 
       EventDirContext 
       EventHandler 
       EventListener 
       EventListenerList 
       EventListenerProxy 
       EventObject 
       EventQueue 
       EventSetDescriptor 
       EventType 
       EventType 
       Exception 
       ExceptionInInitializerError 
       ExceptionList 
       ExceptionListener 
       ExemptionMechanism 
       ExemptionMechanismException 
       ExemptionMechanismSpi 
       ExpandVetoException 
       ExportException 
       Expression 
       ExtendedRequest 
       ExtendedResponse 
       Externalizable 
       FREE_MEM 
       FactoryConfigurationError 
       FailedLoginException 
       FeatureDescriptor 
       Fidelity 
       Field 
       Field 
       Field 
       Field 
       Field 
       FieldBorder 
       FieldNameHelper 
       FieldNameHelper 
       FieldPosition 
       FieldView 
       File 
       FileCacheImageInputStream 
       FileCacheImageOutputStream 
       FileChannel 
       FileChooserUI 
       FileDescriptor 
       FileDialog 
       FileFilter 
       FileFilter 
       FileHandler 
       FileIcon16 
       FileImageInputStream 
       FileImageOutputStream 
       FileInputStream 
       FileLock 
       FileLockInterruptionException 
       FileNameMap 
       FileNotFoundException 
       FileOutputStream 
       FilePermission 
       FileReader 
       FileSystemView 
       FileView 
       FileWriter 
       FilenameFilter 
       Filler 
       Filter 
       Filter 
       FilterBypass 
       FilterBypass 
       FilterInputStream 
       FilterOutputStream 
       FilterReader 
       FilterWriter 
       FilteredImageSource 
       Finishings 
       FixedHeightLayoutCache 
       FixedHolder 
       FlatteningPathIterator 
       FlavorException 
       FlavorMap 
       FlavorTable 
       FlipContents 
       Float 
       Float 
       Float 
       Float 
       Float 
       Float 
       Float 
       Float 
       Float 
       FloatBuffer 
       FloatControl 
       FloatHolder 
       FloatSeqHelper 
       FloatSeqHolder 
       FlowLayout 
       FlowStrategy 
       FlowView 
       Flush3DBorder 
       FocusAdapter 
       FocusEvent 
       FocusListener 
       FocusManager 
       FocusTraversalPolicy 
       FolderIcon16 
       Font 
       FontAttribute 
       FontConstants 
       FontFamilyAction 
       FontFormatException 
       FontMetrics 
       FontRenderContext 
       FontSizeAction 
       FontUIResource 
       ForegroundAction 
       FormView 
       Format 
       FormatConversionProvider 
       FormatMismatch 
       FormatMismatchHelper 
       Formatter 
       ForwardRequest 
       ForwardRequest 
       ForwardRequestHelper 
       ForwardRequestHelper 
       Frame 
       GSSContext 
       GSSCredential 
       GSSException 
       GSSManager 
       GSSName 
       GZIPInputStream 
       GZIPOutputStream 
       GapContent 
       GatheringByteChannel 
       GeneralPath 
       GeneralSecurityException 
       GetField 
       GlyphJustificationInfo 
       GlyphMetrics 
       GlyphPainter 
       GlyphVector 
       GlyphView 
       GradientPaint 
       GraphicAttribute 
       Graphics 
       Graphics2D 
       GraphicsConfigTemplate 
       GraphicsConfiguration 
       GraphicsDevice 
       GraphicsEnvironment 
       GrayFilter 
       GregorianCalendar 
       GridBagConstraints 
       GridBagLayout 
       GridLayout 
       Group 
       Guard 
       GuardedObject 
       HTML 
       HTMLDocument 
       HTMLEditorKit 
       HTMLEditorKit 
       HTMLEditorKit 
       HTMLFrameHyperlinkEvent 
       HTMLWriter 
       Handler 
       HandlerBase 
       HandshakeCompletedEvent 
       HandshakeCompletedListener 
       HasControls 
       HashAttributeSet 
       HashDocAttributeSet 
       HashMap 
       HashPrintJobAttributeSet 
       HashPrintRequestAttributeSet 
       HashPrintServiceAttributeSet 
       HashSet 
       Hashtable 
       HeadlessException 
       HierarchyBoundsAdapter 
       HierarchyBoundsListener 
       HierarchyEvent 
       HierarchyListener 
       Highlight 
       HighlightPainter 
       Highlighter 
       HostnameVerifier 
       HttpURLConnection 
       HttpsURLConnection 
       HyperlinkEvent 
       HyperlinkListener 
       ICC_ColorSpace 
       ICC_Profile 
       ICC_ProfileGray 
       ICC_ProfileRGB 
       IDLEntity 
       IDLType 
       IDLTypeHelper 
       IDLTypeOperations 
       ID_ASSIGNMENT_POLICY_ID 
       ID_UNIQUENESS_POLICY_ID 
       IIOByteBuffer 
       IIOException 
       IIOImage 
       IIOInvalidTreeException 
       IIOMetadata 
       IIOMetadataController 
       IIOMetadataFormat 
       IIOMetadataFormatImpl 
       IIOMetadataNode 
       IIOParam 
       IIOParamController 
       IIOReadProgressListener 
       IIOReadUpdateListener 
       IIOReadWarningListener 
       IIORegistry 
       IIOServiceProvider 
       IIOWriteProgressListener 
       IIOWriteWarningListener 
       IMPLICIT_ACTIVATION_POLICY_ID 
       IMP_LIMIT 
       INITIALIZE 
       INPUT_STREAM 
       INTERNAL 
       INTF_REPOS 
       INVALID_TRANSACTION 
       INV_FLAG 
       INV_IDENT 
       INV_OBJREF 
       INV_POLICY 
       IOException 
       IOR 
       IORHelper 
       IORHolder 
       IORInfo 
       IORInfoOperations 
       IORInterceptor 
       IORInterceptorOperations 
       IRObject 
       IRObjectOperations 
       ISO 
       Icon 
       IconUIResource 
       IconView 
       IdAssignmentPolicy 
       IdAssignmentPolicyOperations 
       IdAssignmentPolicyValue 
       IdUniquenessPolicy 
       IdUniquenessPolicyOperations 
       IdUniquenessPolicyValue 
       IdentifierHelper 
       Identity 
       IdentityHashMap 
       IdentityScope 
       IllegalAccessError 
       IllegalAccessException 
       IllegalArgumentException 
       IllegalBlockSizeException 
       IllegalBlockingModeException 
       IllegalCharsetNameException 
       IllegalComponentStateException 
       IllegalMonitorStateException 
       IllegalPathStateException 
       IllegalSelectorException 
       IllegalStateException 
       IllegalThreadStateException 
       Image 
       ImageCapabilities 
       ImageConsumer 
       ImageFilter 
       ImageGraphicAttribute 
       ImageIO 
       ImageIcon 
       ImageInputStream 
       ImageInputStreamImpl 
       ImageInputStreamSpi 
       ImageObserver 
       ImageOutputStream 
       ImageOutputStreamImpl 
       ImageOutputStreamSpi 
       ImageProducer 
       ImageReadParam 
       ImageReader 
       ImageReaderSpi 
       ImageReaderWriterSpi 
       ImageTranscoder 
       ImageTranscoderSpi 
       ImageTypeSpecifier 
       ImageView 
       ImageWriteParam 
       ImageWriter 
       ImageWriterSpi 
       ImagingOpException 
       ImplicitActivationPolicy 
       ImplicitActivationPolicyOperations 
       ImplicitActivationPolicyValue 
       IncompatibleClassChangeError 
       InconsistentTypeCode 
       InconsistentTypeCode 
       InconsistentTypeCodeHelper 
       IndexColorModel 
       IndexOutOfBoundsException 
       IndexedPropertyDescriptor 
       IndirectionException 
       Inet4Address 
       Inet6Address 
       InetAddress 
       InetSocketAddress 
       Inflater 
       InflaterInputStream 
       Info 
       Info 
       Info 
       Info 
       Info 
       InheritableThreadLocal 
       InitialContext 
       InitialContextFactory 
       InitialContextFactoryBuilder 
       InitialDirContext 
       InitialLdapContext 
       InlineView 
       InputContext 
       InputEvent 
       InputMap 
       InputMapUIResource 
       InputMethod 
       InputMethodContext 
       InputMethodDescriptor 
       InputMethodEvent 
       InputMethodHighlight 
       InputMethodListener 
       InputMethodRequests 
       InputSource 
       InputStream 
       InputStream 
       InputStream 
       InputStreamReader 
       InputSubset 
       InputVerifier 
       InsertBreakAction 
       InsertContentAction 
       InsertHTMLTextAction 
       InsertTabAction 
       Insets 
       InsetsUIResource 
       InstantiationError 
       InstantiationException 
       Instrument 
       InsufficientResourcesException 
       IntBuffer 
       IntHolder 
       Integer 
       IntegerSyntax 
       Interceptor 
       InterceptorOperations 
       InternalError 
       InternalFrameAdapter 
       InternalFrameBorder 
       InternalFrameEvent 
       InternalFrameFocusTraversalPolicy 
       InternalFrameListener 
       InternalFrameUI 
       InternationalFormatter 
       InterruptedException 
       InterruptedIOException 
       InterruptedNamingException 
       InterruptibleChannel 
       IntrospectionException 
       Introspector 
       Invalid 
       InvalidAddress 
       InvalidAddressHelper 
       InvalidAddressHolder 
       InvalidAlgorithmParameterException 
       InvalidAttributeIdentifierException 
       InvalidAttributeValueException 
       InvalidAttributesException 
       InvalidClassException 
       InvalidDnDOperationException 
       InvalidKeyException 
       InvalidKeySpecException 
       InvalidMarkException 
       InvalidMidiDataException 
       InvalidName 
       InvalidName 
       InvalidName 
       InvalidNameException 
       InvalidNameHelper 
       InvalidNameHelper 
       InvalidNameHolder 
       InvalidObjectException 
       InvalidParameterException 
       InvalidParameterSpecException 
       InvalidPolicy 
       InvalidPolicyHelper 
       InvalidPreferencesFormatException 
       InvalidSearchControlsException 
       InvalidSearchFilterException 
       InvalidSeq 
       InvalidSlot 
       InvalidSlotHelper 
       InvalidTransactionException 
       InvalidTypeForEncoding 
       InvalidTypeForEncodingHelper 
       InvalidValue 
       InvalidValue 
       InvalidValueHelper 
       InvocationEvent 
       InvocationHandler 
       InvocationTargetException 
       InvokeHandler 
       IstringHelper 
       ItalicAction 
       ItemEvent 
       ItemListener 
       ItemSelectable 
       Iterator 
       Iterator 
       IvParameterSpec 
       JApplet 
       JButton 
       JCheckBox 
       JCheckBoxMenuItem 
       JColorChooser 
       JComboBox 
       JComponent 
       JDesktopIcon 
       JDesktopPane 
       JDialog 
       JEditorPane 
       JFileChooser 
       JFormattedTextField 
       JFrame 
       JIS 
       JInternalFrame 
       JLabel 
       JLayeredPane 
       JList 
       JMenu 
       JMenuBar 
       JMenuItem 
       JOptionPane 
       JPEGHuffmanTable 
       JPEGImageReadParam 
       JPEGImageWriteParam 
       JPEGQTable 
       JPanel 
       JPasswordField 
       JPopupMenu 
       JProgressBar 
       JRadioButton 
       JRadioButtonMenuItem 
       JRootPane 
       JScrollBar 
       JScrollPane 
       JSeparator 
       JSlider 
       JSpinner 
       JSplitPane 
       JTabbedPane 
       JTable 
       JTableHeader 
       JTextArea 
       JTextComponent 
       JTextField 
       JTextPane 
       JToggleButton 
       JToolBar 
       JToolTip 
       JTree 
       JViewport 
       JWindow 
       JarEntry 
       JarException 
       JarFile 
       JarInputStream 
       JarOutputStream 
       JarURLConnection 
       JobAttributes 
       JobHoldUntil 
       JobImpressions 
       JobImpressionsCompleted 
       JobImpressionsSupported 
       JobKOctets 
       JobKOctetsProcessed 
       JobKOctetsSupported 
       JobMediaSheets 
       JobMediaSheetsCompleted 
       JobMediaSheetsSupported 
       JobMessageFromOperator 
       JobName 
       JobOriginatingUserName 
       JobPriority 
       JobPrioritySupported 
       JobSheets 
       JobState 
       JobStateReason 
       JobStateReasons 
       KerberosKey 
       KerberosPrincipal 
       KerberosTicket 
       Kernel 
       Key 
       Key 
       KeyAdapter 
       KeyAgreement 
       KeyAgreementSpi 
       KeyBinding 
       KeyEvent 
       KeyEventDispatcher 
       KeyEventPostProcessor 
       KeyException 
       KeyFactory 
       KeyFactorySpi 
       KeyGenerator 
       KeyGeneratorSpi 
       KeyListener 
       KeyManagementException 
       KeyManager 
       KeyManagerFactory 
       KeyManagerFactorySpi 
       KeyPair 
       KeyPairGenerator 
       KeyPairGeneratorSpi 
       KeySelectionManager 
       KeySpec 
       KeyStore 
       KeyStoreException 
       KeyStoreSpi 
       KeyStroke 
       KeyboardFocusManager 
       Keymap 
       LDAPCertStoreParameters 
       LIFESPAN_POLICY_ID 
       LOCATION_FORWARD 
       Label 
       LabelUI 
       LabelView 
       LanguageCallback 
       LastOwnerException 
       LayerPainter 
       LayeredHighlighter 
       LayoutFocusTraversalPolicy 
       LayoutManager 
       LayoutManager2 
       LayoutQueue 
       LazyInputMap 
       LazyValue 
       LdapContext 
       LdapReferralException 
       Lease 
       Level 
       LexicalHandler 
       LifespanPolicy 
       LifespanPolicyOperations 
       LifespanPolicyValue 
       LimitExceededException 
       Line 
       Line2D 
       LineBorder 
       LineBorderUIResource 
       LineBreakMeasurer 
       LineEvent 
       LineListener 
       LineMetrics 
       LineNumberInputStream 
       LineNumberReader 
       LineUnavailableException 
       LinkController 
       LinkException 
       LinkLoopException 
       LinkRef 
       LinkageError 
       LinkedHashMap 
       LinkedHashSet 
       LinkedList 
       List 
       List 
       ListCellRenderer 
       ListDataEvent 
       ListDataListener 
       ListEditor 
       ListIterator 
       ListModel 
       ListPainter 
       ListResourceBundle 
       ListSelectionEvent 
       ListSelectionListener 
       ListSelectionModel 
       ListUI 
       ListView 
       LoaderHandler 
       LocalObject 
       Locale 
       LocateRegistry 
       Locator 
       LocatorImpl 
       LogManager 
       LogRecord 
       LogStream 
       Logger 
       LoggingPermission 
       LoginContext 
       LoginException 
       LoginModule 
       LoginModuleControlFlag 
       Long 
       LongBuffer 
       LongHolder 
       LongLongSeqHelper 
       LongLongSeqHolder 
       LongSeqHelper 
       LongSeqHolder 
       LookAndFeel 
       LookAndFeelInfo 
       LookupOp 
       LookupTable 
       MARSHAL 
       Mac 
       MacSpi 
       MalformedInputException 
       MalformedLinkException 
       MalformedURLException 
       ManagerFactoryParameters 
       Manifest 
       Map 
       MapMode 
       MappedByteBuffer 
       MarginBorder 
       MarshalException 
       MarshalledObject 
       MaskFormatter 
       Matcher 
       Math 
       MatteBorder 
       MatteBorderUIResource 
       Media 
       MediaName 
       MediaPrintableArea 
       MediaSize 
       MediaSizeName 
       MediaTracker 
       MediaTray 
       MediaType 
       Member 
       MemoryCacheImageInputStream 
       MemoryCacheImageOutputStream 
       MemoryHandler 
       MemoryImageSource 
       Menu 
       MenuBar 
       MenuBarBorder 
       MenuBarBorder 
       MenuBarUI 
       MenuComponent 
       MenuContainer 
       MenuDragMouseEvent 
       MenuDragMouseListener 
       MenuElement 
       MenuEvent 
       MenuItem 
       MenuItemBorder 
       MenuItemUI 
       MenuKeyEvent 
       MenuKeyListener 
       MenuListener 
       MenuSelectionManager 
       MenuShortcut 
       MessageDigest 
       MessageDigestSpi 
       MessageFormat 
       MessageProp 
       MetaEventListener 
       MetaMessage 
       MetalBorders 
       MetalButtonUI 
       MetalCheckBoxIcon 
       MetalCheckBoxUI 
       MetalComboBoxButton 
       MetalComboBoxEditor 
       MetalComboBoxIcon 
       MetalComboBoxUI 
       MetalDesktopIconUI 
       MetalFileChooserUI 
       MetalIconFactory 
       MetalInternalFrameTitlePane 
       MetalInternalFrameUI 
       MetalLabelUI 
       MetalLookAndFeel 
       MetalPopupMenuSeparatorUI 
       MetalProgressBarUI 
       MetalRadioButtonUI 
       MetalRootPaneUI 
       MetalScrollBarUI 
       MetalScrollButton 
       MetalScrollPaneUI 
       MetalSeparatorUI 
       MetalSliderUI 
       MetalSplitPaneUI 
       MetalTabbedPaneUI 
       MetalTextFieldUI 
       MetalTheme 
       MetalToggleButtonUI 
       MetalToolBarUI 
       MetalToolTipUI 
       MetalTreeUI 
       Method 
       MethodDescriptor 
       MidiChannel 
       MidiDevice 
       MidiDeviceProvider 
       MidiEvent 
       MidiFileFormat 
       MidiFileReader 
       MidiFileWriter 
       MidiMessage 
       MidiSystem 
       MidiUnavailableException 
       MimeTypeParseException 
       MinimalHTMLWriter 
       MissingResourceException 
       Mixer 
       MixerProvider 
       ModificationItem 
       Modifier 
       MouseAdapter 
       MouseDragGestureRecognizer 
       MouseEvent 
       MouseInputAdapter 
       MouseInputListener 
       MouseListener 
       MouseMotionAdapter 
       MouseMotionListener 
       MouseWheelEvent 
       MouseWheelListener 
       MultiButtonUI 
       MultiColorChooserUI 
       MultiComboBoxUI 
       MultiDesktopIconUI 
       MultiDesktopPaneUI 
       MultiDoc 
       MultiDocPrintJob 
       MultiDocPrintService 
       MultiFileChooserUI 
       MultiInternalFrameUI 
       MultiLabelUI 
       MultiListUI 
       MultiLookAndFeel 
       MultiMenuBarUI 
       MultiMenuItemUI 
       MultiOptionPaneUI 
       MultiPanelUI 
       MultiPixelPackedSampleModel 
       MultiPopupMenuUI 
       MultiProgressBarUI 
       MultiRootPaneUI 
       MultiScrollBarUI 
       MultiScrollPaneUI 
       MultiSeparatorUI 
       MultiSliderUI 
       MultiSpinnerUI 
       MultiSplitPaneUI 
       MultiTabbedPaneUI 
       MultiTableHeaderUI 
       MultiTableUI 
       MultiTextUI 
       MultiToolBarUI 
       MultiToolTipUI 
       MultiTreeUI 
       MultiViewportUI 
       MulticastSocket 
       MultipleComponentProfileHelper 
       MultipleComponentProfileHolder 
       MultipleDocumentHandling 
       MultipleDocumentHandlingType 
       MultipleMaster 
       MutableAttributeSet 
       MutableComboBoxModel 
       MutableTreeNode 
       NA 
       NO_IMPLEMENT 
       NO_MEMORY 
       NO_PERMISSION 
       NO_RESOURCES 
       NO_RESPONSE 
       NVList 
       Name 
       Name 
       NameAlreadyBoundException 
       NameCallback 
       NameClassPair 
       NameComponent 
       NameComponentHelper 
       NameComponentHolder 
       NameDynAnyPair 
       NameDynAnyPairHelper 
       NameDynAnyPairSeqHelper 
       NameHelper 
       NameHolder 
       NameNotFoundException 
       NameParser 
       NameValuePair 
       NameValuePair 
       NameValuePairHelper 
       NameValuePairHelper 
       NameValuePairSeqHelper 
       NamedNodeMap 
       NamedValue 
       NamespaceChangeListener 
       NamespaceSupport 
       Naming 
       NamingContext 
       NamingContextExt 
       NamingContextExtHelper 
       NamingContextExtHolder 
       NamingContextExtOperations 
       NamingContextExtPOA 
       NamingContextHelper 
       NamingContextHolder 
       NamingContextOperations 
       NamingContextPOA 
       NamingEnumeration 
       NamingEvent 
       NamingException 
       NamingExceptionEvent 
       NamingListener 
       NamingManager 
       NamingSecurityException 
       NavigationFilter 
       NegativeArraySizeException 
       NetPermission 
       NetworkInterface 
       NoClassDefFoundError 
       NoConnectionPendingException 
       NoContext 
       NoContextHelper 
       NoInitialContextException 
       NoPermissionException 
       NoRouteToHostException 
       NoServant 
       NoServantHelper 
       NoSuchAlgorithmException 
       NoSuchAttributeException 
       NoSuchElementException 
       NoSuchFieldError 
       NoSuchFieldException 
       NoSuchMethodError 
       NoSuchMethodException 
       NoSuchObjectException 
       NoSuchPaddingException 
       NoSuchProviderException 
       Node 
       NodeChangeEvent 
       NodeChangeListener 
       NodeDimensions 
       NodeList 
       NonReadableChannelException 
       NonWritableChannelException 
       NoninvertibleTransformException 
       NotActiveException 
       NotBoundException 
       NotContextException 
       NotEmpty 
       NotEmptyHelper 
       NotEmptyHolder 
       NotFound 
       NotFoundHelper 
       NotFoundHolder 
       NotFoundReason 
       NotFoundReasonHelper 
       NotFoundReasonHolder 
       NotOwnerException 
       NotSerializableException 
       NotYetBoundException 
       NotYetConnectedException 
       Notation 
       NullCipher 
       NullPointerException 
       Number 
       NumberEditor 
       NumberFormat 
       NumberFormatException 
       NumberFormatter 
       NumberOfDocuments 
       NumberOfInterveningJobs 
       NumberUp 
       NumberUpSupported 
       NumericShaper 
       OBJECT_NOT_EXIST 
       OBJ_ADAPTER 
       OMGVMCID 
       ORB 
       ORB 
       ORBInitInfo 
       ORBInitInfoOperations 
       ORBInitializer 
       ORBInitializerOperations 
       ObjID 
       Object 
       Object 
       ObjectAlreadyActive 
       ObjectAlreadyActiveHelper 
       ObjectChangeListener 
       ObjectFactory 
       ObjectFactoryBuilder 
       ObjectHelper 
       ObjectHolder 
       ObjectIdHelper 
       ObjectImpl 
       ObjectImpl 
       ObjectInput 
       ObjectInputStream 
       ObjectInputValidation 
       ObjectNotActive 
       ObjectNotActiveHelper 
       ObjectOutput 
       ObjectOutputStream 
       ObjectStreamClass 
       ObjectStreamConstants 
       ObjectStreamException 
       ObjectStreamField 
       ObjectView 
       Observable 
       Observer 
       OctetSeqHelper 
       OctetSeqHolder 
       Oid 
       OpenType 
       Operation 
       OperationNotSupportedException 
       Option 
       OptionDialogBorder 
       OptionPaneUI 
       OptionalDataException 
       OrientationRequested 
       OrientationRequestedType 
       OriginType 
       Other 
       OutOfMemoryError 
       OutputDeviceAssigned 
       OutputKeys 
       OutputStream 
       OutputStream 
       OutputStream 
       OutputStreamWriter 
       OverlappingFileLockException 
       OverlayLayout 
       Owner 
       PBEKey 
       PBEKeySpec 
       PBEParameterSpec 
       PDLOverrideSupported 
       PERSIST_STORE 
       PKCS8EncodedKeySpec 
       PKIXBuilderParameters 
       PKIXCertPathBuilderResult 
       PKIXCertPathChecker 
       PKIXCertPathValidatorResult 
       PKIXParameters 
       POA 
       POAHelper 
       POAManager 
       POAManagerOperations 
       POAOperations 
       PRIVATE_MEMBER 
       PSSParameterSpec 
       PUBLIC_MEMBER 
       Package 
       PackedColorModel 
       PageAttributes 
       PageFormat 
       PageRanges 
       Pageable 
       PagesPerMinute 
       PagesPerMinuteColor 
       Paint 
       PaintContext 
       PaintEvent 
       PaletteBorder 
       PaletteCloseIcon 
       Panel 
       PanelUI 
       Paper 
       ParagraphAttribute 
       ParagraphConstants 
       ParagraphView 
       ParagraphView 
       Parameter 
       ParameterBlock 
       ParameterDescriptor 
       ParameterMetaData 
       ParameterMode 
       ParameterModeHelper 
       ParameterModeHolder 
       ParseException 
       ParsePosition 
       Parser 
       Parser 
       Parser 
       ParserAdapter 
       ParserCallback 
       ParserConfigurationException 
       ParserDelegator 
       ParserFactory 
       PartialResultException 
       PasswordAuthentication 
       PasswordCallback 
       PasswordView 
       PasteAction 
       Patch 
       PathIterator 
       Pattern 
       PatternSyntaxException 
       Permission 
       Permission 
       PermissionCollection 
       Permissions 
       PersistenceDelegate 
       PhantomReference 
       Pipe 
       PipedInputStream 
       PipedOutputStream 
       PipedReader 
       PipedWriter 
       PixelGrabber 
       PixelInterleavedSampleModel 
       PlainDocument 
       PlainView 
       Point 
       Point2D 
       Policy 
       Policy 
       Policy 
       PolicyError 
       PolicyErrorCodeHelper 
       PolicyErrorHelper 
       PolicyErrorHolder 
       PolicyFactory 
       PolicyFactoryOperations 
       PolicyHelper 
       PolicyHolder 
       PolicyListHelper 
       PolicyListHolder 
       PolicyNode 
       PolicyOperations 
       PolicyQualifierInfo 
       PolicyTypeHelper 
       Polygon 
       PooledConnection 
       Popup 
       PopupFactory 
       PopupMenu 
       PopupMenuBorder 
       PopupMenuEvent 
       PopupMenuListener 
       PopupMenuUI 
       Port 
       PortUnreachableException 
       PortableRemoteObject 
       PortableRemoteObjectDelegate 
       Position 
       PreferenceChangeEvent 
       PreferenceChangeListener 
       Preferences 
       PreferencesFactory 
       PreparedStatement 
       PresentationDirection 
       Principal 
       Principal 
       PrincipalHolder 
       PrintEvent 
       PrintException 
       PrintGraphics 
       PrintJob 
       PrintJobAdapter 
       PrintJobAttribute 
       PrintJobAttributeEvent 
       PrintJobAttributeListener 
       PrintJobAttributeSet 
       PrintJobEvent 
       PrintJobListener 
       PrintQuality 
       PrintQualityType 
       PrintRequestAttribute 
       PrintRequestAttributeSet 
       PrintService 
       PrintServiceAttribute 
       PrintServiceAttributeEvent 
       PrintServiceAttributeListener 
       PrintServiceAttributeSet 
       PrintServiceLookup 
       PrintStream 
       PrintWriter 
       Printable 
       PrinterAbortException 
       PrinterException 
       PrinterGraphics 
       PrinterIOException 
       PrinterInfo 
       PrinterIsAcceptingJobs 
       PrinterJob 
       PrinterLocation 
       PrinterMakeAndModel 
       PrinterMessageFromOperator 
       PrinterMoreInfo 
       PrinterMoreInfoManufacturer 
       PrinterName 
       PrinterResolution 
       PrinterState 
       PrinterStateReason 
       PrinterStateReasons 
       PrinterURI 
       PrivateCredentialPermission 
       PrivateKey 
       PrivilegedAction 
       PrivilegedActionException 
       PrivilegedExceptionAction 
       Process 
       ProcessingInstruction 
       ProfileDataException 
       ProfileIdHelper 
       ProgressBarUI 
       ProgressMonitor 
       ProgressMonitorInputStream 
       Properties 
       PropertyChangeEvent 
       PropertyChangeListener 
       PropertyChangeListenerProxy 
       PropertyChangeSupport 
       PropertyDescriptor 
       PropertyEditor 
       PropertyEditorManager 
       PropertyEditorSupport 
       PropertyPermission 
       PropertyResourceBundle 
       PropertyVetoException 
       ProtectionDomain 
       ProtocolException 
       Provider 
       ProviderException 
       Proxy 
       ProxyLazyValue 
       PublicKey 
       PushbackInputStream 
       PushbackReader 
       PutField 
       QuadCurve2D 
       QueuedJobCount 
       RC2ParameterSpec 
       RC5ParameterSpec 
       READER 
       REQUEST_PROCESSING_POLICY_ID 
       RGBImageFilter 
       RMIClassLoader 
       RMIClassLoaderSpi 
       RMIClientSocketFactory 
       RMIFailureHandler 
       RMISecurityException 
       RMISecurityManager 
       RMIServerSocketFactory 
       RMISocketFactory 
       RSAKey 
       RSAKeyGenParameterSpec 
       RSAMultiPrimePrivateCrtKey 
       RSAMultiPrimePrivateCrtKeySpec 
       RSAOtherPrimeInfo 
       RSAPrivateCrtKey 
       RSAPrivateCrtKeySpec 
       RSAPrivateKey 
       RSAPrivateKeySpec 
       RSAPublicKey 
       RSAPublicKeySpec 
       RTFEditorKit 
       RadioButtonBorder 
       Random 
       RandomAccess 
       RandomAccessFile 
       Raster 
       RasterFormatException 
       RasterOp 
       ReadOnlyBufferException 
       ReadableByteChannel 
       Reader 
       Receiver 
       Rectangle 
       Rectangle2D 
       RectangularShape 
       Ref 
       RefAddr 
       Reference 
       Reference 
       ReferenceQueue 
       ReferenceUriSchemesSupported 
       Referenceable 
       ReferralException 
       ReflectPermission 
       RefreshFailedException 
       Refreshable 
       RegisterableService 
       Registry 
       RegistryHandler 
       RemarshalException 
       Remote 
       RemoteCall 
       RemoteException 
       RemoteObject 
       RemoteRef 
       RemoteServer 
       RemoteStub 
       RenderContext 
       RenderableImage 
       RenderableImageOp 
       RenderableImageProducer 
       RenderedImage 
       RenderedImageFactory 
       Renderer 
       RenderingHints 
       RepaintManager 
       ReplicateScaleFilter 
       RepositoryIdHelper 
       Request 
       RequestInfo 
       RequestInfoOperations 
       RequestProcessingPolicy 
       RequestProcessingPolicyOperations 
       RequestProcessingPolicyValue 
       RequestingUserName 
       RescaleOp 
       ResolutionSyntax 
       ResolveResult 
       Resolver 
       ResourceBundle 
       ResponseHandler 
       Result 
       Result 
       ResultSet 
       ResultSetMetaData 
       ReverbType 
       Robot 
       RolloverButtonBorder 
       RolloverButtonBorder 
       RootPaneContainer 
       RootPaneUI 
       RoundRectangle2D 
       RowMapper 
       RowSet 
       RowSetEvent 
       RowSetInternal 
       RowSetListener 
       RowSetMetaData 
       RowSetReader 
       RowSetWriter 
       RuleBasedCollator 
       RunTime 
       RunTimeOperations 
       Runnable 
       Runtime 
       RuntimeException 
       RuntimePermission 
       SAXException 
       SAXNotRecognizedException 
       SAXNotSupportedException 
       SAXParseException 
       SAXParser 
       SAXParserFactory 
       SAXResult 
       SAXSource 
       SAXTransformerFactory 
       SERVANT_RETENTION_POLICY_ID 
       SERVICE_FORMATTED 
       SQLData 
       SQLException 
       SQLInput 
       SQLOutput 
       SQLPermission 
       SQLWarning 
       SSLContext 
       SSLContextSpi 
       SSLException 
       SSLHandshakeException 
       SSLKeyException 
       SSLPeerUnverifiedException 
       SSLPermission 
       SSLProtocolException 
       SSLServerSocket 
       SSLServerSocketFactory 
       SSLSession 
       SSLSessionBindingEvent 
       SSLSessionBindingListener 
       SSLSessionContext 
       SSLSocket 
       SSLSocketFactory 
       STRING 
       SUCCESSFUL 
       SYNC_WITH_TRANSPORT 
       SYSTEM_EXCEPTION 
       SampleModel 
       Savepoint 
       ScatteringByteChannel 
       SchemaViolationException 
       ScrollBarUI 
       ScrollPane 
       ScrollPaneAdjustable 
       ScrollPaneBorder 
       ScrollPaneConstants 
       ScrollPaneLayout 
       ScrollPaneUI 
       Scrollable 
       Scrollbar 
       SealedObject 
       SearchControls 
       SearchResult 
       SecretKey 
       SecretKeyFactory 
       SecretKeyFactorySpi 
       SecretKeySpec 
       SecureClassLoader 
       SecureRandom 
       SecureRandomSpi 
       Security 
       SecurityException 
       SecurityManager 
       SecurityPermission 
       Segment 
       SelectableChannel 
       SelectionKey 
       Selector 
       SelectorProvider 
       Separator 
       Separator 
       SeparatorUI 
       Sequence 
       SequenceInputStream 
       Sequencer 
       Serializable 
       SerializablePermission 
       Servant 
       ServantActivator 
       ServantActivatorHelper 
       ServantActivatorOperations 
       ServantActivatorPOA 
       ServantAlreadyActive 
       ServantAlreadyActiveHelper 
       ServantLocator 
       ServantLocatorHelper 
       ServantLocatorOperations 
       ServantLocatorPOA 
       ServantManager 
       ServantManagerOperations 
       ServantNotActive 
       ServantNotActiveHelper 
       ServantObject 
       ServantRetentionPolicy 
       ServantRetentionPolicyOperations 
       ServantRetentionPolicyValue 
       ServerCloneException 
       ServerError 
       ServerException 
       ServerNotActiveException 
       ServerRef 
       ServerRequest 
       ServerRequestInfo 
       ServerRequestInfoOperations 
       ServerRequestInterceptor 
       ServerRequestInterceptorOperations 
       ServerRuntimeException 
       ServerSocket 
       ServerSocketChannel 
       ServerSocketFactory 
       ServiceContext 
       ServiceContextHelper 
       ServiceContextHolder 
       ServiceContextListHelper 
       ServiceContextListHolder 
       ServiceDetail 
       ServiceDetailHelper 
       ServiceIdHelper 
       ServiceInformation 
       ServiceInformationHelper 
       ServiceInformationHolder 
       ServicePermission 
       ServiceRegistry 
       ServiceUI 
       ServiceUIFactory 
       ServiceUnavailableException 
       Set 
       SetOfIntegerSyntax 
       SetOverrideType 
       SetOverrideTypeHelper 
       Severity 
       Shape 
       ShapeGraphicAttribute 
       SheetCollate 
       Short 
       ShortBuffer 
       ShortBufferException 
       ShortHolder 
       ShortLookupTable 
       ShortMessage 
       ShortSeqHelper 
       ShortSeqHolder 
       Sides 
       SidesType 
       Signature 
       SignatureException 
       SignatureSpi 
       SignedObject 
       Signer 
       SimpleAttributeSet 
       SimpleBeanInfo 
       SimpleDateFormat 
       SimpleDoc 
       SimpleFormatter 
       SimpleTimeZone 
       SinglePixelPackedSampleModel 
       SingleSelectionModel 
       SinkChannel 
       Size2DSyntax 
       SizeLimitExceededException 
       SizeRequirements 
       SizeSequence 
       Skeleton 
       SkeletonMismatchException 
       SkeletonNotFoundException 
       SliderUI 
       Socket 
       SocketAddress 
       SocketChannel 
       SocketException 
       SocketFactory 
       SocketHandler 
       SocketImpl 
       SocketImplFactory 
       SocketOptions 
       SocketPermission 
       SocketSecurityException 
       SocketTimeoutException 
       SoftBevelBorder 
       SoftReference 
       SortedMap 
       SortedSet 
       SortingFocusTraversalPolicy 
       Soundbank 
       SoundbankReader 
       SoundbankResource 
       Source 
       SourceChannel 
       SourceDataLine 
       SourceLocator 
       SpinnerDateModel 
       SpinnerListModel 
       SpinnerModel 
       SpinnerNumberModel 
       SpinnerUI 
       SplitPaneBorder 
       SplitPaneUI 
       Spring 
       SpringLayout 
       Stack 
       StackOverflowError 
       StackTraceElement 
       StartTlsRequest 
       StartTlsResponse 
       State 
       StateEdit 
       StateEditable 
       StateFactory 
       Statement 
       Statement 
       StreamCorruptedException 
       StreamHandler 
       StreamPrintService 
       StreamPrintServiceFactory 
       StreamResult 
       StreamSource 
       StreamTokenizer 
       Streamable 
       StreamableValue 
       StrictMath 
       String 
       StringBuffer 
       StringBufferInputStream 
       StringCharacterIterator 
       StringContent 
       StringHolder 
       StringIndexOutOfBoundsException 
       StringNameHelper 
       StringReader 
       StringRefAddr 
       StringSelection 
       StringSeqHelper 
       StringSeqHolder 
       StringTokenizer 
       StringValueHelper 
       StringWriter 
       Stroke 
       Struct 
       StructMember 
       StructMemberHelper 
       Stub 
       StubDelegate 
       StubNotFoundException 
       Style 
       StyleConstants 
       StyleContext 
       StyleSheet 
       StyledDocument 
       StyledEditorKit 
       StyledTextAction 
       Subject 
       SubjectDomainCombiner 
       Subset 
       SupportedValuesAttribute 
       SwingConstants 
       SwingPropertyChangeSupport 
       SwingUtilities 
       SyncFailedException 
       SyncMode 
       SyncScopeHelper 
       Synthesizer 
       SysexMessage 
       System 
       SystemColor 
       SystemException 
       SystemFlavorMap 
       TAG_ALTERNATE_IIOP_ADDRESS 
       TAG_CODE_SETS 
       TAG_INTERNET_IOP 
       TAG_JAVA_CODEBASE 
       TAG_MULTIPLE_COMPONENTS 
       TAG_ORB_TYPE 
       TAG_POLICIES 
       TCKind 
       THREAD_POLICY_ID 
       TRANSACTION_REQUIRED 
       TRANSACTION_ROLLEDBACK 
       TRANSIENT 
       TRANSPORT_RETRY 
       TabExpander 
       TabSet 
       TabStop 
       TabableView 
       TabbedPaneUI 
       TableCellEditor 
       TableCellRenderer 
       TableColumn 
       TableColumnModel 
       TableColumnModelEvent 
       TableColumnModelListener 
       TableHeaderBorder 
       TableHeaderUI 
       TableModel 
       TableModelEvent 
       TableModelListener 
       TableUI 
       TableView 
       Tag 
       TagElement 
       TaggedComponent 
       TaggedComponentHelper 
       TaggedComponentHolder 
       TaggedProfile 
       TaggedProfileHelper 
       TaggedProfileHolder 
       TargetDataLine 
       Templates 
       TemplatesHandler 
       Text 
       TextAction 
       TextArea 
       TextAttribute 
       TextComponent 
       TextEvent 
       TextField 
       TextFieldBorder 
       TextHitInfo 
       TextInputCallback 
       TextLayout 
       TextListener 
       TextMeasurer 
       TextOutputCallback 
       TextSyntax 
       TextUI 
       TexturePaint 
       Thread 
       ThreadDeath 
       ThreadGroup 
       ThreadLocal 
       ThreadPolicy 
       ThreadPolicyOperations 
       ThreadPolicyValue 
       Throwable 
       Tie 
       TileObserver 
       Time 
       TimeLimitExceededException 
       TimeZone 
       Timer 
       Timer 
       TimerTask 
       Timestamp 
       TitledBorder 
       TitledBorderUIResource 
       ToggleButtonBorder 
       ToggleButtonBorder 
       ToggleButtonModel 
       TooManyListenersException 
       ToolBarBorder 
       ToolBarUI 
       ToolTipManager 
       ToolTipUI 
       Toolkit 
       Track 
       TransactionRequiredException 
       TransactionRolledbackException 
       TransactionService 
       TransferHandler 
       Transferable 
       TransformAttribute 
       Transformer 
       TransformerConfigurationException 
       TransformerException 
       TransformerFactory 
       TransformerFactoryConfigurationError 
       TransformerHandler 
       Transmitter 
       Transparency 
       TreeCellEditor 
       TreeCellRenderer 
       TreeControlIcon 
       TreeExpansionEvent 
       TreeExpansionListener 
       TreeFolderIcon 
       TreeLeafIcon 
       TreeMap 
       TreeModel 
       TreeModelEvent 
       TreeModelListener 
       TreeNode 
       TreePath 
       TreeSelectionEvent 
       TreeSelectionListener 
       TreeSelectionModel 
       TreeSet 
       TreeUI 
       TreeWillExpandListener 
       TrustAnchor 
       TrustManager 
       TrustManagerFactory 
       TrustManagerFactorySpi 
       Type 
       Type 
       Type 
       Type 
       Type 
       Type 
       Type 
       TypeCode 
       TypeCodeHolder 
       TypeMismatch 
       TypeMismatch 
       TypeMismatch 
       TypeMismatchHelper 
       TypeMismatchHelper 
       Types 
       UID 
       UIDefaults 
       UIManager 
       UIResource 
       UIResource 
       UIResource 
       UIResource 
       UIResource 
       UIResource 
       UIResource 
       ULongLongSeqHelper 
       ULongLongSeqHolder 
       ULongSeqHelper 
       ULongSeqHolder 
       UNKNOWN 
       UNSUPPORTED_POLICY 
       UNSUPPORTED_POLICY_VALUE 
       URI 
       URIException 
       URIResolver 
       URISyntax 
       URISyntaxException 
       URL 
       URL 
       URLClassLoader 
       URLConnection 
       URLDecoder 
       URLEncoder 
       URLStreamHandler 
       URLStreamHandlerFactory 
       URLStringHelper 
       USER_EXCEPTION 
       UShortSeqHelper 
       UShortSeqHolder 
       UTFDataFormatException 
       UndeclaredThrowableException 
       UnderlineAction 
       UndoManager 
       UndoableEdit 
       UndoableEditEvent 
       UndoableEditListener 
       UndoableEditSupport 
       UnexpectedException 
       UnicastRemoteObject 
       UnicodeBlock 
       UnionMember 
       UnionMemberHelper 
       UnknownEncoding 
       UnknownEncodingHelper 
       UnknownError 
       UnknownException 
       UnknownGroupException 
       UnknownHostException 
       UnknownHostException 
       UnknownObjectException 
       UnknownServiceException 
       UnknownTag 
       UnknownUserException 
       UnknownUserExceptionHelper 
       UnknownUserExceptionHolder 
       UnmappableCharacterException 
       UnmarshalException 
       UnmodifiableSetException 
       UnrecoverableKeyException 
       Unreferenced 
       UnresolvedAddressException 
       UnresolvedPermission 
       UnsatisfiedLinkError 
       UnsolicitedNotification 
       UnsolicitedNotificationEvent 
       UnsolicitedNotificationListener 
       UnsupportedAddressTypeException 
       UnsupportedAudioFileException 
       UnsupportedCallbackException 
       UnsupportedCharsetException 
       UnsupportedClassVersionError 
       UnsupportedEncodingException 
       UnsupportedFlavorException 
       UnsupportedLookAndFeelException 
       UnsupportedOperationException 
       UserException 
       Util 
       UtilDelegate 
       Utilities 
       VMID 
       VM_ABSTRACT 
       VM_CUSTOM 
       VM_NONE 
       VM_TRUNCATABLE 
       ValueBase 
       ValueBaseHelper 
       ValueBaseHolder 
       ValueFactory 
       ValueHandler 
       ValueMember 
       ValueMemberHelper 
       VariableHeightLayoutCache 
       Vector 
       VerifyError 
       VersionSpecHelper 
       VetoableChangeListener 
       VetoableChangeListenerProxy 
       VetoableChangeSupport 
       View 
       ViewFactory 
       ViewportLayout 
       ViewportUI 
       VirtualMachineError 
       Visibility 
       VisibilityHelper 
       VoiceStatus 
       Void 
       VolatileImage 
       WCharSeqHelper 
       WCharSeqHolder 
       WStringSeqHelper 
       WStringSeqHolder 
       WStringValueHelper 
       WeakHashMap 
       WeakReference 
       Window 
       WindowAdapter 
       WindowConstants 
       WindowEvent 
       WindowFocusListener 
       WindowListener 
       WindowStateListener 
       WrappedPlainView 
       WritableByteChannel 
       WritableRaster 
       WritableRenderedImage 
       WriteAbortedException 
       Writer 
       WrongAdapter 
       WrongAdapterHelper 
       WrongPolicy 
       WrongPolicyHelper 
       WrongTransaction 
       WrongTransactionHelper 
       WrongTransactionHolder 
       X500Principal 
       X500PrivateCredential 
       X509CRL 
       X509CRLEntry 
       X509CRLSelector 
       X509CertSelector 
       X509Certificate 
       X509Certificate 
       X509EncodedKeySpec 
       X509Extension 
       X509KeyManager 
       X509TrustManager 
       XAConnection 
       XADataSource 
       XAException 
       XAResource 
       XMLDecoder 
       XMLEncoder 
       XMLFilter 
       XMLFilterImpl 
       XMLFormatter 
       XMLReader 
       XMLReaderAdapter 
       XMLReaderFactory 
       Xid 
       ZipEntry 
       ZipException 
       ZipFile 
       ZipInputStream 
       ZipOutputStream 
       ZoneView 
       _BindingIteratorImplBase 
       _BindingIteratorStub 
       _DynAnyFactoryStub 
       _DynAnyStub 
       _DynArrayStub 
       _DynEnumStub 
       _DynFixedStub 
       _DynSequenceStub 
       _DynStructStub 
       _DynUnionStub 
       _DynValueStub 
       _IDLTypeStub 
       _NamingContextExtStub 
       _NamingContextImplBase 
       _NamingContextStub 
       _PolicyStub 
       _Remote_Stub 
       _ServantActivatorStub 
       _ServantLocatorStub 
    

    
       abstract 
       assert 
       break 
       case 
       catch 
       class 
       continue 
       default 
       do 
       else 
       extends 
       false 
       finally 
       for 
       goto 
       if 
       implements 
       import 
       instanceof 
       interface 
       native 
       new 
       null 
       package 
       private 
       protected 
       public 
       return 
       super 
       strictfp 
       switch 
       synchronized 
       this 
       throws 
       throw 
       transient 
       true 
       try 
       volatile 
       while 
    

    
       boolean 
       byte 
       char 
       const 
       double 
       final 
       float 
       int 
       long 
       short 
       static 
       void 
    

    
       and 
       eq 
       gt 
       true 
       instanceof 
       or 
       ne 
       le 
       false 
       empty 
       not 
       lt 
       ge 
       null 
       div 
       mod 
    

    
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
        
      

      
        
      

      
        
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
      

      

      
        
      

      
        
        
      

      
        
        
        
        
        
      

      
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
      

      
        
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
      

    


    
      
      
      
      
      
      

      

      
      
      
      
      
      
      
      

      
      
      
      

      
      

      
    
  

  
    
      
    
    
  

highlighting-kate-0.6.1/xml/julia.xml0000644000000000000000000002770612633103275015737 0ustar0000000000000000






  
    
       begin 
       do 
       for 
       function 
       if 
       let 
       quote 
       try 
       type 
       while 
    
    
       catch 
       else 
       elseif 
    
    
       end 
    
    
       abstract 
       bitstype 
       break 
       ccall 
       const 
       continue 
       export 
       global 
       import 
       in 
       local 
       macro 
       module 
       return 
       typealias 
    
    
       AbstractArray 
       AbstractMatrix 
       AbstractVector 
       Any 
       Array 
       ASCIIString 
       Associative 
       Bool 
       ByteString 
       Char 
       Complex 
       Complex64 
       Complex128 
       ComplexPair 
       DArray 
       Dict 
       Exception 
       Expr 
       Float 
       Float32 
       Float64 
       Function 
       ObjectIdDict 
       Int 
       Int8 
       Int16 
       Int32 
       Int64 
       Integer 
       IntSet 
       IO 
       IOStream 
       Matrix 
       Nothing 
       None 
       NTuple 
       Number 
       Ptr 
       Range 
       Range1 
       Ranges 
       Rational 
       Real 
       Regex 
       RegexMatch 
       Set 
       Signed 
       StridedArray 
       StridedMatrix 
       StridedVecOrMat 
       StridedVector 
       String 
       SubArray 
       SubString 
       Symbol 
       Task 
       Tuple 
       Type 
       Uint 
       Uint8 
       Uint16 
       Uint32 
       Uint64 
       Union 
       Unsigned 
       UTF8String 
       VecOrMat 
       Vector 
       Void 
       WeakRef 
    
    

      

	

        
        
        
        
        
        

        
        
        
        

	
        

        
	

        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        

        
        
        
        
        

        
        
        

        
        
        
        
        
        

        
        

      

      
      
        
      

      
      
        
      
      
        
      
      
        
      

      
      
        
      

      
      
        
        
        
        
        
      

      
      
        
        
      

    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    

  

  
    
      
    
    
  





highlighting-kate-0.6.1/xml/kotlin.xml0000644000000000000000000040424512633103275016130 0ustar0000000000000000



  
    
       Unit 
       Any 
       Array 
       Nothing 
       MutableIterator 
       MutableIterable 
       MutableCollection 
       MutableSet 
       MutableList 
       MutableListIterator 
       MutableMap 
       MutableEntry 
       IntArray 
       javaClass 
       javaMethod 
    
    
       ACTIVE 
       ACTIVITY_COMPLETED 
       ACTIVITY_REQUIRED 
       ARG_IN 
       ARG_INOUT 
       ARG_OUT 
       AWTError 
       AWTEvent 
       AWTEventListener 
       AWTEventListenerProxy 
       AWTEventMulticaster 
       AWTException 
       AWTKeyStroke 
       AWTPermission 
       AbstractAction 
       AbstractBorder 
       AbstractButton 
       AbstractCellEditor 
       AbstractCollection 
       AbstractColorChooserPanel 
       AbstractDocument 
       AbstractDocument.AttributeContext 
       AbstractDocument.Content 
       AbstractDocument.ElementEdit 
       AbstractExecutorService 
       AbstractInterruptibleChannel 
       AbstractLayoutCache 
       AbstractLayoutCache.NodeDimensions 
       AbstractList 
       AbstractListModel 
       AbstractMap 
       AbstractMethodError 
       AbstractPreferences 
       AbstractQueue 
       AbstractQueuedSynchronizer 
       AbstractSelectableChannel 
       AbstractSelectionKey 
       AbstractSelector 
       AbstractSequentialList 
       AbstractSet 
       AbstractSpinnerModel 
       AbstractTableModel 
       AbstractUndoableEdit 
       AbstractWriter 
       AccessControlContext 
       AccessControlException 
       AccessController 
       AccessException 
       Accessible 
       AccessibleAction 
       AccessibleAttributeSequence 
       AccessibleBundle 
       AccessibleComponent 
       AccessibleContext 
       AccessibleEditableText 
       AccessibleExtendedComponent 
       AccessibleExtendedTable 
       AccessibleExtendedText 
       AccessibleHyperlink 
       AccessibleHypertext 
       AccessibleIcon 
       AccessibleKeyBinding 
       AccessibleObject 
       AccessibleRelation 
       AccessibleRelationSet 
       AccessibleResourceBundle 
       AccessibleRole 
       AccessibleSelection 
       AccessibleState 
       AccessibleStateSet 
       AccessibleStreamable 
       AccessibleTable 
       AccessibleTableModelChange 
       AccessibleText 
       AccessibleTextSequence 
       AccessibleValue 
       AccountException 
       AccountExpiredException 
       AccountLockedException 
       AccountNotFoundException 
       Acl 
       AclEntry 
       AclNotFoundException 
       Action 
       ActionEvent 
       ActionListener 
       ActionMap 
       ActionMapUIResource 
       Activatable 
       ActivateFailedException 
       ActivationDesc 
       ActivationException 
       ActivationGroup 
       ActivationGroupDesc 
       ActivationGroupDesc.CommandEnvironment 
       ActivationGroupID 
       ActivationGroup_Stub 
       ActivationID 
       ActivationInstantiator 
       ActivationMonitor 
       ActivationSystem 
       Activator 
       ActiveEvent 
       ActivityCompletedException 
       ActivityRequiredException 
       AdapterActivator 
       AdapterActivatorOperations 
       AdapterAlreadyExists 
       AdapterAlreadyExistsHelper 
       AdapterInactive 
       AdapterInactiveHelper 
       AdapterManagerIdHelper 
       AdapterNameHelper 
       AdapterNonExistent 
       AdapterNonExistentHelper 
       AdapterStateHelper 
       AddressHelper 
       Adjustable 
       AdjustmentEvent 
       AdjustmentListener 
       Adler32 
       AffineTransform 
       AffineTransformOp 
       AlgorithmParameterGenerator 
       AlgorithmParameterGeneratorSpi 
       AlgorithmParameterSpec 
       AlgorithmParameters 
       AlgorithmParametersSpi 
       AllPermission 
       AlphaComposite 
       AlreadyBound 
       AlreadyBoundException 
       AlreadyBoundHelper 
       AlreadyBoundHolder 
       AlreadyConnectedException 
       AncestorEvent 
       AncestorListener 
       AnnotatedElement 
       Annotation 
       Annotation 
       AnnotationFormatError 
       AnnotationTypeMismatchException 
       Any 
       AnyHolder 
       AnySeqHelper 
       AnySeqHelper 
       AnySeqHolder 
       AppConfigurationEntry 
       AppConfigurationEntry.LoginModuleControlFlag 
       Appendable 
       Applet 
       AppletContext 
       AppletInitializer 
       AppletStub 
       ApplicationException 
       Arc2D 
       Arc2D.Double 
       Arc2D.Float 
       Area 
       AreaAveragingScaleFilter 
       ArithmeticException 
       Array 
       Array 
       ArrayBlockingQueue 
       ArrayIndexOutOfBoundsException 
       ArrayList 
       ArrayStoreException 
       ArrayType 
       Arrays 
       AssertionError 
       AsyncBoxView 
       AsynchronousCloseException 
       AtomicBoolean 
       AtomicInteger 
       AtomicIntegerArray 
       AtomicIntegerFieldUpdater 
       AtomicLong 
       AtomicLongArray 
       AtomicLongFieldUpdater 
       AtomicMarkableReference 
       AtomicReference 
       AtomicReferenceArray 
       AtomicReferenceFieldUpdater 
       AtomicStampedReference 
       Attr 
       Attribute 
       Attribute 
       Attribute 
       AttributeChangeNotification 
       AttributeChangeNotificationFilter 
       AttributeException 
       AttributeInUseException 
       AttributeList 
       AttributeList 
       AttributeList 
       AttributeListImpl 
       AttributeModificationException 
       AttributeNotFoundException 
       AttributeSet 
       AttributeSet 
       AttributeSet.CharacterAttribute 
       AttributeSet.ColorAttribute 
       AttributeSet.FontAttribute 
       AttributeSet.ParagraphAttribute 
       AttributeSetUtilities 
       AttributeValueExp 
       AttributedCharacterIterator 
       AttributedCharacterIterator.Attribute 
       AttributedString 
       Attributes 
       Attributes 
       Attributes 
       Attributes.Name 
       Attributes2 
       Attributes2Impl 
       AttributesImpl 
       AudioClip 
       AudioFileFormat 
       AudioFileFormat.Type 
       AudioFileReader 
       AudioFileWriter 
       AudioFormat 
       AudioFormat.Encoding 
       AudioInputStream 
       AudioPermission 
       AudioSystem 
       AuthPermission 
       AuthProvider 
       AuthenticationException 
       AuthenticationException 
       AuthenticationNotSupportedException 
       Authenticator 
       Authenticator.RequestorType 
       AuthorizeCallback 
       Autoscroll 
       BAD_CONTEXT 
       BAD_INV_ORDER 
       BAD_OPERATION 
       BAD_PARAM 
       BAD_POLICY 
       BAD_POLICY_TYPE 
       BAD_POLICY_VALUE 
       BAD_QOS 
       BAD_TYPECODE 
       BMPImageWriteParam 
       BackingStoreException 
       BadAttributeValueExpException 
       BadBinaryOpValueExpException 
       BadKind 
       BadLocationException 
       BadPaddingException 
       BadStringOperationException 
       BandCombineOp 
       BandedSampleModel 
       BaseRowSet 
       BasicArrowButton 
       BasicAttribute 
       BasicAttributes 
       BasicBorders 
       BasicBorders.ButtonBorder 
       BasicBorders.FieldBorder 
       BasicBorders.MarginBorder 
       BasicBorders.MenuBarBorder 
       BasicBorders.RadioButtonBorder 
       BasicBorders.RolloverButtonBorder 
       BasicBorders.SplitPaneBorder 
       BasicBorders.ToggleButtonBorder 
       BasicButtonListener 
       BasicButtonUI 
       BasicCheckBoxMenuItemUI 
       BasicCheckBoxUI 
       BasicColorChooserUI 
       BasicComboBoxEditor 
       BasicComboBoxEditor.UIResource 
       BasicComboBoxRenderer 
       BasicComboBoxRenderer.UIResource 
       BasicComboBoxUI 
       BasicComboPopup 
       BasicControl 
       BasicDesktopIconUI 
       BasicDesktopPaneUI 
       BasicDirectoryModel 
       BasicEditorPaneUI 
       BasicFileChooserUI 
       BasicFormattedTextFieldUI 
       BasicGraphicsUtils 
       BasicHTML 
       BasicIconFactory 
       BasicInternalFrameTitlePane 
       BasicInternalFrameUI 
       BasicLabelUI 
       BasicListUI 
       BasicLookAndFeel 
       BasicMenuBarUI 
       BasicMenuItemUI 
       BasicMenuUI 
       BasicOptionPaneUI 
       BasicOptionPaneUI.ButtonAreaLayout 
       BasicPanelUI 
       BasicPasswordFieldUI 
       BasicPermission 
       BasicPopupMenuSeparatorUI 
       BasicPopupMenuUI 
       BasicProgressBarUI 
       BasicRadioButtonMenuItemUI 
       BasicRadioButtonUI 
       BasicRootPaneUI 
       BasicScrollBarUI 
       BasicScrollPaneUI 
       BasicSeparatorUI 
       BasicSliderUI 
       BasicSpinnerUI 
       BasicSplitPaneDivider 
       BasicSplitPaneUI 
       BasicStroke 
       BasicTabbedPaneUI 
       BasicTableHeaderUI 
       BasicTableUI 
       BasicTextAreaUI 
       BasicTextFieldUI 
       BasicTextPaneUI 
       BasicTextUI 
       BasicTextUI.BasicCaret 
       BasicTextUI.BasicHighlighter 
       BasicToggleButtonUI 
       BasicToolBarSeparatorUI 
       BasicToolBarUI 
       BasicToolTipUI 
       BasicTreeUI 
       BasicViewportUI 
       BatchUpdateException 
       BeanContext 
       BeanContextChild 
       BeanContextChildComponentProxy 
       BeanContextChildSupport 
       BeanContextContainerProxy 
       BeanContextEvent 
       BeanContextMembershipEvent 
       BeanContextMembershipListener 
       BeanContextProxy 
       BeanContextServiceAvailableEvent 
       BeanContextServiceProvider 
       BeanContextServiceProviderBeanInfo 
       BeanContextServiceRevokedEvent 
       BeanContextServiceRevokedListener 
       BeanContextServices 
       BeanContextServicesListener 
       BeanContextServicesSupport 
       BeanContextServicesSupport.BCSSServiceProvider 
       BeanContextSupport 
       BeanContextSupport.BCSIterator 
       BeanDescriptor 
       BeanInfo 
       Beans 
       BevelBorder 
       Bidi 
       BigDecimal 
       BigInteger 
       BinaryRefAddr 
       BindException 
       Binding 
       Binding 
       BindingHelper 
       BindingHolder 
       BindingIterator 
       BindingIteratorHelper 
       BindingIteratorHolder 
       BindingIteratorOperations 
       BindingIteratorPOA 
       BindingListHelper 
       BindingListHolder 
       BindingType 
       BindingTypeHelper 
       BindingTypeHolder 
       BitSet 
       Blob 
       BlockView 
       BlockingQueue 
       Book 
       Boolean 
       BooleanControl 
       BooleanControl.Type 
       BooleanHolder 
       BooleanSeqHelper 
       BooleanSeqHolder 
       Border 
       BorderFactory 
       BorderLayout 
       BorderUIResource 
       BorderUIResource.BevelBorderUIResource 
       BorderUIResource.CompoundBorderUIResource 
       BorderUIResource.EmptyBorderUIResource 
       BorderUIResource.EtchedBorderUIResource 
       BorderUIResource.LineBorderUIResource 
       BorderUIResource.MatteBorderUIResource 
       BorderUIResource.TitledBorderUIResource 
       BoundedRangeModel 
       Bounds 
       Bounds 
       Box 
       Box.Filler 
       BoxLayout 
       BoxView 
       BoxedValueHelper 
       BreakIterator 
       BrokenBarrierException 
       Buffer 
       BufferCapabilities 
       BufferCapabilities.FlipContents 
       BufferOverflowException 
       BufferStrategy 
       BufferUnderflowException 
       BufferedImage 
       BufferedImageFilter 
       BufferedImageOp 
       BufferedInputStream 
       BufferedOutputStream 
       BufferedReader 
       BufferedWriter 
       Button 
       ButtonGroup 
       ButtonModel 
       ButtonUI 
       Byte 
       ByteArrayInputStream 
       ByteArrayOutputStream 
       ByteBuffer 
       ByteChannel 
       ByteHolder 
       ByteLookupTable 
       ByteOrder 
       CDATASection 
       CMMException 
       CODESET_INCOMPATIBLE 
       COMM_FAILURE 
       CRC32 
       CRL 
       CRLException 
       CRLSelector 
       CSS 
       CSS.Attribute 
       CTX_RESTRICT_SCOPE 
       CacheRequest 
       CacheResponse 
       CachedRowSet 
       Calendar 
       Callable 
       CallableStatement 
       Callback 
       CallbackHandler 
       CancelablePrintJob 
       CancellationException 
       CancelledKeyException 
       CannotProceed 
       CannotProceedException 
       CannotProceedHelper 
       CannotProceedHolder 
       CannotRedoException 
       CannotUndoException 
       Canvas 
       CardLayout 
       Caret 
       CaretEvent 
       CaretListener 
       CellEditor 
       CellEditorListener 
       CellRendererPane 
       CertPath 
       CertPath.CertPathRep 
       CertPathBuilder 
       CertPathBuilderException 
       CertPathBuilderResult 
       CertPathBuilderSpi 
       CertPathParameters 
       CertPathTrustManagerParameters 
       CertPathValidator 
       CertPathValidatorException 
       CertPathValidatorResult 
       CertPathValidatorSpi 
       CertSelector 
       CertStore 
       CertStoreException 
       CertStoreParameters 
       CertStoreSpi 
       Certificate 
       Certificate 
       Certificate 
       Certificate.CertificateRep 
       CertificateEncodingException 
       CertificateEncodingException 
       CertificateException 
       CertificateException 
       CertificateExpiredException 
       CertificateExpiredException 
       CertificateFactory 
       CertificateFactorySpi 
       CertificateNotYetValidException 
       CertificateNotYetValidException 
       CertificateParsingException 
       CertificateParsingException 
       ChangeEvent 
       ChangeListener 
       ChangedCharSetException 
       Channel 
       ChannelBinding 
       Channels 
       CharArrayReader 
       CharArrayWriter 
       CharBuffer 
       CharConversionException 
       CharHolder 
       CharSeqHelper 
       CharSeqHolder 
       CharSequence 
       Character 
       Character.Subset 
       Character.UnicodeBlock 
       CharacterCodingException 
       CharacterData 
       CharacterIterator 
       Charset 
       CharsetDecoder 
       CharsetEncoder 
       CharsetProvider 
       Checkbox 
       CheckboxGroup 
       CheckboxMenuItem 
       CheckedInputStream 
       CheckedOutputStream 
       Checksum 
       Choice 
       ChoiceCallback 
       ChoiceFormat 
       Chromaticity 
       Cipher 
       CipherInputStream 
       CipherOutputStream 
       CipherSpi 
       Class 
       ClassCastException 
       ClassCircularityError 
       ClassDefinition 
       ClassDesc 
       ClassFileTransformer 
       ClassFormatError 
       ClassLoader 
       ClassLoaderRepository 
       ClassLoadingMXBean 
       ClassNotFoundException 
       ClientRequestInfo 
       ClientRequestInfoOperations 
       ClientRequestInterceptor 
       ClientRequestInterceptorOperations 
       Clip 
       Clipboard 
       ClipboardOwner 
       Clob 
       CloneNotSupportedException 
       Cloneable 
       Closeable 
       ClosedByInterruptException 
       ClosedChannelException 
       ClosedSelectorException 
       CodeSets 
       CodeSigner 
       CodeSource 
       Codec 
       CodecFactory 
       CodecFactoryHelper 
       CodecFactoryOperations 
       CodecOperations 
       CoderMalfunctionError 
       CoderResult 
       CodingErrorAction 
       CollationElementIterator 
       CollationKey 
       Collator 
       Collection 
       CollectionCertStoreParameters 
       Collections 
       Color 
       ColorChooserComponentFactory 
       ColorChooserUI 
       ColorConvertOp 
       ColorModel 
       ColorSelectionModel 
       ColorSpace 
       ColorSupported 
       ColorType 
       ColorUIResource 
       ComboBoxEditor 
       ComboBoxModel 
       ComboBoxUI 
       ComboPopup 
       Comment 
       CommunicationException 
       Comparable 
       Comparator 
       CompilationMXBean 
       Compiler 
       CompletionService 
       CompletionStatus 
       CompletionStatusHelper 
       Component 
       ComponentAdapter 
       ComponentColorModel 
       ComponentEvent 
       ComponentIdHelper 
       ComponentInputMap 
       ComponentInputMapUIResource 
       ComponentListener 
       ComponentOrientation 
       ComponentSampleModel 
       ComponentUI 
       ComponentView 
       Composite 
       CompositeContext 
       CompositeData 
       CompositeDataSupport 
       CompositeName 
       CompositeType 
       CompositeView 
       CompoundBorder 
       CompoundControl 
       CompoundControl.Type 
       CompoundEdit 
       CompoundName 
       Compression 
       ConcurrentHashMap 
       ConcurrentLinkedQueue 
       ConcurrentMap 
       ConcurrentModificationException 
       Condition 
       Configuration 
       ConfigurationException 
       ConfirmationCallback 
       ConnectException 
       ConnectException 
       ConnectIOException 
       Connection 
       ConnectionEvent 
       ConnectionEventListener 
       ConnectionPendingException 
       ConnectionPoolDataSource 
       ConsoleHandler 
       Constructor 
       Container 
       ContainerAdapter 
       ContainerEvent 
       ContainerListener 
       ContainerOrderFocusTraversalPolicy 
       ContentHandler 
       ContentHandler 
       ContentHandlerFactory 
       ContentModel 
       Context 
       Context 
       ContextList 
       ContextNotEmptyException 
       ContextualRenderedImageFactory 
       Control 
       Control 
       Control.Type 
       ControlFactory 
       ControllerEventListener 
       ConvolveOp 
       CookieHandler 
       CookieHolder 
       Copies 
       CopiesSupported 
       CopyOnWriteArrayList 
       CopyOnWriteArraySet 
       CountDownLatch 
       CounterMonitor 
       CounterMonitorMBean 
       CredentialException 
       CredentialExpiredException 
       CredentialNotFoundException 
       CropImageFilter 
       CubicCurve2D 
       CubicCurve2D.Double 
       CubicCurve2D.Float 
       Currency 
       Current 
       Current 
       Current 
       CurrentHelper 
       CurrentHelper 
       CurrentHelper 
       CurrentHolder 
       CurrentOperations 
       CurrentOperations 
       CurrentOperations 
       Cursor 
       CustomMarshal 
       CustomValue 
       Customizer 
       CyclicBarrier 
       DATA_CONVERSION 
       DESKeySpec 
       DESedeKeySpec 
       DGC 
       DHGenParameterSpec 
       DHKey 
       DHParameterSpec 
       DHPrivateKey 
       DHPrivateKeySpec 
       DHPublicKey 
       DHPublicKeySpec 
       DISCARDING 
       DOMConfiguration 
       DOMError 
       DOMErrorHandler 
       DOMException 
       DOMImplementation 
       DOMImplementationLS 
       DOMImplementationList 
       DOMImplementationRegistry 
       DOMImplementationSource 
       DOMLocator 
       DOMLocator 
       DOMResult 
       DOMSource 
       DOMStringList 
       DSAKey 
       DSAKeyPairGenerator 
       DSAParameterSpec 
       DSAParams 
       DSAPrivateKey 
       DSAPrivateKeySpec 
       DSAPublicKey 
       DSAPublicKeySpec 
       DTD 
       DTDConstants 
       DTDHandler 
       DataBuffer 
       DataBufferByte 
       DataBufferDouble 
       DataBufferFloat 
       DataBufferInt 
       DataBufferShort 
       DataBufferUShort 
       DataFlavor 
       DataFormatException 
       DataInput 
       DataInputStream 
       DataInputStream 
       DataLine 
       DataLine.Info 
       DataOutput 
       DataOutputStream 
       DataOutputStream 
       DataSource 
       DataTruncation 
       DatabaseMetaData 
       DatagramChannel 
       DatagramPacket 
       DatagramSocket 
       DatagramSocketImpl 
       DatagramSocketImplFactory 
       DatatypeConfigurationException 
       DatatypeConstants 
       DatatypeConstants.Field 
       DatatypeFactory 
       Date 
       Date 
       DateFormat 
       DateFormat.Field 
       DateFormatSymbols 
       DateFormatter 
       DateTimeAtCompleted 
       DateTimeAtCreation 
       DateTimeAtProcessing 
       DateTimeSyntax 
       DebugGraphics 
       DecimalFormat 
       DecimalFormatSymbols 
       DeclHandler 
       DefaultBoundedRangeModel 
       DefaultButtonModel 
       DefaultCaret 
       DefaultCellEditor 
       DefaultColorSelectionModel 
       DefaultComboBoxModel 
       DefaultDesktopManager 
       DefaultEditorKit 
       DefaultEditorKit.BeepAction 
       DefaultEditorKit.CopyAction 
       DefaultEditorKit.CutAction 
       DefaultEditorKit.DefaultKeyTypedAction 
       DefaultEditorKit.InsertBreakAction 
       DefaultEditorKit.InsertContentAction 
       DefaultEditorKit.InsertTabAction 
       DefaultEditorKit.PasteAction 
       DefaultFocusManager 
       DefaultFocusTraversalPolicy 
       DefaultFormatter 
       DefaultFormatterFactory 
       DefaultHandler 
       DefaultHandler2 
       DefaultHighlighter 
       DefaultHighlighter.DefaultHighlightPainter 
       DefaultKeyboardFocusManager 
       DefaultListCellRenderer 
       DefaultListCellRenderer.UIResource 
       DefaultListModel 
       DefaultListSelectionModel 
       DefaultLoaderRepository 
       DefaultLoaderRepository 
       DefaultMenuLayout 
       DefaultMetalTheme 
       DefaultMutableTreeNode 
       DefaultPersistenceDelegate 
       DefaultSingleSelectionModel 
       DefaultStyledDocument 
       DefaultStyledDocument.AttributeUndoableEdit 
       DefaultStyledDocument.ElementSpec 
       DefaultTableCellRenderer 
       DefaultTableCellRenderer.UIResource 
       DefaultTableColumnModel 
       DefaultTableModel 
       DefaultTextUI 
       DefaultTreeCellEditor 
       DefaultTreeCellRenderer 
       DefaultTreeModel 
       DefaultTreeSelectionModel 
       DefinitionKind 
       DefinitionKindHelper 
       Deflater 
       DeflaterOutputStream 
       DelayQueue 
       Delayed 
       Delegate 
       Delegate 
       Delegate 
       DelegationPermission 
       Deprecated 
       Descriptor 
       DescriptorAccess 
       DescriptorSupport 
       DesignMode 
       DesktopIconUI 
       DesktopManager 
       DesktopPaneUI 
       Destination 
       DestroyFailedException 
       Destroyable 
       Dialog 
       Dictionary 
       DigestException 
       DigestInputStream 
       DigestOutputStream 
       Dimension 
       Dimension2D 
       DimensionUIResource 
       DirContext 
       DirObjectFactory 
       DirStateFactory 
       DirStateFactory.Result 
       DirectColorModel 
       DirectoryManager 
       DisplayMode 
       DnDConstants 
       Doc 
       DocAttribute 
       DocAttributeSet 
       DocFlavor 
       DocFlavor.BYTE_ARRAY 
       DocFlavor.CHAR_ARRAY 
       DocFlavor.INPUT_STREAM 
       DocFlavor.READER 
       DocFlavor.SERVICE_FORMATTED 
       DocFlavor.STRING 
       DocFlavor.URL 
       DocPrintJob 
       Document 
       Document 
       DocumentBuilder 
       DocumentBuilderFactory 
       DocumentEvent 
       DocumentEvent.ElementChange 
       DocumentEvent.EventType 
       DocumentFilter 
       DocumentFilter.FilterBypass 
       DocumentFragment 
       DocumentHandler 
       DocumentListener 
       DocumentName 
       DocumentParser 
       DocumentType 
       Documented 
       DomainCombiner 
       DomainManager 
       DomainManagerOperations 
       Double 
       DoubleBuffer 
       DoubleHolder 
       DoubleSeqHelper 
       DoubleSeqHolder 
       DragGestureEvent 
       DragGestureListener 
       DragGestureRecognizer 
       DragSource 
       DragSourceAdapter 
       DragSourceContext 
       DragSourceDragEvent 
       DragSourceDropEvent 
       DragSourceEvent 
       DragSourceListener 
       DragSourceMotionListener 
       Driver 
       DriverManager 
       DriverPropertyInfo 
       DropTarget 
       DropTarget.DropTargetAutoScroller 
       DropTargetAdapter 
       DropTargetContext 
       DropTargetDragEvent 
       DropTargetDropEvent 
       DropTargetEvent 
       DropTargetListener 
       DuplicateFormatFlagsException 
       DuplicateName 
       DuplicateNameHelper 
       Duration 
       DynAny 
       DynAny 
       DynAnyFactory 
       DynAnyFactoryHelper 
       DynAnyFactoryOperations 
       DynAnyHelper 
       DynAnyOperations 
       DynAnySeqHelper 
       DynArray 
       DynArray 
       DynArrayHelper 
       DynArrayOperations 
       DynEnum 
       DynEnum 
       DynEnumHelper 
       DynEnumOperations 
       DynFixed 
       DynFixed 
       DynFixedHelper 
       DynFixedOperations 
       DynSequence 
       DynSequence 
       DynSequenceHelper 
       DynSequenceOperations 
       DynStruct 
       DynStruct 
       DynStructHelper 
       DynStructOperations 
       DynUnion 
       DynUnion 
       DynUnionHelper 
       DynUnionOperations 
       DynValue 
       DynValue 
       DynValueBox 
       DynValueBoxOperations 
       DynValueCommon 
       DynValueCommonOperations 
       DynValueHelper 
       DynValueOperations 
       DynamicImplementation 
       DynamicImplementation 
       DynamicMBean 
       ECField 
       ECFieldF2m 
       ECFieldFp 
       ECGenParameterSpec 
       ECKey 
       ECParameterSpec 
       ECPoint 
       ECPrivateKey 
       ECPrivateKeySpec 
       ECPublicKey 
       ECPublicKeySpec 
       ENCODING_CDR_ENCAPS 
       EOFException 
       EditorKit 
       Element 
       Element 
       Element 
       ElementIterator 
       ElementType 
       Ellipse2D 
       Ellipse2D.Double 
       Ellipse2D.Float 
       EllipticCurve 
       EmptyBorder 
       EmptyStackException 
       EncodedKeySpec 
       Encoder 
       Encoding 
       EncryptedPrivateKeyInfo 
       Entity 
       Entity 
       EntityReference 
       EntityResolver 
       EntityResolver2 
       Enum 
       EnumConstantNotPresentException 
       EnumControl 
       EnumControl.Type 
       EnumMap 
       EnumSet 
       EnumSyntax 
       Enumeration 
       Environment 
       Error 
       ErrorHandler 
       ErrorListener 
       ErrorManager 
       EtchedBorder 
       Event 
       EventContext 
       EventDirContext 
       EventHandler 
       EventListener 
       EventListenerList 
       EventListenerProxy 
       EventObject 
       EventQueue 
       EventSetDescriptor 
       Exception 
       ExceptionDetailMessage 
       ExceptionInInitializerError 
       ExceptionList 
       ExceptionListener 
       Exchanger 
       ExecutionException 
       Executor 
       ExecutorCompletionService 
       ExecutorService 
       Executors 
       ExemptionMechanism 
       ExemptionMechanismException 
       ExemptionMechanismSpi 
       ExpandVetoException 
       ExportException 
       Expression 
       ExtendedRequest 
       ExtendedResponse 
       Externalizable 
       FREE_MEM 
       FactoryConfigurationError 
       FailedLoginException 
       FeatureDescriptor 
       Fidelity 
       Field 
       FieldNameHelper 
       FieldNameHelper 
       FieldPosition 
       FieldView 
       File 
       FileCacheImageInputStream 
       FileCacheImageOutputStream 
       FileChannel 
       FileChannel.MapMode 
       FileChooserUI 
       FileDescriptor 
       FileDialog 
       FileFilter 
       FileFilter 
       FileHandler 
       FileImageInputStream 
       FileImageOutputStream 
       FileInputStream 
       FileLock 
       FileLockInterruptionException 
       FileNameMap 
       FileNotFoundException 
       FileOutputStream 
       FilePermission 
       FileReader 
       FileSystemView 
       FileView 
       FileWriter 
       FilenameFilter 
       Filter 
       FilterInputStream 
       FilterOutputStream 
       FilterReader 
       FilterWriter 
       FilteredImageSource 
       FilteredRowSet 
       Finishings 
       FixedHeightLayoutCache 
       FixedHolder 
       FlatteningPathIterator 
       FlavorEvent 
       FlavorException 
       FlavorListener 
       FlavorMap 
       FlavorTable 
       Float 
       FloatBuffer 
       FloatControl 
       FloatControl.Type 
       FloatHolder 
       FloatSeqHelper 
       FloatSeqHolder 
       FlowLayout 
       FlowView 
       FlowView.FlowStrategy 
       Flushable 
       FocusAdapter 
       FocusEvent 
       FocusListener 
       FocusManager 
       FocusTraversalPolicy 
       Font 
       FontFormatException 
       FontMetrics 
       FontRenderContext 
       FontUIResource 
       FormSubmitEvent 
       FormSubmitEvent.MethodType 
       FormView 
       Format 
       Format.Field 
       FormatConversionProvider 
       FormatFlagsConversionMismatchException 
       FormatMismatch 
       FormatMismatchHelper 
       Formattable 
       FormattableFlags 
       Formatter 
       Formatter 
       FormatterClosedException 
       ForwardRequest 
       ForwardRequest 
       ForwardRequestHelper 
       ForwardRequestHelper 
       Frame 
       Future 
       FutureTask 
       GSSContext 
       GSSCredential 
       GSSException 
       GSSManager 
       GSSName 
       GZIPInputStream 
       GZIPOutputStream 
       GapContent 
       GarbageCollectorMXBean 
       GatheringByteChannel 
       GaugeMonitor 
       GaugeMonitorMBean 
       GeneralPath 
       GeneralSecurityException 
       GenericArrayType 
       GenericDeclaration 
       GenericSignatureFormatError 
       GlyphJustificationInfo 
       GlyphMetrics 
       GlyphVector 
       GlyphView 
       GlyphView.GlyphPainter 
       GradientPaint 
       GraphicAttribute 
       Graphics 
       Graphics2D 
       GraphicsConfigTemplate 
       GraphicsConfiguration 
       GraphicsDevice 
       GraphicsEnvironment 
       GrayFilter 
       GregorianCalendar 
       GridBagConstraints 
       GridBagLayout 
       GridLayout 
       Group 
       Guard 
       GuardedObject 
       HOLDING 
       HTML 
       HTML.Attribute 
       HTML.Tag 
       HTML.UnknownTag 
       HTMLDocument 
       HTMLDocument.Iterator 
       HTMLEditorKit 
       HTMLEditorKit.HTMLFactory 
       HTMLEditorKit.HTMLTextAction 
       HTMLEditorKit.InsertHTMLTextAction 
       HTMLEditorKit.LinkController 
       HTMLEditorKit.Parser 
       HTMLEditorKit.ParserCallback 
       HTMLFrameHyperlinkEvent 
       HTMLWriter 
       Handler 
       HandlerBase 
       HandshakeCompletedEvent 
       HandshakeCompletedListener 
       HasControls 
       HashAttributeSet 
       HashDocAttributeSet 
       HashMap 
       HashPrintJobAttributeSet 
       HashPrintRequestAttributeSet 
       HashPrintServiceAttributeSet 
       HashSet 
       Hashtable 
       HeadlessException 
       HierarchyBoundsAdapter 
       HierarchyBoundsListener 
       HierarchyEvent 
       HierarchyListener 
       Highlighter 
       Highlighter.Highlight 
       Highlighter.HighlightPainter 
       HostnameVerifier 
       HttpRetryException 
       HttpURLConnection 
       HttpsURLConnection 
       HyperlinkEvent 
       HyperlinkEvent.EventType 
       HyperlinkListener 
       ICC_ColorSpace 
       ICC_Profile 
       ICC_ProfileGray 
       ICC_ProfileRGB 
       IDLEntity 
       IDLType 
       IDLTypeHelper 
       IDLTypeOperations 
       ID_ASSIGNMENT_POLICY_ID 
       ID_UNIQUENESS_POLICY_ID 
       IIOByteBuffer 
       IIOException 
       IIOImage 
       IIOInvalidTreeException 
       IIOMetadata 
       IIOMetadataController 
       IIOMetadataFormat 
       IIOMetadataFormatImpl 
       IIOMetadataNode 
       IIOParam 
       IIOParamController 
       IIOReadProgressListener 
       IIOReadUpdateListener 
       IIOReadWarningListener 
       IIORegistry 
       IIOServiceProvider 
       IIOWriteProgressListener 
       IIOWriteWarningListener 
       IMPLICIT_ACTIVATION_POLICY_ID 
       IMP_LIMIT 
       INACTIVE 
       INITIALIZE 
       INTERNAL 
       INTF_REPOS 
       INVALID_ACTIVITY 
       INVALID_TRANSACTION 
       INV_FLAG 
       INV_IDENT 
       INV_OBJREF 
       INV_POLICY 
       IOException 
       IOR 
       IORHelper 
       IORHolder 
       IORInfo 
       IORInfoOperations 
       IORInterceptor 
       IORInterceptorOperations 
       IORInterceptor_3_0 
       IORInterceptor_3_0Helper 
       IORInterceptor_3_0Holder 
       IORInterceptor_3_0Operations 
       IRObject 
       IRObjectOperations 
       Icon 
       IconUIResource 
       IconView 
       IdAssignmentPolicy 
       IdAssignmentPolicyOperations 
       IdAssignmentPolicyValue 
       IdUniquenessPolicy 
       IdUniquenessPolicyOperations 
       IdUniquenessPolicyValue 
       IdentifierHelper 
       Identity 
       IdentityHashMap 
       IdentityScope 
       IllegalAccessError 
       IllegalAccessException 
       IllegalArgumentException 
       IllegalBlockSizeException 
       IllegalBlockingModeException 
       IllegalCharsetNameException 
       IllegalClassFormatException 
       IllegalComponentStateException 
       IllegalFormatCodePointException 
       IllegalFormatConversionException 
       IllegalFormatException 
       IllegalFormatFlagsException 
       IllegalFormatPrecisionException 
       IllegalFormatWidthException 
       IllegalMonitorStateException 
       IllegalPathStateException 
       IllegalSelectorException 
       IllegalStateException 
       IllegalThreadStateException 
       Image 
       ImageCapabilities 
       ImageConsumer 
       ImageFilter 
       ImageGraphicAttribute 
       ImageIO 
       ImageIcon 
       ImageInputStream 
       ImageInputStreamImpl 
       ImageInputStreamSpi 
       ImageObserver 
       ImageOutputStream 
       ImageOutputStreamImpl 
       ImageOutputStreamSpi 
       ImageProducer 
       ImageReadParam 
       ImageReader 
       ImageReaderSpi 
       ImageReaderWriterSpi 
       ImageTranscoder 
       ImageTranscoderSpi 
       ImageTypeSpecifier 
       ImageView 
       ImageWriteParam 
       ImageWriter 
       ImageWriterSpi 
       ImagingOpException 
       ImplicitActivationPolicy 
       ImplicitActivationPolicyOperations 
       ImplicitActivationPolicyValue 
       IncompatibleClassChangeError 
       IncompleteAnnotationException 
       InconsistentTypeCode 
       InconsistentTypeCode 
       InconsistentTypeCodeHelper 
       IndexColorModel 
       IndexOutOfBoundsException 
       IndexedPropertyChangeEvent 
       IndexedPropertyDescriptor 
       IndirectionException 
       Inet4Address 
       Inet6Address 
       InetAddress 
       InetSocketAddress 
       Inflater 
       InflaterInputStream 
       InheritableThreadLocal 
       Inherited 
       InitialContext 
       InitialContextFactory 
       InitialContextFactoryBuilder 
       InitialDirContext 
       InitialLdapContext 
       InlineView 
       InputContext 
       InputEvent 
       InputMap 
       InputMapUIResource 
       InputMethod 
       InputMethodContext 
       InputMethodDescriptor 
       InputMethodEvent 
       InputMethodHighlight 
       InputMethodListener 
       InputMethodRequests 
       InputMismatchException 
       InputSource 
       InputStream 
       InputStream 
       InputStream 
       InputStreamReader 
       InputSubset 
       InputVerifier 
       Insets 
       InsetsUIResource 
       InstanceAlreadyExistsException 
       InstanceNotFoundException 
       InstantiationError 
       InstantiationException 
       Instrument 
       Instrumentation 
       InsufficientResourcesException 
       IntBuffer 
       IntHolder 
       Integer 
       IntegerSyntax 
       Interceptor 
       InterceptorOperations 
       InternalError 
       InternalFrameAdapter 
       InternalFrameEvent 
       InternalFrameFocusTraversalPolicy 
       InternalFrameListener 
       InternalFrameUI 
       InternationalFormatter 
       InterruptedException 
       InterruptedIOException 
       InterruptedNamingException 
       InterruptibleChannel 
       IntrospectionException 
       IntrospectionException 
       Introspector 
       Invalid 
       InvalidActivityException 
       InvalidAddress 
       InvalidAddressHelper 
       InvalidAddressHolder 
       InvalidAlgorithmParameterException 
       InvalidApplicationException 
       InvalidAttributeIdentifierException 
       InvalidAttributeValueException 
       InvalidAttributeValueException 
       InvalidAttributesException 
       InvalidClassException 
       InvalidDnDOperationException 
       InvalidKeyException 
       InvalidKeyException 
       InvalidKeySpecException 
       InvalidMarkException 
       InvalidMidiDataException 
       InvalidName 
       InvalidName 
       InvalidName 
       InvalidNameException 
       InvalidNameHelper 
       InvalidNameHelper 
       InvalidNameHolder 
       InvalidObjectException 
       InvalidOpenTypeException 
       InvalidParameterException 
       InvalidParameterSpecException 
       InvalidPolicy 
       InvalidPolicyHelper 
       InvalidPreferencesFormatException 
       InvalidPropertiesFormatException 
       InvalidRelationIdException 
       InvalidRelationServiceException 
       InvalidRelationTypeException 
       InvalidRoleInfoException 
       InvalidRoleValueException 
       InvalidSearchControlsException 
       InvalidSearchFilterException 
       InvalidSeq 
       InvalidSlot 
       InvalidSlotHelper 
       InvalidTargetObjectTypeException 
       InvalidTransactionException 
       InvalidTypeForEncoding 
       InvalidTypeForEncodingHelper 
       InvalidValue 
       InvalidValue 
       InvalidValueHelper 
       InvocationEvent 
       InvocationHandler 
       InvocationTargetException 
       InvokeHandler 
       IstringHelper 
       ItemEvent 
       ItemListener 
       ItemSelectable 
       Iterable 
       Iterator 
       IvParameterSpec 
       JApplet 
       JButton 
       JCheckBox 
       JCheckBoxMenuItem 
       JColorChooser 
       JComboBox 
       JComboBox.KeySelectionManager 
       JComponent 
       JDesktopPane 
       JDialog 
       JEditorPane 
       JFileChooser 
       JFormattedTextField 
       JFormattedTextField.AbstractFormatter 
       JFormattedTextField.AbstractFormatterFactory 
       JFrame 
       JInternalFrame 
       JInternalFrame.JDesktopIcon 
       JLabel 
       JLayeredPane 
       JList 
       JMException 
       JMRuntimeException 
       JMXAuthenticator 
       JMXConnectionNotification 
       JMXConnector 
       JMXConnectorFactory 
       JMXConnectorProvider 
       JMXConnectorServer 
       JMXConnectorServerFactory 
       JMXConnectorServerMBean 
       JMXConnectorServerProvider 
       JMXPrincipal 
       JMXProviderException 
       JMXServerErrorException 
       JMXServiceURL 
       JMenu 
       JMenuBar 
       JMenuItem 
       JOptionPane 
       JPEGHuffmanTable 
       JPEGImageReadParam 
       JPEGImageWriteParam 
       JPEGQTable 
       JPanel 
       JPasswordField 
       JPopupMenu 
       JPopupMenu.Separator 
       JProgressBar 
       JRadioButton 
       JRadioButtonMenuItem 
       JRootPane 
       JScrollBar 
       JScrollPane 
       JSeparator 
       JSlider 
       JSpinner 
       JSpinner.DateEditor 
       JSpinner.DefaultEditor 
       JSpinner.ListEditor 
       JSpinner.NumberEditor 
       JSplitPane 
       JTabbedPane 
       JTable 
       JTable.PrintMode 
       JTableHeader 
       JTextArea 
       JTextComponent 
       JTextComponent.KeyBinding 
       JTextField 
       JTextPane 
       JToggleButton 
       JToggleButton.ToggleButtonModel 
       JToolBar 
       JToolBar.Separator 
       JToolTip 
       JTree 
       JTree.DynamicUtilTreeNode 
       JTree.EmptySelectionModel 
       JViewport 
       JWindow 
       JarEntry 
       JarException 
       JarFile 
       JarInputStream 
       JarOutputStream 
       JarURLConnection 
       JdbcRowSet 
       JobAttributes 
       JobAttributes.DefaultSelectionType 
       JobAttributes.DestinationType 
       JobAttributes.DialogType 
       JobAttributes.MultipleDocumentHandlingType 
       JobAttributes.SidesType 
       JobHoldUntil 
       JobImpressions 
       JobImpressionsCompleted 
       JobImpressionsSupported 
       JobKOctets 
       JobKOctetsProcessed 
       JobKOctetsSupported 
       JobMediaSheets 
       JobMediaSheetsCompleted 
       JobMediaSheetsSupported 
       JobMessageFromOperator 
       JobName 
       JobOriginatingUserName 
       JobPriority 
       JobPrioritySupported 
       JobSheets 
       JobState 
       JobStateReason 
       JobStateReasons 
       JoinRowSet 
       Joinable 
       KerberosKey 
       KerberosPrincipal 
       KerberosTicket 
       Kernel 
       Key 
       KeyAdapter 
       KeyAgreement 
       KeyAgreementSpi 
       KeyAlreadyExistsException 
       KeyEvent 
       KeyEventDispatcher 
       KeyEventPostProcessor 
       KeyException 
       KeyFactory 
       KeyFactorySpi 
       KeyGenerator 
       KeyGeneratorSpi 
       KeyListener 
       KeyManagementException 
       KeyManager 
       KeyManagerFactory 
       KeyManagerFactorySpi 
       KeyPair 
       KeyPairGenerator 
       KeyPairGeneratorSpi 
       KeyRep 
       KeyRep.Type 
       KeySpec 
       KeyStore 
       KeyStore.Builder 
       KeyStore.CallbackHandlerProtection 
       KeyStore.Entry 
       KeyStore.LoadStoreParameter 
       KeyStore.PasswordProtection 
       KeyStore.PrivateKeyEntry 
       KeyStore.ProtectionParameter 
       KeyStore.SecretKeyEntry 
       KeyStore.TrustedCertificateEntry 
       KeyStoreBuilderParameters 
       KeyStoreException 
       KeyStoreSpi 
       KeyStroke 
       KeyboardFocusManager 
       Keymap 
       LDAPCertStoreParameters 
       LIFESPAN_POLICY_ID 
       LOCATION_FORWARD 
       LSException 
       LSInput 
       LSLoadEvent 
       LSOutput 
       LSParser 
       LSParserFilter 
       LSProgressEvent 
       LSResourceResolver 
       LSSerializer 
       LSSerializerFilter 
       Label 
       LabelUI 
       LabelView 
       LanguageCallback 
       LastOwnerException 
       LayeredHighlighter 
       LayeredHighlighter.LayerPainter 
       LayoutFocusTraversalPolicy 
       LayoutManager 
       LayoutManager2 
       LayoutQueue 
       LdapContext 
       LdapName 
       LdapReferralException 
       Lease 
       Level 
       LexicalHandler 
       LifespanPolicy 
       LifespanPolicyOperations 
       LifespanPolicyValue 
       LimitExceededException 
       Line 
       Line.Info 
       Line2D 
       Line2D.Double 
       Line2D.Float 
       LineBorder 
       LineBreakMeasurer 
       LineEvent 
       LineEvent.Type 
       LineListener 
       LineMetrics 
       LineNumberInputStream 
       LineNumberReader 
       LineUnavailableException 
       LinkException 
       LinkLoopException 
       LinkRef 
       LinkageError 
       LinkedBlockingQueue 
       LinkedHashMap 
       LinkedHashSet 
       LinkedList 
       List 
       List 
       ListCellRenderer 
       ListDataEvent 
       ListDataListener 
       ListIterator 
       ListModel 
       ListResourceBundle 
       ListSelectionEvent 
       ListSelectionListener 
       ListSelectionModel 
       ListUI 
       ListView 
       ListenerNotFoundException 
       LoaderHandler 
       LocalObject 
       Locale 
       LocateRegistry 
       Locator 
       Locator2 
       Locator2Impl 
       LocatorImpl 
       Lock 
       LockSupport 
       LogManager 
       LogRecord 
       LogStream 
       Logger 
       LoggingMXBean 
       LoggingPermission 
       LoginContext 
       LoginException 
       LoginModule 
       Long 
       LongBuffer 
       LongHolder 
       LongLongSeqHelper 
       LongLongSeqHolder 
       LongSeqHelper 
       LongSeqHolder 
       LookAndFeel 
       LookupOp 
       LookupTable 
       MARSHAL 
       MBeanAttributeInfo 
       MBeanConstructorInfo 
       MBeanException 
       MBeanFeatureInfo 
       MBeanInfo 
       MBeanNotificationInfo 
       MBeanOperationInfo 
       MBeanParameterInfo 
       MBeanPermission 
       MBeanRegistration 
       MBeanRegistrationException 
       MBeanServer 
       MBeanServerBuilder 
       MBeanServerConnection 
       MBeanServerDelegate 
       MBeanServerDelegateMBean 
       MBeanServerFactory 
       MBeanServerForwarder 
       MBeanServerInvocationHandler 
       MBeanServerNotification 
       MBeanServerNotificationFilter 
       MBeanServerPermission 
       MBeanTrustPermission 
       MGF1ParameterSpec 
       MLet 
       MLetMBean 
       Mac 
       MacSpi 
       MalformedInputException 
       MalformedLinkException 
       MalformedObjectNameException 
       MalformedParameterizedTypeException 
       MalformedURLException 
       ManageReferralControl 
       ManagementFactory 
       ManagementPermission 
       ManagerFactoryParameters 
       Manifest 
       Map 
       Map.Entry 
       MappedByteBuffer 
       MarshalException 
       MarshalledObject 
       MaskFormatter 
       MatchResult 
       Matcher 
       Math 
       MathContext 
       MatteBorder 
       Media 
       MediaName 
       MediaPrintableArea 
       MediaSize 
       MediaSize.Engineering 
       MediaSize.ISO 
       MediaSize.JIS 
       MediaSize.NA 
       MediaSize.Other 
       MediaSizeName 
       MediaTracker 
       MediaTray 
       Member 
       MemoryCacheImageInputStream 
       MemoryCacheImageOutputStream 
       MemoryHandler 
       MemoryImageSource 
       MemoryMXBean 
       MemoryManagerMXBean 
       MemoryNotificationInfo 
       MemoryPoolMXBean 
       MemoryType 
       MemoryUsage 
       Menu 
       MenuBar 
       MenuBarUI 
       MenuComponent 
       MenuContainer 
       MenuDragMouseEvent 
       MenuDragMouseListener 
       MenuElement 
       MenuEvent 
       MenuItem 
       MenuItemUI 
       MenuKeyEvent 
       MenuKeyListener 
       MenuListener 
       MenuSelectionManager 
       MenuShortcut 
       MessageDigest 
       MessageDigestSpi 
       MessageFormat 
       MessageFormat.Field 
       MessageProp 
       MetaEventListener 
       MetaMessage 
       MetalBorders 
       MetalBorders.ButtonBorder 
       MetalBorders.Flush3DBorder 
       MetalBorders.InternalFrameBorder 
       MetalBorders.MenuBarBorder 
       MetalBorders.MenuItemBorder 
       MetalBorders.OptionDialogBorder 
       MetalBorders.PaletteBorder 
       MetalBorders.PopupMenuBorder 
       MetalBorders.RolloverButtonBorder 
       MetalBorders.ScrollPaneBorder 
       MetalBorders.TableHeaderBorder 
       MetalBorders.TextFieldBorder 
       MetalBorders.ToggleButtonBorder 
       MetalBorders.ToolBarBorder 
       MetalButtonUI 
       MetalCheckBoxIcon 
       MetalCheckBoxUI 
       MetalComboBoxButton 
       MetalComboBoxEditor 
       MetalComboBoxEditor.UIResource 
       MetalComboBoxIcon 
       MetalComboBoxUI 
       MetalDesktopIconUI 
       MetalFileChooserUI 
       MetalIconFactory 
       MetalIconFactory.FileIcon16 
       MetalIconFactory.FolderIcon16 
       MetalIconFactory.PaletteCloseIcon 
       MetalIconFactory.TreeControlIcon 
       MetalIconFactory.TreeFolderIcon 
       MetalIconFactory.TreeLeafIcon 
       MetalInternalFrameTitlePane 
       MetalInternalFrameUI 
       MetalLabelUI 
       MetalLookAndFeel 
       MetalMenuBarUI 
       MetalPopupMenuSeparatorUI 
       MetalProgressBarUI 
       MetalRadioButtonUI 
       MetalRootPaneUI 
       MetalScrollBarUI 
       MetalScrollButton 
       MetalScrollPaneUI 
       MetalSeparatorUI 
       MetalSliderUI 
       MetalSplitPaneUI 
       MetalTabbedPaneUI 
       MetalTextFieldUI 
       MetalTheme 
       MetalToggleButtonUI 
       MetalToolBarUI 
       MetalToolTipUI 
       MetalTreeUI 
       Method 
       MethodDescriptor 
       MidiChannel 
       MidiDevice 
       MidiDevice.Info 
       MidiDeviceProvider 
       MidiEvent 
       MidiFileFormat 
       MidiFileReader 
       MidiFileWriter 
       MidiMessage 
       MidiSystem 
       MidiUnavailableException 
       MimeTypeParseException 
       MinimalHTMLWriter 
       MissingFormatArgumentException 
       MissingFormatWidthException 
       MissingResourceException 
       Mixer 
       Mixer.Info 
       MixerProvider 
       ModelMBean 
       ModelMBeanAttributeInfo 
       ModelMBeanConstructorInfo 
       ModelMBeanInfo 
       ModelMBeanInfoSupport 
       ModelMBeanNotificationBroadcaster 
       ModelMBeanNotificationInfo 
       ModelMBeanOperationInfo 
       ModificationItem 
       Modifier 
       Monitor 
       MonitorMBean 
       MonitorNotification 
       MonitorSettingException 
       MouseAdapter 
       MouseDragGestureRecognizer 
       MouseEvent 
       MouseInfo 
       MouseInputAdapter 
       MouseInputListener 
       MouseListener 
       MouseMotionAdapter 
       MouseMotionListener 
       MouseWheelEvent 
       MouseWheelListener 
       MultiButtonUI 
       MultiColorChooserUI 
       MultiComboBoxUI 
       MultiDesktopIconUI 
       MultiDesktopPaneUI 
       MultiDoc 
       MultiDocPrintJob 
       MultiDocPrintService 
       MultiFileChooserUI 
       MultiInternalFrameUI 
       MultiLabelUI 
       MultiListUI 
       MultiLookAndFeel 
       MultiMenuBarUI 
       MultiMenuItemUI 
       MultiOptionPaneUI 
       MultiPanelUI 
       MultiPixelPackedSampleModel 
       MultiPopupMenuUI 
       MultiProgressBarUI 
       MultiRootPaneUI 
       MultiScrollBarUI 
       MultiScrollPaneUI 
       MultiSeparatorUI 
       MultiSliderUI 
       MultiSpinnerUI 
       MultiSplitPaneUI 
       MultiTabbedPaneUI 
       MultiTableHeaderUI 
       MultiTableUI 
       MultiTextUI 
       MultiToolBarUI 
       MultiToolTipUI 
       MultiTreeUI 
       MultiViewportUI 
       MulticastSocket 
       MultipleComponentProfileHelper 
       MultipleComponentProfileHolder 
       MultipleDocumentHandling 
       MultipleMaster 
       MutableAttributeSet 
       MutableComboBoxModel 
       MutableTreeNode 
       NON_EXISTENT 
       NO_IMPLEMENT 
       NO_MEMORY 
       NO_PERMISSION 
       NO_RESOURCES 
       NO_RESPONSE 
       NVList 
       Name 
       NameAlreadyBoundException 
       NameCallback 
       NameClassPair 
       NameComponent 
       NameComponentHelper 
       NameComponentHolder 
       NameDynAnyPair 
       NameDynAnyPairHelper 
       NameDynAnyPairSeqHelper 
       NameHelper 
       NameHolder 
       NameList 
       NameNotFoundException 
       NameParser 
       NameValuePair 
       NameValuePair 
       NameValuePairHelper 
       NameValuePairHelper 
       NameValuePairSeqHelper 
       NamedNodeMap 
       NamedValue 
       NamespaceChangeListener 
       NamespaceContext 
       NamespaceSupport 
       Naming 
       NamingContext 
       NamingContextExt 
       NamingContextExtHelper 
       NamingContextExtHolder 
       NamingContextExtOperations 
       NamingContextExtPOA 
       NamingContextHelper 
       NamingContextHolder 
       NamingContextOperations 
       NamingContextPOA 
       NamingEnumeration 
       NamingEvent 
       NamingException 
       NamingExceptionEvent 
       NamingListener 
       NamingManager 
       NamingSecurityException 
       NavigationFilter 
       NavigationFilter.FilterBypass 
       NegativeArraySizeException 
       NetPermission 
       NetworkInterface 
       NoClassDefFoundError 
       NoConnectionPendingException 
       NoContext 
       NoContextHelper 
       NoInitialContextException 
       NoPermissionException 
       NoRouteToHostException 
       NoServant 
       NoServantHelper 
       NoSuchAlgorithmException 
       NoSuchAttributeException 
       NoSuchElementException 
       NoSuchFieldError 
       NoSuchFieldException 
       NoSuchMethodError 
       NoSuchMethodException 
       NoSuchObjectException 
       NoSuchPaddingException 
       NoSuchProviderException 
       Node 
       NodeChangeEvent 
       NodeChangeListener 
       NodeList 
       NonReadableChannelException 
       NonWritableChannelException 
       NoninvertibleTransformException 
       NotActiveException 
       NotBoundException 
       NotCompliantMBeanException 
       NotContextException 
       NotEmpty 
       NotEmptyHelper 
       NotEmptyHolder 
       NotFound 
       NotFoundHelper 
       NotFoundHolder 
       NotFoundReason 
       NotFoundReasonHelper 
       NotFoundReasonHolder 
       NotOwnerException 
       NotSerializableException 
       NotYetBoundException 
       NotYetConnectedException 
       Notation 
       Notification 
       NotificationBroadcaster 
       NotificationBroadcasterSupport 
       NotificationEmitter 
       NotificationFilter 
       NotificationFilterSupport 
       NotificationListener 
       NotificationResult 
       NullCipher 
       NullPointerException 
       Number 
       NumberFormat 
       NumberFormat.Field 
       NumberFormatException 
       NumberFormatter 
       NumberOfDocuments 
       NumberOfInterveningJobs 
       NumberUp 
       NumberUpSupported 
       NumericShaper 
       OAEPParameterSpec 
       OBJECT_NOT_EXIST 
       OBJ_ADAPTER 
       OMGVMCID 
       ORB 
       ORB 
       ORBIdHelper 
       ORBInitInfo 
       ORBInitInfoOperations 
       ORBInitializer 
       ORBInitializerOperations 
       ObjID 
       Object 
       Object 
       ObjectAlreadyActive 
       ObjectAlreadyActiveHelper 
       ObjectChangeListener 
       ObjectFactory 
       ObjectFactoryBuilder 
       ObjectHelper 
       ObjectHolder 
       ObjectIdHelper 
       ObjectIdHelper 
       ObjectImpl 
       ObjectImpl 
       ObjectInput 
       ObjectInputStream 
       ObjectInputStream.GetField 
       ObjectInputValidation 
       ObjectInstance 
       ObjectName 
       ObjectNotActive 
       ObjectNotActiveHelper 
       ObjectOutput 
       ObjectOutputStream 
       ObjectOutputStream.PutField 
       ObjectReferenceFactory 
       ObjectReferenceFactoryHelper 
       ObjectReferenceFactoryHolder 
       ObjectReferenceTemplate 
       ObjectReferenceTemplateHelper 
       ObjectReferenceTemplateHolder 
       ObjectReferenceTemplateSeqHelper 
       ObjectReferenceTemplateSeqHolder 
       ObjectStreamClass 
       ObjectStreamConstants 
       ObjectStreamException 
       ObjectStreamField 
       ObjectView 
       Observable 
       Observer 
       OceanTheme 
       OctetSeqHelper 
       OctetSeqHolder 
       Oid 
       OpenDataException 
       OpenMBeanAttributeInfo 
       OpenMBeanAttributeInfoSupport 
       OpenMBeanConstructorInfo 
       OpenMBeanConstructorInfoSupport 
       OpenMBeanInfo 
       OpenMBeanInfoSupport 
       OpenMBeanOperationInfo 
       OpenMBeanOperationInfoSupport 
       OpenMBeanParameterInfo 
       OpenMBeanParameterInfoSupport 
       OpenType 
       OpenType 
       OperatingSystemMXBean 
       Operation 
       OperationNotSupportedException 
       OperationsException 
       Option 
       OptionPaneUI 
       OptionalDataException 
       OrientationRequested 
       OutOfMemoryError 
       OutputDeviceAssigned 
       OutputKeys 
       OutputStream 
       OutputStream 
       OutputStream 
       OutputStreamWriter 
       OverlappingFileLockException 
       OverlayLayout 
       Override 
       Owner 
       PBEKey 
       PBEKeySpec 
       PBEParameterSpec 
       PDLOverrideSupported 
       PERSIST_STORE 
       PKCS8EncodedKeySpec 
       PKIXBuilderParameters 
       PKIXCertPathBuilderResult 
       PKIXCertPathChecker 
       PKIXCertPathValidatorResult 
       PKIXParameters 
       POA 
       POAHelper 
       POAManager 
       POAManagerOperations 
       POAOperations 
       PRIVATE_MEMBER 
       PSSParameterSpec 
       PSource 
       PSource.PSpecified 
       PUBLIC_MEMBER 
       Pack200 
       Pack200.Packer 
       Pack200.Unpacker 
       Package 
       PackedColorModel 
       PageAttributes 
       PageAttributes.ColorType 
       PageAttributes.MediaType 
       PageAttributes.OrientationRequestedType 
       PageAttributes.OriginType 
       PageAttributes.PrintQualityType 
       PageFormat 
       PageRanges 
       Pageable 
       PagedResultsControl 
       PagedResultsResponseControl 
       PagesPerMinute 
       PagesPerMinuteColor 
       Paint 
       PaintContext 
       PaintEvent 
       Panel 
       PanelUI 
       Paper 
       ParagraphView 
       ParagraphView 
       Parameter 
       ParameterBlock 
       ParameterDescriptor 
       ParameterMetaData 
       ParameterMode 
       ParameterModeHelper 
       ParameterModeHolder 
       ParameterizedType 
       ParseException 
       ParsePosition 
       Parser 
       Parser 
       ParserAdapter 
       ParserConfigurationException 
       ParserDelegator 
       ParserFactory 
       PartialResultException 
       PasswordAuthentication 
       PasswordCallback 
       PasswordView 
       Patch 
       PathIterator 
       Pattern 
       PatternSyntaxException 
       Permission 
       Permission 
       PermissionCollection 
       Permissions 
       PersistenceDelegate 
       PersistentMBean 
       PhantomReference 
       Pipe 
       Pipe.SinkChannel 
       Pipe.SourceChannel 
       PipedInputStream 
       PipedOutputStream 
       PipedReader 
       PipedWriter 
       PixelGrabber 
       PixelInterleavedSampleModel 
       PlainDocument 
       PlainView 
       Point 
       Point2D 
       Point2D.Double 
       Point2D.Float 
       PointerInfo 
       Policy 
       Policy 
       Policy 
       PolicyError 
       PolicyErrorCodeHelper 
       PolicyErrorHelper 
       PolicyErrorHolder 
       PolicyFactory 
       PolicyFactoryOperations 
       PolicyHelper 
       PolicyHolder 
       PolicyListHelper 
       PolicyListHolder 
       PolicyNode 
       PolicyOperations 
       PolicyQualifierInfo 
       PolicyTypeHelper 
       Polygon 
       PooledConnection 
       Popup 
       PopupFactory 
       PopupMenu 
       PopupMenuEvent 
       PopupMenuListener 
       PopupMenuUI 
       Port 
       Port.Info 
       PortUnreachableException 
       PortableRemoteObject 
       PortableRemoteObjectDelegate 
       Position 
       Position.Bias 
       Predicate 
       PreferenceChangeEvent 
       PreferenceChangeListener 
       Preferences 
       PreferencesFactory 
       PreparedStatement 
       PresentationDirection 
       Principal 
       Principal 
       PrincipalHolder 
       PrintEvent 
       PrintException 
       PrintGraphics 
       PrintJob 
       PrintJobAdapter 
       PrintJobAttribute 
       PrintJobAttributeEvent 
       PrintJobAttributeListener 
       PrintJobAttributeSet 
       PrintJobEvent 
       PrintJobListener 
       PrintQuality 
       PrintRequestAttribute 
       PrintRequestAttributeSet 
       PrintService 
       PrintServiceAttribute 
       PrintServiceAttributeEvent 
       PrintServiceAttributeListener 
       PrintServiceAttributeSet 
       PrintServiceLookup 
       PrintStream 
       PrintWriter 
       Printable 
       PrinterAbortException 
       PrinterException 
       PrinterGraphics 
       PrinterIOException 
       PrinterInfo 
       PrinterIsAcceptingJobs 
       PrinterJob 
       PrinterLocation 
       PrinterMakeAndModel 
       PrinterMessageFromOperator 
       PrinterMoreInfo 
       PrinterMoreInfoManufacturer 
       PrinterName 
       PrinterResolution 
       PrinterState 
       PrinterStateReason 
       PrinterStateReasons 
       PrinterURI 
       PriorityBlockingQueue 
       PriorityQueue 
       PrivateClassLoader 
       PrivateCredentialPermission 
       PrivateKey 
       PrivateMLet 
       PrivilegedAction 
       PrivilegedActionException 
       PrivilegedExceptionAction 
       Process 
       ProcessBuilder 
       ProcessingInstruction 
       ProfileDataException 
       ProfileIdHelper 
       ProgressBarUI 
       ProgressMonitor 
       ProgressMonitorInputStream 
       Properties 
       PropertyChangeEvent 
       PropertyChangeListener 
       PropertyChangeListenerProxy 
       PropertyChangeSupport 
       PropertyDescriptor 
       PropertyEditor 
       PropertyEditorManager 
       PropertyEditorSupport 
       PropertyPermission 
       PropertyResourceBundle 
       PropertyVetoException 
       ProtectionDomain 
       ProtocolException 
       Provider 
       Provider.Service 
       ProviderException 
       Proxy 
       Proxy 
       Proxy.Type 
       ProxySelector 
       PublicKey 
       PushbackInputStream 
       PushbackReader 
       QName 
       QuadCurve2D 
       QuadCurve2D.Double 
       QuadCurve2D.Float 
       Query 
       QueryEval 
       QueryExp 
       Queue 
       QueuedJobCount 
       RC2ParameterSpec 
       RC5ParameterSpec 
       REBIND 
       REQUEST_PROCESSING_POLICY_ID 
       RGBImageFilter 
       RMIClassLoader 
       RMIClassLoaderSpi 
       RMIClientSocketFactory 
       RMIConnection 
       RMIConnectionImpl 
       RMIConnectionImpl_Stub 
       RMIConnector 
       RMIConnectorServer 
       RMICustomMaxStreamFormat 
       RMIFailureHandler 
       RMIIIOPServerImpl 
       RMIJRMPServerImpl 
       RMISecurityException 
       RMISecurityManager 
       RMIServer 
       RMIServerImpl 
       RMIServerImpl_Stub 
       RMIServerSocketFactory 
       RMISocketFactory 
       RSAKey 
       RSAKeyGenParameterSpec 
       RSAMultiPrimePrivateCrtKey 
       RSAMultiPrimePrivateCrtKeySpec 
       RSAOtherPrimeInfo 
       RSAPrivateCrtKey 
       RSAPrivateCrtKeySpec 
       RSAPrivateKey 
       RSAPrivateKeySpec 
       RSAPublicKey 
       RSAPublicKeySpec 
       RTFEditorKit 
       Random 
       RandomAccess 
       RandomAccessFile 
       Raster 
       RasterFormatException 
       RasterOp 
       Rdn 
       ReadOnlyBufferException 
       ReadWriteLock 
       Readable 
       ReadableByteChannel 
       Reader 
       RealmCallback 
       RealmChoiceCallback 
       Receiver 
       Rectangle 
       Rectangle2D 
       Rectangle2D.Double 
       Rectangle2D.Float 
       RectangularShape 
       ReentrantLock 
       ReentrantReadWriteLock 
       ReentrantReadWriteLock.ReadLock 
       ReentrantReadWriteLock.WriteLock 
       Ref 
       RefAddr 
       Reference 
       Reference 
       ReferenceQueue 
       ReferenceUriSchemesSupported 
       Referenceable 
       ReferralException 
       ReflectPermission 
       ReflectionException 
       RefreshFailedException 
       Refreshable 
       Region 
       RegisterableService 
       Registry 
       RegistryHandler 
       RejectedExecutionException 
       RejectedExecutionHandler 
       Relation 
       RelationException 
       RelationNotFoundException 
       RelationNotification 
       RelationService 
       RelationServiceMBean 
       RelationServiceNotRegisteredException 
       RelationSupport 
       RelationSupportMBean 
       RelationType 
       RelationTypeNotFoundException 
       RelationTypeSupport 
       RemarshalException 
       Remote 
       RemoteCall 
       RemoteException 
       RemoteObject 
       RemoteObjectInvocationHandler 
       RemoteRef 
       RemoteServer 
       RemoteStub 
       RenderContext 
       RenderableImage 
       RenderableImageOp 
       RenderableImageProducer 
       RenderedImage 
       RenderedImageFactory 
       Renderer 
       RenderingHints 
       RenderingHints.Key 
       RepaintManager 
       ReplicateScaleFilter 
       RepositoryIdHelper 
       Request 
       RequestInfo 
       RequestInfoOperations 
       RequestProcessingPolicy 
       RequestProcessingPolicyOperations 
       RequestProcessingPolicyValue 
       RequestingUserName 
       RequiredModelMBean 
       RescaleOp 
       ResolutionSyntax 
       ResolveResult 
       Resolver 
       ResourceBundle 
       ResponseCache 
       ResponseHandler 
       Result 
       ResultSet 
       ResultSetMetaData 
       Retention 
       RetentionPolicy 
       ReverbType 
       Robot 
       Role 
       RoleInfo 
       RoleInfoNotFoundException 
       RoleList 
       RoleNotFoundException 
       RoleResult 
       RoleStatus 
       RoleUnresolved 
       RoleUnresolvedList 
       RootPaneContainer 
       RootPaneUI 
       RoundRectangle2D 
       RoundRectangle2D.Double 
       RoundRectangle2D.Float 
       RoundingMode 
       RowMapper 
       RowSet 
       RowSetEvent 
       RowSetInternal 
       RowSetListener 
       RowSetMetaData 
       RowSetMetaDataImpl 
       RowSetReader 
       RowSetWarning 
       RowSetWriter 
       RuleBasedCollator 
       RunTime 
       RunTimeOperations 
       Runnable 
       Runtime 
       RuntimeErrorException 
       RuntimeException 
       RuntimeMBeanException 
       RuntimeMXBean 
       RuntimeOperationsException 
       RuntimePermission 
       SAXException 
       SAXNotRecognizedException 
       SAXNotSupportedException 
       SAXParseException 
       SAXParser 
       SAXParserFactory 
       SAXResult 
       SAXSource 
       SAXTransformerFactory 
       SERVANT_RETENTION_POLICY_ID 
       SQLData 
       SQLException 
       SQLInput 
       SQLInputImpl 
       SQLOutput 
       SQLOutputImpl 
       SQLPermission 
       SQLWarning 
       SSLContext 
       SSLContextSpi 
       SSLEngine 
       SSLEngineResult 
       SSLEngineResult.HandshakeStatus 
       SSLEngineResult.Status 
       SSLException 
       SSLHandshakeException 
       SSLKeyException 
       SSLPeerUnverifiedException 
       SSLPermission 
       SSLProtocolException 
       SSLServerSocket 
       SSLServerSocketFactory 
       SSLSession 
       SSLSessionBindingEvent 
       SSLSessionBindingListener 
       SSLSessionContext 
       SSLSocket 
       SSLSocketFactory 
       SUCCESSFUL 
       SYNC_WITH_TRANSPORT 
       SYSTEM_EXCEPTION 
       SampleModel 
       Sasl 
       SaslClient 
       SaslClientFactory 
       SaslException 
       SaslServer 
       SaslServerFactory 
       Savepoint 
       Scanner 
       ScatteringByteChannel 
       ScheduledExecutorService 
       ScheduledFuture 
       ScheduledThreadPoolExecutor 
       Schema 
       SchemaFactory 
       SchemaFactoryLoader 
       SchemaViolationException 
       ScrollBarUI 
       ScrollPane 
       ScrollPaneAdjustable 
       ScrollPaneConstants 
       ScrollPaneLayout 
       ScrollPaneLayout.UIResource 
       ScrollPaneUI 
       Scrollable 
       Scrollbar 
       SealedObject 
       SearchControls 
       SearchResult 
       SecretKey 
       SecretKeyFactory 
       SecretKeyFactorySpi 
       SecretKeySpec 
       SecureCacheResponse 
       SecureClassLoader 
       SecureRandom 
       SecureRandomSpi 
       Security 
       SecurityException 
       SecurityManager 
       SecurityPermission 
       Segment 
       SelectableChannel 
       SelectionKey 
       Selector 
       SelectorProvider 
       Semaphore 
       SeparatorUI 
       Sequence 
       SequenceInputStream 
       Sequencer 
       Sequencer.SyncMode 
       SerialArray 
       SerialBlob 
       SerialClob 
       SerialDatalink 
       SerialException 
       SerialJavaObject 
       SerialRef 
       SerialStruct 
       Serializable 
       SerializablePermission 
       Servant 
       ServantActivator 
       ServantActivatorHelper 
       ServantActivatorOperations 
       ServantActivatorPOA 
       ServantAlreadyActive 
       ServantAlreadyActiveHelper 
       ServantLocator 
       ServantLocatorHelper 
       ServantLocatorOperations 
       ServantLocatorPOA 
       ServantManager 
       ServantManagerOperations 
       ServantNotActive 
       ServantNotActiveHelper 
       ServantObject 
       ServantRetentionPolicy 
       ServantRetentionPolicyOperations 
       ServantRetentionPolicyValue 
       ServerCloneException 
       ServerError 
       ServerException 
       ServerIdHelper 
       ServerNotActiveException 
       ServerRef 
       ServerRequest 
       ServerRequestInfo 
       ServerRequestInfoOperations 
       ServerRequestInterceptor 
       ServerRequestInterceptorOperations 
       ServerRuntimeException 
       ServerSocket 
       ServerSocketChannel 
       ServerSocketFactory 
       ServiceContext 
       ServiceContextHelper 
       ServiceContextHolder 
       ServiceContextListHelper 
       ServiceContextListHolder 
       ServiceDetail 
       ServiceDetailHelper 
       ServiceIdHelper 
       ServiceInformation 
       ServiceInformationHelper 
       ServiceInformationHolder 
       ServiceNotFoundException 
       ServicePermission 
       ServiceRegistry 
       ServiceRegistry.Filter 
       ServiceUI 
       ServiceUIFactory 
       ServiceUnavailableException 
       Set 
       SetOfIntegerSyntax 
       SetOverrideType 
       SetOverrideTypeHelper 
       Severity 
       Shape 
       ShapeGraphicAttribute 
       SheetCollate 
       Short 
       ShortBuffer 
       ShortBufferException 
       ShortHolder 
       ShortLookupTable 
       ShortMessage 
       ShortSeqHelper 
       ShortSeqHolder 
       Sides 
       Signature 
       SignatureException 
       SignatureSpi 
       SignedObject 
       Signer 
       SimpleAttributeSet 
       SimpleBeanInfo 
       SimpleDateFormat 
       SimpleDoc 
       SimpleFormatter 
       SimpleTimeZone 
       SimpleType 
       SinglePixelPackedSampleModel 
       SingleSelectionModel 
       Size2DSyntax 
       SizeLimitExceededException 
       SizeRequirements 
       SizeSequence 
       Skeleton 
       SkeletonMismatchException 
       SkeletonNotFoundException 
       SliderUI 
       Socket 
       SocketAddress 
       SocketChannel 
       SocketException 
       SocketFactory 
       SocketHandler 
       SocketImpl 
       SocketImplFactory 
       SocketOptions 
       SocketPermission 
       SocketSecurityException 
       SocketTimeoutException 
       SoftBevelBorder 
       SoftReference 
       SortControl 
       SortKey 
       SortResponseControl 
       SortedMap 
       SortedSet 
       SortingFocusTraversalPolicy 
       Soundbank 
       SoundbankReader 
       SoundbankResource 
       Source 
       SourceDataLine 
       SourceLocator 
       SpinnerDateModel 
       SpinnerListModel 
       SpinnerModel 
       SpinnerNumberModel 
       SpinnerUI 
       SplitPaneUI 
       Spring 
       SpringLayout 
       SpringLayout.Constraints 
       SslRMIClientSocketFactory 
       SslRMIServerSocketFactory 
       Stack 
       StackOverflowError 
       StackTraceElement 
       StandardMBean 
       StartTlsRequest 
       StartTlsResponse 
       State 
       StateEdit 
       StateEditable 
       StateFactory 
       Statement 
       Statement 
       StreamCorruptedException 
       StreamHandler 
       StreamPrintService 
       StreamPrintServiceFactory 
       StreamResult 
       StreamSource 
       StreamTokenizer 
       Streamable 
       StreamableValue 
       StrictMath 
       String 
       StringBuffer 
       StringBufferInputStream 
       StringBuilder 
       StringCharacterIterator 
       StringContent 
       StringHolder 
       StringIndexOutOfBoundsException 
       StringMonitor 
       StringMonitorMBean 
       StringNameHelper 
       StringReader 
       StringRefAddr 
       StringSelection 
       StringSeqHelper 
       StringSeqHolder 
       StringTokenizer 
       StringValueExp 
       StringValueHelper 
       StringWriter 
       Stroke 
       Struct 
       StructMember 
       StructMemberHelper 
       Stub 
       StubDelegate 
       StubNotFoundException 
       Style 
       StyleConstants 
       StyleConstants.CharacterConstants 
       StyleConstants.ColorConstants 
       StyleConstants.FontConstants 
       StyleConstants.ParagraphConstants 
       StyleContext 
       StyleSheet 
       StyleSheet.BoxPainter 
       StyleSheet.ListPainter 
       StyledDocument 
       StyledEditorKit 
       StyledEditorKit.AlignmentAction 
       StyledEditorKit.BoldAction 
       StyledEditorKit.FontFamilyAction 
       StyledEditorKit.FontSizeAction 
       StyledEditorKit.ForegroundAction 
       StyledEditorKit.ItalicAction 
       StyledEditorKit.StyledTextAction 
       StyledEditorKit.UnderlineAction 
       Subject 
       SubjectDelegationPermission 
       SubjectDomainCombiner 
       SupportedValuesAttribute 
       SuppressWarnings 
       SwingConstants 
       SwingPropertyChangeSupport 
       SwingUtilities 
       SyncFactory 
       SyncFactoryException 
       SyncFailedException 
       SyncProvider 
       SyncProviderException 
       SyncResolver 
       SyncScopeHelper 
       SynchronousQueue 
       SynthConstants 
       SynthContext 
       SynthGraphicsUtils 
       SynthLookAndFeel 
       SynthPainter 
       SynthStyle 
       SynthStyleFactory 
       Synthesizer 
       SysexMessage 
       System 
       SystemColor 
       SystemException 
       SystemFlavorMap 
       TAG_ALTERNATE_IIOP_ADDRESS 
       TAG_CODE_SETS 
       TAG_INTERNET_IOP 
       TAG_JAVA_CODEBASE 
       TAG_MULTIPLE_COMPONENTS 
       TAG_ORB_TYPE 
       TAG_POLICIES 
       TAG_RMI_CUSTOM_MAX_STREAM_FORMAT 
       TCKind 
       THREAD_POLICY_ID 
       TIMEOUT 
       TRANSACTION_MODE 
       TRANSACTION_REQUIRED 
       TRANSACTION_ROLLEDBACK 
       TRANSACTION_UNAVAILABLE 
       TRANSIENT 
       TRANSPORT_RETRY 
       TabExpander 
       TabSet 
       TabStop 
       TabableView 
       TabbedPaneUI 
       TableCellEditor 
       TableCellRenderer 
       TableColumn 
       TableColumnModel 
       TableColumnModelEvent 
       TableColumnModelListener 
       TableHeaderUI 
       TableModel 
       TableModelEvent 
       TableModelListener 
       TableUI 
       TableView 
       TabularData 
       TabularDataSupport 
       TabularType 
       TagElement 
       TaggedComponent 
       TaggedComponentHelper 
       TaggedComponentHolder 
       TaggedProfile 
       TaggedProfileHelper 
       TaggedProfileHolder 
       Target 
       TargetDataLine 
       TargetedNotification 
       Templates 
       TemplatesHandler 
       Text 
       TextAction 
       TextArea 
       TextAttribute 
       TextComponent 
       TextEvent 
       TextField 
       TextHitInfo 
       TextInputCallback 
       TextLayout 
       TextLayout.CaretPolicy 
       TextListener 
       TextMeasurer 
       TextOutputCallback 
       TextSyntax 
       TextUI 
       TexturePaint 
       Thread 
       Thread.State 
       Thread.UncaughtExceptionHandler 
       ThreadDeath 
       ThreadFactory 
       ThreadGroup 
       ThreadInfo 
       ThreadLocal 
       ThreadMXBean 
       ThreadPolicy 
       ThreadPolicyOperations 
       ThreadPolicyValue 
       ThreadPoolExecutor 
       ThreadPoolExecutor.AbortPolicy 
       ThreadPoolExecutor.CallerRunsPolicy 
       ThreadPoolExecutor.DiscardOldestPolicy 
       ThreadPoolExecutor.DiscardPolicy 
       Throwable 
       Tie 
       TileObserver 
       Time 
       TimeLimitExceededException 
       TimeUnit 
       TimeZone 
       TimeoutException 
       Timer 
       Timer 
       Timer 
       TimerAlarmClockNotification 
       TimerMBean 
       TimerNotification 
       TimerTask 
       Timestamp 
       Timestamp 
       TitledBorder 
       TooManyListenersException 
       ToolBarUI 
       ToolTipManager 
       ToolTipUI 
       Toolkit 
       Track 
       TransactionRequiredException 
       TransactionRolledbackException 
       TransactionService 
       TransactionalWriter 
       TransferHandler 
       Transferable 
       TransformAttribute 
       Transformer 
       TransformerConfigurationException 
       TransformerException 
       TransformerFactory 
       TransformerFactoryConfigurationError 
       TransformerHandler 
       Transmitter 
       Transparency 
       TreeCellEditor 
       TreeCellRenderer 
       TreeExpansionEvent 
       TreeExpansionListener 
       TreeMap 
       TreeModel 
       TreeModelEvent 
       TreeModelListener 
       TreeNode 
       TreePath 
       TreeSelectionEvent 
       TreeSelectionListener 
       TreeSelectionModel 
       TreeSet 
       TreeUI 
       TreeWillExpandListener 
       TrustAnchor 
       TrustManager 
       TrustManagerFactory 
       TrustManagerFactorySpi 
       Type 
       TypeCode 
       TypeCodeHolder 
       TypeInfo 
       TypeInfoProvider 
       TypeMismatch 
       TypeMismatch 
       TypeMismatch 
       TypeMismatchHelper 
       TypeMismatchHelper 
       TypeNotPresentException 
       TypeVariable 
       Types 
       UID 
       UIDefaults 
       UIDefaults.ActiveValue 
       UIDefaults.LazyInputMap 
       UIDefaults.LazyValue 
       UIDefaults.ProxyLazyValue 
       UIManager 
       UIManager.LookAndFeelInfo 
       UIResource 
       ULongLongSeqHelper 
       ULongLongSeqHolder 
       ULongSeqHelper 
       ULongSeqHolder 
       UNKNOWN 
       UNKNOWN 
       UNSUPPORTED_POLICY 
       UNSUPPORTED_POLICY_VALUE 
       URI 
       URIException 
       URIResolver 
       URISyntax 
       URISyntaxException 
       URL 
       URLClassLoader 
       URLConnection 
       URLDecoder 
       URLEncoder 
       URLStreamHandler 
       URLStreamHandlerFactory 
       URLStringHelper 
       USER_EXCEPTION 
       UShortSeqHelper 
       UShortSeqHolder 
       UTFDataFormatException 
       UUID 
       UndeclaredThrowableException 
       UndoManager 
       UndoableEdit 
       UndoableEditEvent 
       UndoableEditListener 
       UndoableEditSupport 
       UnexpectedException 
       UnicastRemoteObject 
       UnionMember 
       UnionMemberHelper 
       UnknownEncoding 
       UnknownEncodingHelper 
       UnknownError 
       UnknownException 
       UnknownFormatConversionException 
       UnknownFormatFlagsException 
       UnknownGroupException 
       UnknownHostException 
       UnknownHostException 
       UnknownObjectException 
       UnknownServiceException 
       UnknownUserException 
       UnknownUserExceptionHelper 
       UnknownUserExceptionHolder 
       UnmappableCharacterException 
       UnmarshalException 
       UnmodifiableClassException 
       UnmodifiableSetException 
       UnrecoverableEntryException 
       UnrecoverableKeyException 
       Unreferenced 
       UnresolvedAddressException 
       UnresolvedPermission 
       UnsatisfiedLinkError 
       UnsolicitedNotification 
       UnsolicitedNotificationEvent 
       UnsolicitedNotificationListener 
       UnsupportedAddressTypeException 
       UnsupportedAudioFileException 
       UnsupportedCallbackException 
       UnsupportedCharsetException 
       UnsupportedClassVersionError 
       UnsupportedEncodingException 
       UnsupportedFlavorException 
       UnsupportedLookAndFeelException 
       UnsupportedOperationException 
       UserDataHandler 
       UserException 
       Util 
       UtilDelegate 
       Utilities 
       VMID 
       VM_ABSTRACT 
       VM_CUSTOM 
       VM_NONE 
       VM_TRUNCATABLE 
       Validator 
       ValidatorHandler 
       ValueBase 
       ValueBaseHelper 
       ValueBaseHolder 
       ValueExp 
       ValueFactory 
       ValueHandler 
       ValueHandlerMultiFormat 
       ValueInputStream 
       ValueMember 
       ValueMemberHelper 
       ValueOutputStream 
       VariableHeightLayoutCache 
       Vector 
       VerifyError 
       VersionSpecHelper 
       VetoableChangeListener 
       VetoableChangeListenerProxy 
       VetoableChangeSupport 
       View 
       ViewFactory 
       ViewportLayout 
       ViewportUI 
       VirtualMachineError 
       Visibility 
       VisibilityHelper 
       VoiceStatus 
       Void 
       VolatileImage 
       WCharSeqHelper 
       WCharSeqHolder 
       WStringSeqHelper 
       WStringSeqHolder 
       WStringValueHelper 
       WeakHashMap 
       WeakReference 
       WebRowSet 
       WildcardType 
       Window 
       WindowAdapter 
       WindowConstants 
       WindowEvent 
       WindowFocusListener 
       WindowListener 
       WindowStateListener 
       WrappedPlainView 
       WritableByteChannel 
       WritableRaster 
       WritableRenderedImage 
       WriteAbortedException 
       Writer 
       WrongAdapter 
       WrongAdapterHelper 
       WrongPolicy 
       WrongPolicyHelper 
       WrongTransaction 
       WrongTransactionHelper 
       WrongTransactionHolder 
       X500Principal 
       X500PrivateCredential 
       X509CRL 
       X509CRLEntry 
       X509CRLSelector 
       X509CertSelector 
       X509Certificate 
       X509Certificate 
       X509EncodedKeySpec 
       X509ExtendedKeyManager 
       X509Extension 
       X509KeyManager 
       X509TrustManager 
       XAConnection 
       XADataSource 
       XAException 
       XAResource 
       XMLConstants 
       XMLDecoder 
       XMLEncoder 
       XMLFilter 
       XMLFilterImpl 
       XMLFormatter 
       XMLGregorianCalendar 
       XMLParseException 
       XMLReader 
       XMLReaderAdapter 
       XMLReaderFactory 
       XPath 
       XPathConstants 
       XPathException 
       XPathExpression 
       XPathExpressionException 
       XPathFactory 
       XPathFactoryConfigurationException 
       XPathFunction 
       XPathFunctionException 
       XPathFunctionResolver 
       XPathVariableResolver 
       Xid 
       XmlReader 
       XmlWriter 
       ZipEntry 
       ZipException 
       ZipFile 
       ZipInputStream 
       ZipOutputStream 
       ZoneView 
       _BindingIteratorImplBase 
       _BindingIteratorStub 
       _DynAnyFactoryStub 
       _DynAnyStub 
       _DynArrayStub 
       _DynEnumStub 
       _DynFixedStub 
       _DynSequenceStub 
       _DynStructStub 
       _DynUnionStub 
       _DynValueStub 
       _IDLTypeStub 
       _NamingContextExtStub 
       _NamingContextImplBase 
       _NamingContextStub 
       _PolicyStub 
       _Remote_Stub 
       _ServantActivatorStub 
       _ServantLocatorStub 
    
    
       abstract 
       as 
       by 
       catch 
       class 
       do 
       else 
       false 
       final 
       finally 
       for 
       if 
       is 
       import 
       internal 
       lazy 
       null 
       object 
       open 
       out 
       override 
       package 
       private 
       protected 
       public 
       ref 
       return 
       super 
       this 
       throw 
       trait 
       true 
       try 
       typealias 
       val 
       var 
       when 
       while 
       with 
       out 
       in 
       data class 
    
    
       Boolean 
       Byte 
       Char 
       Double 
       Float 
       Int 
       Long 
       Short 
       Unit 
    
    
      
        
        
        
        
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
        
        
        
        
        
        

        
        
        
      
      
        
        
        
      
      
        
        
      
      
        
        
        
        
        
        
      
      
        
      

      
      
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/latex.xml0000644000000000000000000012432112633103275015737 0ustar0000000000000000


  
    
      
      
        
        
	
	
	
	
	
        
	
        
	
        
	
        
        
	
	
        
        
        
        
        
        
        
      

	
      
	
      

      
      
        
        
        
        
        
      
      
        
        
        
        
        
        
        
      
      
         
        
        
      
      
        
        
        
        
        
        
        
      
      
        
        
        
      

      
      
        
        
        
        
        
      
      
        
        
        
        
        
      
      
        
        
        
        
        
      

      
      
          
          
        
      

      
      
        
        
      

      
      
        
        
        
        
      
      
        
        
        
        
      

      
      
        
        
        
        
        
        
        
      
      
      

      
      
        
        
        
      

      
      
        
      
      
        
        
        
      

      
      
        
        
        
      
      
        
        
        
      
      
        
      

      
      
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
      

      
      
	      
	      
	      
      

      
        
        
        
        
        
        
      

      
        
        
        
        
        
        
      
      
      
	      
	      
	      
	      
	      
	      
      

      
      
	      
      

      
        
        
        
        
        
        
      

      
      
        
        
      

      
        
        
        
      

       
        
        
        
        
      

      
      
        
        
      

      
      
        
        
        
        
        
        
        
        
        
        
        
        
      

      
      
        
        
        
       
      

      
      
        
        
        
       

      
      
        
        
        
      

      
      
        
        
        
        
      

      
      
        
        
        
        
      

      
      
        
        
        
      

      
        
      

      
       
        
      

      
        
        
      

      
        
      

      
        
        
      

      
      
        
        
      

      
      
        
        
        
      

      
      
        
        
        
       

      
      
        
        
      

      
      
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
        
      

      
      
        
        
        
        
      

      
      
	
	
        
        
        
        
        
        
        
        
        
	
        
        
      

      
      
        
        
        
      

          
      
        
        
        
       

      
      
	
	
        
	
      

      
	      
	      
	      

      

      
      
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
        
      

      
      
	      
	      
	      
      

      
      
        
	
	
        
        
        
        
        
        
      

      
      
        
        
        
      

      
      
         
      

      
        
        
	
        
        
        
      

      
        
        
        
        
        
      

     
	
		
		
	

     
      
      	
	
	
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  

  
    
    
      
    
  

  
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  

highlighting-kate-0.6.1/xml/lex.xml0000644000000000000000000001630112633103275015410 0ustar0000000000000000






  
    
  
  
    
    
    
    
    
  
  
    
    
  
  
    
  
  
  
  
  
    
  

  
    
      
      
  
  
      
    
      
      
  
  
    
      
    
  
  
    
      
    
  
  
    
      
    
  
  
    
      
    
  
  
    
      
      
      
      
  
  
  
    
    
  
  
  
    
    
  
  
  
    
    
  
  
    
  
  
    
    
  
  
    
    
  
  
      
      
    
  
  
      
      
    
  



  
  
  
  
  
  
  
  




  
    
  


highlighting-kate-0.6.1/xml/lilypond.xml0000644000000000000000000016514712633103275016467 0ustar0000000000000000

  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  

  
  
  
  
  

  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
]>


  

  
    
       ChoirStaff 
       ChordNames 
       CueVoice 
       Devnull 
       DrumStaff 
       DrumVoice 
       Dynamics 
       FiguredBass 
       FretBoards 
       Global 
       GrandStaff 
       GregorianTranscriptionStaff 
       GregorianTranscriptionVoice 
       Lyrics 
       MensuralStaff 
       MensuralVoice 
       NoteNames 
       PianoStaff 
       RhythmicStaff 
       Score 
       Staff 
       StaffGroup 
       TabStaff 
       TabVoice 
       Timing 
       VaticanaStaff 
       VaticanaVoice 
       Voice 
    
    
       InnerChoirStaff 
       InnerStaffGroup 
    
    
       Accidental 
       AccidentalCautionary 
       AccidentalPlacement 
       AccidentalSuggestion 
       Ambitus 
       AmbitusAccidental 
       AmbitusLine 
       AmbitusNoteHead 
       Arpeggio 
       BalloonTextItem 
       BarLine 
       BarNumber 
       BassFigure 
       BassFigureAlignment 
       BassFigureAlignmentPositioning 
       BassFigureBracket 
       BassFigureContinuation 
       BassFigureLine 
       Beam 
       BendAfter 
       BreakAlignGroup 
       BreakAlignment 
       BreathingSign 
       ChordName 
       Clef 
       ClusterSpanner 
       ClusterSpannerBeacon 
       CombineTextScript 
       Custos 
       DotColumn 
       Dots 
       DoublePercentRepeat 
       DoublePercentRepeatCounter 
       DynamicLineSpanner 
       DynamicText 
       DynamicTextSpanner 
       Episema 
       Fingering 
       FretBoard 
       Glissando 
       GraceSpacing 
       GridLine 
       GridPoint 
       Hairpin 
       HarmonicParenthesesItem 
       HorizontalBracket 
       InstrumentName 
       InstrumentSwitch 
       KeyCancellation 
       KeySignature 
       LaissezVibrerTie 
       LaissezVibrerTieColumn 
       LedgerLineSpanner 
       LeftEdge 
       LigatureBracket 
       LyricExtender 
       LyricHyphen 
       LyricSpace 
       LyricText 
       MeasureGrouping 
       MelodyItem 
       MensuralLigature 
       MetronomeMark 
       MultiMeasureRest 
       MultiMeasureRestNumber 
       MultiMeasureRestText 
       NonMusicalPaperColumn 
       NoteCollision 
       NoteColumn 
       NoteHead 
       NoteName 
       NoteSpacing 
       OctavateEight 
       OttavaBracket 
       PaperColumn 
       ParenthesesItem 
       PercentRepeat 
       PercentRepeatCounter 
       PhrasingSlur 
       PianoPedalBracket 
       RehearsalMark 
       RepeatSlash 
       RepeatTie 
       RepeatTieColumn 
       Rest 
       RestCollision 
       Script 
       ScriptColumn 
       ScriptRow 
       SeparationItem 
       Slur 
       SostenutoPedal 
       SostenutoPedalLineSpanner 
       SpacingSpanner 
       SpanBar 
       StaffGrouper 
       StaffSpacing 
       StaffSymbol 
       StanzaNumber 
       Stem 
       StemTremolo 
       StringNumber 
       StrokeFinger 
       SustainPedal 
       SustainPedalLineSpanner 
       System 
       SystemStartBar 
       SystemStartBrace 
       SystemStartBracket 
       SystemStartSquare 
       TabNoteHead 
       TextScript 
       TextSpanner 
       Tie 
       TieColumn 
       TimeSignature 
       TrillPitchAccidental 
       TrillPitchGroup 
       TrillPitchHead 
       TrillSpanner 
       TupletBracket 
       TupletNumber 
       UnaCordaPedal 
       UnaCordaPedalLineSpanner 
       VaticanaLigature 
       VerticalAlignment 
       VerticalAxisGroup 
       VoiceFollower 
       VoltaBracket 
       VoltaBracketSpanner 
    
    
       aDueText 
       alignAboveContext 
       alignBassFigureAccidentals 
       alignBelowContext 
       allowBeamBreak 
       associatedVoice 
       autoAccidentals 
       autoBeamCheck 
       autoBeamSettings 
       autoBeaming 
       autoCautionaries 
       automaticBars 
       barAlways 
       barCheckSynchronize 
       barNumberVisibility 
       baseMoment 
       bassFigureFormatFunction 
       bassStaffProperties 
       beamExceptions 
       beatGrouping 
       beatLength 
       beatStructure 
       chordChanges 
       chordNameExceptions 
       chordNameExceptionsFull 
       chordNameExceptionsPartial 
       chordNameFunction 
       chordNameSeparator 
       chordNoteNamer 
       chordPrefixSpacer 
       chordRootNamer 
       clefGlyph 
       clefOctavation 
       clefPosition 
       connectArpeggios 
       countPercentRepeats 
       createKeyOnClefChange 
       createSpacing 
       crescendoSpanner 
       crescendoText 
       currentBarNumber 
       decrescendoSpanner 
       decrescendoText 
       defaultBarType 
       doubleSlurs 
       doubleRepeatType 
       drumPitchTable 
       drumStyleTable 
       dynamicAbsoluteVolumeFunction 
       explicitClefVisibility 
       explicitKeySignatureVisibility 
       extendersOverRests 
       extraNatural 
       figuredBassAlterationDirection 
       figuredBassCenterContinuations 
       figuredBassFormatter 
       figuredBassPlusDirection 
       fingeringOrientations 
       firstClef 
       followVoice 
       fontSize 
       forbidBreak 
       forceClef 
       gridInterval 
       hairpinToBarline 
       harmonicAccidentals 
       highStringOne 
       ignoreBarChecks 
       ignoreFiguredBassRest 
       ignoreMelismata 
       implicitBassFigures 
       implicitTimeSignatureVisibility 
       instrumentCueName 
       instrumentEqualizer 
       instrumentName 
       instrumentTransposition 
       internalBarNumber 
       keepAliveInterfaces 
       keyAlterationOrder 
       keySignature 
       lyricMelismaAlignment 
       majorSevenSymbol 
       markFormatter 
       maximumFretStretch 
       measureLength 
       measurePosition 
       melismaBusyProperties 
       metronomeMarkFormatter 
       middleCClefPosition 
       middleCOffset 
       middleCPosition 
       midiInstrument 
       midiMaximumVolume 
       midiMinimumVolume 
       minimumFret 
       minimumPageTurnLength 
       minimumRepeatLengthForPageTurn 
       noteToFretFunction 
       ottavation 
       output 
       pedalSostenutoStrings 
       pedalSostenutoStyle 
       pedalSustainStrings 
       pedalSustainStyle 
       pedalUnaCordaStrings 
       pedalUnaCordaStyle 
       printKeyCancellation 
       printOctaveNames 
       printPartCombineTexts 
       proportionalNotationDuration 
       recordEventSequence 
       rehearsalMark 
       repeatCommands 
       restNumberThreshold 
       scriptDefinitions 
       shapeNoteStyles 
       shortInstrumentName 
       shortVocalName 
       skipBars 
       skipTypesetting 
       soloIIText 
       soloText 
       squashedPosition 
       staffLineLayoutFunction 
       stanza 
       stemLeftBeamCount 
       stemRightBeamCount 
       stringNumberOrientations 
       stringOneTopmost 
       stringTunings 
       strokeFingerOrientations 
       subdivideBeams 
       suggestAccidentals 
       systemStartDelimiter 
       systemStartDelimiterHierarchy 
       tablatureFormat 
       tempoUnitCount 
       tempoUnitDuration 
       tempoWholesPerMinute 
       tieWaitForNote 
       timeSignatureFraction 
       timing 
       tonic 
       topLevelAlignment 
       trebleStaffProperties 
       tremoloFlags 
       tupletFullLength 
       tupletFullLengthNote 
       tupletSpannerDuration 
       useBassFigureExtenders 
       verticallySpacedContexts 
       vocalName 
       voltaOnThisStaff  
       voltaSpannerDuration 
       whichBar 
    
    
       barNumberAlignSymbol 
       centralCPosition 
       extraVerticalExtent 
       fingerHorizontalDirection 
       instr 
       instrument 
       keyAccidentalOrder 
       minimumVerticalExtent 
       rehearsalMarkAlignSymbol 
       soloADue 
       tupletNumberFormatFunction 
       vocNam 
    
    
       AbsoluteDynamicEvent 
       AnnotateOutputEvent 
       ApplyContext 
       ApplyOutputEvent 
       ArpeggioEvent 
       ArticulationEvent 
       AutoChangeMusic 
       BarCheck 
       BassFigureEvent 
       BeamEvent 
       BeamForbidEvent 
       BendAfterEvent 
       BreathingEvent 
       ClusterNoteEvent 
       ContextChange 
       ContextSpeccedMusic 
       CrescendoEvent 
       DecrescendoEvent 
       Event 
       EventChord 
       ExtenderEvent 
       FingeringEvent 
       GlissandoEvent 
       GraceMusic 
       HarmonicEvent 
       HyphenEvent 
       KeyChangeEvent 
       LabelEvent 
       LaissezVibrerEvent 
       LigatureEvent 
       LineBreakEvent 
       LyricCombineMusic 
       LyricEvent 
       MarkEvent 
       MultiMeasureRestEvent 
       MultiMeasureRestMusic 
       MultiMeasureTextEvent 
       Music 
       NoteEvent 
       NoteGroupingEvent 
       OverrideProperty 
       PageBreakEvent 
       PageTurnEvent 
       PartCombineMusic 
       PercentEvent 
       PercentRepeatedMusic 
       PesOrFlexaEvent 
       PhrasingSlurEvent 
       PropertySet 
       PropertyUnset 
       QuoteMusic 
       RelativeOctaveCheck 
       RelativeOctaveMusic 
       RepeatTieEvent 
       RepeatedMusic 
       RestEvent 
       RevertProperty 
       ScriptEvent 
       SequentialMusic 
       SimultaneousMusic 
       SkipEvent 
       SkipMusic 
       SlurEvent 
       SoloOneEvent 
       SoloTwoEvent 
       SostenutoEvent 
       SpacingSectionEvent 
       SpanEvent 
       StaffSpanEvent 
       StringNumberEvent 
       StrokeFingerEvent 
       SustainEvent 
       TextScriptEvent 
       TextSpanEvent 
       TieEvent 
       TimeScaledMusic 
       TransposedMusic 
       TremoloEvent 
       TremoloRepeatedMusic 
       TremoloSpanEvent 
       TrillSpanEvent 
       TupletSpanEvent 
       UnaCordaEvent 
       UnfoldedRepeatedMusic 
       UnisonoEvent 
       UnrelativableMusic 
       VoiceSeparator 
       VoltaRepeatedMusic 
    
    
       acousticbassdrum 
       acousticsnare 
       agh 
       agl 
       bassdrum 
       bd 
       bda 
       boh 
       bohm 
       boho 
       bol 
       bolm 
       bolo 
       cab 
       cabasa 
       cb 
       cgh 
       cghm 
       cgho 
       cgl 
       cglm 
       cglo 
       chinesecymbal 
       cl 
       claves 
       closedhihat 
       cowbell 
       crashcymbal 
       crashcymbala 
       crashcymbalb 
       cuim 
       cuio 
       cymc 
       cymca 
       cymcb 
       cymch 
       cymr 
       cymra 
       cymrb 
       cyms 
       da 
       db 
       dc 
       dd 
       de 
       electricsnare 
       fivedown 
       fiveup 
       fourdown 
       fourup 
       gui 
       guil 
       guiro 
       guis 
       halfopenhihat 
       handclap 
       hc 
       hh 
       hhc 
       hhho 
       hho 
       hhp 
       hiagogo 
       hibongo 
       hiconga 
       highfloortom 
       hightom 
       hihat 
       himidtom 
       hisidestick 
       hitimbale 
       hiwoodblock 
       loagogo 
       lobongo 
       loconga 
       longguiro 
       longwhistle 
       losidestick 
       lotimbale 
       lowfloortom 
       lowmidtom 
       lowoodblock 
       lowtom 
       mar 
       maracas 
       mutecuica 
       mutehibongo 
       mutehiconga 
       mutelobongo 
       muteloconga 
       mutetriangle 
       onedown 
       oneup 
       opencuica 
       openhibongo 
       openhiconga 
       openhihat 
       openlobongo 
       openloconga 
       opentriangle 
       pedalhihat 
       rb 
       ridebell 
       ridecymbal 
       ridecymbala 
       ridecymbalb 
       shortguiro 
       shortwhistle 
       sidestick 
       sn 
       sna 
       snare 
       sne 
       splashcymbal 
       ss 
       ssh 
       ssl 
       tamb 
       tambourine 
       tamtam 
       threedown 
       threeup 
       timh 
       timl 
       tomfh 
       tomfl 
       tomh 
       toml 
       tommh 
       tomml 
       tri 
       triangle 
       trim 
       trio 
       tt 
       twodown 
       twoup 
       ua 
       ub 
       uc 
       ud 
       ue 
       vibraslap 
       vibs 
       wbh 
       wbl 
       whl 
       whs 
    
    
      
      
        
        
      

      
      
        
        
        
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
      

      
        
        
        
      

      
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
      

      
        
      

      
        
        
      

      
        
        
        
      

      
        
      

      
      
        
      

      
        
        
        
      

      
        
        
      

      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
      

      
        
        
      

      
        
      

      
        
        
      

      
        
      

      
        
        
      

      
      
        
        
      

      
        
        
      

      
        
        
        
      

      
      
        
        
      

      
        
        
      

      
        
        
        
        
        
      

      
        
        
      

      
      
        
        
      

      
        
        
      

      
        
        
        
        
      

      
      
        
        
      

      
        
        
      

      
        
        
        
        
        
      

      
        
        
        
        
      

      
      
        
        
      

      
        
        
      

      
      
        
        
        
      

      
        
        
      

      
        
        
      

      
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
        
      

      
        
        
      

      
        
        
        
        
        
        
        
      

      
      
        
        
      

      
        
        
      

      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
      

      
        
        
      

      
      
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
        
      

      
      
      
        
        
        
        
      

    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  


highlighting-kate-0.6.1/xml/literate-curry.xml0000644000000000000000000000440312633103275017573 0ustar0000000000000000


  
  

    
      
      
      
      
      
      
    

    
      
      
    

    
      
      
      
    

    
    
      
    

    
      
      
    

    
      
    
  
  
    
    
    
  
  

highlighting-kate-0.6.1/xml/literate-haskell.xml0000644000000000000000000000415112633103275020052 0ustar0000000000000000


  
  
    
      
      
      
      
    
    
      
      
    
    
      
      
      
    
    
      
    
    
      
      
    
    
      
    
  
  
    
    
    
  
  

highlighting-kate-0.6.1/xml/llvm.xml0000644000000000000000000002012712633103275015573 0ustar0000000000000000


  
    
       begin 
       end 
       true 
       false 
       declare 
       define 
       global 
       constant 
       gc 
       module 
       asm 
       target 
       datalayout 
       null 
       undef 
       blockaddress 
       sideeffect 
       alignstack 
       to 
       unwind 
       nuw 
       nsw 
       inbounds 
       tail 
       triple 
       type 
       align 
       alias 
    
    
       private 
       internal 
       available_externally 
       linkonce 
       weak 
       common 
       appending 
       extern_weak 
       linkonce_odr 
       weak_odr 
       dllimport 
       dllexport 
    
    
       ccc 
       fastcc 
       coldcc 
       cc 
    
    
       default 
       hidden 
       protected 
    
    
       zeroext 
       signext 
       inreg 
       byval 
       sret 
       noalias 
       nocapture 
       nest 
    
    
       alignstack 
       alwaysinline 
       inlinehint 
       naked 
       noimplicitfloat 
       noinline 
       noredzone 
       noreturn 
       nounwind 
       optnone 
       optsize 
       readnone 
       readonly 
       ssp 
       sspreq 
       sspstrong 
    
    
       float 
       double 
       fp128 
       x86_fp80 
       ppc_fp128 
       x86mmx 
       void 
       label 
       metadata 
       opaque 
    
    
       llvm.used 
       llvm.compiler.used 
       llvm.global_ctors 
       llvm.global_dtors 
    
    
       ret 
       br 
       switch 
       indirectbr 
       invoke 
       unwind 
       unreachable 
       add 
       fadd 
       sub 
       fsub 
       mul 
       fmul 
       udiv 
       sdiv 
       fdiv 
       urem 
       srem 
       frem 
       shl 
       lshr 
       ashr 
       and 
       or 
       xor 
       extractelement 
       insertelement 
       shufflevector 
       extractvalue 
       insertvalue 
       alloca 
       load 
       store 
       getelementptr 
       trunc 
       zext 
       sext 
       fptrunc 
       fpext 
       fptoui 
       fptosi 
       uitofp 
       sitofp 
       ptrtoint 
       inttoptr 
       bitcast 
       addrspacecast 
       icmp 
       fcmp 
       phi 
       select 
       call 
       va_arg 
    
    
       eq 
       ne 
       ugt 
       uge 
       ult 
       ule 
       sgt 
       sge 
       slt 
       sle 
       oeq 
       ogt 
       oge 
       olt 
       ole 
       one 
       ord 
       ueq 
       une 
       uno 
    
    
      
        
        

        
        
        
        
        
        
        

        
        
        
        
        
        
        
        
        
        
      

      
        
        
      

      
        
      

      
        
      

      
        
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  


highlighting-kate-0.6.1/xml/lua.xml0000644000000000000000000004031612633103275015404 0ustar0000000000000000



  
    
       and 
       function 
       in 
       local 
       not 
       or 
    
    
       break 
       do 
       else 
       elseif 
       end 
       for 
       if 
       repeat 
       return 
       then 
       until 
       while 
    
    
       nil 
       false 
       true 
    
    
       string.byte    string.char 
       string.find    string.len 
       string.lower   string.rep 
       string.sub     string.upper 
       string.format  string.gfind 
       string.gsub    table.concat 
       table.getn     table.sort 
       table.insert   table.remove 
       table.setn     math.abs 
       math.sin       math.cos 
       math.tan       math.asin 
       math.acos      math.atan 
       math.atan2     math.ceil 
       math.floor     math.mod 
       math.frexp     math.ldexp 
       math.squrt     math.min 
       math.max       math.log 
       math.log10     math.exp 
       math.deg       math.rad 
       math.random    math.randomseed 
       io.close       io.flush 
       io.input       io.lines 
       io.open        io.output 
       io.read        io.stderr 
       io.stdin       io.stdout 
       io.tmpfile     io.write 
       os.clock       os.date 
       os.difftime    os.execute 
       os.exit        os.getenv 
       os.remove      os.rename 
       os.setlocale   os.time 
       os.tmpname     debug.getinfo 
       debug.getlocal  debug.setlocal 
       debug.sethook  debug.gethook 
       assert        collectgarbage 
       dofile        error 
       next          print 
       rawget        rawset 
       tonumber      tostring 
       type          _ALERT 
       _ERRORMESSAGE  call 
       getmetatable  gcinfo 
       ipairs        loadfile 
       loadstring    pairs 
       pcall         require 
       LUA_PATH      setmetatable 
       _LOADED       _VERSION 
       gettagmethod  globals 
       newtag        setglobal 
       settag        settagmethod 
       setlinehook   getglobals 
       copytagmethods  dostring 
       getglobal     tag 
       setglobals    unpack 
       exit          readfrom 
       writeto       appendto 
       read          write 
       getinfo       getlocal 
       setlocal      setcallhook 
       tinsert       tremove 
       flush         seek 
       setlocale     execute 
       remove        rename 
       tmpname       getenv 
       getn          sort 
       table.foreach   table.foreachi 
       foreach       foreachi 
       abs           sin 
       cos           tan 
       asin          acos 
       atan          atan2 
       ceil          floor 
       mod           frexp 
       ldexp         squrt 
       min           max 
       log           log10 
       exp           deg 
       rad           random 
       randomseed    strlen 
       strsub        strlower 
       strupper      strchar 
       strrep        ascii 
       strbyte       format 
       strfind       gsub 
       openfile      closefile 
       date          clock 


       cgilua                       cgilua.lp.translate 
       cgilua.contentheader         cgilua.script_file 
       cgilua.header                cgilua.script_path 
       cgilua.htmlheader            cgilua.script_pdir 
       cgilua.redirect              cgilua.script_vdir 
       cgilua.mkabsoluteurl         cgilua.script_vpath 
       cgilua.mkurlpath             cgilua.servervariable 
       cgilua.put                   cgilua.urlpath 
       cgilua.handlelp              cgilua.errorlog 
       cgilua.lp.compile            cgilua.seterrorhandler 
       cgilua.lp.include            cgilua.seterroroutput 
       cgilua.lp.setcompatmode      cgilua.addclosefunction 
       cgilua.lp.setoutfunc         cgilua.addopenfunction 
       cgilua.addscripthandler      cgilua.addscripthandler 
       cgilua.buildprocesshandler   cgilua.setmaxfilesize 
       cgilua.setmaxinput           cgilua.urlcode.encodetable 
       cgilua.urlcode.escape        cgilua.urlcode.parsequery 
       cgilua.urlcode.unescape      cgilua.urlcode.insertfield 
       cgilua.setoutfunc            cgilua.addopenfunction 
       cgilua.doif                  cgilua.doscript 
       cgilua.pack                  cgilua.splitpath 
       cgilua.cookies.get           cgilua.cookies.set 
       cgilua.cookies.sethtml       cgilua.cookies.delete 
       cgilua.serialize             cgilua.session.close 
       cgilua.session.data          cgilua.session.load 
       cgilua.session.new           cgilua.session.open 
       cgilua.session.save          cgilua.session.setsessiondir 
       cgilua.session.delete        cgilua.session 
       cgilua.cookies 

       numrows                      connect 
       close                        fetch 
       getcolnames                  getcoltypes 
       commit                       rollback 
       setautocommit 

       lfs                          lfs.attributes 
       lfs.chdir                    lfs.currentdir 
       lfs.dir                      lfs.lock 
       lfs.mkdir                    lfs.rmdir 
       lfs.touch                    lfs.unlock 

       zip                          zip.open 
       zip.openfile                 files 
       seek                         close 
       lines 


    
    
       TODO 
       FIXME 
       NOTE 
    
    
       table.foreach   table.foreachi 
       foreach         foreachi 
    

    
      
        
        
        
        
        
        
        
        
        

        
        
        
        
        
        
        
        
        

        
        

        
        

        
        
        

        
        
        
        
        
        
      
      
        
        
      
      
        
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
      
    
    
      
      
      
      
       
      
      
      
      
      
      
       
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/lua.xml.patch0000644000000000000000000000150012633103275016472 0ustar0000000000000000diff --git a/lua.xml b/lua.xml
index 97e6b21..81bce25 100644
--- a/lua.xml
+++ b/lua.xml
@@ -282,3 +282,3 @@
       
-      
+       
       
@@ -289,3 +289,3 @@
       
-      
+       
     
highlighting-kate-0.6.1/xml/m4.xml0000644000000000000000000001674612633103275015155 0ustar0000000000000000



  
    
       __gnu__ 
       __os2__ 
       os2 
       __unix__ 
       unix 
       __windows__ 
       windows 
    
    
       m4___gnu__ 
       m4___os2__ 
       m4_os2 
       m4___unix__ 
       m4_unix 
       m4___windows__ 
       m4_windows 
    
    
       __file__ 
       __line__ 
       __program__ 
       builtin 
       changecom 
       changequote 
       changeword 
       debugfile 
       debugmode 
       decr 
       define 
       defn 
       divert 
       divnum 
       dnl 
       dumpdef 
       errprint 
       esyscmd 
       eval 
       format 
       ifdef 
       ifelse 
       include 
       incr 
       index 
       indir 
       len 
       m4exit 
       m4wrap 
       maketemp 
       mkstemp 
       patsubst 
       popdef 
       pushdef 
       regexp 
       shift 
       sinclude 
       substr 
       syscmd 
       sysval 
       traceon 
       traceoff 
       translit 
       undefine 
       undivert 
    
    
       m4___file__ 
       m4___line__ 
       m4___program__ 
       m4_builtin 
       m4_changecom 
       m4_changequote 
       m4_changeword 
       m4_debugfile 
       m4_debugmode 
       m4_decr 
       m4_define 
       m4_defn 
       m4_divert 
       m4_divnum 
       m4_dnl 
       m4_dumpdef 
       m4_errprint 
       m4_esyscmd 
       m4_eval 
       m4_format 
       m4_ifdef 
       m4_ifelse 
       m4_include 
       m4_incr 
       m4_index 
       m4_indir 
       m4_len 
       m4_m4exit 
       m4_m4wrap 
       m4_maketemp 
       m4_mkstemp 
       m4_patsubst 
       m4_popdef 
       m4_pushdef 
       m4_regexp 
       m4_shift 
       m4_sinclude 
       m4_substr 
       m4_syscmd 
       m4_sysval 
       m4_traceon 
       m4_traceoff 
       m4_translit 
       m4_undefine 
       m4_undivert 
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
      
    
    
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
    
  

highlighting-kate-0.6.1/xml/makefile.xml0000644000000000000000000002365412633103275016406 0ustar0000000000000000








  
    
       include 
       define 
       else 
       endef 
       endif 
       ifdef 
       ifeq 
       ifndef 
       ifneq 
       override 
    
    
       call 
       subst 
       patsubst 
       strip 
       findstring 
       filter 
       filter-out 
       sort 
       word 
       wordlist 
       words 
       firstword 
       lastword 
       dir 
       notdir 
       suffix 
       basename 
       addsuffix 
       addprefix 
       join 
       wildcard 
       realpath 
       abspath 
       if 
       or 
       and 
       foreach 
       value 
       eval 
       origin 
       flavor 
       shell 
       error 
       warning 
       info 
    

    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
        
        
      

      
        
        
        
      

      
        
        
        
      

      
        
      

      
        
        
        
        
      

      
        
        
        
      

      
        
      

      
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
      

    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
    
  


highlighting-kate-0.6.1/xml/mandoc.xml0000644000000000000000000000523712633103275016067 0ustar0000000000000000



  

    
      SH
      SS
      TH
    

    
      HP
      IP
      LP
      P
      PD
      PP
      RE
      RS
      TP
    

    
      B
      BI
      BR
      I
      IB
      IR
      RB
      RI
      SM
      SB
    

    
      DT
    

    

      
      
        
        
        
      

      
      
        
        
        
        
        
      

      
        
      

    

    
      
      
      
      
      
      
      
      
    

  

  

    
      
    

    

  


highlighting-kate-0.6.1/xml/markdown.xml0000644000000000000000000001667712633103275016462 0ustar0000000000000000


















]>

  
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
      
      
        
        
        
      
      
        
        
        
      
      
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
  

highlighting-kate-0.6.1/xml/mathematica.xml0000644000000000000000000031637112633103275017107 0ustar0000000000000000


  
    
      A
      AbelianGroup
      All
      ArcSinh
      Abort
      AllowGroupClose
      ArcTan
      AbortKernels
      AllowReverseGroupClose
      ArcTanh
      AbortProtect
      AlphaChannel
      Arg
      Abs
      AlternatingGroup
      ArgMax
      AbsoluteCurrentValue
      AlternativeHypothesis
      ArgMin
      AbsoluteDashing
      Alternatives
      ArithmeticGeometricMean
      AbsoluteFileName
      AnchoredSearch
      Array
      AbsoluteOptions
      And
      ArrayComponents
      AbsolutePointSize
      AndersonDarlingTest
      ArrayDepth
      AbsoluteThickness
      AngerJ
      ArrayFlatten
      AbsoluteTime
      AngleBracket
      ArrayPad
      AbsoluteTiming
      Animate
      ArrayPlot
      AccountingForm
      AnimationDirection
      ArrayQ
      Accumulate
      AnimationDisplayTime
      ArrayRules
      Accuracy
      AnimationRate
      Arrow
      AccuracyGoal
      AnimationRepetitions
      Arrowheads
      ActionMenu
      AnimationRunning
      AspectRatio
      ActiveStyle
      Animator
      Assert
      AcyclicGraphQ
      Annotation
      Assuming
      AddTo
      Annuity
      Assumptions
      AdjacencyGraph
      AnnuityDue
      AstronomicalData
      AdjacencyMatrix
      Antialiasing
      Asynchronous
      AdjustmentBox
      Apart
      AtomQ
      AffineTransform
      ApartSquareFree
      Attributes
      AiryAi
      Appearance
      AugmentedSymmetricPolynomial
      AiryAiPrime
      AppearanceElements
      AutoAction
      AiryAiZero
      AppellF1
      AutoIndent
      AiryBi
      Append
      AutoItalicWords
      AiryBiPrime
      AppendTo
      Automatic
      AiryBiZero
      Apply
      AutoMultiplicationSymbol
      AlgebraicIntegerQ
      ArcCos
      AutorunSequencing
      AlgebraicNumber
      ArcCosh
      AutoScroll
      AlgebraicNumberDenominator
      ArcCot
      AutoSpacing
      AlgebraicNumberNorm
      ArcCoth
      Axes
      AlgebraicNumberPolynomial
      ArcCsc
      AxesEdge
      AlgebraicNumberTrace
      ArcCsch
      AxesLabel
      Algebraics
      ArcSec
      AxesOrigin
      AlgebraicUnitQ
      ArcSech
      AxesStyle
      Alignment
      ArcSin
      Axis
      AlignmentPoint
      ArcSinDistribution
      B
      BabyMonsterGroupB
      BetaRegularized
      BooleanGraph
      Back
      BetweennessCentrality
      BooleanMaxterms
      Background
      BezierCurve
      BooleanMinimize
      Backslash
      BezierFunction
      BooleanMinterms
      Backward
      BilateralFilter
      Booleans
      Band
      Binarize
      BooleanTable
      BarabasiAlbertGraphDistribution
      BinaryFormat
      BooleanVariables
      BarChart
      BinaryImageQ
      BorderDimensions
      BarChart3D
      BinaryRead
      BorelTannerDistribution
      BarnesG
      BinaryReadList
      Bottom
      BarOrigin
      BinaryWrite
      BottomHatTransform
      BarSpacing
      BinCounts
      BoundaryStyle
      BaseForm
      BinLists
      BoxData
      Baseline
      Binomial
      Boxed
      BaselinePosition
      BinomialDistribution
      BoxMatrix
      BaseStyle
      BinormalDistribution
      BoxRatios
      BatesDistribution
      BiorthogonalSplineWavelet
      BoxStyle
      BattleLemarieWavelet
      BipartiteGraphQ
      BoxWhiskerChart
      Because
      BirnbaumSaundersDistribution
      BracketingBar
      BeckmannDistribution
      BitAnd
      BrayCurtisDistance
      Beep
      BitClear
      BreadthFirstScan
      Begin
      BitGet
      Break
      BeginDialogPacket
      BitLength
      Brown
      BeginPackage
      BitNot
      BrownForsytheTest
      BellB
      BitOr
      BSplineBasis
      BellY
      BitSet
      BSplineCurve
      BenfordDistribution
      BitShiftLeft
      BSplineFunction
      BeniniDistribution
      BitShiftRight
      BSplineSurface
      BenktanderGibratDistribution
      BitXor
      BubbleChart
      BenktanderWeibullDistribution
      Black
      BubbleChart3D
      BernoulliB
      Blank
      BubbleScale
      BernoulliDistribution
      BlankNullSequence
      BubbleSizes
      BernoulliGraphDistribution
      BlankSequence
      ButterflyGraph
      BernsteinBasis
      Blend
      Button
      BesselI
      Block
      ButtonBar
      BesselJ
      BlockRandom
      ButtonBox
      BesselJZero
      Blue
      ButtonData
      BesselK
      Blur
      ButtonFrame
      BesselY
      BodePlot
      ButtonFunction
      BesselYZero
      Bold
      ButtonMinHeight
      Beta
      Bookmarks
      ButtonNotebook
      BetaBinomialDistribution
      Boole
      ButtonSource
      BetaDistribution
      BooleanConvert
      Byte
      BetaNegativeBinomialDistribution
      BooleanCountingFunction
      ByteCount
      BetaPrimeDistribution
      BooleanFunction
      ByteOrdering
      C
      C
      CityData
      ContinuousAction
      CallPacket
      Clear
      ContinuousTimeModelQ
      CanberraDistance
      ClearAll
      ContinuousWaveletData
      Cancel
      ClearAttributes
      ContinuousWaveletTransform
      CancelButton
      ClearSystemCache
      ContourDetect
      CandlestickChart
      ClebschGordan
      ContourLabels
      Cap
      ClickPane
      ContourPlot
      CapForm
      Clip
      ContourPlot3D
      CapitalDifferentialD
      ClippingStyle
      Contours
      CarmichaelLambda
      Clock
      ContourShading
      Cases
      Close
      ContourStyle
      Cashflow
      CloseKernels
      ContraharmonicMean
      Casoratian
      ClosenessCentrality
      Control
      Catalan
      Closing
      ControlActive
      CatalanNumber
      ClusteringComponents
      ControllabilityGramian
      Catch
      CMYKColor
      ControllabilityMatrix
      CauchyDistribution
      Coefficient
      ControllableDecomposition
      CayleyGraph
      CoefficientArrays
      ControllableModelQ
      CDF
      CoefficientList
      ControllerInformation
      CDFWavelet
      CoefficientRules
      ControllerLinking
      Ceiling
      CoifletWavelet
      ControllerManipulate
      Cell
      Collect
      ControllerMethod
      CellAutoOverwrite
      Colon
      ControllerPath
      CellBaseline
      ColorCombine
      ControllerState
      CellChangeTimes
      ColorConvert
      ControlPlacement
      CellContext
      ColorData
      ControlsRendering
      CellDingbat
      ColorDataFunction
      ControlType
      CellDynamicExpression
      ColorFunction
      Convergents
      CellEditDuplicate
      ColorFunctionScaling
      ConversionRules
      CellEpilog
      Colorize
      Convolve
      CellEvaluationDuplicate
      ColorNegate
      ConwayGroupCo1
      CellEvaluationFunction
      ColorQuantize
      ConwayGroupCo2
      CellEventActions
      ColorRules
      ConwayGroupCo3
      CellFrame
      ColorSeparate
      CoordinatesToolOptions
      CellFrameMargins
      ColorSetter
      CoprimeQ
      CellGroup
      ColorSlider
      Coproduct
      CellGroupData
      ColorSpace
      CopulaDistribution
      CellGrouping
      Column
      Copyable
      CellLabel
      ColumnAlignments
      CopyDirectory
      CellLabelAutoDelete
      ColumnLines
      CopyFile
      CellMargins
      ColumnsEqual
      CopyToClipboard
      CellOpen
      ColumnSpacings
      CornerFilter
      CellPrint
      ColumnWidths
      CornerNeighbors
      CellProlog
      Commonest
      Correlation
      CellTags
      CommonestFilter
      CorrelationDistance
      CellularAutomaton
      CompilationOptions
      Cos
      CensoredDistribution
      CompilationTarget
      Cosh
      Censoring
      Compile
      CoshIntegral
      Center
      Compiled
      CosineDistance
      CenterDot
      CompiledFunction
      CosIntegral
      CentralMoment
      Complement
      Cot
      CentralMomentGeneratingFunction
      CompleteGraph
      Coth
      CForm
      CompleteGraphQ
      Count
      ChampernowneNumber
      CompleteKaryTree
      CountRoots
      ChanVeseBinarize
      Complex
      CountryData
      Character
      Complexes
      Covariance
      CharacterEncoding
      ComplexExpand
      CovarianceEstimatorFunction
      CharacteristicFunction
      ComplexInfinity
      CramerVonMisesTest
      CharacteristicPolynomial
      ComplexityFunction
      CreateArchive
      CharacterRange
      ComponentMeasurements
      CreateDialog
      Characters
      ComposeList
      CreateDirectory
      ChartBaseStyle
      ComposeSeries
      CreateDocument
      ChartElementFunction
      Composition
      CreateIntermediateDirectories
      ChartElements
      CompoundExpression
      CreatePalette
      ChartLabels
      Compress
      CreateScheduledTask
      ChartLayout
      Condition
      CreateWindow
      ChartLegends
      ConditionalExpression
      CriticalSection
      ChartStyle
      Conditioned
      Cross
      ChebyshevT
      Cone
      CrossingDetect
      ChebyshevU
      ConfidenceLevel
      CrossMatrix
      Check
      Congruent
      Csc
      CheckAbort
      Conjugate
      Csch
      Checkbox
      ConjugateTranspose
      Cubics
      CheckboxBar
      Conjunction
      Cuboid
      ChemicalData
      ConnectedComponents
      Cumulant
      ChessboardDistance
      ConnectedGraphQ
      CumulantGeneratingFunction
      ChiDistribution
      ConoverTest
      Cup
      ChineseRemainder
      Constant
      CupCap
      ChiSquareDistribution
      ConstantArray
      CurrentImage
      ChoiceButtons
      Constants
      CurrentValue
      ChoiceDialog
      ContentPadding
      CurvatureFlowFilter
      CholeskyDecomposition
      ContentSelectable
      CurveClosed
      Chop
      ContentSize
      Cyan
      Circle
      Context
      CycleGraph
      CircleDot
      Contexts
      Cycles
      CircleMinus
      ContextToFileName
      CyclicGroup
      CirclePlus
      Continue
      Cyclotomic
      CircleTimes
      ContinuedFraction
      Cylinder
      CirculantGraph
      ContinuedFractionK
      CylindricalDecomposition
      D
      D
      DepthFirstScan
      DiskMatrix
      DagumDistribution
      Derivative
      Dispatch
      DamerauLevenshteinDistance
      DerivativeFilter
      DispersionEstimatorFunction
      Darker
      DesignMatrix
      DisplayAllSteps
      Dashed
      Det
      DisplayEndPacket
      Dashing
      DGaussianWavelet
      DisplayForm
      DataDistribution
      Diagonal
      DisplayFunction
      DataRange
      DiagonalMatrix
      DisplayPacket
      DataReversed
      Dialog
      DistanceFunction
      DateDifference
      DialogInput
      DistanceTransform
      DateFunction
      DialogNotebook
      Distribute
      DateList
      DialogProlog
      Distributed
      DateListLogPlot
      DialogReturn
      DistributedContexts
      DateListPlot
      DialogSymbols
      DistributeDefinitions
      DatePattern
      Diamond
      DistributionChart
      DatePlus
      DiamondMatrix
      DistributionFitTest
      DateString
      DiceDissimilarity
      DistributionParameterAssumptions
      DateTicksFormat
      DictionaryLookup
      DistributionParameterQ
      DaubechiesWavelet
      DifferenceDelta
      Divide
      DavisDistribution
      DifferenceRoot
      DivideBy
      DawsonF
      DifferenceRootReduce
      Dividers
      DeBruijnGraph
      Differences
      Divisible
      DeclarePackage
      DifferentialD
      Divisors
      Decompose
      DifferentialRoot
      DivisorSigma
      Decrement
      DifferentialRootReduce
      DivisorSum
      DedekindEta
      DigitBlock
      DMSList
      Default
      DigitCharacter
      DMSString
      DefaultAxesStyle
      DigitCount
      Do
      DefaultBaseStyle
      DigitQ
      DockedCells
      DefaultBoxStyle
      DihedralGroup
      DocumentNotebook
      DefaultButton
      Dilation
      Dot
      DefaultDuplicateCellStyle
      Dimensions
      DotDashed
      DefaultDuration
      DiracComb
      DotEqual
      DefaultElement
      DiracDelta
      Dotted
      DefaultFaceGridsStyle
      DirectedEdge
      DoubleBracketingBar
      DefaultFieldHintStyle
      DirectedEdges
      DoubleDownArrow
      DefaultFrameStyle
      DirectedGraph
      DoubleLeftArrow
      DefaultFrameTicksStyle
      DirectedGraphQ
      DoubleLeftRightArrow
      DefaultGridLinesStyle
      DirectedInfinity
      DoubleLongLeftArrow
      DefaultLabelStyle
      Direction
      DoubleLongLeftRightArrow
      DefaultMenuStyle
      Directive
      DoubleLongRightArrow
      DefaultNewCellStyle
      Directory
      DoubleRightArrow
      DefaultOptions
      DirectoryName
      DoubleUpArrow
      DefaultTicksStyle
      DirectoryQ
      DoubleUpDownArrow
      Defer
      DirectoryStack
      DoubleVerticalBar
      Definition
      DirichletCharacter
      DownArrow
      Degree
      DirichletConvolve
      DownArrowBar
      DegreeCentrality
      DirichletDistribution
      DownArrowUpArrow
      DegreeGraphDistribution
      DirichletL
      DownLeftRightVector
      Deinitialization
      DirichletTransform
      DownLeftTeeVector
      Del
      DiscreteConvolve
      DownLeftVector
      Deletable
      DiscreteDelta
      DownLeftVectorBar
      Delete
      DiscreteIndicator
      DownRightTeeVector
      DeleteBorderComponents
      DiscreteLQEstimatorGains
      DownRightVector
      DeleteCases
      DiscreteLQRegulatorGains
      DownRightVectorBar
      DeleteContents
      DiscreteLyapunovSolve
      DownTeeArrow
      DeleteDirectory
      DiscretePlot
      DownValues
      DeleteDuplicates
      DiscretePlot3D
      DragAndDrop
      DeleteFile
      DiscreteRatio
      Drop
      DeleteSmallComponents
      DiscreteRiccatiSolve
      DSolve
      Delimiter
      DiscreteShift
      Dt
      DelimiterFlashTime
      DiscreteTimeModelQ
      DualSystemsModel
      Denominator
      DiscreteUniformDistribution
      DumpSave
      DensityHistogram
      DiscreteWaveletData
      Dynamic
      DensityPlot
      DiscreteWaveletPacketTransform
      DynamicEvaluationTimeout
      DependentVariables
      DiscreteWaveletTransform
      DynamicModule
      Deploy
      Discriminant
      DynamicModuleValues
      Deployed
      Disjunction
      DynamicSetting
      Depth
      Disk
      DynamicWrapper
      E
      E
      End
      ExactNumberQ
      EdgeAdd
      EndDialogPacket
      ExampleData
      EdgeCount
      EndOfFile
      Except
      EdgeCoverQ
      EndOfLine
      ExcludedForms
      EdgeDelete
      EndOfString
      ExcludePods
      EdgeDetect
      EndPackage
      Exclusions
      EdgeForm
      EngineeringForm
      ExclusionsStyle
      EdgeIndex
      EnterExpressionPacket
      Exists
      EdgeLabeling
      EnterTextPacket
      Exit
      EdgeLabels
      Entropy
      Exp
      EdgeList
      EntropyFilter
      Expand
      EdgeQ
      Environment
      ExpandAll
      EdgeRenderingFunction
      Epilog
      ExpandDenominator
      EdgeRules
      Equal
      ExpandFileName
      EdgeShapeFunction
      EqualTilde
      ExpandNumerator
      EdgeStyle
      Equilibrium
      Expectation
      EdgeWeight
      Equivalent
      ExpGammaDistribution
      Editable
      Erf
      ExpIntegralE
      EditDistance
      Erfc
      ExpIntegralEi
      EffectiveInterest
      Erfi
      Exponent
      Eigensystem
      ErlangDistribution
      ExponentFunction
      Eigenvalues
      Erosion
      ExponentialDistribution
      EigenvectorCentrality
      ErrorBox
      ExponentialFamily
      Eigenvectors
      EstimatedDistribution
      ExponentialGeneratingFunction
      Element
      EstimatorGains
      ExponentialMovingAverage
      ElementData
      EstimatorRegulator
      ExponentialPowerDistribution
      Eliminate
      EuclideanDistance
      ExponentStep
      EllipticE
      EulerE
      Export
      EllipticExp
      EulerGamma
      ExportString
      EllipticExpPrime
      EulerianGraphQ
      Expression
      EllipticF
      EulerPhi
      ExpressionCell
      EllipticK
      Evaluatable
      ExpToTrig
      EllipticLog
      Evaluate
      ExtendedGCD
      EllipticNomeQ
      EvaluatePacket
      Extension
      EllipticPi
      EvaluationElements
      ExtentElementFunction
      EllipticTheta
      EvaluationMonitor
      ExtentMarkers
      EllipticThetaPrime
      EvaluationNotebook
      ExtentSize
      EmitSound
      EvaluationObject
      Extract
      EmpiricalDistribution
      Evaluator
      ExtractArchive
      EmptyGraphQ
      EvenQ
      ExtremeValueDistribution
      Enabled
      EventHandler
      Encode
      EventLabels
      F
      FaceForm
      FindFit
      FormBox
      FaceGrids
      FindGeneratingFunction
      FortranForm
      FaceGridsStyle
      FindGeoLocation
      Forward
      Factor
      FindGeometricTransform
      ForwardBackward
      Factorial
      FindGraphIsomorphism
      Fourier
      Factorial2
      FindHamiltonianCycle
      FourierCoefficient
      FactorialMoment
      FindIndependentEdgeSet
      FourierCosCoefficient
      FactorialMomentGeneratingFunction
      FindIndependentVertexSet
      FourierCosSeries
      FactorialPower
      FindInstance
      FourierCosTransform
      FactorInteger
      FindIntegerNullVector
      FourierDCT
      FactorList
      FindLibrary
      FourierDST
      FactorSquareFree
      FindLinearRecurrence
      FourierParameters
      FactorSquareFreeList
      FindList
      FourierSequenceTransform
      FactorTerms
      FindMaximum
      FourierSeries
      FactorTermsList
      FindMaxValue
      FourierSinCoefficient
      False
      FindMinimum
      FourierSinSeries
      FeedbackType
      FindMinValue
      FourierSinTransform
      Fibonacci
      FindPermutation
      FourierTransform
      FieldHint
      FindRoot
      FourierTrigSeries
      FieldHintStyle
      FindSequenceFunction
      FractionalPart
      FieldMasked
      FindShortestPath
      FractionBox
      FieldSize
      FindShortestTour
      Frame
      FileBaseName
      FindThreshold
      FrameBox
      FileByteCount
      FindVertexCover
      Framed
      FileDate
      FinishDynamic
      FrameLabel
      FileExistsQ
      FiniteAbelianGroupCount
      FrameMargins
      FileExtension
      FiniteGroupCount
      FrameStyle
      FileFormat
      FiniteGroupData
      FrameTicks
      FileHash
      First
      FrameTicksStyle
      FileNameDepth
      FischerGroupFi22
      FRatioDistribution
      FileNameDrop
      FischerGroupFi23
      FrechetDistribution
      FileNameJoin
      FischerGroupFi24Prime
      FreeQ
      FileNames
      FisherHypergeometricDistribution
      FresnelC
      FileNameSetter
      FisherRatioTest
      FresnelS
      FileNameSplit
      FisherZDistribution
      FrobeniusNumber
      FileNameTake
      Fit
      FrobeniusSolve
      FilePrint
      FittedModel
      FromCharacterCode
      FileType
      FixedPoint
      FromCoefficientRules
      FilledCurve
      FixedPointList
      FromContinuedFraction
      Filling
      Flat
      FromDigits
      FillingStyle
      Flatten
      FromDMS
      FillingTransform
      FlattenAt
      Front
      FilterRules
      FlipView
      FrontEndDynamicExpression
      FinancialBond
      Floor
      FrontEndEventActions
      FinancialData
      Fold
      FrontEndExecute
      FinancialDerivative
      FoldList
      FrontEndToken
      FinancialIndicator
      FontColor
      FrontEndTokenExecute
      Find
      FontFamily
      Full
      FindArgMax
      FontSize
      FullDefinition
      FindArgMin
      FontSlant
      FullForm
      FindClique
      FontSubstitutions
      FullGraphics
      FindClusters
      FontTracking
      FullSimplify
      FindCurvePath
      FontVariations
      Function
      FindDistributionParameters
      FontWeight
      FunctionExpand
      FindDivisions
      For
      FunctionInterpolation
      FindEdgeCover
      ForAll
      FunctionSpace
      FindEulerianCycle
      Format
      FindFile
      FormatType
      G
      GaborWavelet
      GeoPositionXYZ
      GraphStyle
      GainMargins
      GeoProjectionData
      GraphUnion
      GainPhaseMargins
      Get
      Gray
      Gamma
      Glaisher
      GrayLevel
      GammaDistribution
      Glow
      Greater
      GammaRegularized
      GoldenRatio
      GreaterEqual
      GapPenalty
      GompertzMakehamDistribution
      GreaterEqualLess
      Gather
      Goto
      GreaterFullEqual
      GatherBy
      Gradient
      GreaterGreater
      GaussianFilter
      GradientFilter
      GreaterLess
      GaussianIntegers
      Graph
      GreaterSlantEqual
      GaussianMatrix
      GraphCenter
      GreaterTilde
      GCD
      GraphComplement
      Green
      GegenbauerC
      GraphData
      Grid
      General
      GraphDiameter
      GridBox
      GeneralizedLinearModelFit
      GraphDifference
      GridDefaultElement
      GenerateConditions
      GraphDisjointUnion
      GridGraph
      GeneratedCell
      GraphDistance
      GridLines
      GeneratedParameters
      GraphDistanceMatrix
      GridLinesStyle
      GeneratingFunction
      GraphHighlight
      GroebnerBasis
      GenericCylindricalDecomposition
      GraphHighlightStyle
      GroupActionBase
      GenomeData
      Graphics
      GroupCentralizer
      GenomeLookup
      Graphics3D
      GroupElementPosition
      GeodesicDilation
      GraphicsColumn
      GroupElementQ
      GeodesicErosion
      GraphicsComplex
      GroupElements
      GeoDestination
      GraphicsGrid
      GroupGenerators
      GeodesyData
      GraphicsGroup
      GroupMultiplicationTable
      GeoDirection
      GraphicsRow
      GroupOrbits
      GeoDistance
      GraphIntersection
      GroupOrder
      GeoGridPosition
      GraphLayout
      GroupPageBreakWithin
      GeometricDistribution
      GraphPeriphery
      GroupSetwiseStabilizer
      GeometricMean
      GraphPlot
      GroupStabilizer
      GeometricMeanFilter
      GraphPlot3D
      GroupStabilizerChain
      GeometricTransformation
      GraphPower
      Gudermannian
      GeoPosition
      GraphQ
      GumbelDistribution
      GeoPositionENU
      GraphRadius
      H
      HaarWavelet
      HermitianMatrixQ
      Hue
      HalfNormalDistribution
      HessenbergDecomposition
      HumpDownHump
      HamiltonianGraphQ
      HexadecimalCharacter
      HumpEqual
      HammingDistance
      HighlightGraph
      HurwitzLerchPhi
      HankelH1
      HigmanSimsGroupHS
      HurwitzZeta
      HankelH2
      HilbertMatrix
      HyperbolicDistribution
      HankelMatrix
      Histogram
      HypercubeGraph
      HaradaNortonGroupHN
      Histogram3D
      Hyperfactorial
      HararyGraph
      HistogramDistribution
      Hypergeometric0F1
      HarmonicMean
      HistogramList
      Hypergeometric0F1Regularized
      HarmonicMeanFilter
      HitMissTransform
      Hypergeometric1F1
      HarmonicNumber
      HITSCentrality
      Hypergeometric1F1Regularized
      Hash
      Hold
      Hypergeometric2F1
      Haversine
      HoldAll
      Hypergeometric2F1Regularized
      HazardFunction
      HoldAllComplete
      HypergeometricDistribution
      Head
      HoldComplete
      HypergeometricPFQ
      Heads
      HoldFirst
      HypergeometricPFQRegularized
      HeavisideLambda
      HoldForm
      HypergeometricU
      HeavisidePi
      HoldPattern
      Hyperlink
      HeavisideTheta
      HoldRest
      Hyphenation
      HeldGroupHe
      HornerForm
      HypothesisTestData
      HermiteDecomposition
      HotellingTSquareDistribution
      HermiteH
      HoytDistribution
      I
      I
      ImportString
      Interrupt
      Identity
      In
      Intersection
      IdentityMatrix
      IncidenceGraph
      Interval
      If
      IncidenceMatrix
      IntervalIntersection
      IgnoreCase
      IncludeConstantBasis
      IntervalMemberQ
      Im
      IncludePods
      IntervalUnion
      Image
      Increment
      Inverse
      ImageAdd
      IndependentEdgeSetQ
      InverseBetaRegularized
      ImageAdjust
      IndependentVertexSetQ
      InverseCDF
      ImageAlign
      Indeterminate
      InverseChiSquareDistribution
      ImageApply
      IndexGraph
      InverseContinuousWaveletTransform
      ImageAspectRatio
      InexactNumberQ
      InverseDistanceTransform
      ImageAssemble
      Infinity
      InverseEllipticNomeQ
      ImageCapture
      Infix
      InverseErf
      ImageChannels
      Information
      InverseErfc
      ImageClip
      Inherited
      InverseFourier
      ImageColorSpace
      Initialization
      InverseFourierCosTransform
      ImageCompose
      InitializationCell
      InverseFourierSequenceTransform
      ImageConvolve
      Inner
      InverseFourierSinTransform
      ImageCooccurrence
      Inpaint
      InverseFourierTransform
      ImageCorrelate
      Input
      InverseFunction
      ImageCorrespondingPoints
      InputAliases
      InverseFunctions
      ImageCrop
      InputAssumptions
      InverseGammaDistribution
      ImageData
      InputAutoReplacements
      InverseGammaRegularized
      ImageDeconvolve
      InputField
      InverseGaussianDistribution
      ImageDifference
      InputForm
      InverseGudermannian
      ImageDimensions
      InputNamePacket
      InverseHaversine
      ImageEffect
      InputNotebook
      InverseJacobiCD
      ImageFilter
      InputPacket
      InverseJacobiCN
      ImageForestingComponents
      InputStream
      InverseJacobiCS
      ImageForwardTransformation
      InputString
      InverseJacobiDC
      ImageHistogram
      InputStringPacket
      InverseJacobiDN
      ImageKeypoints
      Insert
      InverseJacobiDS
      ImageLevels
      InsertResults
      InverseJacobiNC
      ImageLines
      Inset
      InverseJacobiND
      ImageMargins
      Install
      InverseJacobiNS
      ImageMultiply
      InstallService
      InverseJacobiSC
      ImagePad
      InString
      InverseJacobiSD
      ImagePadding
      Integer
      InverseJacobiSN
      ImagePartition
      IntegerDigits
      InverseLaplaceTransform
      ImagePerspectiveTransformation
      IntegerExponent
      InversePermutation
      ImageQ
      IntegerLength
      InverseRadon
      ImageReflect
      IntegerPart
      InverseSeries
      ImageResize
      IntegerPartitions
      InverseSurvivalFunction
      ImageResolution
      IntegerQ
      InverseWaveletTransform
      ImageRotate
      Integers
      InverseWeierstrassP
      ImageScaled
      IntegerString
      InverseZTransform
      ImageSize
      Integrate
      Invisible
      ImageSizeAction
      InteractiveTradingChart
      IrreduciblePolynomialQ
      ImageSizeMultipliers
      Interleaving
      IsolatingInterval
      ImageSubtract
      InternallyBalancedDecomposition
      IsomorphicGraphQ
      ImageTake
      InterpolatingFunction
      IsotopeData
      ImageTransformation
      InterpolatingPolynomial
      Italic
      ImageTrim
      Interpolation
      Item
      ImageType
      InterpolationOrder
      ItemAspectRatio
      ImageValue
      Interpretation
      ItemSize
      Implies
      InterpretationBox
      ItemStyle
      Import
      InterquartileRange
      J
      JaccardDissimilarity
      JacobiNS
      JankoGroupJ4
      JacobiAmplitude
      JacobiP
      JarqueBeraALMTest
      JacobiCD
      JacobiSC
      JohnsonDistribution
      JacobiCN
      JacobiSD
      Join
      JacobiCS
      JacobiSN
      Joined
      JacobiDC
      JacobiSymbol
      JoinedCurve
      JacobiDN
      JacobiZeta
      JoinForm
      JacobiDS
      JankoGroupJ1
      JordanDecomposition
      JacobiNC
      JankoGroupJ2
      JordanModelDecomposition
      JacobiND
      JankoGroupJ3
      K
      KagiChart
      KelvinKer
      KolmogorovSmirnovTest
      KalmanEstimator
      KernelMixtureDistribution
      KroneckerDelta
      KarhunenLoeveDecomposition
      KernelObject
      KroneckerProduct
      KaryTree
      Kernels
      KroneckerSymbol
      KatzCentrality
      Khinchin
      KuiperTest
      KCoreComponents
      KirchhoffGraph
      KumaraswamyDistribution
      KDistribution
      KirchhoffMatrix
      Kurtosis
      KelvinBei
      KleinInvariantJ
      KuwaharaFilter
      KelvinBer
      KnightTourGraph
      KelvinKei
      KnotData
      L
      Label
      LibraryFunction
      ListDensityPlot
      Labeled
      LibraryFunctionError
      ListInterpolation
      LabelingFunction
      LibraryFunctionInformation
      ListLineIntegralConvolutionPlot
      LabelStyle
      LibraryFunctionLoad
      ListLinePlot
      LaguerreL
      LibraryFunctionUnload
      ListLogLinearPlot
      LandauDistribution
      LibraryLoad
      ListLogLogPlot
      LanguageCategory
      LibraryUnload
      ListLogPlot
      LaplaceDistribution
      LiftingFilterData
      ListPlay
      LaplaceTransform
      LiftingWaveletTransform
      ListPlot
      LaplacianFilter
      LightBlue
      ListPlot3D
      LaplacianGaussianFilter
      LightBrown
      ListPointPlot3D
      Large
      LightCyan
      ListPolarPlot
      Larger
      Lighter
      ListStreamDensityPlot
      Last
      LightGray
      ListStreamPlot
      Latitude
      LightGreen
      ListSurfacePlot3D
      LatitudeLongitude
      Lighting
      ListVectorDensityPlot
      LatticeData
      LightingAngle
      ListVectorPlot
      LatticeReduce
      LightMagenta
      ListVectorPlot3D
      LaunchKernels
      LightOrange
      LocalizeVariables
      LayeredGraphPlot
      LightPink
      LocationEquivalenceTest
      LayerSizeFunction
      LightPurple
      LocationTest
      LCM
      LightRed
      Locator
      LeafCount
      LightYellow
      LocatorAutoCreate
      LeastSquares
      Likelihood
      LocatorPane
      Left
      Limit
      LocatorRegion
      LeftArrow
      LimitsPositioning
      Locked
      LeftArrowBar
      LindleyDistribution
      Log
      LeftArrowRightArrow
      Line
      Log10
      LeftDownTeeVector
      LinearFractionalTransform
      Log2
      LeftDownVector
      LinearModelFit
      LogBarnesG
      LeftDownVectorBar
      LinearOffsetFunction
      LogGamma
      LeftRightArrow
      LinearProgramming
      LogGammaDistribution
      LeftRightVector
      LinearRecurrence
      LogicalExpand
      LeftTeeArrow
      LinearSolve
      LogIntegral
      LeftTeeVector
      LinearSolveFunction
      LogisticDistribution
      LeftTriangle
      LineBreakChart
      LogitModelFit
      LeftTriangleBar
      LineGraph
      LogLikelihood
      LeftTriangleEqual
      LineIndent
      LogLinearPlot
      LeftUpDownVector
      LineIndentMaxFraction
      LogLogisticDistribution
      LeftUpTeeVector
      LineIntegralConvolutionPlot
      LogLogPlot
      LeftUpVector
      LineIntegralConvolutionScale
      LogNormalDistribution
      LeftUpVectorBar
      LineSpacing
      LogPlot
      LeftVector
      LinkClose
      LogSeriesDistribution
      LeftVectorBar
      LinkConnect
      Longest
      LegendAppearance
      LinkCreate
      LongestCommonSequence
      Legended
      LinkFunction
      LongestCommonSubsequence
      LegendreP
      LinkInterrupt
      Longitude
      LegendreQ
      LinkLaunch
      LongLeftArrow
      Length
      LinkObject
      LongLeftRightArrow
      LengthWhile
      LinkPatterns
      LongRightArrow
      LerchPhi
      LinkProtocol
      LoopFreeGraphQ
      Less
      LinkRead
      LowerCaseQ
      LessEqual
      LinkReadyQ
      LowerLeftArrow
      LessEqualGreater
      Links
      LowerRightArrow
      LessFullEqual
      LinkWrite
      LowerTriangularize
      LessGreater
      LiouvilleLambda
      LQEstimatorGains
      LessLess
      List
      LQGRegulator
      LessSlantEqual
      Listable
      LQOutputRegulatorGains
      LessTilde
      ListAnimate
      LQRegulatorGains
      LetterCharacter
      ListContourPlot
      LucasL
      LetterQ
      ListContourPlot3D
      LUDecomposition
      Level
      ListConvolve
      LyapunovSolve
      LeveneTest
      ListCorrelate
      LyonsGroupLy
      LeviCivitaTensor
      ListCurvePathPlot
      LevyDistribution
      ListDeconvolve
      M
      MachineNumberQ
      MaxDetect
      MinDetect
      MachinePrecision
      MaxExtraBandwidths
      MinFilter
      Magenta
      MaxExtraConditions
      MinimalPolynomial
      Magnification
      MaxFilter
      MinimalStateSpaceModel
      Magnify
      Maximize
      Minimize
      Majority
      MaxIterations
      Minors
      MakeBoxes
      MaxMemoryUsed
      MinStableDistribution
      MakeExpression
      MaxMixtureKernels
      Minus
      MangoldtLambda
      MaxPlotPoints
      MinusPlus
      ManhattanDistance
      MaxRecursion
      MinValue
      Manipulate
      MaxStableDistribution
      Missing
      Manipulator
      MaxStepFraction
      MixtureDistribution
      MannWhitneyTest
      MaxSteps
      Mod
      MantissaExponent
      MaxStepSize
      Modal
      Manual
      MaxValue
      ModularLambda
      Map
      MaxwellDistribution
      Module
      MapAll
      McLaughlinGroupMcL
      Modulus
      MapAt
      Mean
      MoebiusMu
      MapIndexed
      MeanDeviation
      Moment
      MapThread
      MeanFilter
      MomentConvert
      MarcumQ
      MeanShift
      MomentEvaluate
      MardiaCombinedTest
      MeanShiftFilter
      MomentGeneratingFunction
      MardiaKurtosisTest
      Median
      Monitor
      MardiaSkewnessTest
      MedianDeviation
      MonomialList
      MarginalDistribution
      MedianFilter
      MonsterGroupM
      Masking
      Medium
      MorletWavelet
      MatchingDissimilarity
      MeijerG
      MorphologicalBinarize
      MatchLocalNames
      MemberQ
      MorphologicalBranchPoints
      MatchQ
      MemoryConstrained
      MorphologicalComponents
      MathieuC
      MemoryInUse
      MorphologicalEulerNumber
      MathieuCharacteristicA
      MenuCommandKey
      MorphologicalGraph
      MathieuCharacteristicB
      MenuPacket
      MorphologicalPerimeter
      MathieuCharacteristicExponent
      MenuSortingValue
      MorphologicalTransform
      MathieuCPrime
      MenuStyle
      Most
      MathieuGroupM11
      MenuView
      MouseAnnotation
      MathieuGroupM12
      Mesh
      MouseAppearance
      MathieuGroupM22
      MeshFunctions
      Mouseover
      MathieuGroupM23
      MeshShading
      MousePosition
      MathieuGroupM24
      MeshStyle
      MovingAverage
      MathieuS
      Message
      MovingMedian
      MathieuSPrime
      MessageDialog
      MoyalDistribution
      MathMLForm
      MessageList
      MultiedgeStyle
      MatrixExp
      MessageName
      Multinomial
      MatrixForm
      MessagePacket
      MultinomialDistribution
      MatrixPlot
      Messages
      MultinormalDistribution
      MatrixPower
      Method
      MultiplicativeOrder
      MatrixQ
      MexicanHatWavelet
      MultivariateHypergeometricDistribution
      MatrixRank
      MeyerWavelet
      MultivariatePoissonDistribution
      Max
      Min
      MultivariateTDistribution
      N
      N
      NormalizedSquaredEuclideanDistance
      NotPrecedesSlantEqual
      NakagamiDistribution
      NormalsFunction
      NotPrecedesTilde
      NameQ
      NormFunction
      NotReverseElement
      Names
      Not
      NotRightTriangle
      Nand
      NotCongruent
      NotRightTriangleBar
      NArgMax
      NotCupCap
      NotRightTriangleEqual
      NArgMin
      NotDoubleVerticalBar
      NotSquareSubset
      NCache
      Notebook
      NotSquareSubsetEqual
      NDSolve
      NotebookApply
      NotSquareSuperset
      Nearest
      NotebookAutoSave
      NotSquareSupersetEqual
      NearestFunction
      NotebookClose
      NotSubset
      NeedlemanWunschSimilarity
      NotebookDelete
      NotSubsetEqual
      Needs
      NotebookDirectory
      NotSucceeds
      Negative
      NotebookDynamicExpression
      NotSucceedsEqual
      NegativeBinomialDistribution
      NotebookEvaluate
      NotSucceedsSlantEqual
      NegativeMultinomialDistribution
      NotebookEventActions
      NotSucceedsTilde
      NeighborhoodGraph
      NotebookFileName
      NotSuperset
      Nest
      NotebookFind
      NotSupersetEqual
      NestedGreaterGreater
      NotebookGet
      NotTilde
      NestedLessLess
      NotebookInformation
      NotTildeEqual
      NestList
      NotebookLocate
      NotTildeFullEqual
      NestWhile
      NotebookObject
      NotTildeTilde
      NestWhileList
      NotebookOpen
      NotVerticalBar
      NevilleThetaC
      NotebookPrint
      NProbability
      NevilleThetaD
      NotebookPut
      NProduct
      NevilleThetaN
      NotebookRead
      NRoots
      NevilleThetaS
      Notebooks
      NSolve
      NExpectation
      NotebookSave
      NSum
      NextPrime
      NotebookSelection
      Null
      NHoldAll
      NotebookWrite
      NullRecords
      NHoldFirst
      NotElement
      NullSpace
      NHoldRest
      NotEqualTilde
      NullWords
      NicholsGridLines
      NotExists
      Number
      NicholsPlot
      NotGreater
      NumberFieldClassNumber
      NIntegrate
      NotGreaterEqual
      NumberFieldDiscriminant
      NMaximize
      NotGreaterFullEqual
      NumberFieldFundamentalUnits
      NMaxValue
      NotGreaterGreater
      NumberFieldIntegralBasis
      NMinimize
      NotGreaterLess
      NumberFieldNormRepresentatives
      NMinValue
      NotGreaterSlantEqual
      NumberFieldRegulator
      NominalVariables
      NotGreaterTilde
      NumberFieldRootsOfUnity
      NoncentralBetaDistribution
      NotHumpDownHump
      NumberFieldSignature
      NoncentralChiSquareDistribution
      NotHumpEqual
      NumberForm
      NoncentralFRatioDistribution
      NotLeftTriangle
      NumberFormat
      NoncentralStudentTDistribution
      NotLeftTriangleBar
      NumberMarks
      NonCommutativeMultiply
      NotLeftTriangleEqual
      NumberMultiplier
      NonConstants
      NotLess
      NumberPadding
      None
      NotLessEqual
      NumberPoint
      NonlinearModelFit
      NotLessFullEqual
      NumberQ
      NonNegative
      NotLessGreater
      NumberSeparator
      NonPositive
      NotLessLess
      NumberSigns
      Nor
      NotLessSlantEqual
      NumberString
      NorlundB
      NotLessTilde
      Numerator
      Norm
      NotNestedGreaterGreater
      NumericFunction
      Normal
      NotNestedLessLess
      NumericQ
      NormalDistribution
      NotPrecedes
      NyquistGridLines
      Normalize
      NotPrecedesEqual
      NyquistPlot
      O
      O
      Operate
      OutputForm
      ObservabilityGramian
      OperatingSystem
      OutputNamePacket
      ObservabilityMatrix
      Optional
      OutputResponse
      ObservableDecomposition
      Options
      OutputSizeLimit
      ObservableModelQ
      OptionsPattern
      OutputStream
      OddQ
      OptionValue
      OverBar
      Off
      Or
      OverDot
      Offset
      Orange
      Overflow
      On
      Order
      OverHat
      ONanGroupON
      OrderDistribution
      Overlaps
      OneIdentity
      OrderedQ
      Overlay
      Opacity
      Ordering
      Overscript
      OpenAppend
      Orderless
      OverscriptBox
      Opener
      Orthogonalize
      OverTilde
      OpenerView
      Out
      OverVector
      Opening
      Outer
      OwenT
      OpenRead
      OutputControllabilityMatrix
      OwnValues
      OpenWrite
      OutputControllableModelQ
      P
      PackingMethod
      PermutationList
      PopupMenu
      PaddedForm
      PermutationListQ
      PopupView
      Padding
      PermutationMax
      PopupWindow
      PadeApproximant
      PermutationMin
      Position
      PadLeft
      PermutationOrder
      Positive
      PadRight
      PermutationPower
      PositiveDefiniteMatrixQ
      PageBreakAbove
      PermutationProduct
      PossibleZeroQ
      PageBreakBelow
      PermutationReplace
      Postfix
      PageBreakWithin
      Permutations
      Power
      PageFooters
      PermutationSupport
      PowerDistribution
      PageHeaders
      Permute
      PowerExpand
      PageRankCentrality
      PeronaMalikFilter
      PowerMod
      PageWidth
      PERTDistribution
      PowerModList
      PairedBarChart
      PetersenGraph
      PowersRepresentations
      PairedHistogram
      PhaseMargins
      PowerSymmetricPolynomial
      PairedTTest
      Pi
      PrecedenceForm
      PairedZTest
      Pick
      Precedes
      PaletteNotebook
      Piecewise
      PrecedesEqual
      Pane
      PiecewiseExpand
      PrecedesSlantEqual
      Panel
      PieChart
      PrecedesTilde
      Paneled
      PieChart3D
      Precision
      PaneSelector
      Pink
      PrecisionGoal
      ParabolicCylinderD
      PixelConstrained
      PreDecrement
      ParagraphIndent
      PixelValue
      PreemptProtect
      ParagraphSpacing
      Placed
      Prefix
      ParallelArray
      Placeholder
      PreIncrement
      ParallelCombine
      PlaceholderReplace
      Prepend
      ParallelDo
      Plain
      PrependTo
      ParallelEvaluate
      Play
      PreserveImageOptions
      Parallelization
      PlayRange
      PriceGraphDistribution
      Parallelize
      Plot
      Prime
      ParallelMap
      Plot3D
      PrimeNu
      ParallelNeeds
      PlotLabel
      PrimeOmega
      ParallelProduct
      PlotLayout
      PrimePi
      ParallelSubmit
      PlotMarkers
      PrimePowerQ
      ParallelSum
      PlotPoints
      PrimeQ
      ParallelTable
      PlotRange
      Primes
      ParallelTry
      PlotRangeClipping
      PrimeZetaP
      ParameterEstimator
      PlotRangePadding
      PrimitiveRoot
      ParameterMixtureDistribution
      PlotRegion
      PrincipalComponents
      ParametricPlot
      PlotStyle
      PrincipalValue
      ParametricPlot3D
      Plus
      Print
      ParentDirectory
      PlusMinus
      PrintingStyleEnvironment
      ParetoDistribution
      Pochhammer
      PrintTemporary
      Part
      PodStates
      Probability
      ParticleData
      PodWidth
      ProbabilityDistribution
      Partition
      Point
      ProbabilityPlot
      PartitionsP
      PointFigureChart
      ProbabilityScalePlot
      PartitionsQ
      PointSize
      ProbitModelFit
      PascalDistribution
      PoissonConsulDistribution
      Product
      PassEventsDown
      PoissonDistribution
      ProductDistribution
      PassEventsUp
      PolarAxes
      ProductLog
      Paste
      PolarAxesOrigin
      ProgressIndicator
      PasteButton
      PolarGridLines
      Projection
      Path
      PolarPlot
      Prolog
      PathGraph
      PolarTicks
      Properties
      PathGraphQ
      PoleZeroMarkers
      Property
      Pattern
      PolyaAeppliDistribution
      PropertyList
      PatternSequence
      PolyGamma
      PropertyValue
      PatternTest
      Polygon
      Proportion
      PauliMatrix
      PolyhedronData
      Proportional
      PaulWavelet
      PolyLog
      Protect
      Pause
      PolynomialExtendedGCD
      Protected
      PDF
      PolynomialGCD
      ProteinData
      PearsonChiSquareTest
      PolynomialLCM
      Pruning
      PearsonDistribution
      PolynomialMod
      PseudoInverse
      PerformanceGoal
      PolynomialQ
      Purple
      PermutationCycles
      PolynomialQuotient
      Put
      PermutationCyclesQ
      PolynomialQuotientRemainder
      PutAppend
      PermutationGroup
      PolynomialReduce
      PermutationLength
      PolynomialRemainder
      Q
      QBinomial
      QRDecomposition
      Quartiles
      QFactorial
      QuadraticIrrationalQ
      QuartileSkewness
      QGamma
      Quantile
      Quiet
      QHypergeometricPFQ
      QuantilePlot
      Quit
      QPochhammer
      Quartics
      Quotient
      QPolyGamma
      QuartileDeviation
      QuotientRemainder
      R
      RadicalBox
      RefreshRate
      RightArrowBar
      RadioButton
      RegionBinarize
      RightArrowLeftArrow
      RadioButtonBar
      RegionFunction
      RightCosetRepresentative
      Radon
      RegionPlot
      RightDownTeeVector
      RamanujanTau
      RegionPlot3D
      RightDownVector
      RamanujanTauL
      RegularExpression
      RightDownVectorBar
      RamanujanTauTheta
      Regularization
      RightTeeArrow
      RamanujanTauZ
      ReleaseHold
      RightTeeVector
      RandomChoice
      ReliefImage
      RightTriangle
      RandomComplex
      ReliefPlot
      RightTriangleBar
      RandomGraph
      Remove
      RightTriangleEqual
      RandomImage
      RemoveAlphaChannel
      RightUpDownVector
      RandomInteger
      RemoveProperty
      RightUpTeeVector
      RandomPermutation
      RemoveScheduledTask
      RightUpVector
      RandomPrime
      RenameDirectory
      RightUpVectorBar
      RandomReal
      RenameFile
      RightVector
      RandomSample
      RenkoChart
      RightVectorBar
      RandomVariate
      Repeated
      RogersTanimotoDissimilarity
      Range
      RepeatedNull
      Root
      RangeFilter
      Replace
      RootApproximant
      RankedMax
      ReplaceAll
      RootIntervals
      RankedMin
      ReplaceList
      RootLocusPlot
      Raster
      ReplacePart
      RootMeanSquare
      Rasterize
      ReplaceRepeated
      RootOfUnityQ
      RasterSize
      Resampling
      RootReduce
      Rational
      Rescale
      Roots
      Rationalize
      RescalingTransform
      RootSum
      Rationals
      ResetDirectory
      Rotate
      Ratios
      ResetScheduledTask
      RotateLabel
      RawBoxes
      Residue
      RotateLeft
      RawData
      Resolve
      RotateRight
      RayleighDistribution
      Rest
      RotationAction
      Re
      Resultant
      RotationMatrix
      Read
      ResumePacket
      RotationTransform
      ReadList
      Return
      Round
      ReadProtected
      ReturnExpressionPacket
      RoundingRadius
      Real
      ReturnPacket
      Row
      RealBlockDiagonalForm
      ReturnTextPacket
      RowAlignments
      RealDigits
      Reverse
      RowBox
      RealExponent
      ReverseBiorthogonalSplineWavelet
      RowLines
      Reals
      ReverseElement
      RowMinHeight
      Reap
      ReverseEquilibrium
      RowReduce
      Record
      ReverseGraph
      RowsEqual
      RecordLists
      ReverseUpEquilibrium
      RowSpacings
      RecordSeparators
      RevolutionAxis
      RSolve
      Rectangle
      RevolutionPlot3D
      RudvalisGroupRu
      RectangleChart
      RGBColor
      Rule
      RectangleChart3D
      RiccatiSolve
      RuleDelayed
      RecurrenceTable
      RiceDistribution
      Run
      Red
      RidgeFilter
      RunScheduledTask
      Reduce
      RiemannR
      RunThrough
      ReferenceLineStyle
      RiemannSiegelTheta
      RuntimeAttributes
      Refine
      RiemannSiegelZ
      RuntimeOptions
      ReflectionMatrix
      Riffle
      RussellRaoDissimilarity
      ReflectionTransform
      Right
      Refresh
      RightArrow
      S
      SameQ
      Sin
      StationaryWaveletPacketTransform
      SameTest
      Sinc
      StationaryWaveletTransform
      SampleDepth
      SinghMaddalaDistribution
      StatusArea
      SampledSoundFunction
      SingleLetterItalics
      StepMonitor
      SampledSoundList
      SingularValueDecomposition
      StieltjesGamma
      SampleRate
      SingularValueList
      StirlingS1
      SamplingPeriod
      SingularValuePlot
      StirlingS2
      SatisfiabilityCount
      Sinh
      StopScheduledTask
      SatisfiabilityInstances
      SinhIntegral
      StreamColorFunction
      SatisfiableQ
      SinIntegral
      StreamColorFunctionScaling
      Save
      SixJSymbol
      StreamDensityPlot
      SaveDefinitions
      Skeleton
      StreamPlot
      SawtoothWave
      SkeletonTransform
      StreamPoints
      Scale
      SkellamDistribution
      StreamPosition
      Scaled
      Skewness
      Streams
      ScalingFunctions
      SkewNormalDistribution
      StreamScale
      ScalingMatrix
      Skip
      StreamStyle
      ScalingTransform
      Slider
      String
      Scan
      Slider2D
      StringCases
      ScheduledTaskObject
      SlideView
      StringCount
      ScheduledTasks
      Slot
      StringDrop
      SchurDecomposition
      SlotSequence
      StringExpression
      ScientificForm
      Small
      StringForm
      ScreenStyleEnvironment
      SmallCircle
      StringFormat
      ScriptBaselineShifts
      Smaller
      StringFreeQ
      ScriptMinSize
      SmithWatermanSimilarity
      StringInsert
      ScriptSizeMultipliers
      SmoothDensityHistogram
      StringJoin
      Scrollbars
      SmoothHistogram
      StringLength
      ScrollPosition
      SmoothHistogram3D
      StringMatchQ
      Sec
      SmoothKernelDistribution
      StringPosition
      Sech
      SokalSneathDissimilarity
      StringQ
      SechDistribution
      Solve
      StringReplace
      SectorChart
      SolveAlways
      StringReplaceList
      SectorChart3D
      Sort
      StringReplacePart
      SectorOrigin
      SortBy
      StringReverse
      SectorSpacing
      Sound
      StringSkeleton
      SeedRandom
      SoundNote
      StringSplit
      Select
      SoundVolume
      StringTake
      Selectable
      Sow
      StringToStream
      SelectComponents
      Spacer
      StringTrim
      SelectedNotebook
      Spacings
      StructuredSelection
      SelectionAnimate
      Span
      StruveH
      SelectionCreateCell
      SpanFromAbove
      StruveL
      SelectionEvaluate
      SpanFromBoth
      Stub
      SelectionEvaluateCreateCell
      SpanFromLeft
      StudentTDistribution
      SelectionMove
      SparseArray
      Style
      SelfLoopStyle
      Speak
      StyleBox
      SemialgebraicComponentInstances
      Specularity
      StyleData
      SendMail
      SpellingCorrection
      StyleDefinitions
      Sequence
      Sphere
      Subfactorial
      SequenceAlignment
      SphericalBesselJ
      Subgraph
      SequenceHold
      SphericalBesselY
      SubMinus
      Series
      SphericalHankelH1
      SubPlus
      SeriesCoefficient
      SphericalHankelH2
      Subresultants
      SeriesData
      SphericalHarmonicY
      Subscript
      SessionTime
      SphericalPlot3D
      SubscriptBox
      Set
      SphericalRegion
      Subset
      SetAccuracy
      SpheroidalEigenvalue
      SubsetEqual
      SetAlphaChannel
      SpheroidalJoiningFactor
      Subsets
      SetAttributes
      SpheroidalPS
      SubStar
      SetDelayed
      SpheroidalPSPrime
      Subsuperscript
      SetDirectory
      SpheroidalQS
      SubsuperscriptBox
      SetFileDate
      SpheroidalQSPrime
      Subtract
      SetOptions
      SpheroidalRadialFactor
      SubtractFrom
      SetPrecision
      SpheroidalS1
      Succeeds
      SetProperty
      SpheroidalS1Prime
      SucceedsEqual
      SetSelectedNotebook
      SpheroidalS2
      SucceedsSlantEqual
      SetSharedFunction
      SpheroidalS2Prime
      SucceedsTilde
      SetSharedVariable
      Splice
      SuchThat
      SetStreamPosition
      SplineClosed
      Sum
      SetSystemOptions
      SplineDegree
      SumConvergence
      Setter
      SplineKnots
      SuperDagger
      SetterBar
      SplineWeights
      SuperMinus
      Setting
      Split
      SuperPlus
      Shallow
      SplitBy
      Superscript
      ShannonWavelet
      SpokenString
      SuperscriptBox
      ShapiroWilkTest
      Sqrt
      Superset
      Share
      SqrtBox
      SupersetEqual
      Sharpen
      Square
      SuperStar
      ShearingMatrix
      SquaredEuclideanDistance
      SurvivalDistribution
      ShearingTransform
      SquareFreeQ
      SurvivalFunction
      Short
      SquareIntersection
      SuspendPacket
      ShortDownArrow
      SquaresR
      SuzukiDistribution
      Shortest
      SquareSubset
      SuzukiGroupSuz
      ShortestPathFunction
      SquareSubsetEqual
      Switch
      ShortLeftArrow
      SquareSuperset
      Symbol
      ShortRightArrow
      SquareSupersetEqual
      SymbolName
      ShortUpArrow
      SquareUnion
      SymletWavelet
      Show
      SquareWave
      SymmetricGroup
      ShowAutoStyles
      StabilityMargins
      SymmetricMatrixQ
      ShowCellBracket
      StabilityMarginsStyle
      SymmetricPolynomial
      ShowCellLabel
      StableDistribution
      SymmetricReduction
      ShowCellTags
      Stack
      SynchronousInitialization
      ShowCursorTracker
      StackBegin
      SynchronousUpdating
      ShowGroupOpener
      StackComplete
      SyntaxInformation
      ShowPageBreaks
      StackInhibit
      SyntaxLength
      ShowSelection
      StandardDeviation
      SyntaxPacket
      ShowSpecialCharacters
      StandardDeviationFilter
      SyntaxQ
      ShowStringCharacters
      StandardForm
      SystemDialogInput
      ShrinkingDelay
      Standardize
      SystemInformation
      SiegelTheta
      Star
      SystemOpen
      SiegelTukeyTest
      StarGraph
      SystemOptions
      Sign
      StartingStepSize
      SystemsModelDelete
      Signature
      StartOfLine
      SystemsModelDimensions
      SignedRankTest
      StartOfString
      SystemsModelExtract
      SignificanceLevel
      StartScheduledTask
      SystemsModelFeedbackConnect
      SignPadding
      StateFeedbackGains
      SystemsModelLabels
      SignTest
      StateOutputEstimator
      SystemsModelOrder
      SimilarityRules
      StateResponse
      SystemsModelParallelConnect
      SimpleGraph
      StateSpaceModel
      SystemsModelSeriesConnect
      SimpleGraphQ
      StateSpaceRealization
      SystemsModelStateFeedbackConnect
      Simplify
      StateSpaceTransform
      T
      Table
      Tilde
      TraceOn
      TableAlignments
      TildeEqual
      TraceOriginal
      TableDepth
      TildeFullEqual
      TracePrint
      TableDirections
      TildeTilde
      TraceScan
      TableForm
      TimeConstrained
      TrackedSymbols
      TableHeadings
      TimeConstraint
      TradingChart
      TableSpacing
      Times
      TraditionalForm
      TabView
      TimesBy
      TransferFunctionCancel
      TagBox
      TimeUsed
      TransferFunctionExpand
      TaggingRules
      TimeValue
      TransferFunctionFactor
      TagSet
      TimeZone
      TransferFunctionModel
      TagSetDelayed
      Timing
      TransferFunctionPoles
      TagUnset
      Tiny
      TransferFunctionZeros
      Take
      TitsGroupT
      TransformationFunction
      TakeWhile
      ToBoxes
      TransformationFunctions
      Tally
      ToCharacterCode
      TransformationMatrix
      Tan
      ToContinuousTimeModel
      TransformedDistribution
      Tanh
      ToDiscreteTimeModel
      Translate
      TargetFunctions
      ToeplitzMatrix
      TranslationTransform
      TautologyQ
      ToExpression
      Transparent
      Temporary
      Together
      Transpose
      TeXForm
      Toggler
      TreeForm
      Text
      TogglerBar
      TreeGraph
      TextAlignment
      TokenWords
      TreeGraphQ
      TextCell
      Tolerance
      TreePlot
      TextClipboardType
      ToLowerCase
      TrendStyle
      TextData
      ToNumberField
      TriangleWave
      TextJustification
      Tooltip
      TriangularDistribution
      TextPacket
      TooltipDelay
      Trig
      TextRecognize
      Top
      TrigExpand
      Texture
      TopHatTransform
      TrigFactor
      TextureCoordinateFunction
      TopologicalSort
      TrigFactorList
      TextureCoordinateScaling
      ToRadicals
      Trigger
      Therefore
      ToRules
      TrigReduce
      Thick
      ToString
      TrigToExp
      Thickness
      Total
      TrimmedMean
      Thin
      TotalVariationFilter
      True
      Thinning
      TotalWidth
      TrueQ
      ThompsonGroupTh
      ToUpperCase
      TruncatedDistribution
      Thread
      Tr
      TTest
      ThreeJSymbol
      Trace
      Tube
      Threshold
      TraceAbove
      TukeyLambdaDistribution
      Through
      TraceBackward
      Tuples
      Throw
      TraceDepth
      TuranGraph
      Thumbnail
      TraceDialog
      TuringMachine
      Ticks
      TraceForward
      TicksStyle
      TraceOff
      U
      Uncompress
      UniformSumDistribution
      UpArrowBar
      Undefined
      Uninstall
      UpArrowDownArrow
      UnderBar
      Union
      Update
      Underflow
      UnionPlus
      UpdateInterval
      Underlined
      Unique
      UpDownArrow
      Underoverscript
      UnitBox
      UpEquilibrium
      UnderoverscriptBox
      Unitize
      UpperCaseQ
      Underscript
      UnitStep
      UpperLeftArrow
      UnderscriptBox
      UnitTriangle
      UpperRightArrow
      UndirectedEdge
      UnitVector
      UpperTriangularize
      UndirectedGraph
      Unprotect
      UpSet
      UndirectedGraphQ
      UnsameQ
      UpSetDelayed
      Unequal
      UnsavedVariables
      UpTeeArrow
      Unevaluated
      Unset
      UpValues
      UniformDistribution
      UnsetShared
      UsingFrontEnd
      UniformGraphDistribution
      UpArrow
      V
      ValidationLength
      VertexAdd
      VertexReplace
      ValueQ
      VertexColors
      VertexShape
      Variables
      VertexComponent
      VertexShapeFunction
      Variance
      VertexCoordinateRules
      VertexSize
      VarianceEquivalenceTest
      VertexCoordinates
      VertexStyle
      VarianceEstimatorFunction
      VertexCount
      VertexTextureCoordinates
      VarianceTest
      VertexCoverQ
      VertexWeight
      VectorAngle
      VertexDegree
      VerticalBar
      VectorColorFunction
      VertexDelete
      VerticalSeparator
      VectorColorFunctionScaling
      VertexEccentricity
      VerticalSlider
      VectorDensityPlot
      VertexInComponent
      VerticalTilde
      VectorPlot
      VertexInDegree
      ViewAngle
      VectorPlot3D
      VertexIndex
      ViewCenter
      VectorPoints
      VertexLabeling
      ViewMatrix
      VectorQ
      VertexLabels
      ViewPoint
      VectorScale
      VertexList
      ViewRange
      VectorStyle
      VertexNormals
      ViewVector
      Vee
      VertexOutComponent
      ViewVertical
      Verbatim
      VertexOutDegree
      Visible
      VerifyConvergence
      VertexQ
      VonMisesDistribution
      VerifyTestAssumptions
      VertexRenderingFunction
      W
      WaitAll
      WeierstrassHalfPeriods
      WindowFloating
      WaitNext
      WeierstrassInvariants
      WindowFrame
      WakebyDistribution
      WeierstrassP
      WindowMargins
      WalleniusHypergeometricDistribution
      WeierstrassPPrime
      WindowMovable
      WaringYuleDistribution
      WeierstrassSigma
      WindowOpacity
      WatershedComponents
      WeierstrassZeta
      WindowSize
      WatsonUSquareTest
      WeightedAdjacencyGraph
      WindowStatusArea
      WattsStrogatzGraphDistribution
      WeightedAdjacencyMatrix
      WindowTitle
      WaveletBestBasis
      WeightedGraphQ
      WindowToolbars
      WaveletFilterCoefficients
      Weights
      With
      WaveletImagePlot
      WheelGraph
      WolframAlpha
      WaveletListPlot
      Which
      Word
      WaveletMapIndexed
      While
      WordBoundary
      WaveletMatrixPlot
      White
      WordCharacter
      WaveletPhi
      Whitespace
      WordData
      WaveletPsi
      WhitespaceCharacter
      WordSearch
      WaveletScale
      WhittakerM
      WordSeparators
      WaveletScalogram
      WhittakerW
      WorkingPrecision
      WaveletThreshold
      WienerFilter
      Write
      WeatherData
      WignerD
      WriteString
      WeberE
      WignerSemicircleDistribution
      Wronskian
      Wedge
      WindowClickSelect
      WeibullDistribution
      WindowElements
      X
      XMLElement
      Xnor
      XMLObject
      Xor
      Y
      Yellow
      YuleDissimilarity
      Z
      ZernikeR
      ZetaZero
      ZTransform
      ZeroTest
      ZipfDistribution
      Zeta
      ZTest
      $
      $Aborted
      $Inspector
      $OutputSizeLimit
      $AssertFunction
      $InstallationDirectory
      $Packages
      $Assumptions
      $IterationLimit
      $ParentLink
      $BaseDirectory
      $KernelCount
      $ParentProcessID
      $BatchInput
      $KernelID
      $Path
      $BatchOutput
      $Language
      $PathnameSeparator
      $ByteOrdering
      $LibraryPath
      $PerformanceGoal
      $Canceled
      $LicenseExpirationDate
      $Post
      $CharacterEncoding
      $LicenseID
      $Pre
      $CharacterEncodings
      $LicenseServer
      $PrePrint
      $CommandLine
      $Line
      $PreRead
      $CompilationTarget
      $Linked
      $ProcessID
      $ConfiguredKernels
      $MachineAddresses
      $ProcessorCount
      $Context
      $MachineDomains
      $ProcessorType
      $ContextPath
      $MachineEpsilon
      $RecursionLimit
      $ControlActiveSetting
      $MachineID
      $ReleaseNumber
      $CreationDate
      $MachineName
      $RootDirectory
      $CurrentLink
      $MachinePrecision
      $ScheduledTask
      $DateStringFormat
      $MachineType
      $ScriptCommandLine
      $DefaultImagingDevice
      $MaxExtraPrecision
      $SessionID
      $Display
      $MaxMachineNumber
      $SharedFunctions
      $DisplayFunction
      $MaxNumber
      $SharedVariables
      $DistributedContexts
      $MaxPiecewiseCases
      $SoundDisplayFunction
      $DynamicEvaluation
      $MaxPrecision
      $SyntaxHandler
      $Echo
      $MaxRootDegree
      $System
      $Epilog
      $MessageGroups
      $SystemCharacterEncoding
      $ExportFormats
      $MessageList
      $SystemID
      $Failed
      $MessagePrePrint
      $SystemWordLength
      $FrontEnd
      $Messages
      $TemporaryDirectory
      $FrontEndSession
      $MinMachineNumber
      $TimedOut
      $GeoLocation
      $MinNumber
      $TimeUnit
      $HistoryLength
      $MinPrecision
      $TimeZone
      $HomeDirectory
      $ModuleNumber
      $Urgent
      $IgnoreEOF
      $NewMessage
      $UserBaseDirectory
      $ImagingDevices
      $NewSymbol
      $UserDocumentsDirectory
      $ImportFormats
      $Notebooks
      $UserName
      $InitialDirectory
      $NumberMarks
      $Version
      $Input
      $OperatingSystem
      $VersionNumber
      $InputFileName
      $Output
    
    
      
	
	
	
	
	
	
	
      
    
    
      
      
      
      
      
      
      
      
    
  
  
    
    
      
    
  

highlighting-kate-0.6.1/xml/matlab.xml0000644000000000000000000002230612633103275016062 0ustar0000000000000000





  

    
    
       break 
       case 
       catch 
       classdef 
       continue 
       else 
       elseif 
       end 
       for 
       function 
       global 
       if 
       otherwise 
       parfor 
       persistent 
       return 
       spmd 
       switch 
       try 
       while 
       methods 
       properties 
       events 
    

    

      

        
        
        
        
        

        
        
        

        
        
        
        
        
        
        

        
        
        
        
        
        
        
        
        
        
        
        

        
        

      

      
      
        
      

    

    
      
      
      
      
      
      
      
      
      
      
    
    

  

  
    
      
    
    
  



highlighting-kate-0.6.1/xml/maxima.xml0000644000000000000000000021610412633103275016077 0ustar0000000000000000





    

        
             and 
             do 
             else 
             elseif 
             false 
             for 
             if 
             in 
             not 
             or 
             step 
             then 
             thru 
             true 
             while 
        

        
             FIXME 
             TODO 
        

        
             abasep 
             abs 
             absint 
             absolute_real_time 
             acos 
             acosh 
             acot 
             acoth 
             acsc 
             acsch 
             activate 
             addcol 
             add_edge 
             add_edges 
             addmatrices 
             addrow 
             add_vertex 
             add_vertices 
             adjacency_matrix 
             adjoin 
             adjoint 
             af 
             agd 
             airy_ai 
             airy_bi 
             airy_dai 
             airy_dbi 
             algsys 
             alg_type 
             alias 
             allroots 
             alphacharp 
             alphanumericp 
             antid 
             antidiff 
             AntiDifference 
             append 
             appendfile 
             apply 
             apply1 
             apply2 
             applyb1 
             apropos 
             args 
             arithmetic 
             arithsum 
             array 
             arrayapply 
             arrayinfo 
             arraymake 
             ascii 
             asec 
             asech 
             asin 
             asinh 
             askinteger 
             asksign 
             assoc 
             assoc_legendre_p 
             assoc_legendre_q 
             assume 
             asympa 
             at 
             atan 
             atan2 
             atanh 
             atensimp 
             atom 
             atvalue 
             augcoefmatrix 
             augmented_lagrangian_method 
             av 
             average_degree 
             backtrace 
             barsplot 
             bashindices 
             batch 
             batchload 
             bc2 
             bdvac 
             belln 
             bern 
             bernpoly 
             bessel 
             bessel_i 
             bessel_j 
             bessel_k 
             bessel_y 
             beta 
             bezout 
             bffac 
             bfhzeta 
             bfloat 
             bfloatp 
             bfpsi 
             bfpsi0 
             bfzeta 
             biconected_components 
             bimetric 
             binomial 
             bipartition 
             block 
             blockmatrixp 
             bode_gain 
             bode_phase 
             bothcoef 
             box 
             boxplot 
             break 
             bug_report 
             build_info 
             buildq 
             burn 
             cabs 
             canform 
             canten 
             cardinality 
             carg 
             cartan 
             cartesian_product 
             catch 
             cbffac 
             cdf_bernoulli 
             cdf_beta 
             cdf_binomial 
             cdf_cauchy 
             cdf_chi2 
             cdf_continuous_uniform 
             cdf_discrete_uniform 
             cdf_exp 
             cdf_f 
             cdf_gamma 
             cdf_geometric 
             cdf_gumbel 
             cdf_hypergeometric 
             cdf_laplace 
             cdf_logistic 
             cdf_lognormal 
             cdf_negative_binomial 
             cdf_normal 
             cdf_pareto 
             cdf_poisson 
             cdf_rank_sum 
             cdf_rayleigh 
             cdf_signed_rank 
             cdf_student_t 
             cdf_weibull 
             cdisplay 
             ceiling 
             central_moment 
             cequal 
             cequalignore 
             cf 
             cfdisrep 
             cfexpand 
             cgeodesic 
             cgreaterp 
             cgreaterpignore 
             changename 
             changevar 
             chaosgame 
             charat 
             charfun 
             charfun2 
             charlist 
             charp 
             charpoly 
             chebyshev_t 
             chebyshev_u 
             checkdiv 
             check_overlaps 
             cholesky 
             christof 
             chromatic_index 
             chromatic_number 
             cint 
             circulant_graph 
             clear_edge_weight 
             clear_rules 
             clear_vertex_label 
             clebsch_graph 
             clessp 
             clesspignore 
             close 
             closefile 
             cmetric 
             coeff 
             coefmatrix 
             cograd 
             col 
             collapse 
             collectterms 
             columnop 
             columnspace 
             columnswap 
             columnvector 
             combination 
             combine 
             comp2pui 
             compare 
             compfile 
             compile 
             compile_file 
             complement_graph 
             complete_bipartite_graph 
             complete_graph 
             components 
             concan 
             concat 
             conjugate 
             conmetderiv 
             connected_components 
             connect_vertices 
             cons 
             constantp 
             constituent 
             cont2part 
             content 
             continuous_freq 
             contortion 
             contour_plot 
             contract 
             contract_edge 
             contragrad 
             contrib_ode 
             convert 
             coord 
             copy 
             copy_graph 
             copylist 
             copymatrix 
             cor 
             cos 
             cosh 
             cot 
             coth 
             cov 
             cov1 
             covdiff 
             covect 
             covers 
             create_graph 
             create_list 
             csc 
             csch 
             csetup 
             cspline 
             ctaylor 
             ct_coordsys 
             ctransform 
             ctranspose 
             cube_graph 
             cunlisp 
             cv 
             cycle_digraph 
             cycle_graph 
             dblint 
             deactivate 
             declare 
             declare_translated 
             declare_weight 
             decsym 
             defcon 
             define 
             define_variable 
             defint 
             defmatch 
             defrule 
             deftaylor 
             degree_sequence 
             del 
             delete 
             deleten 
             delta 
             demo 
             demoivre 
             denom 
             depends 
             derivdegree 
             derivlist 
             describe 
             desolve 
             determinant 
             dgauss_a 
             dgauss_b 
             dgeev 
             dgesvd 
             diag 
             diagmatrix 
             diag_matrix 
             diagmatrixp 
             diameter 
             diff 
             digitcharp 
             dimacs_export 
             dimacs_import 
             dimension 
             direct 
             discrete_freq 
             disjoin 
             disjointp 
             disolate 
             disp 
             dispcon 
             dispform 
             dispfun 
             dispJordan 
             display 
             disprule 
             dispterms 
             distrib 
             divide 
             divisors 
             divsum 
             dkummer_m 
             dkummer_u 
             dlange 
             dodecahedron_graph 
             dotproduct 
             dotsimp 
             dpart 
             draw 
             draw2d 
             draw3d 
             draw_graph 
             dscalar 
             echelon 
             edge_coloring 
             edges 
             eigens_by_jacobi 
             eigenvalues 
             eigenvectors 
             eighth 
             einstein 
             eivals 
             eivects 
             elapsed_real_time 
             elapsed_run_time 
             ele2comp 
             ele2polynome 
             ele2pui 
             elem 
             elementp 
             eliminate 
             elliptic_e 
             elliptic_ec 
             elliptic_eu 
             elliptic_f 
             elliptic_kc 
             elliptic_pi 
             ematrix 
             empty_graph 
             emptyp 
             endcons 
             entermatrix 
             entertensor 
             entier 
             equal 
             equalp 
             equiv_classes 
             erf 
             errcatch 
             error 
             errormsg 
             euler 
             ev 
             eval_string 
             evenp 
             every 
             evolution 
             evolution2d 
             evundiff 
             example 
             exp 
             expand 
             expandwrt 
             expandwrt_factored 
             explose 
             exponentialize 
             express 
             expt 
             exsec 
             extdiff 
             extract_linear_equations 
             extremal_subset 
             ezgcd 
             f90 
             facsum 
             factcomb 
             factor 
             factorfacsum 
             factorial 
             factorout 
             factorsum 
             facts 
             fast_central_elements 
             fast_linsolve 
             fasttimes 
             featurep 
             fft 
             fib 
             fibtophi 
             fifth 
             filename_merge 
             file_search 
             file_type 
             fillarray 
             findde 
             find_root 
             first 
             fix 
             flatten 
             flength 
             float 
             floatnump 
             floor 
             flower_snark 
             flush 
             flush1deriv 
             flushd 
             flushnd 
             forget 
             fortran 
             fourcos 
             fourexpand 
             fourier 
             fourint 
             fourintcos 
             fourintsin 
             foursimp 
             foursin 
             fourth 
             fposition 
             frame_bracket 
             freeof 
             freshline 
             from_adjacency_matrix 
             frucht_graph 
             full_listify 
             fullmap 
             fullmapl 
             fullratsimp 
             fullratsubst 
             fullsetify 
             funcsolve 
             fundef 
             funmake 
             funp 
             gamma 
             gauss_a 
             gauss_b 
             gaussprob 
             gcd 
             gcdex 
             gcdivide 
             gcfac 
             gcfactor 
             gd 
             genfact 
             gen_laguerre 
             genmatrix 
             geometric 
             geometric_mean 
             geosum 
             get 
             get_edge_weight 
             get_lu_factors 
             get_pixel 
             get_vertex_label 
             gfactor 
             gfactorsum 
             ggf 
             girth 
             global_variances 
             gnuplot_close 
             gnuplot_replot 
             gnuplot_reset 
             gnuplot_restart 
             gnuplot_start 
             go 
             Gosper 
             GosperSum 
             gradef 
             gramschmidt 
             graph6_decode 
             graph6_encode 
             graph6_export 
             graph6_import 
             graph_center 
             graph_charpoly 
             graph_eigenvalues 
             graph_order 
             graph_periphery 
             graph_product 
             graph_size 
             graph_union 
             grid_graph 
             grind 
             grobner_basis 
             grotzch_graph 
             hamilton_cycle 
             hamilton_path 
             hankel 
             harmonic 
             harmonic_mean 
             hav 
             heawood_graph 
             hermite 
             hessian 
             hilbert_matrix 
             hipow 
             histogram 
             hodge 
             horner 
             ic1 
             ic2 
             ic_convert 
             ichr1 
             ichr2 
             icosahedron_graph 
             icurvature 
             ident 
             identfor 
             identity 
             idiff 
             idim 
             idummy 
             ieqn 
             ifactors 
             iframes 
             ifs 
             ift 
             igeodesic_coords 
             ilt 
             imagpart 
             imetric 
             implicit_derivative 
             implicit_plot 
             indexed_tensor 
             indices 
             induced_subgraph 
             inferencep 
             inference_result 
             infix 
             init_atensor 
             init_ctensor 
             in_neighbors 
             innerproduct 
             inpart 
             inprod 
             inrt 
             integerp 
             integer_partitions 
             integrate 
             intersect 
             intersection 
             intervalp 
             intopois 
             intosum 
             invariant1 
             invariant2 
             inverse_jacobi_cd 
             inverse_jacobi_cn 
             inverse_jacobi_cs 
             inverse_jacobi_dc 
             inverse_jacobi_dn 
             inverse_jacobi_ds 
             inverse_jacobi_nc 
             inverse_jacobi_nd 
             inverse_jacobi_ns 
             inverse_jacobi_sc 
             inverse_jacobi_sd 
             inverse_jacobi_sn 
             invert 
             invert_by_lu 
             inv_mod 
             is 
             is_biconnected 
             is_bipartite 
             is_connected 
             is_digraph 
             is_edge_in_graph 
             is_graph 
             is_graph_or_digraph 
             ishow 
             is_isomorphic 
             isolate 
             isomorphism 
             is_planar 
             isqrt 
             is_sconnected 
             is_tree 
             is_vertex_in_graph 
             items_inference 
             jacobi 
             jacobian 
             jacobi_cd 
             jacobi_cn 
             jacobi_cs 
             jacobi_dc 
             jacobi_dn 
             jacobi_ds 
             jacobi_nc 
             jacobi_nd 
             jacobi_ns 
             jacobi_p 
             jacobi_sc 
             jacobi_sd 
             jacobi_sn 
             JF 
             join 
             jordan 
             julia 
             kdels 
             kdelta 
             kill 
             killcontext 
             kostka 
             kron_delta 
             kronecker_product 
             kummer_m 
             kummer_u 
             kurtosis 
             kurtosis_bernoulli 
             kurtosis_beta 
             kurtosis_binomial 
             kurtosis_chi2 
             kurtosis_continuous_uniform 
             kurtosis_discrete_uniform 
             kurtosis_exp 
             kurtosis_f 
             kurtosis_gamma 
             kurtosis_geometric 
             kurtosis_gumbel 
             kurtosis_hypergeometric 
             kurtosis_laplace 
             kurtosis_logistic 
             kurtosis_lognormal 
             kurtosis_negative_binomial 
             kurtosis_normal 
             kurtosis_pareto 
             kurtosis_poisson 
             kurtosis_rayleigh 
             kurtosis_student_t 
             kurtosis_weibull 
             labels 
             lagrange 
             laguerre 
             lambda 
             laplace 
             laplacian_matrix 
             last 
             lbfgs 
             lc2kdt 
             lcharp 
             lc_l 
             lcm 
             lc_u 
             ldefint 
             ldisp 
             ldisplay 
             legendre_p 
             legendre_q 
             leinstein 
             length 
             let 
             letrules 
             letsimp 
             levi_civita 
             lfreeof 
             lgtreillis 
             lhs 
             li 
             liediff 
             limit 
             Lindstedt 
             linear 
             linearinterpol 
             linear_program 
             line_graph 
             linsolve 
             listarray 
             list_correlations 
             listify 
             list_nc_monomials 
             listoftens 
             listofvars 
             listp 
             lmax 
             lmin 
             load 
             loadfile 
             local 
             locate_matrix_entry 
             log 
             logand 
             logarc 
             logcontract 
             logor 
             logxor 
             lopow 
             lorentz_gauge 
             lowercasep 
             lpart 
             lratsubst 
             lreduce 
             lriemann 
             lsquares_estimates 
             lsquares_estimates_approximate 
             lsquares_estimates_exact 
             lsquares_mse 
             lsquares_residual_mse 
             lsquares_residuals 
             lsum 
             ltreillis 
             lu_backsub 
             lu_factor 
             macroexpand 
             macroexpand1 
             make_array 
             makebox 
             makefact 
             makegamma 
             make_level_picture 
             makelist 
             makeOrders 
             make_poly_continent 
             make_poly_country 
             make_polygon 
             make_random_state 
             make_rgb_picture 
             makeset 
             make_transform 
             mandelbrot 
             map 
             mapatom 
             maplist 
             matchdeclare 
             matchfix 
             mat_cond 
             mat_fullunblocker 
             mat_function 
             mat_norm 
             matrix 
             matrixmap 
             matrixp 
             matrix_size 
             mattrace 
             mat_trace 
             mat_unblocker 
             max 
             max_clique 
             max_degree 
             max_flow 
             maxi 
             maximize_lp 
             max_independent_set 
             max_matching 
             maybe 
             mean 
             mean_bernoulli 
             mean_beta 
             mean_binomial 
             mean_chi2 
             mean_continuous_uniform 
             mean_deviation 
             mean_discrete_uniform 
             mean_exp 
             mean_f 
             mean_gamma 
             mean_geometric 
             mean_gumbel 
             mean_hypergeometric 
             mean_laplace 
             mean_logistic 
             mean_lognormal 
             mean_negative_binomial 
             mean_normal 
             mean_pareto 
             mean_poisson 
             mean_rayleigh 
             mean_student_t 
             mean_weibull 
             median 
             median_deviation 
             member 
             metricexpandall 
             min 
             min_degree 
             minfactorial 
             mini 
             minimalPoly 
             minimize_lp 
             minimum_spanning_tree 
             minor 
             mnewton 
             mod 
             mode_declare 
             mode_identity 
             ModeMatrix 
             moebius 
             mon2schur 
             mono 
             monomial_dimensions 
             multi_elem 
             multinomial 
             multinomial_coeff 
             multi_orbit 
             multi_pui 
             multsym 
             multthru 
             mycielski_graph 
             nary 
             nc_degree 
             ncexpt 
             ncharpoly 
             negative_picture 
             neighbors 
             newcontext 
             newdet 
             new_graph 
             newline 
             newton 
             next_prime 
             niceindices 
             ninth 
             noncentral_moment 
             nonmetricity 
             nonnegintegerp 
             nonscalarp 
             nonzeroandfreeof 
             notequal 
             nounify 
             nptetrad 
             nroots 
             nterms 
             ntermst 
             nthroot 
             nullity 
             nullspace 
             num 
             numbered_boundaries 
             numberp 
             num_distinct_partitions 
             numerval 
             numfactor 
             num_partitions 
             nusum 
             odd_girth 
             oddp 
             ode2 
             ode_check 
             odelin 
             op 
             opena 
             openr 
             openw 
             operatorp 
             opsubst 
             optimize 
             orbit 
             orbits 
             ordergreat 
             ordergreatp 
             orderless 
             orderlessp 
             orthogonal_complement 
             orthopoly_recur 
             orthopoly_weight 
             outermap 
             out_neighbors 
             outofpois 
             pade 
             parGosper 
             parse_string 
             part 
             part2cont 
             partfrac 
             partition 
             partition_set 
             partpol 
             path_digraph 
             path_graph 
             pdf_bernoulli 
             pdf_beta 
             pdf_binomial 
             pdf_cauchy 
             pdf_chi2 
             pdf_continuous_uniform 
             pdf_discrete_uniform 
             pdf_exp 
             pdf_f 
             pdf_gamma 
             pdf_geometric 
             pdf_gumbel 
             pdf_hypergeometric 
             pdf_laplace 
             pdf_logistic 
             pdf_lognormal 
             pdf_negative_binomial 
             pdf_normal 
             pdf_pareto 
             pdf_poisson 
             pdf_rank_sum 
             pdf_rayleigh 
             pdf_signed_rank 
             pdf_student_t 
             pdf_weibull 
             pearson_skewness 
             permanent 
             permut 
             permutation 
             permutations 
             petersen_graph 
             petrov 
             pickapart 
             picture_equalp 
             picturep 
             piechart 
             planar_embedding 
             playback 
             plog 
             plot2d 
             plot3d 
             plotdf 
             plsquares 
             pochhammer 
             poisdiff 
             poisexpt 
             poisint 
             poismap 
             poisplus 
             poissimp 
             poissubst 
             poistimes 
             poistrim 
             polarform 
             polartorect 
             poly_add 
             poly_buchberger 
             poly_buchberger_criterion 
             poly_colon_ideal 
             poly_content 
             polydecomp 
             poly_depends_p 
             poly_elimination_ideal 
             poly_exact_divide 
             poly_expand 
             poly_expt 
             poly_gcd 
             poly_grobner 
             poly_grobner_equal 
             poly_grobner_member 
             poly_grobner_subsetp 
             poly_ideal_intersection 
             poly_ideal_polysaturation 
             poly_ideal_polysaturation1 
             poly_ideal_saturation 
             poly_ideal_saturation1 
             poly_lcm 
             poly_minimization 
             polymod 
             poly_multiply 
             polynome2ele 
             polynomialp 
             poly_normal_form 
             poly_normalize 
             poly_normalize_list 
             poly_polysaturation_extension 
             poly_primitive_part 
             poly_pseudo_divide 
             poly_reduced_grobner 
             poly_reduction 
             poly_saturation_extension 
             poly_s_polynomial 
             poly_subtract 
             polytocompanion 
             potential 
             power_mod 
             powers 
             powerseries 
             powerset 
             prev_prime 
             primep 
             print 
             printf 
             print_graph 
             printpois 
             printprops 
             prodrac 
             product 
             properties 
             propvars 
             psi 
             ptriangularize 
             pui 
             pui2comp 
             pui2ele 
             pui2polynome 
             pui_direct 
             puireduc 
             put 
             qput 
             qrange 
             quad_qag 
             quad_qagi 
             quad_qags 
             quad_qawc 
             quad_qawf 
             quad_qawo 
             quad_qaws 
             quantile 
             quantile_bernoulli 
             quantile_beta 
             quantile_binomial 
             quantile_cauchy 
             quantile_chi2 
             quantile_continuous_uniform 
             quantile_discrete_uniform 
             quantile_exp 
             quantile_f 
             quantile_gamma 
             quantile_geometric 
             quantile_gumbel 
             quantile_hypergeometric 
             quantile_laplace 
             quantile_logistic 
             quantile_lognormal 
             quantile_negative_binomial 
             quantile_normal 
             quantile_pareto 
             quantile_poisson 
             quantile_rayleigh 
             quantile_student_t 
             quantile_weibull 
             quartile_skewness 
             quit 
             qunit 
             quotient 
             radcan 
             radius 
             random 
             random_bernoulli 
             random_beta 
             random_binomial 
             random_cauchy 
             random_chi2 
             random_continuous_uniform 
             random_digraph 
             random_discrete_uniform 
             random_exp 
             random_f 
             random_gamma 
             random_geometric 
             random_graph 
             random_graph1 
             random_gumbel 
             random_hypergeometric 
             random_laplace 
             random_logistic 
             random_lognormal 
             random_negative_binomial 
             random_network 
             random_normal 
             random_pareto 
             random_permutation 
             random_poisson 
             random_rayleigh 
             random_regular_graph 
             random_student_t 
             random_tournament 
             random_tree 
             random_weibull 
             range 
             rank 
             rat 
             ratcoef 
             ratdenom 
             ratdiff 
             ratdisrep 
             ratexpand 
             rational 
             rationalize 
             ratnumer 
             ratnump 
             ratp 
             ratsimp 
             ratsubst 
             ratvars 
             ratweight 
             read 
             read_hashed_array 
             readline 
             read_lisp_array 
             read_list 
             read_matrix 
             read_maxima_array 
             read_nested_list 
             readonly 
             read_xpm 
             realpart 
             realroots 
             rearray 
             rectform 
             recttopolar 
             rediff 
             reduce_consts 
             reduce_order 
             region_boundaries 
             rem 
             remainder 
             remarray 
             rembox 
             remcomps 
             remcon 
             remcoord 
             remfun 
             remfunction 
             remlet 
             remove 
             remove_edge 
             remove_vertex 
             rempart 
             remrule 
             remsym 
             remvalue 
             rename 
             reset 
             residue 
             resolvante 
             resolvante_alternee1 
             resolvante_bipartite 
             resolvante_diedrale 
             resolvante_klein 
             resolvante_klein3 
             resolvante_produit_sym 
             resolvante_unitaire 
             resolvante_vierer 
             rest 
             resultant 
             return 
             reveal 
             reverse 
             revert 
             revert2 
             rgb2level 
             rhs 
             ricci 
             riemann 
             rinvariant 
             risch 
             rk 
             rncombine 
             romberg 
             room 
             rootscontract 
             row 
             rowop 
             rowswap 
             rreduce 
             run_testsuite 
             save 
             scalarp 
             scaled_bessel_i 
             scaled_bessel_i0 
             scaled_bessel_i1 
             scalefactors 
             scanmap 
             scatterplot 
             schur2comp 
             sconcat 
             scopy 
             scsimp 
             scurvature 
             sdowncase 
             sec 
             sech 
             second 
             sequal 
             sequalignore 
             setdifference 
             set_edge_weight 
             setelmx 
             setequalp 
             setify 
             setp 
             set_partitions 
             set_plot_option 
             set_random_state 
             setunits 
             setup_autoload 
             set_up_dot_simplifications 
             set_vertex_label 
             seventh 
             sexplode 
             sf 
             shortest_path 
             show 
             showcomps 
             showratvars 
             sign 
             signum 
             similaritytransform 
             simple_linear_regression 
             simplify_sum 
             simplode 
             simpmetderiv 
             simtran 
             sin 
             sinh 
             sinsert 
             sinvertcase 
             sixth 
             skewness 
             skewness_bernoulli 
             skewness_beta 
             skewness_binomial 
             skewness_chi2 
             skewness_continuous_uniform 
             skewness_discrete_uniform 
             skewness_exp 
             skewness_f 
             skewness_gamma 
             skewness_geometric 
             skewness_gumbel 
             skewness_hypergeometric 
             skewness_laplace 
             skewness_logistic 
             skewness_lognormal 
             skewness_negative_binomial 
             skewness_normal 
             skewness_pareto 
             skewness_poisson 
             skewness_rayleigh 
             skewness_student_t 
             skewness_weibull 
             slength 
             smake 
             smismatch 
             solve 
             solve_rec 
             solve_rec_rat 
             some 
             somrac 
             sort 
             sparse6_decode 
             sparse6_encode 
             sparse6_export 
             sparse6_import 
             specint 
             spherical_bessel_j 
             spherical_bessel_y 
             spherical_hankel1 
             spherical_hankel2 
             spherical_harmonic 
             splice 
             split 
             sposition 
             sprint 
             sqfr 
             sqrt 
             sqrtdenest 
             sremove 
             sremovefirst 
             sreverse 
             ssearch 
             ssort 
             sstatus 
             ssubst 
             ssubstfirst 
             staircase 
             status 
             std 
             std1 
             std_bernoulli 
             std_beta 
             std_binomial 
             std_chi2 
             std_continuous_uniform 
             std_discrete_uniform 
             std_exp 
             std_f 
             std_gamma 
             std_geometric 
             std_gumbel 
             std_hypergeometric 
             std_laplace 
             std_logistic 
             std_lognormal 
             std_negative_binomial 
             std_normal 
             std_pareto 
             std_poisson 
             std_rayleigh 
             std_student_t 
             std_weibull 
             stirling 
             stirling1 
             stirling2 
             strim 
             striml 
             strimr 
             string 
             stringout 
             stringp 
             strong_components 
             sublis 
             sublist 
             sublist_indices 
             submatrix 
             subsample 
             subset 
             subsetp 
             subst 
             substinpart 
             substpart 
             substring 
             subvar 
             subvarp 
             sum 
             sumcontract 
             summand_to_rec 
             supcase 
             supcontext 
             symbolp 
             symmdifference 
             symmetricp 
             system 
             take_channel 
             take_inference 
             tan 
             tanh 
             taylor 
             taylorinfo 
             taylorp 
             taylor_simplifier 
             taytorat 
             tcl_output 
             tcontract 
             tellrat 
             tellsimp 
             tellsimpafter 
             tentex 
             tenth 
             test_mean 
             test_means_difference 
             test_normality 
             test_rank_sum 
             test_sign 
             test_signed_rank 
             test_variance 
             test_variance_ratio 
             tex 
             texput 
             %th 
             third 
             throw 
             time 
             timedate 
             timer 
             timer_info 
             tldefint 
             tlimit 
             todd_coxeter 
             toeplitz 
             tokens 
             to_lisp 
             topological_sort 
             totaldisrep 
             totalfourier 
             totient 
             tpartpol 
             trace 
             tracematrix 
             trace_options 
             translate 
             translate_file 
             transpose 
             tree_reduce 
             treillis 
             treinat 
             triangularize 
             trigexpand 
             trigrat 
             trigreduce 
             trigsimp 
             trunc 
             tr_warnings_get 
             ueivects 
             uforget 
             ultraspherical 
             underlying_graph 
             undiff 
             union 
             unique 
             uniteigenvectors 
             unit_step 
             unitvector 
             unknown 
             unorder 
             unsum 
             untellrat 
             untimer 
             untrace 
             uppercasep 
             uricci 
             uriemann 
             uvect 
             vandermonde_matrix 
             var 
             var1 
             var_bernoulli 
             var_beta 
             var_binomial 
             var_chi2 
             var_continuous_uniform 
             var_discrete_uniform 
             var_exp 
             var_f 
             var_gamma 
             var_geometric 
             var_gumbel 
             var_hypergeometric 
             var_laplace 
             var_logistic 
             var_lognormal 
             var_negative_binomial 
             var_normal 
             var_pareto 
             var_poisson 
             var_rayleigh 
             var_student_t 
             var_weibull 
             vectorpotential 
             vectorsimp 
             verbify 
             vers 
             vertex_coloring 
             vertex_degree 
             vertex_distance 
             vertex_eccentricity 
             vertex_in_degree 
             vertex_out_degree 
             vertices 
             vertices_to_cycle 
             vertices_to_path 
             weyl 
             wheel_graph 
             with_stdout 
             write_data 
             writefile 
             wronskian 
             xgraph_curves 
             xreduce 
             xthru 
             Zeilberger 
             zeroequiv 
             zerofor 
             zeromatrix 
             zeromatrixp 
             zeta 
             zlange 
        

        
             _ 
             __ 
             % 
             %% 
             absboxchar 
             activecontexts 
             additive 
             algebraic 
             algepsilon 
             algexact 
             aliases 
             all_dotsimp_denoms 
             allbut 
             allsym 
             arrays 
             askexp 
             assume_pos 
             assume_pos_pred 
             assumescalar 
             atomgrad 
             backsubst 
             berlefact 
             besselexpand 
             bftorat 
             bftrunc 
             boxchar 
             breakup 
             cauchysum 
             cflength 
             cframe_flag 
             cnonmet_flag 
             context 
             contexts 
             cosnpiflag 
             ctaypov 
             ctaypt 
             ctayswitch 
             ctayvar 
             ct_coords 
             ctorsion_flag 
             ctrgsimp 
             current_let_rule_package 
             debugmode 
             default_let_rule_package 
             demoivre 
             dependencies 
             derivabbrev 
             derivsubst 
             detout 
             diagmetric 
             dim 
             dispflag 
             display2d 
             display_format_internal 
             doallmxops 
             domain 
             domxexpt 
             domxmxops 
             domxnctimes 
             dontfactor 
             doscmxops 
             doscmxplus 
             dot0nscsimp 
             dot0simp 
             dot1simp 
             dotassoc 
             dotconstrules 
             dotdistrib 
             dotexptsimp 
             dotident 
             dotscrules 
             draw_graph_program 
             %edispflag 
             %emode 
             %enumer 
             epsilon_lp 
             erfflag 
             error 
             error_size 
             error_syms 
             %e_to_numlog 
             evflag 
             evfun 
             expandwrt_denom 
             expon 
             exponentialize 
             expop 
             exptdispflag 
             exptisolate 
             exptsubst 
             facexpand 
             factlim 
             factorflag 
             file_output_append 
             file_search_demo 
             file_search_lisp 
             file_search_maxima 
             find_root_abs 
             find_root_error 
             find_root_rel 
             flipflag 
             float2bf 
             fortindent 
             fortspaces 
             fpprec 
             fpprintprec 
             functions 
             gammalim 
             gdet 
             genindex 
             gensumnum 
             GGFCFMAX 
             GGFINFINITY 
             globalsolve 
             gradefs 
             grind 
             halfangles 
             %iargs 
             ibase 
             icounter 
             idummyx 
             ieqnprint 
             iframe_bracket_form 
             igeowedge_flag 
             imetric 
             inchar 
             infeval 
             inflag 
             infolists 
             in_netmath 
             integrate_use_rootsof 
             integration_constant 
             integration_constant_counter 
             intfaclim 
             isolate_wrt_times 
             keepfloat 
             labels 
             letrat 
             let_rule_packages 
             lhospitallim 
             limsubst 
             linechar 
             linel 
             linenum 
             linsolve_params 
             linsolvewarn 
             lispdisp 
             listarith 
             listconstvars 
             listdummyvars 
             lmxchar 
             loadprint 
             logabs 
             logarc 
             logconcoeffp 
             logexpand 
             lognegint 
             lognumer 
             logsimp 
             m1pbranch 
             macroexpansion 
             maperror 
             mapprint 
             matrix_element_add 
             matrix_element_mult 
             matrix_element_transpose 
             maxapplydepth 
             maxapplyheight 
             maxima_tempdir 
             maxima_userdir 
             maxnegex 
             maxposex 
             maxpsifracdenom 
             maxpsifracnum 
             maxpsinegint 
             maxpsiposint 
             maxtayorder 
             method 
             mode_check_errorp 
             mode_checkp 
             mode_check_warnp 
             modulus 
             multiplicities 
             myoptions 
             negdistrib 
             negsumdispflag 
             newtonepsilon 
             newtonmaxiter 
             niceindicespref 
             nolabels 
             nonegative_lp 
             noundisp 
             obase 
             opproperties 
             opsubst 
             optimprefix 
             optionset 
             outchar 
             packagefile 
             partswitch 
             pfeformat 
             %piargs 
             piece 
             plot_options 
             poislim 
             poly_coefficient_ring 
             poly_elimination_order 
             poly_grobner_algorithm 
             poly_grobner_debug 
             poly_monomial_order 
             poly_primary_elimination_order 
             poly_return_term_list 
             poly_secondary_elimination_order 
             poly_top_reduction_only 
             powerdisp 
             prederror 
             primep_number_of_tests 
             product_use_gamma 
             programmode 
             prompt 
             psexpand 
             radexpand 
             radsubstflag 
             random_beta_algorithm 
             random_binomial_algorithm 
             random_chi2_algorithm 
             random_exp_algorithm 
             random_f_algorithm 
             random_gamma_algorithm 
             random_geometric_algorithm 
             random_hypergeometric_algorithm 
             random_negative_binomial_algorithm 
             random_normal_algorithm 
             random_poisson_algorithm 
             random_student_t_algorithm 
             ratalgdenom 
             ratchristof 
             ratdenomdivide 
             rateinstein 
             ratepsilon 
             ratexpand 
             ratfac 
             ratmx 
             ratprint 
             ratriemann 
             ratsimpexpons 
             ratvars 
             ratweights 
             ratweyl 
             ratwtlvl 
             realonly 
             refcheck 
             rmxchar 
             %rnum_list 
             rombergabs 
             rombergit 
             rombergmin 
             rombergtol 
             rootsconmode 
             rootsepsilon 
             savedef 
             savefactors 
             scalarmatrixp 
             setcheck 
             setcheckbreak 
             setval 
             showtime 
             simplify_products 
             simpsum 
             sinnpiflag 
             solvedecomposes 
             solveexplicit 
             solvefactors 
             solve_inconsistent_error 
             solvenullwarn 
             solveradcan 
             solvetrigwarn 
             sparse 
             sqrtdispflag 
             stardisp 
             stats_numer 
             stringdisp 
             sublis_apply_lambda 
             sumexpand 
             sumsplitfact 
             taylordepth 
             taylor_logexpand 
             taylor_order_coefficients 
             taylor_truncate_polynomials 
             tensorkill 
             testsuite_files 
             timer_devalue 
             tlimswitch 
             transcompile 
             transrun 
             tr_array_as_ref 
             tr_bound_function_applyp 
             tr_file_tty_messagesp 
             tr_float_can_branch_complex 
             tr_function_call_default 
             trigexpandplus 
             trigexpandtimes 
             triginverses 
             trigsign 
             tr_numer 
             tr_optimize_max_loop 
             tr_semicompile 
             tr_state_vars 
             tr_warn_bad_function_calls 
             tr_warn_fexpr 
             tr_warn_meval 
             tr_warn_mode 
             tr_warn_undeclared 
             tr_warn_undefined_variable 
             tr_windy 
             ttyoff 
             use_fast_arrays 
             values 
             vect_cross 
             verbose 
             zerobern 
             zeta%pi 
        



        
            
                
                
                
                
                
                
                
                
                
                
                
            
            
                
            

            
                
                
                
            
        

        
            
            
            
            
            
            
            
            
            
            
        

    

    
        
            
        
        
    


highlighting-kate-0.6.1/xml/mediawiki.xml0000644000000000000000000011515012633103275016565 0ustar0000000000000000

  
  
  
  
]>

  
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
      
      
        
        
        
        
      
      
        
        
        
      

      
        
        
      
      
        
        
        
      

      
        
        
        
      

      
        
        
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      

      
        
        
        
      
      
        
        
      
      
        
        
        
      
      
        
        
        
      
      
        
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
      

      
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
      
      
        
        
        
        
      
      
      
        
      



      

      
        
        
        
      
      
        
        
        
      


      
        
        
      
      
        
        
      

      
        
        
      
      
        
        
      


      
        
      
      
        
      

      
        
        
      
      
        
        
        
      


      
        
      
      
        
      


      
        
        
      
      
        
        
        
      
      
        
        
      
      
        
        
      



      
        
      
      
        
        
        
        
        
      
      
        
        
        
        
        
      
      
        
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
      
      
        
        
        
      
      
        
        
        
      

      

      
        
      

      
        
        
        
      

      
        
      

      
        
        
      

      
        
      

      
        
      

      
        
        
        
      
      
        
        
      

      
        
        
      
      
        
        
      

      
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      

    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
    
  

highlighting-kate-0.6.1/xml/metafont.xml0000644000000000000000000007337012633103275016446 0ustar0000000000000000




  
    
    
    
    
      true

      false
      known
      unknown
      odd
      charexists
      not

      and
      or
    

    
    
      normaldeviate
      length

      ASCII
      oct
      hex
      angle
      turningnumber
      totalweight

      directiontime
      xpart
      ypart
      xxpart
      xypart
      yxpart

      yypart
      sqrt
      sind
      cosd
      mlog
      mexp

      floor
      uniformdeviate
      abs
      div
      dotprod
      max

      min
      mod
      ceiling
    

    
    
      tracingtitles

      tracingequations
      tracingcapsules
      tracingchoices
      tracingspecs
      tracingpens
      tracingcommands

      tracingrestores
      tracingmacros
      tracingedges
      tracingoutput
      tracingonline
      tracingstats

      pausing
      showstopping
      fontmaking
      proofing
      turningcheck
      warningcheck

      smoothing
      autorounding
      granularity
      fillin
      year
      month

      day
      time
      charcode
      charext
      charwd
      charht

      chardp
      charic
      chardx
      chardy
      designsize
      hppp

      vppp
      xoffset
      yoffset
      boundarychar
    

    

    
      point
      of
      precontrol
      postcontrol
      penoffset

      rotated
      scaled
      shifted
      slanted
      transformed
      xscaled

      yscaled
      zscaled
    

    
    
      makepath
      reverse

      subpath
      curl
      tension
      atleast
      controls
      cycle

    

    
    
      nullpen
      pencircle
      makepen
    

    
    
      nullpicture
    

    
    
      jobname

      readstring
      str
      char
      decimal
      substring
    

    
    
      end
      dump
      save
      interim

      newinternal
      randomseed
      let
      delimiters
      outer
      everyjob

      show
      showvariable
      showtoken
      showdependencies
      showstats
      message

      errmessage
      errhelp
      batchmode
      nonstopmode
      scrollmode
      errorstopmode

      addto
      also
      contour
      doublepath
      withpen
      withweight

      cull
      keeping
      dropping
      display
      inwindow
      openwindow

      at
      from
      to
      shipout
      special
      numspecial

    

    
    
      boolean
      numeric
      pair
      path

      pen
      picture
      string
      transform
    

    






    
    


      expr
      suffix

      text
      primary
      secondary
      tertiary

      primarydef
      secondarydef

      tertiarydef
    

    
    


      else
      elseif





      step
      until
      upto
      exitif
    

    
    
      charlist
      endinput
      expandafter
      extensible

      fontdimen
      headerbyte
      inner
      input
      intersectiontimes
      kern

      ligtable
      quote
      scantokens
      skipto
    

    

    

      addto_currentpicture
      aspect_ratio
      base_name
      base_version

      blacker

      blankpicture
      bot
      bye
      byte
      capsule_def

      change_width

      clear_pen_memory
      clearit
      clearpen
      clearxy
      counterclockwise
      culldraw

      cullit
      currentpen
      currentpen_path
      currentpicture
      currenttransform
      currentwindow

      cutdraw
      cutoff
      d
      decr
      define_blacker_pixels
      define_corrected_pixels

      define_good_x_pixels
      define_good_y_pixels
      define_horizontal_corrected_pixels
      define_pixels
      define_whole_blacker_pixels
      define_whole_pixels

      define_whole_vertical_blacker_pixels
      define_whole_vertical_pixels
      dir
      direction
      directionpoint
      displaying

      ditto


      down
      downto
      draw
      drawdot


      eps
      epsilon


      extra_setup
      erase
      exitunless

      fill
      filldraw
      fix_units
      flex
      font_coding_scheme
      font_extra_space

      font_identifier
      font_normal_shrink
      font_normal_space
      font_normal_stretch
      font_quad
      font_setup

      font_size
      font_slant
      font_x_height
      fullcircle
      generate
      gfcorners

      gobble
      gobbled
      grayfont
      h
      halfcircle
      hide

      hround
      identity
      image_rules
      incr
      infinity
      interact

      interpath
      intersectionpoint
      inverse
      italcorr
      join_radius
      killtext

      labelfont
      labels
      left
      lft
      localfont
      loggingall

      lowres
      lowres_fix
      mag
      magstep
      makebox
      makegrid

      makelabel
      maketicks



      mode
      mode_def
      mode_name

      mode_setup
      nodisplays
      notransforms
      number_of_modes
      numtok
      o_correction

      openit
      origin
      pen_bot
      pen_lft
      pen_rt
      pen_top

      penlabels
      penpos
      penrazor
      penspeck
      pensquare
      penstroke

      pickup
      pixels_per_inch
      proof
      proofoffset
      proofrule
      proofrulethickness

      quartercircle
      range
      reflectedabout
      relax
      right
      rotatedabout

      rotatedaround
      round
      rt
      rulepen
      savepen
      screenchars

      screen_rows
      screen_cols
      screenrule
      screenstrokes
      shipit
      showit

      slantfont
      smode
      smoke
      softjoin
      solve
      stop

      superellipse
      takepower
      tensepath
      titlefont
      tolerance
      top

      tracingall
      tracingnone
      undraw
      undrawdot
      unfill
      unfilldraw

      unitpixel
      unitsquare
      unitvector
      up
      upto
      vround

      w
      whatever

    

    
    
    
      bluepart

      clip
      color
      dashed
      fontsize
      greenpart
      infont

      linecap
      linejoin
      llcorner
      lrcorner
      miterlimit
      mpxbreak

      prologues
      redpart
      setbounds
      tracinglostchars
      truecorners
      ulcorner

      urcorner
      withcolor
    

    
    
      autorounding
      chardx

      chardy
      fillin
      granularity
      hppp
      proofing
      smoothing

      tracingedges
      tracingpens
      turningcheck
      vppp
      xoffset
      yoffset

    

    
    
      ahangle
      ahlength
      background
      bbox

      bboxmargin

      beveled
      black
      blue
      buildcycle
      butt

      center
      cutafter
      cutbefore
      cuttings
      dashpattern
      defaultfont

      defaultpen
      defaultscale
      dotlabel
      dotlabels
      drawarrow
      drawdblarrow

      drawoptions

      evenly


      green
      label
      labeloffset

      mitered
      red
      rounded
      squared
      thelabel
      white

      base_name
      base_version
      upto
      downto
      exitunless
      relax

      gobble
      gobbled
      interact
      loggingall
      tracingall
      tracingnone

      eps
      epsilon
      infinity
      right
      left
      up

      down
      origin
      quartercircle
      halfcircle
      fullcircle
      unitsquare

      identity
      blankpicture
      withdots
      ditto
      EOF
      pensquare

      penrazor
      penspeck
      whatever

      round

      byte

      dir
      unitvector
      inverse
      counterclockwise
      tensepath




      takepower
      direction
      directionpoint
      intersectionpoint
      softjoin
      incr

      decr
      reflectedabout
      rotatedaround
      rotatedabout


      flex

      superellipse
      interpath
      magstep
      currentpen
      currentpen_path
      currentpicture

      fill
      draw
      filldraw
      drawdot
      unfill
      undraw

      unfilldraw
      undrawdot
      erase
      cutdraw
      image
      pickup

      numeric_pickup
      pen_lft
      pen_rt
      pen_top
      pen_bot
      savepen

      clearpen
      clear_pen_memory
      lft
      rt
      top
      bot

      ulft
      urt
      llft
      lrt
      penpos
      penstroke

      arrowhead
      makelabel
      labels
      penlabel
      range
      numtok

      thru
      clearxy
      clearit
      clearpen
      pickup
      shipit

      bye
      hide
      stop
      solve

      blacker
      capsule_def

      change_width
      define_blacker_pixels
      define_corrected_pixels
      define_good_x_pixels
      define_good_y_pixels
      define_horizontal_corrected_pixels

      define_pixels
      define_whole_blacker_pixels
      define_whole_vertical_blacker_pixels
      define_whole_vertical_pixels



      extra_setup

      font_coding_scheme
      font_extra_space
      font_identifier
      font_normal_shrink
      font_normal_space
      font_normal_stretch

      font_quad
      font_size
      font_slant
      font_x_height
      italcorr
      labelfont

      makebox
      makegrid
      maketicks
      mode_def
      mode_setup
      o_correction

      proofrule
      proofrulethickness
      rulepen
      smode
      cullit
      currenttransform

      gfcorners
      grayfont
      hround
      imagerules
      lowres_fix
      nodisplays

      notransforms
      openit
      proofoffset
      screenchars
      screenrule
      screenstrokes

      showit
      slantfont
      titlefont
      unitpixel
      vround
      circmargin

      defaultdx
      defaultdy
      boxit
      boxjoin
      bpath
      circleit

      drawboxed
      drawboxes
      drawunboxed
      fixpos
      fixsize
      pic

    

    
    
      beginchar
      endchar
      extra_beginchar
      extra_endchar

      beginlogochar
      beginfig
      endfig
      extra_beginfig
      extra_endfig
    

    
      
        
        
        
        
        
        

        
        
        
        
        
        
        
        
        

        
        

        
        
        
        

        
        

        
        

        
        
        
        
        

        

        
        
        

        
        

        
        

        
        
        

        
        

        
        

        
        
        
        

      

      
        
        

        
        
      

      
      
      
        
        

        
        
      
      
        
        
        
        
        

      
      
      
      
        
      
      
        
        

        
      

      
      
        
        
        
        

        
      
      
        
        
         
      

      
      

        
        
      


    
      
      
      
      

      
      
      
      
      
      
      
      
      

      
      
      
      
      
      
      
      
      

      
 
  

  
    
      
    
    

  


highlighting-kate-0.6.1/xml/mips.xml0000644000000000000000000002523112633103275015572 0ustar0000000000000000


  
    
       .align 
       .ascii 
       .asciiz 
       .byte 
       .double 
       .extern 
       .float 
       .globl 
       .half 
       .sdata 
       .set 
       .space 
       .word 
    
    
       .data 
       .kdata 
       .ktext 
       .text 
    
    
       abs.d 
       abs.s 
       add 
       add.d 
       add.s 
       addi 
       addiu 
       addu 
       and 
       andi 
       bc0f 
       bc0t 
       bc1f 
       bc1t 
       bc2f 
       bc2t 
       bc3f 
       bc3t 
       beq 
       bgez 
       bgezal 
       bgtz 
       blez 
       bltz 
       bltzal 
       bne 
       break 
       c.eq.d 
       c.eq.s 
       c.seq.s 
       c.seq.d 
       c.ueq.s 
       c.ueq.d 
       c.olt.d 
       c.olt.s 
       c.ole.d 
       c.ole.s 
       c.ult.d 
       c.ult.s 
       c.ule.d 
       c.ule.s 
       c.le.d 
       c.le.s 
       c.lt.d 
       c.lt.s 
       c.un.s 
       c.un.d 
       cvt.d.s 
       cvt.d.w 
       cvt.s.d 
       cvt.s.w 
       cvt.w.d 
       cvt.w.s 
       div.d 
       div.s 
       j 
       jal 
       jalr 
       jr 
       lb 
       lbu 
       lh 
       lhu 
       lui 
       lw 
       lwc0 
       lwc1 
       lwc2 
       lwc3 
       lwl 
       lwr 
       mfc0 
       mfc1 
       mfc2 
       mfc3 
       mfhi 
       mflo 
       mtc0 
       mtc1 
       mtc2 
       mtc3 
       mthi 
       mtlo 
       mul.d 
       mul.s 
       mult 
       multu 
       nor 
       or 
       ori 
       rfe 
       sb 
       sh 
       sw 
       swcl 
       swl 
       swr 
       sll 
       sllv 
       slt 
       slti 
       sltiu 
       sra 
       srav 
       srl 
       srlv 
       sub 
       sub.d 
       sub.s 
       subu 
       sw 
       swc0 
       swc1 
       swc2 
       swc3 
       swl 
       swr 
       syscall 
       xor 
       xori 
    
    
       abs 
       b 
       beqz 
       bge 
       bgeu 
       bgt 
       bgtu 
       ble 
       bleu 
       blt 
       bltu 
       bnez 
       div 
       divu 
       l.d 
       l.s 
       la 
       ld 
       li 
       li.d 
       li.s 
       mfc0.d 
       mfc1.d 
       mfc2.d 
       mfc3.d 
       mov.d 
       mov.s 
       move 
       mul 
       mulo 
       mulou 
       neg 
       neg.d 
       neg.s 
       negu 
       nop 
       not 
       rem 
       remu 
       rol 
       ror 
       s.d 
       s.s 
       sd 
       seq 
       sge 
       sgeu 
       sgt 
       sgtu 
       sle 
       sleu 
       sne 
       ulh 
       ulhu 
       ulw 
       ush 
       usw 
    
    
       $0 
       $1 
       $2 
       $3 
       $4 
       $5 
       $6 
       $7 
       $8 
       $9 
       $10 
       $11 
       $12 
       $13 
       $14 
       $15 
       $16 
       $17 
       $18 
       $19 
       $20 
       $21 
       $22 
       $23 
       $24 
       $25 
       $26 
       $27 
       $28 
       $29 
       $30 
       $31 
       $zero 
       $t0 
       $t1 
       $t2 
       $t3 
       $t4 
       $t5 
       $t6 
       $t7 
       $t8 
       $t9 
    
    
       $v0 
       $v1 
       $a0 
       $a1 
       $a2 
       $a3 
       $k0 
       $k1 
       $at 
       $gp 
       $sp 
       $fp 
       $s0 
       $s1 
       $s2 
       $s3 
       $s4 
       $s5 
       $s6 
       $s7 
       $ra 
    
    
       $f0 
       $f1 
       $f2 
       $f3 
       $f4 
       $f5 
       $f6 
       $f7 
       $f8 
       $f9 
       $f10 
       $f11 
       $f12 
       $f13 
       $f14 
       $f15 
       $f16 
       $f17 
       $f18 
       $f19 
       $f20 
       $f21 
       $f22 
       $f23 
       $f24 
       $f25 
       $f26 
       $f27 
       $f28 
       $f29 
       $f30 
       $f31 
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/modelines.xml0000644000000000000000000001462312633103275016604 0ustar0000000000000000

    
]>



highlighting-kate-0.6.1/xml/modula-2.xml0000644000000000000000000001406612633103275016246 0ustar0000000000000000


  
    
       ASSEMBLER 
       ALLOCATE 
       DEALLOCATE 
       SIZE 
       Write 
       WriteString 
       WriteCard 
       WriteLn 
       WriteBf 
       WriteInt 
       WriteReal 
       WriteLongReal 
       Read 
       ReadString 
       ReadCard 
       ReadInt 
       ReadReal 
       ReadLongReal 
       Open 
       Close 
       OpenInput 
       OpenOutput 
       Accessible 
       Erase 
       EOF 
       Done 
       EmptyString 
       Assign 
       Append 
       Length 
       StrEq 
       Copy 
       Concat 
       pos 
       Delete 
       Insert 
       compare 
       CAPS 
       PutBf 
       GetArgs 
       GetEnv 
       ResetClock 
       UserTime 
       SystemTime 
       GetChar 
       GetInt 
       GetCard 
       GetString 
       GetReal 
       GetLongReal 
       PutChar 
       PutInt 
       PutCard 
       PutString 
       PutReal 
       PutLongReal 
       PutLn 
    
    
       AND 
       ARRAY 
       ASM 
       BEGIN 
       CASE 
       CONST 
       DIV 
       DO 
       ELSE 
       ELSIF 
       END 
       FOR 
       IF 
       IMPLEMENTATION 
       IN 
       SET 
       INCL 
       EXCL 
       ABS 
       BITSET 
       CAP 
       CHR 
       DEC 
       HALT 
       HIGH 
       INC 
       MAX 
       MIN 
       ODD 
       ORD 
       PROC 
       TRUNC 
       VAL 
       MOD 
       NIL 
       NOT 
       OF 
       OR 
       PROCEDURE 
       MODULE 
       DEFINITION 
       RECORD 
       REPEAT 
       THEN 
       TO 
       TYPE 
       UNTIL 
       LOOP 
       VAR 
       WHILE 
       WITH 
       EXIT 
       FALSE 
       TRUE 
       BY 
       FROM 
       IMPORT 
       EXPORT 
       QUALIFIED 
       RETURN 
       NEWPROCESS 
       TRANSFER 
       IOTRANSFER 
       FOREIGN 
    
    
       INTEGER 
       CARDINAL 
       SHORTINT 
       SHORTCARD 
       LONGINT 
       LONGREAL 
       CHAR 
       BOOLEAN 
       POINTER 
       ADDRESS 
       ADR 
       REAL 
       File 
    
    
      
        
        
        
        
        
        
        
        
        
      
      
        
      
      
        
      
      
        
      
      
      
        
      

    
    
      
      
      
      
      
      
      
    
  
  
    
    
      
    
  

highlighting-kate-0.6.1/xml/modula-3.xml0000644000000000000000000002573112633103275016250 0ustar0000000000000000








  
    

       ANY 
       ARRAY 
       AS 
       BEGIN 
       BITS 
       BRANDED 
       BY 
       CASE 
       CONST 

       DO 
       ELSE 
       ELSIF 
       END 
       EVAL 
       EXCEPT 
       EXCEPTION 
       EXIT 
       EXPORTS 
       FINALLY 
       FOR 
       FROM 
       GENERIC 
       IF 
       IMPORT 

       INTERFACE 
       LOCK 
       LOOP 
       METHODS 

       MODULE 

       OBJECT 
       OF 

       OVERRIDES 
       PROCEDURE 
       RAISE 
       RAISES 
       READONLY 
       RECORD 
       REF 
       REPEAT 
       RETURN 
       REVEAL 
       ROOT 
       SET 
       THEN 
       TO 
       TRY 
       TYPE 
       TYPECASE 
       UNSAFE 
       UNTIL 
       UNTRACED 
       VALUE 
       VAR 
       WHILE 
       WITH 
    
    
       AND  
       DIV  
       IN  
       MOD 
       NOT 
       OR 
       + 
       < 
       # 
       = 
       ; 
       .. 
       : 
       - 
       > 
       { 
       } 
       | 
       := 
       <: 
       * 
       <= 
       ( 
       ) 
       ^ 
       , 
       => 
       / 
       >= 
       [ 
       ] 
       . 
       & 
    
    
       ADDRESS 
       BOOLEAN 
       CARDINAL 
       CHAR 
       EXTENDED 
       INTEGER 
       LONGREAL 
       MUTEX 
       NULL 
       REAL 
       REFANY 
       T 
       TEXT 
    
    
       FALSE 
       NIL 
       TRUE 
    
    
       ABS 
       ADR 
       ADRSIZE 
       BITSIZE 
       BYTESIZE 
       CEILING 
       DEC 
       DISPOSE 
       FIRST 
       FLOAT 
       FLOOR 
       INC 
       ISTYPE 
       LAST 
       LOOPHOLE 
       MAX 
       MIN 
       NARROW 
       NEW 
       NUMBER 
       ORD 
       ROUND 
       SUBARRAY 
       TRUNC 
       TYPECODE 
       VAL 
    
    
       Text 
       Text.Length 
       Text.Empty 
       Text.Equal 
       Text.Compare 
       Text.Cat 
       Text.Sub 
       Text.Hash 
       Text.HasWideChar 
       Text.GetChar 
       Text.GetWideChar 
       Text.SetChars 
       Text.SetWideChars 
       Text.FromChars 
       Text.FromWideChars 
       Text.FindChar 
       Text.FindWideChar 
       Text.FindCharR 
       Text.FindWideCharR 
       Fmt 
       Fmt.Bool 
       Fmt.Char 
       Fmt.Int 
       Fmt.Unsigned 
       Fmt.Real 
       Fmt.LongReal 
       Fmt.Extended 
       Fmt.Pad 
       Fmt.F 
       Fmt.FN 
       Scan 
       Scan.Bool 
       Scan.Int 
       Scan.Unsigned 
       Scan.Real 
       Scan.LongReal 
       Scan.Extended 
       IO 
       IO.Put 
       IO.PutChar 
       IO.PutWideChar 
       IO.PutInt 
       IO.PutReal 
       IO.EOF 
       IO.GetLine 
       IO.GetChar 
       IO.GetWideChar 
       IO.GetInt 
       IO.GetReal 
       IO.OpenRead 
       IO.OpenWrite 
       Rd 
       Rd.GetChar 
       Rd.GetWideChar 
       Rd.EOF 
       Rd.UnGetChar 
       Rd.CharsReady 
       Rd.GetSub 
       Rd.GetWideSub 
       Rd.GetSubLine 
       Rd.GetWideSubLine 
       Rd.GetText 
       Rd.GetWideText 
       Rd.GetLine 
       Rd.GetWideLine 
       Rd.Seek 
       Rd.Close 
       Rd.Index 
       Rd.Length 
       Rd.Intermittend 
       Rd.Seekable 
       Rd.Closed 
       Wr 
       Wr.PutChar 
       Wr.PutWideChar 
       Wr.PutText 
       Wr.PutWideText 
       Wr.PutString 
       Wr.PutWideString 
       Wr.Seek 
       Wr.Flush 
       Wr.Close 
       Wr.Length 
       Wr.Index 
       Wr.Seekable 
       Wr.Closed 
       Wr.Buffered 
       Lex 
       Lex.Scan 
       Lex.Skip 
       Lex.Match 
       Lex.Bool 
       Lex.Int 
       Lex.Unsigned 
       Lex.Real 
       Lex.LongReal 
       Lex.Extended 
       Params 
       Params.Count 
       Params.Get 
       Env 
       Env.Count 
       Env.Get 
       Env.GetNth 
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
      
      
        
        
      
      
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
    
  

highlighting-kate-0.6.1/xml/monobasic.xml0000644000000000000000000002135312633103275016575 0ustar0000000000000000





  
     
         Option 
	 Explicit 
	 Strict 
	 Imports 
	 Inherits 
	 As 
	 New 
	 Dim 
	 Redim 
	 Private 
	 Friend 
	 Public 
	 Const 
	 ReadOnly 
	 WriteOnly 
	 Default 
	 Shared 
	 Shadows 
	 Protected 
	 Overloads 
	 Overrides 
	 NotOverridable 
	 NotInheritable 
	 MustInherit 
	 MustOverride 
	 MyBase 
	 MyClass 
	 Me 
	 Delegate 
	 Catch 
	 Finaly 
	 When 
	 Throw 
	 To 
	 Step 
	 Then 
	 Else 
	 True 
	 False 
	 Nothing 
	 Call 
	 ByVal 
	 ByRef 
	 Optional 
	 ParamArray 
	 Return 
	 Declare 
	 WithEvents 
	 Event 
	 RaiseEvent 
	 AddHandler 
	 And 
	 Or 
	 Not 
	 Xor 
	 AndAlso 
	 OrElse 
	 Goto 
	 On 
	 Error 
	 Resume 
      

      
	 Boolean 
	 Char 
	 String 
	 Integer 
	 Long 
	 Double 
	 Object 
	 Exception 
	 Date 
	 DateTime 
	 Int16 
	 Int32 
	 Int64 
	 ParamArray 
	 TimeSpan 
	 Byte 
	 Decimal 
	 IntPtr 
	 Single 
	 Guid 
      

      
	
	   
	   
	   
	   

	   
	   
	   

	   
	   
	   

	   
	   
	   

	   
	   
	   

	   
	   
	   
	
	   
	   
	   
	
	   
	   
	   

	   
	   
	   

	   
	   
	   

	   
	   
	   
           

	   
	   
	   
           

	   
	   
	   

	   
	   
	   

	   
	   
	   
	
	   
	   
	   
	
	   
	   
	   

	   
	   
	   
	   
	   
	   
	   
	   

	   
	   
	   
      

      
         
	 
         
      

      
    

    
       
       
       
       
       
       
    

   
	
   
      
      
         
      
   

highlighting-kate-0.6.1/xml/nasm.xml0000644000000000000000000006117012633103275015562 0ustar0000000000000000



  
    
      
      eax
      ax
      ah
      al
      ebx
      bx
      bh
      bl
      ecx
      cx
      ch
      cl
      edx
      dx
      dh
      dl
      ebp
      bp
      esi
      si
      edi
      di
      
      esp
      sp
      
      cs
      ds
      es
      fs
      gs
      ss
      
      cr0
      
      cr2
      cr3
      cr4
      
      dr0
      dr1
      dr2
      dr3
      dr6
      dr7
      
      st
      
      mm0
      mm1
      mm2
      mm3
      mm4
      mm5
      mm6
      mm7
      
      xmm0
      xmm1
      xmm2
      xmm3
      xmm4
      xmm5
      xmm6
      xmm7
    
    
      aaa
      aad
      aam
      aas
      adc
      add
      addpd
      addps
      addsd
      addss
      addsubpd
      addsubps
      and
      andnpd
      andnps
      andpd
      andps
      arpl
      bound
      bsf
      bsr
      bswap
      bt
      btc
      btr
      bts
      call
      cbw
      cwde
      cwd
      cdq
      cdqe
      cqo
      clc
      cld
      clgi
      cli
      clts
      clflush
      cmc
      cmova
      cmovae
      cmovb
      cmovbe
      cmovc
      cmove
      cmovg
      cmovge
      cmovl
      cmovle
      cmovna
      cmovnae
      cmovnb
      cmovnbe
      cmovnc
      cmovne
      cmovng
      cmovnge
      cmovnl
      cmovnle
      cmovno
      cmovnp
      cmovns
      cmovnz
      cmovo
      cmovp
      cmovpe
      cmovpo
      cmovs
      cmovz
      cmp
      cmpeqpd
      cmpeqps
      cmpeqsd
      cmpeqss
      cmplepd
      cmpleps
      cmplesd
      cmpless
      cmpltpd
      cmpltps
      cmpltsd
      cmpltss
      cmpneqpd
      cmpneqps
      cmpneqsd
      cmpneqss
      cmpnlepd
      cmpnleps
      cmpnlesd
      cmpnless
      cmpnltpd
      cmpnltps
      cmpnltsd
      cmpnltss
      cmpordpd
      cmpordps
      cmpordsd
      cmpordss
      cmppd
      cmpps
      cmps
      cmpsb
      cmpsd
      cmpss
      cmpsw
      cmpunordpd
      cmpunordps
      cmpunordsd
      cmpunordss
      cmpxchg
      cmpxchg486
      cmpxchg8b
      cmpxchg16b
      comisd
      comiss
      cpuid
      cvtdq2pd
      cvtdq2ps
      cvtpd2dq
      cvtpd2pi
      cvtpd2ps
      cvtpi2pd
      cvtpi2ps
      cvtps2dq
      cvtps2pd
      cvtps2pi
      cvtsd2si
      cvtsd2ss
      cvtsi2sd
      cvtsi2ss
      cvtss2sd
      cvtss2si
      cvttpd2dq
      cvttpd2pi
      cvttps2dq
      cvttps2pi
      cvttsd2si
      cvttss2si
      daa
      das
      dec
      div
      divpd
      divps
      divsd
      divss
      emms
      enter
      f2xm1
      fabs
      fadd
      faddp
      fbld
      fbstp
      fchs
      fclex
      fnclex
      fcmovb
      fcmovbe
      fcmove
      fcmovnb
      fcmovnbe
      fcmovne
      fcmovnu
      fcmovu
      fcom
      fcomp
      fcompp
      fcomi
      fcomip
      fcos
      fdecstp
      fdisi
      feni
      fdiv
      fdivr
      fdivp
      fdivrp
      femms
      ffree
      ffreep
      fiadd
      ficom
      ficomp
      fidiv
      fidivr
      fild
      fimul
      fincstp
      finit
      fist
      fistp
      fisttp
      fisub
      fisubr
      fld
      fld1
      fldl2e
      fldl2t
      fldlg2
      fldln2
      fldcw
      fldenv
      fldpi
      fldz
      fmul
      fmulp
      fndisi
      fneni
      fninit
      fnop
      fnsave
      fnstcw
      fnstenv
      fnstsw
      fnwait
      fpatan
      fptan
      fprem
      fprem1
      frndint
      frstor
      fsave
      fscale
      fsetpm
      fsin
      fsincos
      fsqrt
      fst
      fstp
      fstcw
      fstenv
      fstsw
      fsub
      fsubr
      fsubp
      fsubrp
      ftst
      fucom
      fucomp
      fucompp
      fucomi
      fucomip
      fwait
      fxam
      fxch
      fxrstor
      fxsave
      fxtract
      fyl2x
      fyl2xp1
      haddpd
      haddps
      hlt
      hsubpd
      hsubps
      ibts
      idiv
      imul
      in
      inc
      ins
      insb
      insd
      insw
      int
      int1
      int3
      into
      invd
      invlpg
      invlpga
      iret
      iretd
      iretq
      iretw
      ja
      jae
      jb
      jbe
      jc
      je
      jg
      jge
      jl
      jle
      jna
      jnae
      jnb
      jnbe
      jnc
      jne
      jng
      jnge
      jnl
      jnle
      jno
      jnp
      jns
      jnz
      jo
      jp
      jpe
      jpo
      js
      jz
      jcxz
      jecxz
      jrcxz
      jmp
      lahf
      lar
      lddqu
      ldmxcsr
      lds
      les
      lea
      leave
      lfence
      lfs
      lgdt
      lgs
      lidt
      lldt
      lmsw
      loadall
      loadall286
      lods
      lodsb
      lodsd
      lodsq
      lodsw
      loop
      loope
      loopne
      loopnz
      loopz
      lsl
      lss
      ltr
      maskmovdqu
      maskmovq
      maxpd
      maxps
      maxsd
      maxss
      mfence
      minpd
      minps
      minsd
      minss
      monitor
      mov
      movapd
      movaps
      movd
      movddup
      movdq2q
      movdqa
      movdqu
      movhlps
      movhpd
      movhps
      movlhps
      movlpd
      movlps
      movmskpd
      movmskps
      movntdq
      movnti
      movntpd
      movntps
      movntq
      movq
      movq2dq
      movs
      movsb
      movsd
      movshdup
      movsldup
      movsq
      movss
      movsx
      movsxd
      movsw
      movupd
      movups
      movzx
      mul
      mulpd
      mulps
      mulsd
      mulss
      mwait
      neg
      nop
      not
      or
      orpd
      orps
      out
      outs
      outsb
      outsw
      outsd
      packssdw
      packsswb
      packuswb
      paddb
      paddd
      paddq
      paddsb
      paddsw
      paddusb
      paddusw
      paddw
      pand
      pandn
      pause
      pavgb
      pavgusb
      pavgw
      pcmpeqb
      pcmpeqw
      pcmpeqd
      pcmpgtb
      pcmpgtw
      pcmpgtd
      pdistib
      pextrw
      pf2id
      pf2iw
      pfacc
      pfadd
      pfcmpeq
      pfcmpge
      pfcmpgt
      pfmax
      pfmin
      pfmul
      pfnacc
      pfpnacc
      pfrcp
      pfrcpit1
      pfrcpit2
      pfrsqit1
      pfrsqrt
      pfsub
      pfsubr
      pi2fd
      pi2fw
      pinsrw
      pmachriw
      pmaddwd
      pmagw
      pmaxsw
      pmaxub
      pminsw
      pminub
      pmovmskb
      pmulhrw
      pmulhuw
      pmulhw
      pmullw
      pmuludq
      pmvgezb
      pmvlzb
      pmvnzb
      pmvzb
      pop
      popa
      popaw
      popad
      popf
      popfw
      popfd
      popfq
      por
      prefetch
      prefetchnta
      prefetcht0
      prefetcht1
      prefetcht2
      prefetchw
      psadbw
      pshufd
      pshufhw
      pshuflw
      pshufw
      pslld
      pslldq
      psllq
      psllw
      psrad
      psraw
      psrld
      psrldq
      psrlq
      psrlw
      psubb
      psubd
      psubq
      psubsb
      psubsiw
      psubsw
      psubusb
      psubusw
      psubw
      pswapd
      punpckhbw
      punpckhdq
      punpckhqdq
      punpckhwd
      punpcklbw
      punpckldq
      punpcklqdq
      punpcklwd
      push
      pusha
      pushad
      pushaw
      pushf
      pushfd
      pushfq
      pushfw
      pxor
      rcl
      rcr
      rcpps
      rcpss
      rdmsr
      rdpmc
      rdshr
      rdtsc
      rdtscp
      ret
      retf
      retn
      rol
      ror
      rsdc
      rsldt
      rsm
      rsqrtps
      rsqrtss
      rsts
      sahf
      sal
      sar
      salc
      sbb
      scas
      scasb
      scasd
      scasq
      scasw
      seta
      setae
      setb
      setbe
      setc
      sete
      setg
      setge
      setl
      setle
      setna
      setnae
      setnb
      setnbe
      setnc
      setne
      setng
      setnge
      setnl
      setnle
      setno
      setnp
      setns
      setnz
      seto
      setp
      setpe
      setpo
      sets
      setz
      sfence
      sgdt
      shl
      shld
      shr
      shrd
      shufpd
      shufps
      sidt
      skinit
      sldt
      smi
      smint
      smintold
      smsw
      sqrtpd
      sqrtps
      sqrtsd
      sqrtss
      stc
      std
      stgi
      sti
      stmxcsr
      stos
      stosb
      stosd
      stosq
      stosw
      str
      sub
      subpd
      subps
      subsd
      subss
      svdc
      svldt
      svts
      swapgs
      syscall
      sysenter
      sysexit
      sysret
      test
      ucomisd
      ucomiss
      ud0
      ud1
      ud2
      umov
      unpckhpd
      unpckhps
      unpcklpd
      unpcklps
      verr
      verw
      vmload
      vmmcall
      vmrun
      vmsave
      wait
      wbinvd
      wrmsr
      wrshr
      xadd
      xbts
      xchg
      xlat
      xlatb
      xor
      xorpd
      xorps
    
    
      
      times
      
      equ
      
      db
      dw
      dd
      dq
      dt
      
      resb
      resw
      resd
      resq
      rest
      
      incbin
      
      byte
      word
      dword
      qword
      short
      ptr
    
    
      
      absolute
      bits
      common
      extern
      global
      org
      section
      seg
      segment
      strict
      use16
      use32
      wrt
      
      struc
      endstruc
      istruc
      at
      iend
      align
      alignb

      __SECT__
      __NASM_MAJOR__
      __NASM_MINOR__
      __NASM_SUBMINOR__
      ___NASM_PATCHLEVEL__
      __NASM_VERSION_ID__
      __NASM_VER__
      __FILE__
      __LINE__
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
      
      
        
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
    
  


highlighting-kate-0.6.1/xml/noweb.xml0000644000000000000000000000515012633103275015732 0ustar0000000000000000



  
    
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
        
      
      
        
        
      
    
    
      
      
      
      
    
  


highlighting-kate-0.6.1/xml/objectivec.xml0000644000000000000000000001362712633103275016745 0ustar0000000000000000


  
    
       break 
       case 
       continue 
       default 
       do 
       else 
       enum 
       extern 
       for 
       goto 
       if 
       return 
       sizeof 
       struct 
       switch 
       typedef 
       union 
       while 
       @class 
       @defs 
       @encode 
       @end 
       @implementation 
       @interface 
       @private 
       @protected 
       @protocol 
       @public 
       @selector 
       self 
       super 
    
    
       auto 
       char 
       const 
       double 
       float 
       int 
       long 
       register 
       short 
       signed 
       static 
       unsigned 
       void 
       volatile 
    
    
      
        
        
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
        
        
        
        
      
      
        
        
        
      
      
      
        
      
      
        
        
        
        
        
        
      
      
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
       
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/objectivecpp.xml0000644000000000000000000003256312633103275017305 0ustar0000000000000000


  
    
       break 
       case 
       continue 
       default 
       do 
       else 
       enum 
       extern 
       for 
       goto 
       if 
       return 
       sizeof 
       struct 
       switch 
       typedef 
       union 
       while 
       @class 
       @defs 
       @encode 
       @end 
       @implementation 
       @interface 
       @private 
       @protected 
       @protocol 
       @public 
       @selector 
       self 
       super 
      
       asm 
       catch 
       class 
       const_cast 
       delete 
       dynamic_cast
       explicit 
       export 
       false 
       friend 
       inline 
       namespace 
       new 
       operator 
       private 
       protected 
       public 
       qobject_cast 
       reinterpret_cast 
       static_cast 
       template 
       this 
       throw 
       true 
       try 
       typeid 
       type_info 
       typename 
       using 
       virtual 

       and 
       and_eq 
       bad_cast 
       bad_typeid 
       bitand 
       bitor 
       compl 
       not 
       not_eq 
       or 
       or_eq 
       xor 
       xor_eq 
    
    
       K_DCOP 
       SLOT 
       SIGNAL 
       Q_CLASSINFO 
       Q_ENUMS 
       Q_EXPORT 
       Q_OBJECT 
       Q_OVERRIDE 
       Q_PROPERTY 
       Q_SETS 
       Q_SIGNALS 
       Q_SLOTS 
       Q_FOREACH 
       Q_DECLARE_FLAGS 
       Q_INIT_RESOURCE 
       Q_CLEANUP_RESOURCE 
       Q_GLOBAL_STATIC 
       Q_GLOBAL_STATIC_WITH_ARGS 
       Q_DECLARE_INTERFACE 
       Q_DECLARE_TYPEINFO 
       Q_DECLARE_SHARED 
       Q_DECLARE_FLAGS 
       Q_DECLARE_OPERATORS_FOR_FLAGS 
       Q_FOREVER 
       Q_DECLARE_PRIVATE 
       Q_DECLARE_PUBLIC 
       Q_D 
       Q_Q 
       Q_DISABLE_COPY 
       Q_INTERFACES 
       Q_FLAGS 
       Q_SCRIPTABLE 
       Q_INVOKABLE 
       Q_GADGET 
       Q_ARG 
       Q_RETURN_ARG 
       Q_ASSERT 
       Q_ASSERT_X 
       TRUE 
       FALSE 
       connect 
       disconnect 
       emit 
       signals 
       slots 
       foreach 
       forever 
    
    
       auto 
       char 
       const 
       double 
       float 
       int 
       long 
       register 
       short 
       signed 
       static 
       unsigned 
       void 
       volatile 
      
       bool 
       mutable 
       uchar 
       uint 
       int8_t 
       int16_t 
       int32_t 
       int64_t 
       uint8_t 
       uint16_t 
       uint32_t 
       uint64_t 
       wchar_t 
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
        

        
        
        
        

        
        
        
        
        
        
      
      
        
        
        
      
      
      
        
      
      
        
        
        
        
        
        
      
      
        
        
        
      
      
      
      
      
      
      
      
      
      
        
        
        
      
      
      
        
        
        
        
      
      
      
        
        
        
        
        
        
        
        
      
      
      
        
      
      
      
        
        
        
        
        
        
        
        
        
      
      
      
        
        
        
        
        
        
        
        
        
      

    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/ocaml.xml0000644000000000000000000003044112633103275015714 0ustar0000000000000000


          
                      
                            
 
                                     
]>


  
    
    
    
      
       declare 
       value 
       where 
    
    
       and 
       as 
       assert 
       asr 

       class 
       closed 
       constraint 


       downto 
       else 

       exception 
       external 
       false 
       for 
       fun 
       function 
       functor 
       if 
       in 

       inherit 
       initializer 
       land 
       lazy 
       let 
       lor 
       lsl 
       lsr 
       lxor 
       match 
       method 
       mod 

       mutable 
       new 

       of 

       or 
       parser 
       private 
       rec 


       then 
       to 
       true 
       try 
       type 
       val 
       virtual 
       when 
       while 
       with 
    
    
       exn 
       lazy_t 
       format 
       unit 
       int 
       real 
       char 
       string 
       ref 
       array 
       bool 
       list 
       option 
    
    
       ? 
    
    
       end 
    
    
       sig 
    
    
       struct 
    
    
       object 
    
    
       begin 
    
    
       do 
    
    
       done 
    
    
       module 
       open 
       include 
    
    

      

        

        
        

        
        

        
        
        
        

        
        
        
        
        
        
        

        
        
        

         
        
         
        
        

         
        
        
        
        
        
        

         
        
        
        
        

        
         
        
        
        
        
        
      

      
        
        
        
      

      
        
        
        
        
        
      

      
        
        
      

      
        
        
      

      
        
        
      
      
      
        
        
      
      
      
        
        
        
      
      
      
        
        
        
      
      
      
      
      
        
        
        
        
        
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  

  
    
    
      
    
  


highlighting-kate-0.6.1/xml/octave.xml0000644000000000000000000021124312633103275016103 0ustar0000000000000000






  

    
    
       all_va_args 
       break 
       case 
       continue 
       else 
       elseif 
       end_unwind_protect 
       global 
       gplot 
       gsplot 
       otherwise 
       persistent 
       replot 
       return 
       static 
       until 
       unwind_protect 
       unwind_protect_cleanup 
       varargin 
       varargout 
    

    
       argv 
       e 
       eps 
       false 
       F_DUPFD 
       F_GETFD 
       F_GETFL 
       filesep 
       F_SETFD 
       F_SETFL 
       i 
       I 
       inf 
       Inf 
       j 
       J 
       NA 
       nan 
       NaN 
       O_APPEND 
       O_ASYNC 
       O_CREAT 
       OCTAVE_HOME 
       OCTAVE_VERSION 
       O_EXCL 
       O_NONBLOCK 
       O_RDONLY 
       O_RDWR 
       O_SYNC 
       O_TRUNC 
       O_WRONLY 
       pi 
       program_invocation_name 
       program_name 
       P_tmpdir 
       realmax 
       realmin 
       SEEK_CUR 
       SEEK_END 
       SEEK_SET 
       SIG 
       stderr 
       stdin 
       stdout 
       true 
       ans 
       automatic_replot 
       beep_on_error 
       completion_append_char 
       crash_dumps_octave_core 
       current_script_file_name 
       debug_on_error 
       debug_on_interrupt 
       debug_on_warning 
       debug_symtab_lookups 
       DEFAULT_EXEC_PATH 
       DEFAULT_LOADPATH 
       default_save_format 
       echo_executing_commands 
       EDITOR 
       EXEC_PATH 
       FFTW_WISDOM_PROGRAM 
       fixed_point_format 
       gnuplot_binary 
       gnuplot_command_axes 
       gnuplot_command_end 
       gnuplot_command_plot 
       gnuplot_command_replot 
       gnuplot_command_splot 
       gnuplot_command_title 
       gnuplot_command_using 
       gnuplot_command_with 
       gnuplot_has_frames 
       history_file 
       history_size 
       ignore_function_time_stamp 
       IMAGEPATH 
       INFO_FILE 
       INFO_PROGRAM 
       __kluge_procbuf_delay__ 
       LOADPATH 
       MAKEINFO_PROGRAM 
       max_recursion_depth 
       octave_core_file_format 
       octave_core_file_limit 
       octave_core_file_name 
       output_max_field_width 
       output_precision 
       page_output_immediately 
       PAGER 
       page_screen_output 
       print_answer_id_name 
       print_empty_dimensions 
       print_rhs_assign_val 
       PS1 
       PS2 
       PS4 
       save_header_format_string 
       save_precision 
       saving_history 
       sighup_dumps_octave_core 
       sigterm_dumps_octave_core 
       silent_functions 
       split_long_rows 
       string_fill_char 
       struct_levels_to_print 
       suppress_verbose_help_message 
       variables_can_hide_functions 
       warn_assign_as_truth_value 
       warn_divide_by_zero 
       warn_empty_list_elements 
       warn_fortran_indexing 
       warn_function_name_clash 
       warn_future_time_stamp 
       warn_imag_to_real 
       warn_matlab_incompatible 
       warn_missing_semicolon 
       warn_neg_dim_as_zero 
       warn_num_to_str 
       warn_precedence_change 
       warn_reload_forces_clear 
       warn_resize_on_range_error 
       warn_separator_insert 
       warn_single_quote_string 
       warn_str_to_num 
       warn_undefined_return_values 
       warn_variable_switch_label 
       whos_line_format 
    
    
    
       casesen 
       cd 
       chdir 
       clear 
       dbclear 
       dbstatus 
       dbstop 
       dbtype 
       dbwhere 
       diary 
       echo 
       edit_history 
       __end__ 
       format 
       gset 
       gshow 
       help 
       history 
       hold 
       iskeyword 
       isvarname 
       load 
       ls 
       mark_as_command 
       mislocked 
       mlock 
       more 
       munlock 
       run_history 
       save 
       set 
       show 
       type 
       unmark_command 
       which 
       who 
       whos 
    
    
    
       abs 
       acos 
       acosh 
       all 
       angle 
       any 
       append 
       arg 
       argnames 
       asin 
       asinh 
       assignin 
       atan 
       atan2 
       atanh 
       atexit 
       bitand 
       bitmax 
       bitor 
       bitshift 
       bitxor 
       casesen 
       cat 
       cd 
       ceil 
       cell 
       cell2struct 
       cellstr 
       char 
       chdir 
       class 
       clc 
       clear 
       clearplot 
       clg 
       closeplot 
       completion_matches 
       conj 
       conv 
       convmtx 
       cos 
       cosh 
       cumprod 
       cumsum 
       dbclear 
       dbstatus 
       dbstop 
       dbtype 
       dbwhere 
       deconv 
       det 
       dftmtx 
       diag 
       diary 
       disp 
       document 
       do_string_escapes 
       double 
       dup2 
       echo 
       edit_history 
       __end__ 
       erf 
       erfc 
       ERRNO 
       error 
       __error_text__ 
       error_text 
       eval 
       evalin 
       exec 
       exist 
       exit 
       exp 
       eye 
       fclose 
       fcntl 
       fdisp 
       feof 
       ferror 
       feval 
       fflush 
       fft 
       fgetl 
       fgets 
       fieldnames 
       file_in_loadpath 
       file_in_path 
       filter 
       find 
       find_first_of_in_loadpath 
       finite 
       fix 
       floor 
       fmod 
       fnmatch 
       fopen 
       fork 
       format 
       formula 
       fprintf 
       fputs 
       fread 
       freport 
       frewind 
       fscanf 
       fseek 
       ftell 
       func2str 
       functions 
       fwrite 
       gamma 
       gammaln 
       getegid 
       getenv 
       geteuid 
       getgid 
       getpgrp 
       getpid 
       getppid 
       getuid 
       glob 
       graw 
       gset 
       gshow 
       help 
       history 
       hold 
       home 
       horzcat 
       ifft 
       imag 
       inline 
       input 
       input_event_hook 
       int16 
       int32 
       int64 
       int8 
       intmax 
       intmin 
       inv 
       inverse 
       ipermute 
       isalnum 
       isalpha 
       isascii 
       isbool 
       iscell 
       iscellstr 
       ischar 
       iscntrl 
       iscomplex 
       isdigit 
       isempty 
       isfield 
       isfinite 
       isglobal 
       isgraph 
       ishold 
       isieee 
       isinf 
       iskeyword 
       islist 
       islogical 
       islower 
       ismatrix 
       isna 
       isnan 
       is_nan_or_na 
       isnumeric 
       isprint 
       ispunct 
       isreal 
       isspace 
       isstream 
       isstreamoff 
       isstruct 
       isupper 
       isvarname 
       isxdigit 
       kbhit 
       keyboard 
       kill 
       lasterr 
       lastwarn 
       length 
       lgamma 
       link 
       linspace 
       list 
       load 
       log 
       log10 
       ls 
       lstat 
       lu 
       mark_as_command 
       mislocked 
       mkdir 
       mkfifo 
       mkstemp 
       mlock 
       more 
       munlock 
       nargin 
       nargout 
       native_float_format 
       ndims 
       nth 
       numel 
       octave_config_info 
       octave_tmp_file_name 
       ones 
       pause 
       pclose 
       permute 
       pipe 
       popen 
       printf 
       __print_symbol_info__ 
       __print_symtab_info__ 
       prod 
       purge_tmp_files 
       putenv 
       puts 
       pwd 
       quit 
       rank 
       readdir 
       readlink 
       read_readline_init_file 
       real 
       rehash 
       rename 
       reshape 
       reverse 
       rmdir 
       rmfield 
       roots 
       round 
       run_history 
       save 
       scanf 
       set 
       shell_cmd 
       show 
       sign 
       sin 
       sinh 
       size 
       sizeof 
       sleep 
       sort 
       source 
       splice 
       sprintf 
       sqrt 
       squeeze 
       sscanf 
       stat 
       str2func 
       streamoff 
       struct 
       struct2cell 
       sum 
       sumsq 
       symlink 
       system 
       tan 
       tanh 
       tilde_expand 
       tmpfile 
       tmpnam 
       toascii 
       __token_count__ 
       tolower 
       toupper 
       type 
       typeinfo 
       uint16 
       uint32 
       uint64 
       uint8 
       umask 
       undo_string_escapes 
       unlink 
       unmark_command 
       usage 
       usleep 
       va_arg 
       va_start 
       vectorize 
       vertcat 
       vr_val 
       waitpid 
       warning 
       warranty 
       which 
       who 
       whos 
       zeros 
       airy 
       balance 
       besselh 
       besseli 
       besselj 
       besselk 
       bessely 
       betainc 
       chol 
       colloc 
       daspk 
       daspk_options 
       dasrt 
       dasrt_options 
       dassl 
       dassl_options 
       det 
       eig 
       endgrent 
       endpwent 
       expm 
       fft 
       fft2 
       fftn 
       fftw_wisdom 
       filter 
       find 
       fsolve 
       fsolve_options 
       gammainc 
       gcd 
       getgrent 
       getgrgid 
       getgrnam 
       getpwent 
       getpwnam 
       getpwuid 
       getrusage 
       givens 
       gmtime 
       hess 
       ifft 
       ifft2 
       ifftn 
       inv 
       inverse 
       kron 
       localtime 
       lpsolve 
       lpsolve_options 
       lsode 
       lsode_options 
       lu 
       max 
       min 
       minmax 
       mktime 
       odessa 
       odessa_options 
       pinv 
       qr 
       quad 
       quad_options 
       qz 
       rand 
       randn 
       schur 
       setgrent 
       setpwent 
       sort 
       sqrtm 
       strftime 
       strptime 
       svd 
       syl 
       time 
       abcddim 
       __abcddims__ 
       acot 
       acoth 
       acsc 
       acsch 
       analdemo 
       anova 
       arch_fit 
       arch_rnd 
       arch_test 
       are 
       arma_rnd 
       asctime 
       asec 
       asech 
       autocor 
       autocov 
       autoreg_matrix 
       axis 
       axis2dlim 
       __axis_label__ 
       bar 
       bartlett 
       bartlett_test 
       base2dec 
       bddemo 
       beep 
       bessel 
       beta 
       beta_cdf 
       betai 
       beta_inv 
       beta_pdf 
       beta_rnd 
       bin2dec 
       bincoeff 
       binomial_cdf 
       binomial_inv 
       binomial_pdf 
       binomial_rnd 
       bitcmp 
       bitget 
       bitset 
       blackman 
       blanks 
       bode 
       bode_bounds 
       __bodquist__ 
       bottom_title 
       bug_report 
       buildssic 
       c2d 
       cart2pol 
       cart2sph 
       cauchy_cdf 
       cauchy_inv 
       cauchy_pdf 
       cauchy_rnd 
       cellidx 
       center 
       chisquare_cdf 
       chisquare_inv 
       chisquare_pdf 
       chisquare_rnd 
       chisquare_test_homogeneity 
       chisquare_test_independence 
       circshift 
       clock 
       cloglog 
       close 
       colormap 
       columns 
       com2str 
       comma 
       common_size 
       commutation_matrix 
       compan 
       complement 
       computer 
       cond 
       contour 
       controldemo 
       conv 
       cor 
       corrcoef 
       cor_test 
       cot 
       coth 
       cov 
       cputime 
       create_set 
       cross 
       csc 
       csch 
       ctime 
       ctrb 
       cut 
       d2c 
       damp 
       dare 
       date 
       dcgain 
       deal 
       deblank 
       dec2base 
       dec2bin 
       dec2hex 
       deconv 
       delete 
       DEMOcontrol 
       demoquat 
       detrend 
       dezero 
       dgkfdemo 
       dgram 
       dhinfdemo 
       diff 
       diffpara 
       dir 
       discrete_cdf 
       discrete_inv 
       discrete_pdf 
       discrete_rnd 
       dkalman 
       dlqe 
       dlqg 
       dlqr 
       dlyap 
       dmr2d 
       dmult 
       dot 
       dre 
       dump_prefs 
       duplication_matrix 
       durbinlevinson 
       empirical_cdf 
       empirical_inv 
       empirical_pdf 
       empirical_rnd 
       erfinv 
       __errcomm__ 
       errorbar 
       __errplot__ 
       etime 
       exponential_cdf 
       exponential_inv 
       exponential_pdf 
       exponential_rnd 
       f_cdf 
       fftconv 
       fftfilt 
       fftshift 
       figure 
       fileparts 
       findstr 
       f_inv 
       fir2sys 
       flipdim 
       fliplr 
       flipud 
       flops 
       f_pdf 
       fractdiff 
       frdemo 
       freqchkw 
       __freqresp__ 
       freqz 
       freqz_plot 
       f_rnd 
       f_test_regression 
       fullfile 
       fv 
       fvl 
       gamma_cdf 
       gammai 
       gamma_inv 
       gamma_pdf 
       gamma_rnd 
       geometric_cdf 
       geometric_inv 
       geometric_pdf 
       geometric_rnd 
       gls 
       gram 
       gray 
       gray2ind 
       grid 
       h2norm 
       h2syn 
       hamming 
       hankel 
       hanning 
       hex2dec 
       hilb 
       hinf_ctr 
       hinfdemo 
       hinfnorm 
       hinfsyn 
       hinfsyn_chk 
       hinfsyn_ric 
       hist 
       hotelling_test 
       hotelling_test_2 
       housh 
       hsv2rgb 
       hurst 
       hypergeometric_cdf 
       hypergeometric_inv 
       hypergeometric_pdf 
       hypergeometric_rnd 
       image 
       imagesc 
       impulse 
       imshow 
       ind2gray 
       ind2rgb 
       ind2sub 
       index 
       int2str 
       intersection 
       invhilb 
       iqr 
       irr 
       isa 
       is_abcd 
       is_bool 
       is_complex 
       is_controllable 
       isdefinite 
       is_detectable 
       is_dgkf 
       is_digital 
       is_duplicate_entry 
       is_global 
       is_leap_year 
       isletter 
       is_list 
       is_matrix 
       is_observable 
       ispc 
       is_sample 
       is_scalar 
       isscalar 
       is_signal_list 
       is_siso 
       is_square 
       issquare 
       is_stabilizable 
       is_stable 
       isstr 
       is_stream 
       is_struct 
       is_symmetric 
       issymmetric 
       isunix 
       is_vector 
       isvector 
       jet707 
       kendall 
       kolmogorov_smirnov_cdf 
       kolmogorov_smirnov_test 
       kolmogorov_smirnov_test_2 
       kruskal_wallis_test 
       krylov 
       krylovb 
       kurtosis 
       laplace_cdf 
       laplace_inv 
       laplace_pdf 
       laplace_rnd 
       lcm 
       lin2mu 
       listidx 
       list_primes 
       loadaudio 
       loadimage 
       log2 
       logical 
       logistic_cdf 
       logistic_inv 
       logistic_pdf 
       logistic_regression 
       logistic_regression_derivatives 
       logistic_regression_likelihood 
       logistic_rnd 
       logit 
       loglog 
       loglogerr 
       logm 
       lognormal_cdf 
       lognormal_inv 
       lognormal_pdf 
       lognormal_rnd 
       logspace 
       lower 
       lqe 
       lqg 
       lqr 
       lsim 
       ltifr 
       lyap 
       mahalanobis 
       manova 
       mcnemar_test 
       mean 
       meansq 
       median 
       menu 
       mesh 
       meshdom 
       meshgrid 
       minfo 
       mod 
       moddemo 
       moment 
       mplot 
       mu2lin 
       multiplot 
       nargchk 
       nextpow2 
       nichols 
       norm 
       normal_cdf 
       normal_inv 
       normal_pdf 
       normal_rnd 
       not 
       nper 
       npv 
       ntsc2rgb 
       null 
       num2str 
       nyquist 
       obsv 
       ocean 
       ols 
       oneplot 
       ord2 
       orth 
       __outlist__ 
       pack 
       packedform 
       packsys 
       parallel 
       paren 
       pascal_cdf 
       pascal_inv 
       pascal_pdf 
       pascal_rnd 
       path 
       periodogram 
       perror 
       place 
       playaudio 
       plot 
       plot_border 
       __plr__ 
       __plr1__ 
       __plr2__ 
       __plt__ 
       __plt1__ 
       __plt2__ 
       __plt2mm__ 
       __plt2mv__ 
       __plt2ss__ 
       __plt2vm__ 
       __plt2vv__ 
       __pltopt__ 
       __pltopt1__ 
       pmt 
       poisson_cdf 
       poisson_inv 
       poisson_pdf 
       poisson_rnd 
       pol2cart 
       polar 
       poly 
       polyder 
       polyderiv 
       polyfit 
       polyinteg 
       polyout 
       polyreduce 
       polyval 
       polyvalm 
       popen2 
       postpad 
       pow2 
       ppplot 
       prepad 
       probit 
       prompt 
       prop_test_2 
       pv 
       pvl 
       pzmap 
       qconj 
       qcoordinate_plot 
       qderiv 
       qderivmat 
       qinv 
       qmult 
       qqplot 
       qtrans 
       qtransv 
       qtransvmat 
       quaternion 
       qzhess 
       qzval 
       randperm 
       range 
       rank 
       ranks 
       rate 
       record 
       rectangle_lw 
       rectangle_sw 
       rem 
       repmat 
       residue 
       rgb2hsv 
       rgb2ind 
       rgb2ntsc 
       rindex 
       rldemo 
       rlocus 
       roots 
       rot90 
       rotdim 
       rotg 
       rows 
       run_cmd 
       run_count 
       run_test 
       saveaudio 
       saveimage 
       sec 
       sech 
       semicolon 
       semilogx 
       semilogxerr 
       semilogy 
       semilogyerr 
       series 
       setaudio 
       setstr 
       shg 
       shift 
       shiftdim 
       sign_test 
       sinc 
       sinetone 
       sinewave 
       skewness 
       sombrero 
       sortcom 
       spearman 
       spectral_adf 
       spectral_xdf 
       spencer 
       sph2cart 
       split 
       ss 
       ss2sys 
       ss2tf 
       ss2zp 
       stairs 
       starp 
       statistics 
       std 
       stdnormal_cdf 
       stdnormal_inv 
       stdnormal_pdf 
       stdnormal_rnd 
       step 
       __stepimp__ 
       stft 
       str2mat 
       str2num 
       strappend 
       strcat 
       strcmp 
       strerror 
       strjust 
       strrep 
       struct_contains 
       struct_elements 
       studentize 
       sub2ind 
       subplot 
       substr 
       subwindow 
       swap 
       swapcols 
       swaprows 
       sylvester_matrix 
       synthesis 
       sys2fir 
       sys2ss 
       sys2tf 
       sys2zp 
       sysadd 
       sysappend 
       syschnames 
       __syschnamesl__ 
       syschtsam 
       __sysconcat__ 
       sysconnect 
       syscont 
       __syscont_disc__ 
       __sysdefioname__ 
       __sysdefstname__ 
       sysdimensions 
       sysdisc 
       sysdup 
       sysgetsignals 
       sysgettsam 
       sysgettype 
       sysgroup 
       __sysgroupn__ 
       sysidx 
       sysmin 
       sysmult 
       sysout 
       sysprune 
       sysreorder 
       sysrepdemo 
       sysscale 
       syssetsignals 
       syssub 
       sysupdate 
       table 
       t_cdf 
       tempdir 
       tempname 
       texas_lotto 
       tf 
       tf2ss 
       tf2sys 
       __tf2sysl__ 
       tf2zp 
       __tfl__ 
       tfout 
       tic 
       t_inv 
       title 
       toc 
       toeplitz 
       top_title 
       t_pdf 
       trace 
       triangle_lw 
       triangle_sw 
       tril 
       triu 
       t_rnd 
       t_test 
       t_test_2 
       t_test_regression 
       tzero 
       tzero2 
       ugain 
       uniform_cdf 
       uniform_inv 
       uniform_pdf 
       uniform_rnd 
       union 
       unix 
       unpacksys 
       unwrap 
       upper 
       u_test 
       values 
       vander 
       var 
       var_test 
       vec 
       vech 
       version 
       vol 
       weibull_cdf 
       weibull_inv 
       weibull_pdf 
       weibull_rnd 
       welch_test 
       wgt1o 
       wiener_rnd 
       wilcoxon_test 
       xlabel 
       xor 
       ylabel 
       yulewalker 
       zgfmul 
       zgfslv 
       zginit 
       __zgpbal__ 
       zgreduce 
       zgrownorm 
       zgscal 
       zgsgiv 
       zgshsr 
       zlabel 
       zp 
       zp2ss 
       __zp2ssg2__ 
       zp2sys 
       zp2tf 
       zpout 
       z_test 
       z_test_2 
    
    
    
       airy_Ai 
       airy_Ai_deriv 
       airy_Ai_deriv_scaled 
       airy_Ai_scaled 
       airy_Bi 
       airy_Bi_deriv 
       airy_Bi_deriv_scaled 
       airy_Bi_scaled 
       airy_zero_Ai 
       airy_zero_Ai_deriv 
       airy_zero_Bi 
       airy_zero_Bi_deriv 
       atanint 
       bchdeco 
       bchenco 
       bessel_il_scaled 
       bessel_In 
       bessel_In_scaled 
       bessel_Inu 
       bessel_Inu_scaled 
       bessel_jl 
       bessel_Jn 
       bessel_Jnu 
       bessel_kl_scaled 
       bessel_Kn 
       bessel_Kn_scaled 
       bessel_Knu 
       bessel_Knu_scaled 
       bessel_lnKnu 
       bessel_yl 
       bessel_Yn 
       bessel_Ynu 
       bessel_zero_J0 
       bessel_zero_J1 
       beta_gsl 
       bfgsmin 
       bisectionstep 
       builtin 
       bwfill 
       bwlabel 
       cell2csv 
       celleval 
       Chi 
       chol 
       Ci 
       clausen 
       conicalP_0 
       conicalP_1 
       conicalP_half 
       conicalP_mhalf 
       conv2 
       cordflt2 
       coupling_3j 
       coupling_6j 
       coupling_9j 
       csv2cell 
       csvconcat 
       csvexplode 
       cyclgen 
       cyclpoly 
       dawson 
       debye_1 
       debye_2 
       debye_3 
       debye_4 
       deref 
       dispatch 
       dispatch_help 
       display_fixed_operations 
       dlmread 
       ellint_Ecomp 
       ellint_Kcomp 
       ellipj 
       erfc_gsl 
       erf_gsl 
       erf_Q 
       erf_Z 
       _errcore 
       eta 
       eta_int 
       expint_3 
       expint_E1 
       expint_E2 
       expint_Ei 
       expm1 
       exp_mult 
       exprel 
       exprel_2 
       exprel_n 
       fabs 
       fangle 
       farg 
       fatan2 
       fceil 
       fconj 
       fcos 
       fcosh 
       fcumprod 
       fcumsum 
       fdiag 
       fermi_dirac_3half 
       fermi_dirac_half 
       fermi_dirac_inc_0 
       fermi_dirac_int 
       fermi_dirac_mhalf 
       fexp 
       ffloor 
       fimag 
       finitedifference 
       fixed 
       flog 
       flog10 
       fprod 
       freal 
       freshape 
       fround 
       fsin 
       fsinh 
       fsqrt 
       fsum 
       fsumsq 
       ftan 
       ftanh 
       full 
       gamma_gsl 
       gamma_inc 
       gamma_inc_P 
       gamma_inc_Q 
       gammainv_gsl 
       gammastar 
       gdet 
       gdiag 
       gexp 
       gf 
       gfilter 
       _gfweight 
       ginv 
       ginverse 
       glog 
       glu 
       gpick 
       gprod 
       grab 
       grank 
       graycomatrix 
       __grcla__ 
       __grclf__ 
       __grcmd__ 
       greshape 
       __grexit__ 
       __grfigure__ 
       __grgetstat__ 
       __grhold__ 
       __grinit__ 
       __grishold__ 
       __grnewset__ 
       __grsetgraph__ 
       gsl_sf 
       gsqrt 
       gsum 
       gsumsq 
       gtext 
       gzoom 
       hazard 
       houghtf 
       hyperg_0F1 
       hzeta 
       is_complex_sparse 
       isfixed 
       isgalois 
       isprimitive 
       is_real_sparse 
       is_sparse 
       jpgread 
       jpgwrite 
       lambert_W0 
       lambert_Wm1 
       legendre_Pl 
       legendre_Plm 
       legendre_Ql 
       legendre_sphPlm 
       legendre_sphPlm_array 
       leval 
       listen 
       lnbeta 
       lncosh 
       lngamma_gsl 
       lnpoch 
       lnsinh 
       log_1plusx 
       log_1plusx_mx 
       log_erfc 
       lp 
       make_sparse 
       mark_for_deletion 
       medfilt1 
       newtonstep 
       nnz 
       numgradient 
       numhessian 
       pchip_deriv 
       pngread 
       pngwrite 
       poch 
       pochrel 
       pretty 
       primpoly 
       psi 
       psi_1_int 
       psi_1piy 
       psi_n 
       rand 
       rande 
       randn 
       randp 
       regexp 
       remez 
       reset_fixed_operations 
       rotate_scale 
       rsdec 
       rsenc 
       samin 
       SBBacksub 
       SBEig 
       SBFactor 
       SBProd 
       SBSolve 
       Shi 
       Si 
       sinc_gsl 
       spabs 
       sparse 
       spfind 
       spimag 
       spinv 
       splu 
       spreal 
       SymBand 
       synchrotron_1 
       synchrotron_2 
       syndtable 
       taylorcoeff 
       transport_2 
       transport_3 
       transport_4 
       transport_5 
       trisolve 
       waitbar 
       xmlread 
       zeta 
       zeta_int 
       aar 
       aarmam 
       ac2poly 
       ac2rc 
       acorf 
       acovf 
       addpath 
       ademodce 
       adim 
       adsmax 
       amodce 
       anderson_darling_cdf 
       anderson_darling_test 
       anovan 
       apkconst 
       append_save 
       applylut 
       ar2poly 
       ar2rc 
       arburg 
       arcext 
       arfit2 
       ar_spa 
       aryule 
       assert 
       au 
       aucapture 
       auload 
       auplot 
       aurecord 
       ausave 
       autumn 
       average_moments 
       awgn 
       azimuth 
       BandToFull 
       BandToSparse 
       base64encode 
       battery 
       bchpoly 
       bestblk 
       best_dir 
       best_dir_cov 
       betaln 
       bfgs 
       bfgsmin_example 
       bi2de 
       biacovf 
       bilinear 
       bisdemo 
       bispec 
       biterr 
       blkdiag 
       blkproc 
       bmpwrite 
       bone 
       bound_convex 
       boxcar 
       boxplot 
       brighten 
       bs_gradient 
       butter 
       buttord 
       bwborder 
       bweuler 
       bwlabel 
       bwmorph 
       bwselect 
       calendar 
       cceps 
       cdiff 
       cellstr 
       char 
       cheb 
       cheb1ord 
       cheb2ord 
       chebwin 
       cheby1 
       cheby2 
       chirp 
       clf 
       clip 
       cmpermute 
       cmunique 
       cohere 
       col2im 
       colfilt 
       colorgradient 
       comms 
       compand 
       complex 
       concat 
       conndef 
       content 
       contents 
       Contents 
       contourf 
       convhull 
       convmtx 
       cool 
       copper 
       corr2 
       cosets 
       count 
       covm 
       cplxpair 
       cquadnd 
       create_lookup_table 
       crule 
       crule2d 
       crule2dgen 
       csape 
       csapi 
       csd 
       csvread 
       csvwrite 
       ctranspose 
       cumtrapz 
       czt 
       d2_min 
       datenum 
       datestr 
       datevec 
       dct 
       dct2 
       dctmtx 
       de2bi 
       deal 
       decimate 
       decode 
       deg2rad 
       del2 
       delaunay 
       delaunay3 
       delta_method 
       demo 
       demodmap 
       deriv 
       detrend 
       dfdp 
       dftmtx 
       dhbar 
       dilate 
       dispatch 
       distance 
       dlmread 
       dlmwrite 
       dos 
       double 
       drawnow 
       durlev 
       dxfwrite 
       edge 
       edit 
       ellip 
       ellipdemo 
       ellipj 
       ellipke 
       ellipord 
       __ellip_ws 
       __ellip_ws_min 
       encode 
       eomday 
       erode 
       example 
       ExampleEigenValues 
       ExampleGenEigenValues 
       expdemo 
       expfit 
       eyediagram 
       factor 
       factorial 
       fail 
       fcnchk 
       feedback 
       fem_test 
       ff2n 
       fftconv2 
       fieldnames 
       fill 
       fill3 
       filter2 
       filtfilt 
       filtic 
       findsym 
       fir1 
       fir2 
       fixedpoint 
       flag 
       flag_implicit_samplerate 
       flattopwin 
       flix 
       float 
       fmin 
       fminbnd 
       fmins 
       fminunc 
       fnder 
       fnplt 
       fnval 
       fplot 
       freqs 
       freqs_plot 
       fsort 
       fullfact 
       FullToBand 
       funm 
       fzero 
       gammaln 
       gapTest 
       gaussian 
       gausswin 
       gconv 
       gconvmtx 
       gdeconv 
       gdftmtx 
       gen2par 
       geomean 
       getfield 
       getfields 
       gfft 
       gftable 
       gfweight 
       gget 
       gifft 
       ginput 
       gmm_estimate 
       gmm_example 
       gmm_obj 
       gmm_results 
       gmm_variance 
       gmm_variance_inefficient 
       gquad 
       gquad2d 
       gquad2d6 
       gquad2dgen 
       gquad6 
       gquadnd 
       grace_octave_path 
       gradient 
       grayslice 
       grep 
       grid 
       griddata 
       groots 
       grpdelay 
       grule 
       grule2d 
       grule2dgen 
       hadamard 
       hammgen 
       hankel 
       hann 
       harmmean 
       hilbert 
       histeq 
       histfit 
       histo 
       histo2 
       histo3 
       histo4 
       hot 
       hsv 
       hup 
       idct 
       idct2 
       idplot 
       idsim 
       ifftshift 
       im2bw 
       im2col 
       imadjust 
       imginfo 
       imhist 
       imnoise 
       impad 
       impz 
       imread 
       imrotate 
       imshear 
       imtranslate 
       imwrite 
       innerfun 
       inputname 
       interp 
       interp1 
       interp2 
       interpft 
       intersect 
       invest0 
       invest1 
       invfdemo 
       invfreq 
       invfreqs 
       invfreqz 
       inz 
       irsa_act 
       irsa_actcore 
       irsa_check 
       irsa_dft 
       irsa_dftfp 
       irsa_genreal 
       irsa_idft 
       irsa_isregular 
       irsa_jitsp 
       irsa_mdsp 
       irsa_normalize 
       irsa_plotdft 
       irsa_resample 
       irsa_rgenreal 
       isa 
       isbw 
       isdir 
       isequal 
       isfield 
       isgray 
       isind 
       ismember 
       isprime 
       isrgb 
       issparse 
       isunix 
       jet 
       kaiser 
       kaiserord 
       lambertw 
       lattice 
       lauchli 
       leasqr 
       leasqrdemo 
       legend 
       legendre 
       levinson 
       lin2mu 
       line_min 
       lloyds 
       lookup 
       lookup_table 
       lpc 
       lp_test 
       mad 
       magic 
       makelut 
       MakeShears 
       map 
       mat2gray 
       mat2str 
       mdsmax 
       mean2 
       medfilt2 
       meshc 
       minimize 
       minpol 
       mkpp 
       mktheta 
       mle_estimate 
       mle_example 
       mle_obj 
       mle_results 
       mle_variance 
       modmap 
       mu2lin 
       mvaar 
       mvar 
       mvfilter 
       mvfreqz 
       myfeval 
       nanmax 
       nanmean 
       nanmedian 
       nanmin 
       nanstd 
       nansum 
       ncauer 
       nchoosek 
       ncrule 
       ndims 
       nelder_mead_min 
       newmark 
       nlfilter 
       nlnewmark 
       __nlnewmark_fcn__ 
       nmsmax 
       nonzeros 
       normplot 
       now 
       nrm 
       nthroot 
       nze 
       OCTAVE_FORGE_VERSION 
       ode23 
       ode45 
       ode78 
       optimset 
       ordfilt2 
       orient 
       pacf 
       padarray 
       parameterize 
       parcor 
       pareto 
       pascal 
       patch 
       pburg 
       pcg 
       pchip 
       pcolor 
       pcr 
       peaks 
       penddot 
       pendulum 
       perms 
       pie 
       pink 
       plot3 
       __plt3__ 
       poly2ac 
       poly2ar 
       poly_2_ex 
       poly2mask 
       poly2rc 
       poly2sym 
       poly2th 
       polyarea 
       polyconf 
       polyder 
       polyderiv 
       polygcd 
       polystab 
       __power 
       ppval 
       prctile 
       prettyprint 
       prettyprint_c 
       primes 
       princomp 
       print 
       prism 
       proplan 
       pulstran 
       pwelch 
       pyulear 
       qaskdeco 
       qaskenco 
       qtdecomp 
       qtgetblk 
       qtsetblk 
       quad2dc 
       quad2dcgen 
       quad2dg 
       quad2dggen 
       quadc 
       quadg 
       quadl 
       quadndg 
       quantiz 
       quiver 
       rad2deg 
       rainbow 
       randerr 
       randint 
       randsrc 
       rat 
       rats 
       rc2ac 
       rc2ar 
       rc2poly 
       rceps 
       read_options 
       read_pdb 
       rectpuls 
       resample 
       rgb2gray 
       rk2fixed 
       rk4fixed 
       rk8fixed 
       rmfield 
       rmle 
       rmpath 
       roicolor 
       rosser 
       rotparams 
       rotv 
       rref 
       rsdecof 
       rsencof 
       rsgenpoly 
       samin_example 
       save_vrml 
       sbispec 
       scale_data 
       scatter 
       scatterplot 
       select_3D_points 
       selmo 
       setdiff 
       setfield 
       setfields 
       setxor 
       sftrans 
       sgolay 
       sgolayfilt 
       sinvest1 
       slurp_file 
       sortrows 
       sound 
       soundsc 
       spdiags 
       specgram 
       speed 
       speye 
       spfun 
       sphcat 
       spline 
       splot 
       spones 
       sprand 
       sprandn 
       spring 
       spstats 
       spsum 
       sp_test 
       sptest 
       spvcat 
       spy 
       std2 
       stem 
       str2double 
       strcmpi 
       stretchlim 
       strfind 
       strmatch 
       strncmp 
       strncmpi 
       strsort 
       strtok 
       strtoz 
       struct 
       strvcat 
       summer 
       sumskipnan 
       surf 
       surfc 
       sym2poly 
       symerr 
       symfsolve 
       tabulate 
       tar 
       temp_name 
       test 
       test_d2_min_1 
       test_d2_min_2 
       test_d2_min_3 
       test_ellipj 
       test_fminunc_1 
       testimio 
       test_inline_1 
       test_min_1 
       test_min_2 
       test_min_3 
       test_min_4 
       test_minimize_1 
       test_nelder_mead_min_1 
       test_nelder_mead_min_2 
       test_sncndn 
       test_struct 
       test_vmesh 
       test_vrml_faces 
       test_wpolyfit 
       text 
       textread 
       tf2zp 
       tfe 
       thfm 
       tics 
       toeplitz 
       toggle_grace_use 
       transpose 
       trapz 
       triang 
       tril 
       trimmean 
       tripuls 
       trisolve 
       triu 
       tsademo 
       tsearchdemo 
       ucp 
       uintlut 
       unique 
       unix 
       unmkpp 
       unscale_parameters 
       vec2mat 
       view 
       vmesh 
       voronoi 
       voronoin 
       vrml_arrow 
       vrml_Background 
       vrml_browse 
       vrml_cyl 
       vrml_demo_tutorial_1 
       vrml_demo_tutorial_2 
       vrml_demo_tutorial_3 
       vrml_demo_tutorial_4 
       vrml_ellipsoid 
       vrml_faces 
       vrml_flatten 
       vrml_frame 
       vrml_group 
       vrml_kill 
       vrml_lines 
       vrml_material 
       vrml_parallelogram 
       vrml_PointLight 
       vrml_points 
       vrml_select_points 
       vrml_surf 
       vrml_text 
       vrml_thick_surf 
       vrml_transfo 
       wavread 
       wavwrite 
       weekday 
       wgn 
       white 
       wilkinson 
       winter 
       wpolyfit 
       wpolyfitdemo 
       write_pdb 
       wsolve 
       xcorr 
       xcorr2 
       xcov 
       xlsread 
       xmlwrite 
       y2res 
       zero_count 
       zoom 
       zp2tf 
       zplane 
       zscore 
    
    
    

      

        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        

        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
              
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        

        
        
        
      


      
      
        
      


    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    

  

  
    
      
      
    
    
  



highlighting-kate-0.6.1/xml/opencl.xml0000644000000000000000000002732212633103275016105 0ustar0000000000000000


  
    
       __constant 
       __global 
       __local 
       __private 
       __kernel 
       __read_only 
       __write_only 
       constant 
       global 
       local 
       private 
       kernel 
       read_only 
       write_only 
       break 
       case 
       continue 
       default 
       do 
       else 
       enum 
       for 
       goto 
       if 
       inline 
       return 
       sizeof 
       struct 
       switch 
       typedef 
       union 
       while 
    
    
       bool 
       uchar 
       uchar2 
       uchar3 
       uchar4 
       uchar8 
       uchar16 
       char 
       char2 
       char3 
       char4 
       char8 
       char16 
       const 
       double 
       double2 
       double3 
       double4 
       double8 
       double16 
       event_t 
       float 
       float2 
       float3 
       float4 
       float8 
       float16 
       half 
       half2 
       half3 
       half4 
       half8 
       half16 
       image1d_t 
       image2d_t 
       image3d_t 
       uint 
       uint2 
       uint3 
       uint4 
       uint8 
       uint16 
	   int 
       int2 
       int3 
       int4 
       int8 
       int16 
       ulong 
       ulong2 
       ulong3 
       ulong4 
       ulong8 
       ulong16 
       long 
       long2 
       long3 
       long4 
       long8 
       long16 
       restrict 
       sampler_t 
       ushort 
       ushort2 
       ushort3 
       ushort4 
       ushort8 
       ushort16 
       short 
       short2 
       short3 
       short4 
       short8 
       short16 
       signed 
       static 
       unsigned 
       void 
       volatile 
    
    
      
        
	
        
        
        
        
        
        
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
        
        
        
      

      
        
        
        
      

      
      

      
        
        
      

      
        
        
      

      
        
        
        
        
        
        
      

      
        
        
        
        
        
        
      

      
        
      

      
        
      

      
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
        
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
       
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/pascal.xml0000644000000000000000000002010112633103275016054 0ustar0000000000000000


  
    
       and 
       array 
       asm 
       case 
       const 
       div 
       do 
       downto 
       else 
       file 
       for 
       function 
       goto 
       if 
       in 
       label 
       mod 
       nil 
       not 
       of 
       operator 
       or 
       packed 
       procedure 
       program 
       record 
       repeat 
       set 
       then 
       to 
       type 
       unit 
       until 
       uses 
       var 
       while 
       with 
       xor 


       at 
       automated 
       break 
       continue 
       dispinterface 
       dispose 
       exit 
       false 
       finalization 
       initialization 
       library 
       new 
       published 
       resourcestring 
       self 
       true 
    
    
       abstract 
       as 
       bindable 
       constructor 
       destructor 
       except 
       export 
       finally 
       import 
       implementation 
       inherited 
       inline 
       interface 
       is 
       module 
       on 
       only 
       otherwise 
       override 
       private 
       property 
       protected 
       public 
       read 
       qualified 
       raise 
       restricted 
       shl 
       shr 
       threadvar 
       try 
       virtual 
       write 
    
    
       Integer 
       Cardinal 
       ShortInt 
       SmallInt  
       LongInt 
       Int64 
       Byte 
       Word 
       LongWord 
       DWord 
       QWord 
       Char 
       AnsiChar 
       WideChar 
       Boolean 
       ByteBool 
       WordBool 
       LongBool 
       Single 
       Double 
       Extended 
       Comp 
       Currency 
       Real 
       Real48 
       String 
       ShortString 
       AnsiString 
       WideString 
       Pointer 
       Variant
       File 
       Text 
    
    
       FIXME 
       TODO 
       NOTE 
       ### 
    
    
      
        
        
	

        
        
        
        
	
	
	
        
        
        
        
        
        
      
      
	      
	      
      
      
	      
      
      
	      
      
      
        
      
      
        
      
      
        
      
      
        
        
      
      
        
        
      
      
        
      
    
    
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
      
    
  

highlighting-kate-0.6.1/xml/perl.xml0000644000000000000000000012654712633103275015600 0ustar0000000000000000



  
    
       if 
       unless 
       else 
       elsif 
       while 
       until 
       for 
       each 
       foreach 
       next 
       last 
       break 
       continue 
       return 
       my 
       our 
       local 
       state 
       BEGIN 
       END 
       package 
       sub 
       do 
       given  
       when  
       default 
       __END__ 
       __DATA__ 
       __FILE__ 
       __LINE__ 
       __PACKAGE__ 
    
    
       = 
       != 
       ~= 
       += 
       -= 
       *= 
       /= 
       **= 
       |= 
       ||= 
       //= 
       &= 
       &&= 
       ?= 
       + 
       - 
       * 
     
       % 
       || 
       // 
       && 
       | 
       & 
       < 
       << 
       > 
       >> 
       ^ 
       -> 
       => 
       . 
       , 
       ; 
       :: 
       \ 
       and 
       or 
       not 
       eq 
       ne 
       lt 
       gt 
       le 
       ge 
       cmp 
    
    
      abs
      accept
      alarm
      atan2
      bind
      binmode
      bless
      caller
      chdir
      chmod
      chomp
      chop
      chown
      chr
      chroot
      close
      closedir
      connect
      cos
      crypt
      dbmclose
      dbmopen
      defined
      delete
      die
      dump
      endgrent
      endhostent
      endnetent
      endprotoent
      endpwent
      endservent
      eof
      eval
      exec
      exists
      exit
      exp
      fcntl
      fileno
      flock
      fork
      format
      formline
      getc
      getgrent
      getgrgid
      getgrnam
      gethostbyaddr
      gethostbyname
      gethostent
      getlogin
      getnetbyaddr
      getnetbyname
      getnetent
      getpeername
      getpgrp
      getppid
      getpriority
      getprotobyname
      getprotobynumber
      getprotoent
      getpwent
      getpwnam
      getpwuid
      getservbyname
      getservbyport
      getservent
      getsockname
      getsockopt
      glob
      gmtime
      goto
      grep
      hex
      import
      index
      int
      ioctl
      join
      keys
      kill
      last
      lc
      lcfirst
      length
      link
      listen
      localtime
      lock
      log
      lstat
      map
      mkdir
      msgctl
      msgget
      msgrcv
      msgsnd
      no
      oct
      open
      opendir
      ord
      pack
      package
      pipe
      pop
      pos
      print
      printf
      prototype
      push
      quotemeta
      rand
      read
      readdir
      readline
      readlink
      recv
      redo
      ref
      rename
      require
      reset
      return
      reverse
      rewinddir
      rindex
      rmdir
      scalar
      seek
      seekdir
      select
      semctl
      semget
      semop
      send
      setgrent
      sethostent
      setnetent
      setpgrp
      setpriority
      setprotoent
      setpwent
      setservent
      setsockopt
      shift
      shmctl
      shmget
      shmread
      shmwrite
      shutdown
      sin
      sleep
      socket
      socketpair
      sort
      splice
      split
      sprintf
      sqrt
      srand
      stat
      study
      sub
      substr
      symlink
      syscall
      sysread
      sysseek
      system
      syswrite
      tell
      telldir
      tie
      time
      times
      truncate
      uc
      ucfirst
      umask
      undef
      unlink
      unpack
      unshift
      untie
      use
      utime
      values
      vec
      wait
      waitpid
      wantarray
      warn
      write
    
    
      strict
      english
      warnings
      vars
      subs
      utf8
      sigtrap
      locale
      open
      less
      integer
      filetest
      constant
      bytes
      diagnostics
    
    
      
        
        
        
        
        
        
        
        
        
        
        

        
        
        
        
        
        
        

        
        
        
        
        

        

        

        

        
        

        
        

        
        
        

        

        
        
        
        

        
        
      

      
      
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
        
        
        
      
      
        
        
        
        
        
      

      
      
        
        
        
        
      
      
        
        
      
      
        
        
        
      
      
        
        
        
      
      
        
        
        
      
      
        
        
        
      
      
        
        
        
      

      
        
        
        
        
      
      
        
        
        
        
        
      
      
        
        
        
        
        
      
      
        
        
        
        
        
      
      
        
        
        
        
        
        
      
      
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
        
        
      
      
        
        
      
      
        
        
        
      
      
        
        
        
      

      
        
        
        
      
      
        
        
        
      

      
        
        
        
      
      
        
        
        
      

      
        
        
        
      
      
        
        

      

      
        
        
        
      
      
        
      

      
        
        
        
        
      

      
      
        
        
        
        
        
        
      
      
        
        
        
      
      
        
        
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      
      
        
        
      

      
      
        
        
        
        
        
      
      
        
        
        
        
        
        
      
      
        
        
      
      
        
        
        
        
      
      
        
        
        
      
      
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
      
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
      
      
        
      
      
        
        
        
        
        
        
        
      


      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
        
      

      
      
        
        
        
        
      
      
        
        
        
        
      
      
        
        
        
      

      
      
        
        
      
      
        
        
      

      
        
        
      

      
        
        
        
      

      
        
      

      
        
        
        
        
      

      
        
        
        
      

      
        
        
        
        
      

      
        
        
        
      

    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  


highlighting-kate-0.6.1/xml/perl.xml.patch0000644000000000000000000000105312633103275016656 0ustar0000000000000000diff --git a/perl.xml b/perl.xml
index fc2fd41..21e24e1 100644
--- a/perl.xml
+++ b/perl.xml
@@ -660,3 +660,4 @@
         
-        
+        
+        
         
highlighting-kate-0.6.1/xml/php.xml0000644000000000000000000063727712633103275015434 0ustar0000000000000000


]>


highlighting-kate-0.6.1/xml/php.xml.patch0000644000000000000000000000107212633103275016504 0ustar0000000000000000--- a/xml/php.xml
+++ b/xml/php.xml
@@ -5412,6 +5412,7 @@
     
 
     
+      
+      
-      
         
         
highlighting-kate-0.6.1/xml/pike.xml0000644000000000000000000001407012633103275015551 0ustar0000000000000000



  
    
       break 
       case 
       class 
       continue 
       default 
       do 
       else 
       for 
       foreach 
       if 
       return 
       switch 
       while 
    
    
       array 
       float 
       function 
       int 
       mapping 
       mixed 
       multiset> 
       object 
       program 
       static 
       string 
       void 
    
    
       catch 
       gauge 
       sscanf 
       typeof 
    
    
      
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
      
      
	
	
	
	
      
      
	
      
      
	
	
      
      
	
	
	
	
	
      
      
	
	
	
	
               
      
	
	
	
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
      
    
    
  

highlighting-kate-0.6.1/xml/postscript.xml0000644000000000000000000003013412633103275017032 0ustar0000000000000000



	
		 abs 
		 add 
		 aload 
		 anchorsearch 
		 and 
		 arc 
		 arcn 
		 arct 
		 arcto 
		 array 
		 ashow 
		 astore 
		 awidthshow 
		 begin 
		 bind 
		 bitshift 
		 ceiling 
		 charpath 
		 clear 
		 cleartomark 
		 clip 
		 clippath 
		 closepath 
		 concat 
		 concatmatrix 
		 copy 
		 count 
		 counttomark 
		 currentcmykcolor 
		 currentdash 
		 currentdict 
		 currentfile 
		 currentfont 
		 currentgray 
		 currentgstate 
		 currenthsbcolor 
		 currentlinecap 
		 currentlinejoin 
		 currentlinewidth 
		 currentmatrix 
		 currentpoint 
		 currentrgbcolor 
		 currentshared 
		 curveto 
		 cvi 
		 cvlit 
		 cvn 
		 cvr 
		 cvrs 
		 cvs 
		 cvx 
		 def 
		 defineusername 
		 dict 
		 div 
		 dtransform 
		 dup 
		 end 
		 eoclip 
		 eofill 
		 eoviewclip 
		 eq 
		 exch 
		 exec 
		 exit 
		 file 
		 fill 
		 findfont 
		 flattenpath 
		 floor 
		 flush 
		 flushfile 
		 for 
		 forall 
		 ge 
		 get 
		 getinterval 
		 grestore 
		 gsave 
		 gstate 
		 gt 
		 identmatrix 
		 idiv 
		 idtransform 
		 if 
		 ifelse 
		 image 
		 imagemask 
		 index 
		 ineofill 
		 infill 
		 initviewclip 
		 inueofill 
		 inufill 
		 invertmatrix 
		 itransform 
		 known 
		 le 
		 length 
		 lineto 
		 load 
		 loop 
		 lt 
		 makefont 
		 matrix 
		 maxlength 
		 mod 
		 moveto 
		 mul 
		 ne 
		 neg 
		 newpath 
		 not 
		 null 
		 or 
		 pathbbox 
		 pathforall 
		 pop 
		 print 
		 printobject 
		 put 
		 putinterval 
		 rcurveto 
		 read 
		 readhexstring 
		 readline 
		 readstring 
		 rectclip 
		 rectfill 
		 rectstroke 
		 rectviewclip 
		 repeat 
		 restore 
		 rlineto 
		 rmoveto 
		 roll 
		 rotate 
		 round 
		 save 
		 scale 
		 scalefont 
		 search 
		 selectfont 
		 setbbox 
		 setcachedevice 
		 setcachedevice2 
		 setcharwidth 
		 setcmykcolor 
		 setdash 
		 setfont 
		 setgray 
		 setgstate 
		 sethsbcolor 
		 setlinecap 
		 setlinejoin 
		 setlinewidth 
		 setmatrix 
		 setrgbcolor 
		 setshared 
		 shareddict 
		 show 
		 showpage 
		 stop 
		 stopped 
		 store 
		 string 
		 stringwidth 
		 stroke 
		 strokepath 
		 sub 
		 systemdict 
		 token 
		 transform 
		 translate 
		 truncate 
		 type 
		 uappend 
		 ucache 
		 ueofill 
		 ufill 
		 undef 
		 upath 
		 userdict 
		 ustroke 
		 viewclip 
		 viewclippath 
		 where 
		 widthshow 
		 write 
		 writehexstring 
		 writeobject 
		 writestring 
		 wtranslation 
		 xor 
		 xshow 
		 xyshow 
		 yshow 
		 FontDirectory 
		 SharedFontDirectory 
		 Courier 
		 Courier-Bold 
		 Courier-BoldOblique 
		 Courier-Oblique 
		 Helvetica 
		 Helvetica-Bold 
		 Helvetica-BoldOblique 
		 Helvetica-Oblique 
		 Symbol 
		 Times-Bold 
		 Times-BoldItalic 
		 Times-Italic 
		 Times-Roman 
		 execuserobject 
		 currentcolor 
		 currentcolorspace 
		 currentglobal 
		 execform 
		 filter 
		 findresource 
		 globaldict 
		 makepattern 
		 setcolor 
		 setcolorspace 
		 setglobal 
		 setpagedevice 
		 setpattern 
		 ISOLatin1Encoding 
		 StandardEncoding 
		 atan 
		 banddevice 
		 bytesavailable 
		 cachestatus 
		 closefile 
		 colorimage 
		 condition 
		 copypage 
		 cos 
		 countdictstack 
		 countexecstack 
		 cshow 
		 currentblackgeneration 
		 currentcacheparams 
		 currentcolorscreen 
		 currentcolortransfer 
		 currentcontext 
		 currentflat 
		 currenthalftone 
		 currenthalftonephase 
		 currentmiterlimit 
		 currentobjectformat 
		 currentpacking 
		 currentscreen 
		 currentstrokeadjust 
		 currenttransfer 
		 currentundercolorremoval 
		 defaultmatrix 
		 definefont 
		 deletefile 
		 detach 
		 deviceinfo 
		 dictstack 
		 echo 
		 erasepage 
		 errordict 
		 execstack 
		 executeonly 
		 exp 
		 false 
		 filenameforall 
		 fileposition 
		 fork 
		 framedevice 
		 grestoreall 
		 handleerror 
		 initclip 
		 initgraphics 
		 initmatrix 
		 instroke 
		 inustroke 
		 join 
		 kshow 
		 ln 
		 lock 
		 log 
		 mark 
		 monitor 
		 noaccess 
		 notify 
		 nulldevice 
		 packedarray 
		 quit 
		 rand 
		 rcheck 
		 readonly 
		 realtime 
		 renamefile 
		 renderbands 
		 resetfile 
		 reversepath 
		 rootfont 
		 rrand 
		 run 
		 scheck 
		 setblackgeneration 
		 setcachelimit 
		 setcacheparams 
		 setcolorscreen 
		 setcolortransfer 
		 setfileposition 
		 setflat 
		 sethalftone 
		 sethalftonephase 
		 setmiterlimit 
		 setobjectformat 
		 setpacking 
		 setscreen 
		 setstrokeadjust 
		 settransfer 
		 setucacheparams 
		 setundercolorremoval 
		 sin 
		 sqrt 
		 srand 
		 stack 
		 status 
		 statusdict 
		 true 
		 ucachestatus 
		 undefinefont 
		 usertime 
		 ustrokepath 
		 version 
		 vmreclaim 
		 vmstatus 
		 wait 
		 wcheck 
		 xcheck 
		 yield 
		 defineuserobject 
		 undefineuserobject 
		 UserObjects 
		 cleardictstack 
		 setvmthreshold 
		 currentcolorrendering 
		 currentdevparams 
		 currentoverprint 
		 currentpagedevice 
		 currentsystemparams 
		 currentuserparams 
		 defineresource 
		 findencoding 
		 gcheck 
		 glyphshow 
		 languagelevel 
		 product 
		 pstack 
		 resourceforall 
		 resourcestatus 
		 revision 
		 serialnumber 
		 setcolorrendering 
		 setdevparams 
		 setoverprint 
		 setsystemparams 
		 setuserparams 
		 startjob 
		 undefineresource 
		 GlobalFontDirectory 
		 ASCII85Decode 
		 ASCII85Encode 
		 ASCIIHexDecode 
		 ASCIIHexEncode 
		 CCITTFaxDecode 
		 CCITTFaxEncode 
		 DCTDecode 
		 DCTEncode 
		 LZWDecode 
		 LZWEncode 
		 NullEncode 
		 RunLengthDecode 
		 RunLengthEncode 
		 SubFileDecode 
		 CIEBasedA 
		 CIEBasedABC 
		 DeviceCMYK 
		 DeviceGray 
		 DeviceRGB 
		 Indexed 
		 Pattern 
		 Separation 
		 CIEBasedDEF 
		 CIEBasedDEFG 
		 DeviceN 
	

	
		
			
			
			
			
			
		        
			
		
		
		
		
			
		
	
	
		
		
		
		
		
		
		
		
	


	
		
	
	


highlighting-kate-0.6.1/xml/prolog.xml0000644000000000000000000016503212633103275016130 0ustar0000000000000000




    ?@^~\\]">


    
    


    
    |\\\+|:-|=|\\=)(?!&gr_char_iso;)">

    
    (?!&gr_char_iso;)">

    
    =|>)(?!&gr_char_iso;)">
    
    
    
    >)(?!&gr_char_iso;)">

    
    =|@>|=\.\.|@|:)(?!&gr_char_iso;)">

    
    
    
    


    
    


    
    
    
    
    
    
    
    ?@^~\">

    
    

    

    
    
    
    
    
    
]>





    
	
	
	     error 
	
	
	     instantiation_error 
	     uninstantiation_error 
	     type_error 
	     domain_error 
	     existence_error 
	     permission_error 
	     representation_error 
	     evaluation_error 
	     resource_error 
	     syntax_error 
	     system_error 
	

	
	
	     char_conversion 
	     current_char_conversion 
	     include 
	     ensure_loaded 
	    
	     atan 
	    
	     xor 
	
	
	    
	     consult 
	     built_in 







        

        
        
	     initialization 

	     fail 
	     repeat 
	     call 
             catch 
	     throw 
	     true 
	     false 
	     once 
	

	
        
	     dynamic 
	     asserta 
             assertz 
             retractall 
	     retract 
	     abolish 
	     clause 


	
	
	    
	     listing 

	
	
	    
	     atom_concat 
	     atom_length 
	     atom_chars 
	     atom_codes 
	     arg 
	     subsumes_term 
	     acyclic_term 
	     char_code 
	     compare 
	     copy_term 
	     functor 
	     number_chars 
	     number_codes 

	     term_variables 
	     unify_with_occurs_check 
	
	
	    
	     number_atom 
	     expand_term 
	     term_expansion 

	    
	     display 
	     print 
	     format 
	     portray_clause 
	     portray 
	     term_expansion 
	
	
	     phrase 
	
	
	     sort 
	     keysort 
	
	
	     append 
	     delete 
	     length 
	     last 
	     map_list 
	     min_list 
	     maplist 
	     msort 
	     memberchk 
	     member 
	     nth 
	     permutation 
	     reverse 
	     select 
	     prefix 
	     suffix 
	     sublist 
	     sum_list 
	
	
	     open 

	     set_stream_position 
	     get_char 
	     get_code 
	     peek_char 
	     peek_code 
	     get_byte 
	     peek_byte 

	     put_char 
	     put_code 
	     put_byte 
	     nl 

	     read_term 
	     read 
	     write_canonical 
	     writeq 
	     write 
	
	
	     append 
	     seeing 
	     seen 
	     see 
	     telling 
	     tell 
	     told 
	     get0 
	     get 
	     skip 
	     put 
	     tab 
	
	
	     is 
	
	
	     rem 
	     mod 
	     div 
	
        


	     abs 
	     sign 
	     min 
	     max 
        
        


	     ceiling 
	     floor 
	     round 
             truncate 

        
        
	     pi 


	     sqrt 
	     tan 
	     cos 
	     sin 
	     atan2 
	     acos 
	     asin 
	     exp 
             log 
	     float 
	     float_fractional_part 
             float_integer_part 
        

	
	
	     multifile 
	     discontigous 
	     op 
	     set_prolog_flag 
	
	
	     var 
	     nonvar 
	     atom 
	     integer 
	     float 
	     number 
	     atomic 
	     compound 
	     callable 
	     ground 
	
	
	
	     list 
	     is_list 
	
	    
	
	
	     current_op 
	     current_prolog_flag 
	     current_input 
	     current_output 

	    
	     set_input 
	     set_output 

	    
	     close 

	     flush_output 

	    
	     at_end_of_stream 

	     stream_property 
	

	
	
	
	    
	    
		
		
		
		
	    

	    
	    
		
		
		
	    

	    

	    
		
		
		

		
	    

	    
	    
	    
		
		
		
		
		
		
		
		
		

		
		
		
	    
	    
		
		
		
		
		
		
		
		
		
		
		
	    
	    
		
		
		
		
		
		
		
		
		
		
	    
	    
		
		
		
		
		
		
		
		
		
		
	    

	    
	    
		
		
		
		
		
		
		
		
		
		
		
		
	    
	    
		
		
		
		
		
		
		
		
		
	    

	    
	    
		
	    

	    
	    

		
		
		
		
		
		
		
		
	    
	    

		
		
		
		
		
	    
	    

		
		
		
		
		
	    
	    
		
		
	    
	    
		
		
	    
	    
		
		
	    

	    
	    
		
		
		
		
	    
	    
		
		
		
		
	    
	    
		
		
		
		
	    

	    
	    
		
		
		
		
		
		
	    
	    
	    
		
	    

	    
	    
		
		
		
	    
	    
	    
		
		
	    
	    
	    
		
		
	    

	    
	    
		
	    
	    
		
	    
	    
		
	    

	    
	    
		
	    
	    
		
	    
	    
		
	    

	    
	    
	    
		
		
		
		
	    

	    
	    
	    
		
		
		
	    
	    
		
	    
	    
		
		
		
		
	    



	    
	    
		
		
	    
	    
		
		
		
		
	    

	    
	    
		
		
		
		
		
		
	    

	    
	    
	    
		
		
		
		
		
		
		
		
		
		



		
		
		
		

		
 		

		
		
		
		

		
 		
		
		
		
	     

	    
	    
		
		
		
		
		
		
		
		
		
		
		
		
		
		
 		
		
		
		
	    

	    
	    
		
		
		
		


		
		
		

		
		
		
		
	    

	    
	    
		
		
		
		
		
		
		
		
		
		
	    


	

	
	
	    
	    
	    
	    
	    
	    
	    

	    
	    
	    
	    
	    

	    
	    
	    
	    
	    
	    
	    

	    
	    
	    

	    
	    
	    

	    
	    
	    
	    
	    

	    
	    
	    
	    
	    
	    
	
    
    
	
	
	



	
	    
	    
	
    


highlighting-kate-0.6.1/xml/pure.xml0000644000000000000000000001277012633103275015601 0ustar0000000000000000



  
    
       case 
       when 
       with 
    
    
       end 
    
    
       const 
       def 
       else 
       extern 
       if 
       infix 
       infixl 
       infixr 
       interface 
       let 
       namespace 
       nonfix 
       of 
       otherwise 
       outfix 
       postfix 
       prefix 
       private 
       public 
       then 
       type 
       using 
    
    
       catch 
       throw 
       __break__ 
       __trace__ 
    
    
       bigint 
       bool 
       char 
       float  
       double  
       expr 
       short 
       int 
       long 
       string 
       pointer 
       void 
       int8 
       int16 
       int32 
       int64 
       matrix 
       dmatrix 
       cmatrix 
       imatrix 
       smatrix 
       nmatrix 
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
        
      
      
      
      
        
      
      
    
    
      
      
      
      
      
      
      
      
    
  
  
    
    
      
      
    
  

highlighting-kate-0.6.1/xml/python.xml0000644000000000000000000006061212633103275016145 0ustar0000000000000000













	
		
			 import 
			 from 
			 as 
		
		
			 class 
			 def 
			 del 
			 global 
			 lambda 
			 nonlocal 
		
		
			 and 
			 in 
			 is 
			 not 
			 or 
		
		
			 assert 
			 break 
			 continue 
			 elif 
			 else 
			 except 
			 finally 
			 for 
			 if 
			 pass 
			 raise 
			 return 
			 try 
			 while 
			 with 
			 yield 
		
		
			 __import__ 
			 abs 
			 all 
			 any 
			 apply 
			 ascii 
			 basestring 
			 bin 
			 bool 
			 buffer 
			 bytearray 
			 bytes 
			 callable 
			 chr 
			 classmethod 
			 cmp 
			 coerce 
			 compile 
			 complex 
			 delattr 
			 dict 
			 dir 
			 divmod 
			 enumerate 
			 eval 
			 exec 
			 execfile 
			 file 
			 filter 
			 float 
			 format 
			 frozenset 
			 getattr 
			 globals 
			 hasattr 
			 hash 
			 help 
			 hex 
			 id 
			 input 
			 int 
			 intern 
			 isinstance 
			 issubclass 
			 iter 
			 len 
			 list 
			 locals 
			 long 
			 map 
			 max 
			 memoryview 
			 min 
			 next 
			 object 
			 oct 
			 open 
			 ord 
			 pow 
			 print 
			 property 
			 range 
			 raw_input 
			 reduce 
			 reload 
			 repr 
			 reversed 
			 round 
			 set 
			 setattr 
			 slice 
			 sorted 
			 staticmethod 
			 str 
			 sum 
			 super 
			 tuple 
			 type 
			 unichr 
			 unicode 
			 vars 
			 xrange 
			 zip 
		
		
			 None 
			 self 
			 True 
			 False 
			 NotImplemented 
			 Ellipsis 
			 __debug__ 
			 __file__ 
			 __name__ 
		
		
			 SIGNAL 
			 SLOT 
			 connect 
		
		
			__new__
			__init__
			__del__
			__repr__
			__str__
			__lt__
			__le__
			__eq__
			__ne__
			__gt__
			__ge__
			__cmp__
			__rcmp__
			__hash__
			__nonzero__
			__unicode__
			__getattr__
			__setattr__
			__delattr__
			__getattribute__
			__get__
			__set__
			__delete__
			__call__
			__len__
			__getitem__
			__setitem__
			__delitem__
			__iter__
			__reversed__
			__contains__
			__getslice__
			__setslice__
			__delslice__
			__add__
			__sub__
			__mul__
			__floordiv__
			__mod__
			__divmod__
			__pow__
			__lshift__
			__rshift__
			__and__
			__xor__
			__or__
			__div__
			__truediv__
			__radd__
			__rsub__
			__rmul__
			__rdiv__
			__rtruediv__
			__rfloordiv__
			__rmod__
			__rdivmod__
			__rpow__
			__rlshift__
			__rrshift__
			__rand__
			__rxor__
			__ror__
			__iadd__
			__isub__
			__imul__
			__idiv__
			__itruediv__
			__ifloordiv__
			__imod__
			__ipow__
			__ilshift__
			__irshift__
			__iand__
			__ixor__
			__ior__
			__neg__
			__pos__
			__abs__
			__invert__
			__complex__
			__int__
			__long__
			__float__
			__oct__
			__hex__
			__index__
			__coerce__
			__enter__
			__exit__
			__bytes__
			__format__
			__next__
			__dir__
		
		
			
			ArithmeticError
			AssertionError
			AttributeError
			BaseException
			BlockingIOError
			BrokenPipeError
			BufferError
			BytesWarning
			ChildProcessError
			ConnectionAbortedError
			ConnectionError
			ConnectionRefusedError
			ConnectionResetError
			DeprecationWarning
			EnvironmentError
			EOFError
			Exception
			FileExistsError
			FileNotFoundError
			FloatingPointError
			FutureWarning
			GeneratorExit
			ImportError
			ImportWarning
			IndentationError
			IndexError
			InterruptedError
			IOError
			IsADirectoryError
			KeyboardInterrupt
			KeyError
			LookupError
			MemoryError
			NameError
			NotADirectoryError
			NotImplementedError
			OSError
			OverflowError
			PendingDeprecationWarning
			PermissionError
			ProcessLookupError
			ReferenceError
			ResourceWarning
			RuntimeError
			RuntimeWarning
			StandardError
			StopIteration
			SyntaxError
			SyntaxWarning
			SystemError
			SystemExit
			TabError
			TimeoutError
			TypeError
			UnboundLocalError
			UnicodeDecodeError
			UnicodeEncodeError
			UnicodeError
			UnicodeTranslateError
			UnicodeWarning
			UserWarning
			ValueError
			Warning
			WindowsError
			ZeroDivisionError
		
		
			
				
				
				
				
				
				
				
				
				
				

				
				
				
				
				
					
				

				
				
				

				

				

				

				
				
			

			
				
				
			
			
			
				
				
				
			

			
				
				
				
				
				
				
				
				
				
				
				
				
				

				
				
				
				
				
				
				
				
				
				
				
				
			

			
				
				
				
				
				
				
				
				
				
				
				
				
				

				
				
				
				
				
				
				
				
				
				
				
				
			

			
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
			

			

			
				
				
			

			
				
				
			

			
				
				
				
			

			
				
				
				
			

			
				
				
				
			

			

			
			
				
				
				
				
				
				
			

			
				
				
				
			

			
				
				
				
			

			
				
				
				
			

			
				
				
				
			


			
				
				
				
			

			
				
				
				
			

			
				
				
				
			

			
				
				
				
			
		

		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
		
	
	
		
		
			
		
		
			
		
		
		
	



highlighting-kate-0.6.1/xml/r.xml0000644000000000000000000001550012633103275015061 0ustar0000000000000000





	
		 for 
		 in 
		 next 
		 break 
		 while 
		 repeat 
		 if 
		 else 
		 switch 
		 function 
	
	
		 TRUE 
		 FALSE 
		 NULL 
		 NA 
		 NA_integer_ 
		 NA_real_ 
		 NA_complex_ 
		 NA_character_ 
		 Inf 
		 NaN 
	

	
		
		
			

			
			
		
		
		
			

			
			
		

		
			
			

			

			
			
		

		
			
			
		
		
		
			
			
		
		
		
			
			
		

		
			
			
			
			
			
			
		

		
		

		
		
			
			
			
			
			
			
			
			
			
			
			
			

			
			
			
			
			
			
			
			

			
			
			
		
	

	
	
		
		
		
		
		
		 
		
		 
		 
		
		
		 
		
		
		
	



	
		
	
	


highlighting-kate-0.6.1/xml/relaxng.xml0000644000000000000000000001064012633103275016260 0ustar0000000000000000

	
]>




  
    
       anyName 
       attribute 
       choice 
       data 
       define 
       div 
       element 
       empty 
       except 
       externalRef 
       grammar 
       group 
       include 
       interleave 
       list 
       mixed 
       name 
       notAllowed 
       nsName 
       oneOrMore 
       optional 
       param 
       parentRef 
       ref 
       start 
       text 
       value 
       zeroOrMore 
    

    
      
         
         
         
      

      
         
      

      
         
         
         
      
      
      
         
         
         
      
      
      
         
         
         
      
      
      
         
         
      
      
      
        
        
        
        
        
            
    
    
    
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/relaxngcompact.xml0000644000000000000000000001015012633103275017623 0ustar0000000000000000


  
    
       default 
       datatypes 
       div 
       empty 
       external 
       grammar 
       include 
       inherit 
       list 
       mixed 
       namespace 
       notAllowed 
       parent 
       start 
       token       
    
    
       attribute 
       element     
        
    
       string 
       text     
       xsd:anyURI 
       xsd:base64Binary 
       xsd:boolean 
       xsd:byte 
       xsd:date 
       xsd:dateTime 
       xsd:decimal 
       xsd:double 
       xsd:duration 
       xsd:ENTITIES 
       xsd:ENTITY 
       xsd:float 
       xsd:gDay 
       xsd:gMonth 
       xsd:gMonthDay 
       xsd:gYear 
       xsd:gYearMonth 
       xsd:hexBinary 
       xsd:ID 
       xsd:IDREF 
       xsd:IDREFS 
       xsd:int 
       xsd:integer 
       xsd:language 
       xsd:long 
       xsd:Name 
       xsd:NCName 
       xsd:negativeInteger 
       xsd:NMTOKEN 
       xsd:NMTOKENS 
       xsd:nonNegativeInteger 
       xsd:nonPositiveInteger 
       xsd:normalizedString 
       xsd:NOTATION 
       xsd:positiveInteger 
       xsd:QName 
       xsd:short 
       xsd:string  
       xsd:time 
       xsd:token 
       xsd:unsignedByte 
       xsd:unsignedInt 
       xsd:unsignedLong 
       xsd:unsignedShort 
    
    
      
        
	
	
	
	
	
      
      
      
      
        
      
      
        
      
      
        
      
    
    
      
      
      
      
      
      
      
    
  
  
    
  
highlighting-kate-0.6.1/xml/rest.xml0000644000000000000000000001474412633103275015606 0ustar0000000000000000

        
        
]>



  

    
      
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
        
        
        
      

      
        
        
        
        
        
      
      
        
      
      
        
      
      
        
      
      
        
        
        
      

      
        
      

      
        
        
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    

  

  
    
    
      
    
  


highlighting-kate-0.6.1/xml/rest.xml.patch0000644000000000000000000000075012633103275016674 0ustar0000000000000000diff --git a/xml/rest.xml b/xml/rest.xml
index 1c86f00..a61b16b 100644
--- a/xml/rest.xml
+++ b/xml/rest.xml
@@ -3,7 +3,7 @@
 [
         
         
+        
 ]>
 
	

	


	
	
	
		
			 BEGIN 
			 END 
			 and 
			 begin 
			 break 
			 case 
			 defined? 
			 do 
			 else 
			 elsif 
			 end 
			 ensure 
			 for 
			 if 
			 in 
			 include 
			 next 
			 not 
			 or 
			 redo 
			 rescue 
			 retry 
			 return 
			 then 
			 unless 
			 until 
			 when 
			 while 
			 yield 
		
		
		
			 private_class_method 
			 private 
			 protected 
			 public_class_method 
			 public 
		

		
			 attr_reader 
			 attr_writer 
			 attr_accessor 
		
		
		
			 alias 
			 module 
			 class 
			 def 
			 undef 
		
		
		
			 self 
			 super 
			 nil 
			 false 
			 true 
			 caller 
			 __FILE__ 
			 __LINE__ 
		
		
		
			 $stdout 
			 $defout 
			 $stderr 
			 $deferr 
			 $stdin 
		
		
		
		
			
			 abort 
			 at_exit 
			 autoload 
			 autoload? 
			 binding 
			 block_given? 
			 callcc 
			 caller 
			 catch 
			 chomp 
			 chomp! 
			 chop 
			 chop! 
			 eval 
			 exec 
			 exit 
			 exit! 
			 fail 
			 fork 
			 format 
			 getc 
			 gets 
			 global_variables 
			 gsub 
			 gsub! 
			 iterator? 
			 lambda 
			 load 
			 local_variables 
			 loop 
			 method_missing 
			 open 
			 p 
			 print 
			 printf 
			 proc 
			 putc 
			 puts 
			 raise 
			 rand 
			 readline 
			 readlines 
			 require 
			 scan 
			 select 
			 set_trace_func 
			 sleep 
			 split 
			 sprintf 
			 srand 
			 sub 
			 sub! 
			 syscall 
			 system 
			 test 
			 throw 
			 trace_var 
			 trap 
			 untrace_var 
			 warn 
			
			
			auto_complete_field
			auto_complete_result
			auto_discovery_link_tag
			auto_link
			benchmark
			button_to
			cache
			capture
			check_box
			check_box_tag
			collection_select
			concat
			content_for
			content_tag
			country_options_for_select
			country_select
			current_page?
			date_select
			datetime_select
			debug
			define_javascript_functions
			distance_of_time_in_words
			distance_of_time_in_words_to_now
			draggable_element
			drop_receiving_element
			end_form_tag
			error_message_on
			error_messages_for
			escape_javascript
			evaluate_remote_response
			excerpt
			file_field
			file_field_tag
			finish_upload_status
			form
			form_remote_tag
			form_tag
			form_tag_with_upload_progress
			h
			hidden_field
			hidden_field_tag
			highlight
			human_size
			image_path
			image_submit_tag
			image_tag
			input
			javascript_include_tag
			javascript_path
			javascript_tag
			link_image_to
			link_to
			link_to_function
			link_to_if
			link_to_image
			link_to_remote
			link_to_unless
			link_to_unless_current
			mail_to
			markdown
			number_to_currency
			number_to_human_size
			number_to_percentage
			number_to_phone
			number_with_delimiter
			number_with_precision
			observe_field
			observe_form
			option_groups_from_collection_for_select
			options_for_select
			options_from_collection_for_select
			pagination_links
			password_field
			password_field_tag
			periodically_call_remote
			pluralize
			radio_button
			radio_button_tag
			register_template_handler
			render
			render_file
			render_template
			sanitize
			select
			select_date
			select_datetime
			select_day
			select_hour
			select_minute
			select_month
			select_second
			select_tag
			select_time
			select_year
			simple_format
			sortable_element
			start_form_tag
			strip_links
			stylesheet_link_tag
			stylesheet_path
			submit_tag
			submit_to_remote
			tag
			text_area
			text_area_tag
			text_field
			text_field_tag
			text_field_with_auto_complete
			textilize
			textilize_without_paragraph
			time_ago_in_words
			time_zone_options_for_select
			time_zone_select
			truncate
			update_element_function
			upload_progress_status
			upload_progress_text
			upload_progress_update_bar_js
			upload_status_progress_bar_tag
			upload_status_tag
			upload_status_text_tag
			url_for
			visual_effect
			word_wrap
		
		
		
			 TODO 
			 FIXME 
			 NOTE 
		
		
		
			
		
			
				
			
			
			
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
			
			
				
				
			
			
			
				
				
				
			
			
			
				
				
				
			
			
			
				
			
			
			
			
				
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
			
			
			
				
				
			
			
			
				
				
				
				
				
			
			
			
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
				
				
			
			
			
				
				
				
				
				
			
			
			
				
				
			
			
			
				
				
				
				
				
			
			
			
				
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
  				
		
		
		
		
			
			
				
			
			
			
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
			
			
				
				
				
			
			
			
				
				
				
				
				
				
			
			
			
				
				
				
				
			
			
			
				
				
				
				
				
				
			
			
			
				
			
			
			
				
				
				
				
				
			
			
			
			
				
				
				
			
			
			
				
				
				
			
			
			
			
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
			
			
				
				
				
			
			
			
				
			
			
			
			
			
			
			
				
				
			
			
				
				
			
			
			
				
				
				
			
			
				
				
			
			
			
				
				
				
			
			
				
				
			
			
			
			
				
				
			
			
			
			
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
			
				
				
				
			
			
			
				
				
				
			
			
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
			
				
				
				
			
			
			
			
				
			
			
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
			
				
				
				
			
			
			
			
				
			
			
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
			
				
				
				
			
			
			
			
				
				
				
			
			
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
			
				
				
				
			
			
			
			
				
				
				
			
			
			
			
			
			
					
		
		
		
		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			 
			
			
			
			
			
			
			
			
			
			
			
			 
			
			
			
			
			
			
			
			
			
			
			
			

			
			
			
		
			
		
			
			
			
			
			
			
			
			
			
			
			
		
		
		
	
	
		
			
		
		 
	

highlighting-kate-0.6.1/xml/roff.xml0000644000000000000000000002251612633103275015561 0ustar0000000000000000

  
  
  
  
]>


  

    
      br
      sp
    

    
    

    
    

    

      
      
        
        
        
      

      
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
        
        
        
        
        
        
        
         
         
        
        
        
        
        
      

      
      
        
        
        
        
        
        
        
        
      

      
      
        
      

      
      

      
      
        
        
        
        
      

      
      
        
        
        
      

      
      
      
        
        
      

      
      
        
        
      

      
      
        
      

      
      
        
        
      

      
      
      
        
        
      

      
      
      
        
        
        
        
      

      
      
      
        
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
      

    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    

  

  

    
      
    

    

  


highlighting-kate-0.6.1/xml/ruby.xml0000644000000000000000000013465512633103275015616 0ustar0000000000000000









	

		
			 BEGIN 
			 END 
			 and 
			 begin 
			 break 
			 case 
			 defined? 
			 do 
			 else 
			 elsif 
			 end 
			 ensure 
			 for 
			 if 
			 in 
			 next 
			 not 
			 or 
			 redo 
			 rescue 
			 retry 
			 return 
			 then 
			 unless 
			 until 
			 when 
			 yield 
		

		
			 private_class_method 
			 private 
			 protected 
			 public_class_method 
			 public 
		

		
			 attr_reader 
			 attr_writer 
			 attr_accessor 
		

		
			 alias 
			 module 
			 class 
			 def 
			 undef 
		

		
			 self 
			 super 
			 nil 
			 false 
			 true 
			 caller 
			 __FILE__ 
			 __LINE__ 
		

		
			 $stdout 
			 $defout 
			 $stderr 
			 $deferr 
			 $stdin 
		

		
		
			
			 abort 
			 at_exit 
			 autoload 
			 autoload? 
			 binding 
			 block_given? 
			 callcc 
			 caller 
			 catch 
			 chomp 
			 chomp! 
			 chop 
			 chop! 
			 eval 
			 exec 
			 exit 
			 exit! 
			 fail 
			 fork 
			 format 
			 getc 
			 gets 
			 global_variables 
			 gsub 
			 gsub! 
			 iterator? 
			 lambda 
			 load 
			 local_variables 
			 loop 
			 method_missing 
			 open 
			 p 
			 print 
			 printf 
			 proc 
			 putc 
			 puts 
			 raise 
			 rand 
			 readline 
			 readlines 
			 require 
			 require_relative 
			 scan 
			 select 
			 set_trace_func 
			 sleep 
			 split 
			 sprintf 
			 srand 
			 sub 
			 sub! 
			 syscall 
			 system 
			 test 
			 throw 
			 trace_var 
			 trap 
			 untrace_var 
			 warn 
		

                
                  extend
                  include
                  prepend
                

		
			
				
				

				
				

				
				

				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				

				
				

				
				

				
				

				
				
				
				
				
				
				
                                

				
				
				
				
				
				
				
				

				
				
				
				
				
				
				
				

				
				

				
				
				

				
				
				
				
				
				
				
				
				
				

				
				

				
				

				
				
				

				

				
				
				

				
				
				
				

				
				

				
				

				
				
				

				
				

			

			
			

			
			
				
				
			

			
			
				
				
			

			
			
				
				
			

			
			

				
			

			
			
				
				
			

			
			
				
				
			

			
				
				
				
			

			
				
				
			

			
				
				
				
				
				
			

			
				
				
				
			

			
				
				
				
				
				
			

			
				
				
			

			
				
				
				
				
			

			
			
				
				
				
			

			
				
				
				
			

			
			
				
				
				
				
				
				
				
				
				

				
				
				
				
			

			
				
				
			

			
				
			

			

			
			
			
				
				
			
			
				
				
			
			
			
				
				
			
			
				
			

			
				
				
			
			
				
			

			
			
				
				
			

			
			

				
				
				
				
				
				
				

				
				
				
				
				
				
				

				
				
				
				
				
				
				

				
				
				
				
				
				
				

				
				
				
				
				
				
				

				
				
				
				
				
				
				
				

			
			
			
				
				
				
				
			
			
				
				
				
			
			
			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
			
				
				
				
			
			
			
				
				
				
			

			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
			
				
				
				
			

			
			
				
			

			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
			
				
				
				
			

			
			
				
			

			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
			
				
				
				
			

			
			
				
				
				
			

			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
				
				
				
				
			
			
				
				
				
			

			
			
				
				
				
			

			
			
				
				
				
			

			

			
			
		

		
			

			
			
			
			
			

			
			
			
			
			
			

			
			
			
			
			 
			
			
			
			
			

			
			
			
			
			
			 
                         
			
			
			

			
			
			
			

			

			
			

			
			
			
		
	
	
		
			
		
		
	

highlighting-kate-0.6.1/xml/rust.xml0000644000000000000000000003217412633103275015623 0ustar0000000000000000


	
	
]>


	
		 fn 
	
	
		 type 
	
	
		 abstract 
		 alignof 
		 as 
		 become 
		 box 
		 break 
		 const 
		 continue 
		 crate 
		 do 
		 else 
		 enum 
		 extern 
		 final 
		 for 
		 if 
		 impl 
		 in 
		 let 
		 loop 
		 macro 
		 match 
		 mod 
		 move 
		 mut 
		 offsetof 
		 override 
		 priv 
		 proc 
		 pub 
		 pure 
		 ref 
		 return 
		 Self 
		 self 
		 sizeof 
		 static 
		 struct 
		 super 
		 trait 
		 type 
		 typeof 
		 unsafe 
		 unsized 
		 use 
		 virtual 
		 where 
		 while 
		 yield 
	
	
		 AsSlice 
		 CharExt 
		 Clone 
		 Copy 
		 Debug 
		 Decodable 
		 Default 
		 Display 
		 DoubleEndedIterator 
		 Drop 
		 Encodable 
		 Eq 
		 Default 
		 Extend 
		 Fn 
		 FnMut 
		 FnOnce 
		 FromPrimitive 
		 Hash 
		 Iterator 
		 IteratorExt 
		 MutPtrExt 
		 Ord 
		 PartialEq 
		 PartialOrd 
		 PtrExt 
		 Rand 
		 Send 
		 Sized 
		 SliceConcatExt 
		 SliceExt 
		 Str 
		 StrExt 
		 Sync 
		 ToString 
	
	
		 bool 
		 int 
		 isize 
		 uint 
		 usize 
		 i8 
		 i16 
		 i32 
		 i64 
		 u8 
		 u16 
		 u32 
		 u64 
		 f32 
		 f64 
		 float 
		 char 
		 str 
		 Option 
		 Result 
		 Self 
		 Box 
		 Vec 
		 String 
	
	
		 c_float 
		 c_double 
		 c_void 
		 FILE 
		 fpos_t 
		 DIR 
		 dirent 
		 c_char 
		 c_schar 
		 c_uchar 
		 c_short 
		 c_ushort 
		 c_int 
		 c_uint 
		 c_long 
		 c_ulong 
		 size_t 
		 ptrdiff_t 
		 clock_t 
		 time_t 
		 c_longlong 
		 c_ulonglong 
		 intptr_t 
		 uintptr_t 
		 off_t 
		 dev_t 
		 ino_t 
		 pid_t 
		 mode_t 
		 ssize_t 
	
	
		 self 
	
	
		 true 
		 false 
		 Some 
		 None 
		 Ok 
		 Err 
		 Success 
		 Failure 
		 Cons 
		 Nil 
	
	
		 EXIT_FAILURE 
		 EXIT_SUCCESS 
		 RAND_MAX 
		 EOF 
		 SEEK_SET 
		 SEEK_CUR 
		 SEEK_END 
		 _IOFBF 
		 _IONBF 
		 _IOLBF 
		 BUFSIZ 
		 FOPEN_MAX 
		 FILENAME_MAX 
		 L_tmpnam 
		 TMP_MAX 
		 O_RDONLY 
		 O_WRONLY 
		 O_RDWR 
		 O_APPEND 
		 O_CREAT 
		 O_EXCL 
		 O_TRUNC 
		 S_IFIFO 
		 S_IFCHR 
		 S_IFBLK 
		 S_IFDIR 
		 S_IFREG 
		 S_IFMT 
		 S_IEXEC 
		 S_IWRITE 
		 S_IREAD 
		 S_IRWXU 
		 S_IXUSR 
		 S_IWUSR 
		 S_IRUSR 
		 F_OK 
		 R_OK 
		 W_OK 
		 X_OK 
		 STDIN_FILENO 
		 STDOUT_FILENO 
		 STDERR_FILENO 
	
	
		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
			
                        
                        
                        
			
			
			
			
			
		
		
			
			
		
		
			
			
			
		
		
			
			
			
			
		
                
                
                        
                        
                
		
			
		
                
                
                        
                
                
                        
                
		
			
			
		
		
			
			
			
			
			
			
		
		
		
			
			
		
	
	
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	


	
		
		
	
	



highlighting-kate-0.6.1/xml/scala.xml0000644000000000000000000040705212633103275015712 0ustar0000000000000000



  
    
       Actor 
       ActorProxy 
       ActorTask 
       ActorThread 
       AllRef 
       Any 
       AnyRef 
       Application 
       AppliedType 
       Array 
       ArrayBuffer 
       Attribute 
       BoxedArray 
       BoxedBooleanArray 
       BoxedByteArray 
       BoxedCharArray 
       Buffer 
       BufferedIterator 
       Char 
       Console 
       Enumeration 
       Fluid 
       Function 
       IScheduler 
       ImmutableMapAdaptor 
       ImmutableSetAdaptor 
       Int 
       Iterable 
       List 
       ListBuffer 
       None 
       Option 
       Ordered 
       Pair 
       PartialFunction 
       Pid 
       Predef 
       PriorityQueue 
       PriorityQueueProxy 
       Reaction 
       Ref 
       Responder 
       RichInt 
       RichString 
       Rule 
       RuleTransformer 
       Script 
       Seq 
       SerialVersionUID 
       Some 
       Stream 
       Symbol 
       TcpService 
       TcpServiceWorker 
       Triple 
       Unit 
       Value 
       WorkerThread 
       serializable 
       transient 
       volatile 
    
    
       ACTIVE 
       ACTIVITY_COMPLETED 
       ACTIVITY_REQUIRED 
       ARG_IN 
       ARG_INOUT 
       ARG_OUT 
       AWTError 
       AWTEvent 
       AWTEventListener 
       AWTEventListenerProxy 
       AWTEventMulticaster 
       AWTException 
       AWTKeyStroke 
       AWTPermission 
       AbstractAction 
       AbstractBorder 
       AbstractButton 
       AbstractCellEditor 
       AbstractCollection 
       AbstractColorChooserPanel 
       AbstractDocument 
       AbstractDocument.AttributeContext 
       AbstractDocument.Content 
       AbstractDocument.ElementEdit 
       AbstractExecutorService 
       AbstractInterruptibleChannel 
       AbstractLayoutCache 
       AbstractLayoutCache.NodeDimensions 
       AbstractList 
       AbstractListModel 
       AbstractMap 
       AbstractMethodError 
       AbstractPreferences 
       AbstractQueue 
       AbstractQueuedSynchronizer 
       AbstractSelectableChannel 
       AbstractSelectionKey 
       AbstractSelector 
       AbstractSequentialList 
       AbstractSet 
       AbstractSpinnerModel 
       AbstractTableModel 
       AbstractUndoableEdit 
       AbstractWriter 
       AccessControlContext 
       AccessControlException 
       AccessController 
       AccessException 
       Accessible 
       AccessibleAction 
       AccessibleAttributeSequence 
       AccessibleBundle 
       AccessibleComponent 
       AccessibleContext 
       AccessibleEditableText 
       AccessibleExtendedComponent 
       AccessibleExtendedTable 
       AccessibleExtendedText 
       AccessibleHyperlink 
       AccessibleHypertext 
       AccessibleIcon 
       AccessibleKeyBinding 
       AccessibleObject 
       AccessibleRelation 
       AccessibleRelationSet 
       AccessibleResourceBundle 
       AccessibleRole 
       AccessibleSelection 
       AccessibleState 
       AccessibleStateSet 
       AccessibleStreamable 
       AccessibleTable 
       AccessibleTableModelChange 
       AccessibleText 
       AccessibleTextSequence 
       AccessibleValue 
       AccountException 
       AccountExpiredException 
       AccountLockedException 
       AccountNotFoundException 
       Acl 
       AclEntry 
       AclNotFoundException 
       Action 
       ActionEvent 
       ActionListener 
       ActionMap 
       ActionMapUIResource 
       Activatable 
       ActivateFailedException 
       ActivationDesc 
       ActivationException 
       ActivationGroup 
       ActivationGroupDesc 
       ActivationGroupDesc.CommandEnvironment 
       ActivationGroupID 
       ActivationGroup_Stub 
       ActivationID 
       ActivationInstantiator 
       ActivationMonitor 
       ActivationSystem 
       Activator 
       ActiveEvent 
       ActivityCompletedException 
       ActivityRequiredException 
       AdapterActivator 
       AdapterActivatorOperations 
       AdapterAlreadyExists 
       AdapterAlreadyExistsHelper 
       AdapterInactive 
       AdapterInactiveHelper 
       AdapterManagerIdHelper 
       AdapterNameHelper 
       AdapterNonExistent 
       AdapterNonExistentHelper 
       AdapterStateHelper 
       AddressHelper 
       Adjustable 
       AdjustmentEvent 
       AdjustmentListener 
       Adler32 
       AffineTransform 
       AffineTransformOp 
       AlgorithmParameterGenerator 
       AlgorithmParameterGeneratorSpi 
       AlgorithmParameterSpec 
       AlgorithmParameters 
       AlgorithmParametersSpi 
       AllPermission 
       AlphaComposite 
       AlreadyBound 
       AlreadyBoundException 
       AlreadyBoundHelper 
       AlreadyBoundHolder 
       AlreadyConnectedException 
       AncestorEvent 
       AncestorListener 
       AnnotatedElement 
       Annotation 
       Annotation 
       AnnotationFormatError 
       AnnotationTypeMismatchException 
       Any 
       AnyHolder 
       AnySeqHelper 
       AnySeqHelper 
       AnySeqHolder 
       AppConfigurationEntry 
       AppConfigurationEntry.LoginModuleControlFlag 
       Appendable 
       Applet 
       AppletContext 
       AppletInitializer 
       AppletStub 
       ApplicationException 
       Arc2D 
       Arc2D.Double 
       Arc2D.Float 
       Area 
       AreaAveragingScaleFilter 
       ArithmeticException 
       Array 
       Array 
       ArrayBlockingQueue 
       ArrayIndexOutOfBoundsException 
       ArrayList 
       ArrayStoreException 
       ArrayType 
       Arrays 
       AssertionError 
       AsyncBoxView 
       AsynchronousCloseException 
       AtomicBoolean 
       AtomicInteger 
       AtomicIntegerArray 
       AtomicIntegerFieldUpdater 
       AtomicLong 
       AtomicLongArray 
       AtomicLongFieldUpdater 
       AtomicMarkableReference 
       AtomicReference 
       AtomicReferenceArray 
       AtomicReferenceFieldUpdater 
       AtomicStampedReference 
       Attr 
       Attribute 
       Attribute 
       Attribute 
       AttributeChangeNotification 
       AttributeChangeNotificationFilter 
       AttributeException 
       AttributeInUseException 
       AttributeList 
       AttributeList 
       AttributeList 
       AttributeListImpl 
       AttributeModificationException 
       AttributeNotFoundException 
       AttributeSet 
       AttributeSet 
       AttributeSet.CharacterAttribute 
       AttributeSet.ColorAttribute 
       AttributeSet.FontAttribute 
       AttributeSet.ParagraphAttribute 
       AttributeSetUtilities 
       AttributeValueExp 
       AttributedCharacterIterator 
       AttributedCharacterIterator.Attribute 
       AttributedString 
       Attributes 
       Attributes 
       Attributes 
       Attributes.Name 
       Attributes2 
       Attributes2Impl 
       AttributesImpl 
       AudioClip 
       AudioFileFormat 
       AudioFileFormat.Type 
       AudioFileReader 
       AudioFileWriter 
       AudioFormat 
       AudioFormat.Encoding 
       AudioInputStream 
       AudioPermission 
       AudioSystem 
       AuthPermission 
       AuthProvider 
       AuthenticationException 
       AuthenticationException 
       AuthenticationNotSupportedException 
       Authenticator 
       Authenticator.RequestorType 
       AuthorizeCallback 
       Autoscroll 
       BAD_CONTEXT 
       BAD_INV_ORDER 
       BAD_OPERATION 
       BAD_PARAM 
       BAD_POLICY 
       BAD_POLICY_TYPE 
       BAD_POLICY_VALUE 
       BAD_QOS 
       BAD_TYPECODE 
       BMPImageWriteParam 
       BackingStoreException 
       BadAttributeValueExpException 
       BadBinaryOpValueExpException 
       BadKind 
       BadLocationException 
       BadPaddingException 
       BadStringOperationException 
       BandCombineOp 
       BandedSampleModel 
       BaseRowSet 
       BasicArrowButton 
       BasicAttribute 
       BasicAttributes 
       BasicBorders 
       BasicBorders.ButtonBorder 
       BasicBorders.FieldBorder 
       BasicBorders.MarginBorder 
       BasicBorders.MenuBarBorder 
       BasicBorders.RadioButtonBorder 
       BasicBorders.RolloverButtonBorder 
       BasicBorders.SplitPaneBorder 
       BasicBorders.ToggleButtonBorder 
       BasicButtonListener 
       BasicButtonUI 
       BasicCheckBoxMenuItemUI 
       BasicCheckBoxUI 
       BasicColorChooserUI 
       BasicComboBoxEditor 
       BasicComboBoxEditor.UIResource 
       BasicComboBoxRenderer 
       BasicComboBoxRenderer.UIResource 
       BasicComboBoxUI 
       BasicComboPopup 
       BasicControl 
       BasicDesktopIconUI 
       BasicDesktopPaneUI 
       BasicDirectoryModel 
       BasicEditorPaneUI 
       BasicFileChooserUI 
       BasicFormattedTextFieldUI 
       BasicGraphicsUtils 
       BasicHTML 
       BasicIconFactory 
       BasicInternalFrameTitlePane 
       BasicInternalFrameUI 
       BasicLabelUI 
       BasicListUI 
       BasicLookAndFeel 
       BasicMenuBarUI 
       BasicMenuItemUI 
       BasicMenuUI 
       BasicOptionPaneUI 
       BasicOptionPaneUI.ButtonAreaLayout 
       BasicPanelUI 
       BasicPasswordFieldUI 
       BasicPermission 
       BasicPopupMenuSeparatorUI 
       BasicPopupMenuUI 
       BasicProgressBarUI 
       BasicRadioButtonMenuItemUI 
       BasicRadioButtonUI 
       BasicRootPaneUI 
       BasicScrollBarUI 
       BasicScrollPaneUI 
       BasicSeparatorUI 
       BasicSliderUI 
       BasicSpinnerUI 
       BasicSplitPaneDivider 
       BasicSplitPaneUI 
       BasicStroke 
       BasicTabbedPaneUI 
       BasicTableHeaderUI 
       BasicTableUI 
       BasicTextAreaUI 
       BasicTextFieldUI 
       BasicTextPaneUI 
       BasicTextUI 
       BasicTextUI.BasicCaret 
       BasicTextUI.BasicHighlighter 
       BasicToggleButtonUI 
       BasicToolBarSeparatorUI 
       BasicToolBarUI 
       BasicToolTipUI 
       BasicTreeUI 
       BasicViewportUI 
       BatchUpdateException 
       BeanContext 
       BeanContextChild 
       BeanContextChildComponentProxy 
       BeanContextChildSupport 
       BeanContextContainerProxy 
       BeanContextEvent 
       BeanContextMembershipEvent 
       BeanContextMembershipListener 
       BeanContextProxy 
       BeanContextServiceAvailableEvent 
       BeanContextServiceProvider 
       BeanContextServiceProviderBeanInfo 
       BeanContextServiceRevokedEvent 
       BeanContextServiceRevokedListener 
       BeanContextServices 
       BeanContextServicesListener 
       BeanContextServicesSupport 
       BeanContextServicesSupport.BCSSServiceProvider 
       BeanContextSupport 
       BeanContextSupport.BCSIterator 
       BeanDescriptor 
       BeanInfo 
       Beans 
       BevelBorder 
       Bidi 
       BigDecimal 
       BigInteger 
       BinaryRefAddr 
       BindException 
       Binding 
       Binding 
       BindingHelper 
       BindingHolder 
       BindingIterator 
       BindingIteratorHelper 
       BindingIteratorHolder 
       BindingIteratorOperations 
       BindingIteratorPOA 
       BindingListHelper 
       BindingListHolder 
       BindingType 
       BindingTypeHelper 
       BindingTypeHolder 
       BitSet 
       Blob 
       BlockView 
       BlockingQueue 
       Book 
       Boolean 
       BooleanControl 
       BooleanControl.Type 
       BooleanHolder 
       BooleanSeqHelper 
       BooleanSeqHolder 
       Border 
       BorderFactory 
       BorderLayout 
       BorderUIResource 
       BorderUIResource.BevelBorderUIResource 
       BorderUIResource.CompoundBorderUIResource 
       BorderUIResource.EmptyBorderUIResource 
       BorderUIResource.EtchedBorderUIResource 
       BorderUIResource.LineBorderUIResource 
       BorderUIResource.MatteBorderUIResource 
       BorderUIResource.TitledBorderUIResource 
       BoundedRangeModel 
       Bounds 
       Bounds 
       Box 
       Box.Filler 
       BoxLayout 
       BoxView 
       BoxedValueHelper 
       BreakIterator 
       BrokenBarrierException 
       Buffer 
       BufferCapabilities 
       BufferCapabilities.FlipContents 
       BufferOverflowException 
       BufferStrategy 
       BufferUnderflowException 
       BufferedImage 
       BufferedImageFilter 
       BufferedImageOp 
       BufferedInputStream 
       BufferedOutputStream 
       BufferedReader 
       BufferedWriter 
       Button 
       ButtonGroup 
       ButtonModel 
       ButtonUI 
       Byte 
       ByteArrayInputStream 
       ByteArrayOutputStream 
       ByteBuffer 
       ByteChannel 
       ByteHolder 
       ByteLookupTable 
       ByteOrder 
       CDATASection 
       CMMException 
       CODESET_INCOMPATIBLE 
       COMM_FAILURE 
       CRC32 
       CRL 
       CRLException 
       CRLSelector 
       CSS 
       CSS.Attribute 
       CTX_RESTRICT_SCOPE 
       CacheRequest 
       CacheResponse 
       CachedRowSet 
       Calendar 
       Callable 
       CallableStatement 
       Callback 
       CallbackHandler 
       CancelablePrintJob 
       CancellationException 
       CancelledKeyException 
       CannotProceed 
       CannotProceedException 
       CannotProceedHelper 
       CannotProceedHolder 
       CannotRedoException 
       CannotUndoException 
       Canvas 
       CardLayout 
       Caret 
       CaretEvent 
       CaretListener 
       CellEditor 
       CellEditorListener 
       CellRendererPane 
       CertPath 
       CertPath.CertPathRep 
       CertPathBuilder 
       CertPathBuilderException 
       CertPathBuilderResult 
       CertPathBuilderSpi 
       CertPathParameters 
       CertPathTrustManagerParameters 
       CertPathValidator 
       CertPathValidatorException 
       CertPathValidatorResult 
       CertPathValidatorSpi 
       CertSelector 
       CertStore 
       CertStoreException 
       CertStoreParameters 
       CertStoreSpi 
       Certificate 
       Certificate 
       Certificate 
       Certificate.CertificateRep 
       CertificateEncodingException 
       CertificateEncodingException 
       CertificateException 
       CertificateException 
       CertificateExpiredException 
       CertificateExpiredException 
       CertificateFactory 
       CertificateFactorySpi 
       CertificateNotYetValidException 
       CertificateNotYetValidException 
       CertificateParsingException 
       CertificateParsingException 
       ChangeEvent 
       ChangeListener 
       ChangedCharSetException 
       Channel 
       ChannelBinding 
       Channels 
       CharArrayReader 
       CharArrayWriter 
       CharBuffer 
       CharConversionException 
       CharHolder 
       CharSeqHelper 
       CharSeqHolder 
       CharSequence 
       Character 
       Character.Subset 
       Character.UnicodeBlock 
       CharacterCodingException 
       CharacterData 
       CharacterIterator 
       Charset 
       CharsetDecoder 
       CharsetEncoder 
       CharsetProvider 
       Checkbox 
       CheckboxGroup 
       CheckboxMenuItem 
       CheckedInputStream 
       CheckedOutputStream 
       Checksum 
       Choice 
       ChoiceCallback 
       ChoiceFormat 
       Chromaticity 
       Cipher 
       CipherInputStream 
       CipherOutputStream 
       CipherSpi 
       Class 
       ClassCastException 
       ClassCircularityError 
       ClassDefinition 
       ClassDesc 
       ClassFileTransformer 
       ClassFormatError 
       ClassLoader 
       ClassLoaderRepository 
       ClassLoadingMXBean 
       ClassNotFoundException 
       ClientRequestInfo 
       ClientRequestInfoOperations 
       ClientRequestInterceptor 
       ClientRequestInterceptorOperations 
       Clip 
       Clipboard 
       ClipboardOwner 
       Clob 
       CloneNotSupportedException 
       Cloneable 
       Closeable 
       ClosedByInterruptException 
       ClosedChannelException 
       ClosedSelectorException 
       CodeSets 
       CodeSigner 
       CodeSource 
       Codec 
       CodecFactory 
       CodecFactoryHelper 
       CodecFactoryOperations 
       CodecOperations 
       CoderMalfunctionError 
       CoderResult 
       CodingErrorAction 
       CollationElementIterator 
       CollationKey 
       Collator 
       Collection 
       CollectionCertStoreParameters 
       Collections 
       Color 
       ColorChooserComponentFactory 
       ColorChooserUI 
       ColorConvertOp 
       ColorModel 
       ColorSelectionModel 
       ColorSpace 
       ColorSupported 
       ColorType 
       ColorUIResource 
       ComboBoxEditor 
       ComboBoxModel 
       ComboBoxUI 
       ComboPopup 
       Comment 
       CommunicationException 
       Comparable 
       Comparator 
       CompilationMXBean 
       Compiler 
       CompletionService 
       CompletionStatus 
       CompletionStatusHelper 
       Component 
       ComponentAdapter 
       ComponentColorModel 
       ComponentEvent 
       ComponentIdHelper 
       ComponentInputMap 
       ComponentInputMapUIResource 
       ComponentListener 
       ComponentOrientation 
       ComponentSampleModel 
       ComponentUI 
       ComponentView 
       Composite 
       CompositeContext 
       CompositeData 
       CompositeDataSupport 
       CompositeName 
       CompositeType 
       CompositeView 
       CompoundBorder 
       CompoundControl 
       CompoundControl.Type 
       CompoundEdit 
       CompoundName 
       Compression 
       ConcurrentHashMap 
       ConcurrentLinkedQueue 
       ConcurrentMap 
       ConcurrentModificationException 
       Condition 
       Configuration 
       ConfigurationException 
       ConfirmationCallback 
       ConnectException 
       ConnectException 
       ConnectIOException 
       Connection 
       ConnectionEvent 
       ConnectionEventListener 
       ConnectionPendingException 
       ConnectionPoolDataSource 
       ConsoleHandler 
       Constructor 
       Container 
       ContainerAdapter 
       ContainerEvent 
       ContainerListener 
       ContainerOrderFocusTraversalPolicy 
       ContentHandler 
       ContentHandler 
       ContentHandlerFactory 
       ContentModel 
       Context 
       Context 
       ContextList 
       ContextNotEmptyException 
       ContextualRenderedImageFactory 
       Control 
       Control 
       Control.Type 
       ControlFactory 
       ControllerEventListener 
       ConvolveOp 
       CookieHandler 
       CookieHolder 
       Copies 
       CopiesSupported 
       CopyOnWriteArrayList 
       CopyOnWriteArraySet 
       CountDownLatch 
       CounterMonitor 
       CounterMonitorMBean 
       CredentialException 
       CredentialExpiredException 
       CredentialNotFoundException 
       CropImageFilter 
       CubicCurve2D 
       CubicCurve2D.Double 
       CubicCurve2D.Float 
       Currency 
       Current 
       Current 
       Current 
       CurrentHelper 
       CurrentHelper 
       CurrentHelper 
       CurrentHolder 
       CurrentOperations 
       CurrentOperations 
       CurrentOperations 
       Cursor 
       CustomMarshal 
       CustomValue 
       Customizer 
       CyclicBarrier 
       DATA_CONVERSION 
       DESKeySpec 
       DESedeKeySpec 
       DGC 
       DHGenParameterSpec 
       DHKey 
       DHParameterSpec 
       DHPrivateKey 
       DHPrivateKeySpec 
       DHPublicKey 
       DHPublicKeySpec 
       DISCARDING 
       DOMConfiguration 
       DOMError 
       DOMErrorHandler 
       DOMException 
       DOMImplementation 
       DOMImplementationLS 
       DOMImplementationList 
       DOMImplementationRegistry 
       DOMImplementationSource 
       DOMLocator 
       DOMLocator 
       DOMResult 
       DOMSource 
       DOMStringList 
       DSAKey 
       DSAKeyPairGenerator 
       DSAParameterSpec 
       DSAParams 
       DSAPrivateKey 
       DSAPrivateKeySpec 
       DSAPublicKey 
       DSAPublicKeySpec 
       DTD 
       DTDConstants 
       DTDHandler 
       DataBuffer 
       DataBufferByte 
       DataBufferDouble 
       DataBufferFloat 
       DataBufferInt 
       DataBufferShort 
       DataBufferUShort 
       DataFlavor 
       DataFormatException 
       DataInput 
       DataInputStream 
       DataInputStream 
       DataLine 
       DataLine.Info 
       DataOutput 
       DataOutputStream 
       DataOutputStream 
       DataSource 
       DataTruncation 
       DatabaseMetaData 
       DatagramChannel 
       DatagramPacket 
       DatagramSocket 
       DatagramSocketImpl 
       DatagramSocketImplFactory 
       DatatypeConfigurationException 
       DatatypeConstants 
       DatatypeConstants.Field 
       DatatypeFactory 
       Date 
       Date 
       DateFormat 
       DateFormat.Field 
       DateFormatSymbols 
       DateFormatter 
       DateTimeAtCompleted 
       DateTimeAtCreation 
       DateTimeAtProcessing 
       DateTimeSyntax 
       DebugGraphics 
       DecimalFormat 
       DecimalFormatSymbols 
       DeclHandler 
       DefaultBoundedRangeModel 
       DefaultButtonModel 
       DefaultCaret 
       DefaultCellEditor 
       DefaultColorSelectionModel 
       DefaultComboBoxModel 
       DefaultDesktopManager 
       DefaultEditorKit 
       DefaultEditorKit.BeepAction 
       DefaultEditorKit.CopyAction 
       DefaultEditorKit.CutAction 
       DefaultEditorKit.DefaultKeyTypedAction 
       DefaultEditorKit.InsertBreakAction 
       DefaultEditorKit.InsertContentAction 
       DefaultEditorKit.InsertTabAction 
       DefaultEditorKit.PasteAction 
       DefaultFocusManager 
       DefaultFocusTraversalPolicy 
       DefaultFormatter 
       DefaultFormatterFactory 
       DefaultHandler 
       DefaultHandler2 
       DefaultHighlighter 
       DefaultHighlighter.DefaultHighlightPainter 
       DefaultKeyboardFocusManager 
       DefaultListCellRenderer 
       DefaultListCellRenderer.UIResource 
       DefaultListModel 
       DefaultListSelectionModel 
       DefaultLoaderRepository 
       DefaultLoaderRepository 
       DefaultMenuLayout 
       DefaultMetalTheme 
       DefaultMutableTreeNode 
       DefaultPersistenceDelegate 
       DefaultSingleSelectionModel 
       DefaultStyledDocument 
       DefaultStyledDocument.AttributeUndoableEdit 
       DefaultStyledDocument.ElementSpec 
       DefaultTableCellRenderer 
       DefaultTableCellRenderer.UIResource 
       DefaultTableColumnModel 
       DefaultTableModel 
       DefaultTextUI 
       DefaultTreeCellEditor 
       DefaultTreeCellRenderer 
       DefaultTreeModel 
       DefaultTreeSelectionModel 
       DefinitionKind 
       DefinitionKindHelper 
       Deflater 
       DeflaterOutputStream 
       DelayQueue 
       Delayed 
       Delegate 
       Delegate 
       Delegate 
       DelegationPermission 
       Deprecated 
       Descriptor 
       DescriptorAccess 
       DescriptorSupport 
       DesignMode 
       DesktopIconUI 
       DesktopManager 
       DesktopPaneUI 
       Destination 
       DestroyFailedException 
       Destroyable 
       Dialog 
       Dictionary 
       DigestException 
       DigestInputStream 
       DigestOutputStream 
       Dimension 
       Dimension2D 
       DimensionUIResource 
       DirContext 
       DirObjectFactory 
       DirStateFactory 
       DirStateFactory.Result 
       DirectColorModel 
       DirectoryManager 
       DisplayMode 
       DnDConstants 
       Doc 
       DocAttribute 
       DocAttributeSet 
       DocFlavor 
       DocFlavor.BYTE_ARRAY 
       DocFlavor.CHAR_ARRAY 
       DocFlavor.INPUT_STREAM 
       DocFlavor.READER 
       DocFlavor.SERVICE_FORMATTED 
       DocFlavor.STRING 
       DocFlavor.URL 
       DocPrintJob 
       Document 
       Document 
       DocumentBuilder 
       DocumentBuilderFactory 
       DocumentEvent 
       DocumentEvent.ElementChange 
       DocumentEvent.EventType 
       DocumentFilter 
       DocumentFilter.FilterBypass 
       DocumentFragment 
       DocumentHandler 
       DocumentListener 
       DocumentName 
       DocumentParser 
       DocumentType 
       Documented 
       DomainCombiner 
       DomainManager 
       DomainManagerOperations 
       Double 
       DoubleBuffer 
       DoubleHolder 
       DoubleSeqHelper 
       DoubleSeqHolder 
       DragGestureEvent 
       DragGestureListener 
       DragGestureRecognizer 
       DragSource 
       DragSourceAdapter 
       DragSourceContext 
       DragSourceDragEvent 
       DragSourceDropEvent 
       DragSourceEvent 
       DragSourceListener 
       DragSourceMotionListener 
       Driver 
       DriverManager 
       DriverPropertyInfo 
       DropTarget 
       DropTarget.DropTargetAutoScroller 
       DropTargetAdapter 
       DropTargetContext 
       DropTargetDragEvent 
       DropTargetDropEvent 
       DropTargetEvent 
       DropTargetListener 
       DuplicateFormatFlagsException 
       DuplicateName 
       DuplicateNameHelper 
       Duration 
       DynAny 
       DynAny 
       DynAnyFactory 
       DynAnyFactoryHelper 
       DynAnyFactoryOperations 
       DynAnyHelper 
       DynAnyOperations 
       DynAnySeqHelper 
       DynArray 
       DynArray 
       DynArrayHelper 
       DynArrayOperations 
       DynEnum 
       DynEnum 
       DynEnumHelper 
       DynEnumOperations 
       DynFixed 
       DynFixed 
       DynFixedHelper 
       DynFixedOperations 
       DynSequence 
       DynSequence 
       DynSequenceHelper 
       DynSequenceOperations 
       DynStruct 
       DynStruct 
       DynStructHelper 
       DynStructOperations 
       DynUnion 
       DynUnion 
       DynUnionHelper 
       DynUnionOperations 
       DynValue 
       DynValue 
       DynValueBox 
       DynValueBoxOperations 
       DynValueCommon 
       DynValueCommonOperations 
       DynValueHelper 
       DynValueOperations 
       DynamicImplementation 
       DynamicImplementation 
       DynamicMBean 
       ECField 
       ECFieldF2m 
       ECFieldFp 
       ECGenParameterSpec 
       ECKey 
       ECParameterSpec 
       ECPoint 
       ECPrivateKey 
       ECPrivateKeySpec 
       ECPublicKey 
       ECPublicKeySpec 
       ENCODING_CDR_ENCAPS 
       EOFException 
       EditorKit 
       Element 
       Element 
       Element 
       ElementIterator 
       ElementType 
       Ellipse2D 
       Ellipse2D.Double 
       Ellipse2D.Float 
       EllipticCurve 
       EmptyBorder 
       EmptyStackException 
       EncodedKeySpec 
       Encoder 
       Encoding 
       EncryptedPrivateKeyInfo 
       Entity 
       Entity 
       EntityReference 
       EntityResolver 
       EntityResolver2 
       Enum 
       EnumConstantNotPresentException 
       EnumControl 
       EnumControl.Type 
       EnumMap 
       EnumSet 
       EnumSyntax 
       Enumeration 
       Environment 
       Error 
       ErrorHandler 
       ErrorListener 
       ErrorManager 
       EtchedBorder 
       Event 
       EventContext 
       EventDirContext 
       EventHandler 
       EventListener 
       EventListenerList 
       EventListenerProxy 
       EventObject 
       EventQueue 
       EventSetDescriptor 
       Exception 
       ExceptionDetailMessage 
       ExceptionInInitializerError 
       ExceptionList 
       ExceptionListener 
       Exchanger 
       ExecutionException 
       Executor 
       ExecutorCompletionService 
       ExecutorService 
       Executors 
       ExemptionMechanism 
       ExemptionMechanismException 
       ExemptionMechanismSpi 
       ExpandVetoException 
       ExportException 
       Expression 
       ExtendedRequest 
       ExtendedResponse 
       Externalizable 
       FREE_MEM 
       FactoryConfigurationError 
       FailedLoginException 
       FeatureDescriptor 
       Fidelity 
       Field 
       FieldNameHelper 
       FieldNameHelper 
       FieldPosition 
       FieldView 
       File 
       FileCacheImageInputStream 
       FileCacheImageOutputStream 
       FileChannel 
       FileChannel.MapMode 
       FileChooserUI 
       FileDescriptor 
       FileDialog 
       FileFilter 
       FileFilter 
       FileHandler 
       FileImageInputStream 
       FileImageOutputStream 
       FileInputStream 
       FileLock 
       FileLockInterruptionException 
       FileNameMap 
       FileNotFoundException 
       FileOutputStream 
       FilePermission 
       FileReader 
       FileSystemView 
       FileView 
       FileWriter 
       FilenameFilter 
       Filter 
       FilterInputStream 
       FilterOutputStream 
       FilterReader 
       FilterWriter 
       FilteredImageSource 
       FilteredRowSet 
       Finishings 
       FixedHeightLayoutCache 
       FixedHolder 
       FlatteningPathIterator 
       FlavorEvent 
       FlavorException 
       FlavorListener 
       FlavorMap 
       FlavorTable 
       Float 
       FloatBuffer 
       FloatControl 
       FloatControl.Type 
       FloatHolder 
       FloatSeqHelper 
       FloatSeqHolder 
       FlowLayout 
       FlowView 
       FlowView.FlowStrategy 
       Flushable 
       FocusAdapter 
       FocusEvent 
       FocusListener 
       FocusManager 
       FocusTraversalPolicy 
       Font 
       FontFormatException 
       FontMetrics 
       FontRenderContext 
       FontUIResource 
       FormSubmitEvent 
       FormSubmitEvent.MethodType 
       FormView 
       Format 
       Format.Field 
       FormatConversionProvider 
       FormatFlagsConversionMismatchException 
       FormatMismatch 
       FormatMismatchHelper 
       Formattable 
       FormattableFlags 
       Formatter 
       Formatter 
       FormatterClosedException 
       ForwardRequest 
       ForwardRequest 
       ForwardRequestHelper 
       ForwardRequestHelper 
       Frame 
       Future 
       FutureTask 
       GSSContext 
       GSSCredential 
       GSSException 
       GSSManager 
       GSSName 
       GZIPInputStream 
       GZIPOutputStream 
       GapContent 
       GarbageCollectorMXBean 
       GatheringByteChannel 
       GaugeMonitor 
       GaugeMonitorMBean 
       GeneralPath 
       GeneralSecurityException 
       GenericArrayType 
       GenericDeclaration 
       GenericSignatureFormatError 
       GlyphJustificationInfo 
       GlyphMetrics 
       GlyphVector 
       GlyphView 
       GlyphView.GlyphPainter 
       GradientPaint 
       GraphicAttribute 
       Graphics 
       Graphics2D 
       GraphicsConfigTemplate 
       GraphicsConfiguration 
       GraphicsDevice 
       GraphicsEnvironment 
       GrayFilter 
       GregorianCalendar 
       GridBagConstraints 
       GridBagLayout 
       GridLayout 
       Group 
       Guard 
       GuardedObject 
       HOLDING 
       HTML 
       HTML.Attribute 
       HTML.Tag 
       HTML.UnknownTag 
       HTMLDocument 
       HTMLDocument.Iterator 
       HTMLEditorKit 
       HTMLEditorKit.HTMLFactory 
       HTMLEditorKit.HTMLTextAction 
       HTMLEditorKit.InsertHTMLTextAction 
       HTMLEditorKit.LinkController 
       HTMLEditorKit.Parser 
       HTMLEditorKit.ParserCallback 
       HTMLFrameHyperlinkEvent 
       HTMLWriter 
       Handler 
       HandlerBase 
       HandshakeCompletedEvent 
       HandshakeCompletedListener 
       HasControls 
       HashAttributeSet 
       HashDocAttributeSet 
       HashMap 
       HashPrintJobAttributeSet 
       HashPrintRequestAttributeSet 
       HashPrintServiceAttributeSet 
       HashSet 
       Hashtable 
       HeadlessException 
       HierarchyBoundsAdapter 
       HierarchyBoundsListener 
       HierarchyEvent 
       HierarchyListener 
       Highlighter 
       Highlighter.Highlight 
       Highlighter.HighlightPainter 
       HostnameVerifier 
       HttpRetryException 
       HttpURLConnection 
       HttpsURLConnection 
       HyperlinkEvent 
       HyperlinkEvent.EventType 
       HyperlinkListener 
       ICC_ColorSpace 
       ICC_Profile 
       ICC_ProfileGray 
       ICC_ProfileRGB 
       IDLEntity 
       IDLType 
       IDLTypeHelper 
       IDLTypeOperations 
       ID_ASSIGNMENT_POLICY_ID 
       ID_UNIQUENESS_POLICY_ID 
       IIOByteBuffer 
       IIOException 
       IIOImage 
       IIOInvalidTreeException 
       IIOMetadata 
       IIOMetadataController 
       IIOMetadataFormat 
       IIOMetadataFormatImpl 
       IIOMetadataNode 
       IIOParam 
       IIOParamController 
       IIOReadProgressListener 
       IIOReadUpdateListener 
       IIOReadWarningListener 
       IIORegistry 
       IIOServiceProvider 
       IIOWriteProgressListener 
       IIOWriteWarningListener 
       IMPLICIT_ACTIVATION_POLICY_ID 
       IMP_LIMIT 
       INACTIVE 
       INITIALIZE 
       INTERNAL 
       INTF_REPOS 
       INVALID_ACTIVITY 
       INVALID_TRANSACTION 
       INV_FLAG 
       INV_IDENT 
       INV_OBJREF 
       INV_POLICY 
       IOException 
       IOR 
       IORHelper 
       IORHolder 
       IORInfo 
       IORInfoOperations 
       IORInterceptor 
       IORInterceptorOperations 
       IORInterceptor_3_0 
       IORInterceptor_3_0Helper 
       IORInterceptor_3_0Holder 
       IORInterceptor_3_0Operations 
       IRObject 
       IRObjectOperations 
       Icon 
       IconUIResource 
       IconView 
       IdAssignmentPolicy 
       IdAssignmentPolicyOperations 
       IdAssignmentPolicyValue 
       IdUniquenessPolicy 
       IdUniquenessPolicyOperations 
       IdUniquenessPolicyValue 
       IdentifierHelper 
       Identity 
       IdentityHashMap 
       IdentityScope 
       IllegalAccessError 
       IllegalAccessException 
       IllegalArgumentException 
       IllegalBlockSizeException 
       IllegalBlockingModeException 
       IllegalCharsetNameException 
       IllegalClassFormatException 
       IllegalComponentStateException 
       IllegalFormatCodePointException 
       IllegalFormatConversionException 
       IllegalFormatException 
       IllegalFormatFlagsException 
       IllegalFormatPrecisionException 
       IllegalFormatWidthException 
       IllegalMonitorStateException 
       IllegalPathStateException 
       IllegalSelectorException 
       IllegalStateException 
       IllegalThreadStateException 
       Image 
       ImageCapabilities 
       ImageConsumer 
       ImageFilter 
       ImageGraphicAttribute 
       ImageIO 
       ImageIcon 
       ImageInputStream 
       ImageInputStreamImpl 
       ImageInputStreamSpi 
       ImageObserver 
       ImageOutputStream 
       ImageOutputStreamImpl 
       ImageOutputStreamSpi 
       ImageProducer 
       ImageReadParam 
       ImageReader 
       ImageReaderSpi 
       ImageReaderWriterSpi 
       ImageTranscoder 
       ImageTranscoderSpi 
       ImageTypeSpecifier 
       ImageView 
       ImageWriteParam 
       ImageWriter 
       ImageWriterSpi 
       ImagingOpException 
       ImplicitActivationPolicy 
       ImplicitActivationPolicyOperations 
       ImplicitActivationPolicyValue 
       IncompatibleClassChangeError 
       IncompleteAnnotationException 
       InconsistentTypeCode 
       InconsistentTypeCode 
       InconsistentTypeCodeHelper 
       IndexColorModel 
       IndexOutOfBoundsException 
       IndexedPropertyChangeEvent 
       IndexedPropertyDescriptor 
       IndirectionException 
       Inet4Address 
       Inet6Address 
       InetAddress 
       InetSocketAddress 
       Inflater 
       InflaterInputStream 
       InheritableThreadLocal 
       Inherited 
       InitialContext 
       InitialContextFactory 
       InitialContextFactoryBuilder 
       InitialDirContext 
       InitialLdapContext 
       InlineView 
       InputContext 
       InputEvent 
       InputMap 
       InputMapUIResource 
       InputMethod 
       InputMethodContext 
       InputMethodDescriptor 
       InputMethodEvent 
       InputMethodHighlight 
       InputMethodListener 
       InputMethodRequests 
       InputMismatchException 
       InputSource 
       InputStream 
       InputStream 
       InputStream 
       InputStreamReader 
       InputSubset 
       InputVerifier 
       Insets 
       InsetsUIResource 
       InstanceAlreadyExistsException 
       InstanceNotFoundException 
       InstantiationError 
       InstantiationException 
       Instrument 
       Instrumentation 
       InsufficientResourcesException 
       IntBuffer 
       IntHolder 
       Integer 
       IntegerSyntax 
       Interceptor 
       InterceptorOperations 
       InternalError 
       InternalFrameAdapter 
       InternalFrameEvent 
       InternalFrameFocusTraversalPolicy 
       InternalFrameListener 
       InternalFrameUI 
       InternationalFormatter 
       InterruptedException 
       InterruptedIOException 
       InterruptedNamingException 
       InterruptibleChannel 
       IntrospectionException 
       IntrospectionException 
       Introspector 
       Invalid 
       InvalidActivityException 
       InvalidAddress 
       InvalidAddressHelper 
       InvalidAddressHolder 
       InvalidAlgorithmParameterException 
       InvalidApplicationException 
       InvalidAttributeIdentifierException 
       InvalidAttributeValueException 
       InvalidAttributeValueException 
       InvalidAttributesException 
       InvalidClassException 
       InvalidDnDOperationException 
       InvalidKeyException 
       InvalidKeyException 
       InvalidKeySpecException 
       InvalidMarkException 
       InvalidMidiDataException 
       InvalidName 
       InvalidName 
       InvalidName 
       InvalidNameException 
       InvalidNameHelper 
       InvalidNameHelper 
       InvalidNameHolder 
       InvalidObjectException 
       InvalidOpenTypeException 
       InvalidParameterException 
       InvalidParameterSpecException 
       InvalidPolicy 
       InvalidPolicyHelper 
       InvalidPreferencesFormatException 
       InvalidPropertiesFormatException 
       InvalidRelationIdException 
       InvalidRelationServiceException 
       InvalidRelationTypeException 
       InvalidRoleInfoException 
       InvalidRoleValueException 
       InvalidSearchControlsException 
       InvalidSearchFilterException 
       InvalidSeq 
       InvalidSlot 
       InvalidSlotHelper 
       InvalidTargetObjectTypeException 
       InvalidTransactionException 
       InvalidTypeForEncoding 
       InvalidTypeForEncodingHelper 
       InvalidValue 
       InvalidValue 
       InvalidValueHelper 
       InvocationEvent 
       InvocationHandler 
       InvocationTargetException 
       InvokeHandler 
       IstringHelper 
       ItemEvent 
       ItemListener 
       ItemSelectable 
       Iterable 
       Iterator 
       IvParameterSpec 
       JApplet 
       JButton 
       JCheckBox 
       JCheckBoxMenuItem 
       JColorChooser 
       JComboBox 
       JComboBox.KeySelectionManager 
       JComponent 
       JDesktopPane 
       JDialog 
       JEditorPane 
       JFileChooser 
       JFormattedTextField 
       JFormattedTextField.AbstractFormatter 
       JFormattedTextField.AbstractFormatterFactory 
       JFrame 
       JInternalFrame 
       JInternalFrame.JDesktopIcon 
       JLabel 
       JLayeredPane 
       JList 
       JMException 
       JMRuntimeException 
       JMXAuthenticator 
       JMXConnectionNotification 
       JMXConnector 
       JMXConnectorFactory 
       JMXConnectorProvider 
       JMXConnectorServer 
       JMXConnectorServerFactory 
       JMXConnectorServerMBean 
       JMXConnectorServerProvider 
       JMXPrincipal 
       JMXProviderException 
       JMXServerErrorException 
       JMXServiceURL 
       JMenu 
       JMenuBar 
       JMenuItem 
       JOptionPane 
       JPEGHuffmanTable 
       JPEGImageReadParam 
       JPEGImageWriteParam 
       JPEGQTable 
       JPanel 
       JPasswordField 
       JPopupMenu 
       JPopupMenu.Separator 
       JProgressBar 
       JRadioButton 
       JRadioButtonMenuItem 
       JRootPane 
       JScrollBar 
       JScrollPane 
       JSeparator 
       JSlider 
       JSpinner 
       JSpinner.DateEditor 
       JSpinner.DefaultEditor 
       JSpinner.ListEditor 
       JSpinner.NumberEditor 
       JSplitPane 
       JTabbedPane 
       JTable 
       JTable.PrintMode 
       JTableHeader 
       JTextArea 
       JTextComponent 
       JTextComponent.KeyBinding 
       JTextField 
       JTextPane 
       JToggleButton 
       JToggleButton.ToggleButtonModel 
       JToolBar 
       JToolBar.Separator 
       JToolTip 
       JTree 
       JTree.DynamicUtilTreeNode 
       JTree.EmptySelectionModel 
       JViewport 
       JWindow 
       JarEntry 
       JarException 
       JarFile 
       JarInputStream 
       JarOutputStream 
       JarURLConnection 
       JdbcRowSet 
       JobAttributes 
       JobAttributes.DefaultSelectionType 
       JobAttributes.DestinationType 
       JobAttributes.DialogType 
       JobAttributes.MultipleDocumentHandlingType 
       JobAttributes.SidesType 
       JobHoldUntil 
       JobImpressions 
       JobImpressionsCompleted 
       JobImpressionsSupported 
       JobKOctets 
       JobKOctetsProcessed 
       JobKOctetsSupported 
       JobMediaSheets 
       JobMediaSheetsCompleted 
       JobMediaSheetsSupported 
       JobMessageFromOperator 
       JobName 
       JobOriginatingUserName 
       JobPriority 
       JobPrioritySupported 
       JobSheets 
       JobState 
       JobStateReason 
       JobStateReasons 
       JoinRowSet 
       Joinable 
       KerberosKey 
       KerberosPrincipal 
       KerberosTicket 
       Kernel 
       Key 
       KeyAdapter 
       KeyAgreement 
       KeyAgreementSpi 
       KeyAlreadyExistsException 
       KeyEvent 
       KeyEventDispatcher 
       KeyEventPostProcessor 
       KeyException 
       KeyFactory 
       KeyFactorySpi 
       KeyGenerator 
       KeyGeneratorSpi 
       KeyListener 
       KeyManagementException 
       KeyManager 
       KeyManagerFactory 
       KeyManagerFactorySpi 
       KeyPair 
       KeyPairGenerator 
       KeyPairGeneratorSpi 
       KeyRep 
       KeyRep.Type 
       KeySpec 
       KeyStore 
       KeyStore.Builder 
       KeyStore.CallbackHandlerProtection 
       KeyStore.Entry 
       KeyStore.LoadStoreParameter 
       KeyStore.PasswordProtection 
       KeyStore.PrivateKeyEntry 
       KeyStore.ProtectionParameter 
       KeyStore.SecretKeyEntry 
       KeyStore.TrustedCertificateEntry 
       KeyStoreBuilderParameters 
       KeyStoreException 
       KeyStoreSpi 
       KeyStroke 
       KeyboardFocusManager 
       Keymap 
       LDAPCertStoreParameters 
       LIFESPAN_POLICY_ID 
       LOCATION_FORWARD 
       LSException 
       LSInput 
       LSLoadEvent 
       LSOutput 
       LSParser 
       LSParserFilter 
       LSProgressEvent 
       LSResourceResolver 
       LSSerializer 
       LSSerializerFilter 
       Label 
       LabelUI 
       LabelView 
       LanguageCallback 
       LastOwnerException 
       LayeredHighlighter 
       LayeredHighlighter.LayerPainter 
       LayoutFocusTraversalPolicy 
       LayoutManager 
       LayoutManager2 
       LayoutQueue 
       LdapContext 
       LdapName 
       LdapReferralException 
       Lease 
       Level 
       LexicalHandler 
       LifespanPolicy 
       LifespanPolicyOperations 
       LifespanPolicyValue 
       LimitExceededException 
       Line 
       Line.Info 
       Line2D 
       Line2D.Double 
       Line2D.Float 
       LineBorder 
       LineBreakMeasurer 
       LineEvent 
       LineEvent.Type 
       LineListener 
       LineMetrics 
       LineNumberInputStream 
       LineNumberReader 
       LineUnavailableException 
       LinkException 
       LinkLoopException 
       LinkRef 
       LinkageError 
       LinkedBlockingQueue 
       LinkedHashMap 
       LinkedHashSet 
       LinkedList 
       List 
       List 
       ListCellRenderer 
       ListDataEvent 
       ListDataListener 
       ListIterator 
       ListModel 
       ListResourceBundle 
       ListSelectionEvent 
       ListSelectionListener 
       ListSelectionModel 
       ListUI 
       ListView 
       ListenerNotFoundException 
       LoaderHandler 
       LocalObject 
       Locale 
       LocateRegistry 
       Locator 
       Locator2 
       Locator2Impl 
       LocatorImpl 
       Lock 
       LockSupport 
       LogManager 
       LogRecord 
       LogStream 
       Logger 
       LoggingMXBean 
       LoggingPermission 
       LoginContext 
       LoginException 
       LoginModule 
       Long 
       LongBuffer 
       LongHolder 
       LongLongSeqHelper 
       LongLongSeqHolder 
       LongSeqHelper 
       LongSeqHolder 
       LookAndFeel 
       LookupOp 
       LookupTable 
       MARSHAL 
       MBeanAttributeInfo 
       MBeanConstructorInfo 
       MBeanException 
       MBeanFeatureInfo 
       MBeanInfo 
       MBeanNotificationInfo 
       MBeanOperationInfo 
       MBeanParameterInfo 
       MBeanPermission 
       MBeanRegistration 
       MBeanRegistrationException 
       MBeanServer 
       MBeanServerBuilder 
       MBeanServerConnection 
       MBeanServerDelegate 
       MBeanServerDelegateMBean 
       MBeanServerFactory 
       MBeanServerForwarder 
       MBeanServerInvocationHandler 
       MBeanServerNotification 
       MBeanServerNotificationFilter 
       MBeanServerPermission 
       MBeanTrustPermission 
       MGF1ParameterSpec 
       MLet 
       MLetMBean 
       Mac 
       MacSpi 
       MalformedInputException 
       MalformedLinkException 
       MalformedObjectNameException 
       MalformedParameterizedTypeException 
       MalformedURLException 
       ManageReferralControl 
       ManagementFactory 
       ManagementPermission 
       ManagerFactoryParameters 
       Manifest 
       Map 
       Map.Entry 
       MappedByteBuffer 
       MarshalException 
       MarshalledObject 
       MaskFormatter 
       MatchResult 
       Matcher 
       Math 
       MathContext 
       MatteBorder 
       Media 
       MediaName 
       MediaPrintableArea 
       MediaSize 
       MediaSize.Engineering 
       MediaSize.ISO 
       MediaSize.JIS 
       MediaSize.NA 
       MediaSize.Other 
       MediaSizeName 
       MediaTracker 
       MediaTray 
       Member 
       MemoryCacheImageInputStream 
       MemoryCacheImageOutputStream 
       MemoryHandler 
       MemoryImageSource 
       MemoryMXBean 
       MemoryManagerMXBean 
       MemoryNotificationInfo 
       MemoryPoolMXBean 
       MemoryType 
       MemoryUsage 
       Menu 
       MenuBar 
       MenuBarUI 
       MenuComponent 
       MenuContainer 
       MenuDragMouseEvent 
       MenuDragMouseListener 
       MenuElement 
       MenuEvent 
       MenuItem 
       MenuItemUI 
       MenuKeyEvent 
       MenuKeyListener 
       MenuListener 
       MenuSelectionManager 
       MenuShortcut 
       MessageDigest 
       MessageDigestSpi 
       MessageFormat 
       MessageFormat.Field 
       MessageProp 
       MetaEventListener 
       MetaMessage 
       MetalBorders 
       MetalBorders.ButtonBorder 
       MetalBorders.Flush3DBorder 
       MetalBorders.InternalFrameBorder 
       MetalBorders.MenuBarBorder 
       MetalBorders.MenuItemBorder 
       MetalBorders.OptionDialogBorder 
       MetalBorders.PaletteBorder 
       MetalBorders.PopupMenuBorder 
       MetalBorders.RolloverButtonBorder 
       MetalBorders.ScrollPaneBorder 
       MetalBorders.TableHeaderBorder 
       MetalBorders.TextFieldBorder 
       MetalBorders.ToggleButtonBorder 
       MetalBorders.ToolBarBorder 
       MetalButtonUI 
       MetalCheckBoxIcon 
       MetalCheckBoxUI 
       MetalComboBoxButton 
       MetalComboBoxEditor 
       MetalComboBoxEditor.UIResource 
       MetalComboBoxIcon 
       MetalComboBoxUI 
       MetalDesktopIconUI 
       MetalFileChooserUI 
       MetalIconFactory 
       MetalIconFactory.FileIcon16 
       MetalIconFactory.FolderIcon16 
       MetalIconFactory.PaletteCloseIcon 
       MetalIconFactory.TreeControlIcon 
       MetalIconFactory.TreeFolderIcon 
       MetalIconFactory.TreeLeafIcon 
       MetalInternalFrameTitlePane 
       MetalInternalFrameUI 
       MetalLabelUI 
       MetalLookAndFeel 
       MetalMenuBarUI 
       MetalPopupMenuSeparatorUI 
       MetalProgressBarUI 
       MetalRadioButtonUI 
       MetalRootPaneUI 
       MetalScrollBarUI 
       MetalScrollButton 
       MetalScrollPaneUI 
       MetalSeparatorUI 
       MetalSliderUI 
       MetalSplitPaneUI 
       MetalTabbedPaneUI 
       MetalTextFieldUI 
       MetalTheme 
       MetalToggleButtonUI 
       MetalToolBarUI 
       MetalToolTipUI 
       MetalTreeUI 
       Method 
       MethodDescriptor 
       MidiChannel 
       MidiDevice 
       MidiDevice.Info 
       MidiDeviceProvider 
       MidiEvent 
       MidiFileFormat 
       MidiFileReader 
       MidiFileWriter 
       MidiMessage 
       MidiSystem 
       MidiUnavailableException 
       MimeTypeParseException 
       MinimalHTMLWriter 
       MissingFormatArgumentException 
       MissingFormatWidthException 
       MissingResourceException 
       Mixer 
       Mixer.Info 
       MixerProvider 
       ModelMBean 
       ModelMBeanAttributeInfo 
       ModelMBeanConstructorInfo 
       ModelMBeanInfo 
       ModelMBeanInfoSupport 
       ModelMBeanNotificationBroadcaster 
       ModelMBeanNotificationInfo 
       ModelMBeanOperationInfo 
       ModificationItem 
       Modifier 
       Monitor 
       MonitorMBean 
       MonitorNotification 
       MonitorSettingException 
       MouseAdapter 
       MouseDragGestureRecognizer 
       MouseEvent 
       MouseInfo 
       MouseInputAdapter 
       MouseInputListener 
       MouseListener 
       MouseMotionAdapter 
       MouseMotionListener 
       MouseWheelEvent 
       MouseWheelListener 
       MultiButtonUI 
       MultiColorChooserUI 
       MultiComboBoxUI 
       MultiDesktopIconUI 
       MultiDesktopPaneUI 
       MultiDoc 
       MultiDocPrintJob 
       MultiDocPrintService 
       MultiFileChooserUI 
       MultiInternalFrameUI 
       MultiLabelUI 
       MultiListUI 
       MultiLookAndFeel 
       MultiMenuBarUI 
       MultiMenuItemUI 
       MultiOptionPaneUI 
       MultiPanelUI 
       MultiPixelPackedSampleModel 
       MultiPopupMenuUI 
       MultiProgressBarUI 
       MultiRootPaneUI 
       MultiScrollBarUI 
       MultiScrollPaneUI 
       MultiSeparatorUI 
       MultiSliderUI 
       MultiSpinnerUI 
       MultiSplitPaneUI 
       MultiTabbedPaneUI 
       MultiTableHeaderUI 
       MultiTableUI 
       MultiTextUI 
       MultiToolBarUI 
       MultiToolTipUI 
       MultiTreeUI 
       MultiViewportUI 
       MulticastSocket 
       MultipleComponentProfileHelper 
       MultipleComponentProfileHolder 
       MultipleDocumentHandling 
       MultipleMaster 
       MutableAttributeSet 
       MutableComboBoxModel 
       MutableTreeNode 
       NON_EXISTENT 
       NO_IMPLEMENT 
       NO_MEMORY 
       NO_PERMISSION 
       NO_RESOURCES 
       NO_RESPONSE 
       NVList 
       Name 
       NameAlreadyBoundException 
       NameCallback 
       NameClassPair 
       NameComponent 
       NameComponentHelper 
       NameComponentHolder 
       NameDynAnyPair 
       NameDynAnyPairHelper 
       NameDynAnyPairSeqHelper 
       NameHelper 
       NameHolder 
       NameList 
       NameNotFoundException 
       NameParser 
       NameValuePair 
       NameValuePair 
       NameValuePairHelper 
       NameValuePairHelper 
       NameValuePairSeqHelper 
       NamedNodeMap 
       NamedValue 
       NamespaceChangeListener 
       NamespaceContext 
       NamespaceSupport 
       Naming 
       NamingContext 
       NamingContextExt 
       NamingContextExtHelper 
       NamingContextExtHolder 
       NamingContextExtOperations 
       NamingContextExtPOA 
       NamingContextHelper 
       NamingContextHolder 
       NamingContextOperations 
       NamingContextPOA 
       NamingEnumeration 
       NamingEvent 
       NamingException 
       NamingExceptionEvent 
       NamingListener 
       NamingManager 
       NamingSecurityException 
       NavigationFilter 
       NavigationFilter.FilterBypass 
       NegativeArraySizeException 
       NetPermission 
       NetworkInterface 
       NoClassDefFoundError 
       NoConnectionPendingException 
       NoContext 
       NoContextHelper 
       NoInitialContextException 
       NoPermissionException 
       NoRouteToHostException 
       NoServant 
       NoServantHelper 
       NoSuchAlgorithmException 
       NoSuchAttributeException 
       NoSuchElementException 
       NoSuchFieldError 
       NoSuchFieldException 
       NoSuchMethodError 
       NoSuchMethodException 
       NoSuchObjectException 
       NoSuchPaddingException 
       NoSuchProviderException 
       Node 
       NodeChangeEvent 
       NodeChangeListener 
       NodeList 
       NonReadableChannelException 
       NonWritableChannelException 
       NoninvertibleTransformException 
       NotActiveException 
       NotBoundException 
       NotCompliantMBeanException 
       NotContextException 
       NotEmpty 
       NotEmptyHelper 
       NotEmptyHolder 
       NotFound 
       NotFoundHelper 
       NotFoundHolder 
       NotFoundReason 
       NotFoundReasonHelper 
       NotFoundReasonHolder 
       NotOwnerException 
       NotSerializableException 
       NotYetBoundException 
       NotYetConnectedException 
       Notation 
       Notification 
       NotificationBroadcaster 
       NotificationBroadcasterSupport 
       NotificationEmitter 
       NotificationFilter 
       NotificationFilterSupport 
       NotificationListener 
       NotificationResult 
       NullCipher 
       NullPointerException 
       Number 
       NumberFormat 
       NumberFormat.Field 
       NumberFormatException 
       NumberFormatter 
       NumberOfDocuments 
       NumberOfInterveningJobs 
       NumberUp 
       NumberUpSupported 
       NumericShaper 
       OAEPParameterSpec 
       OBJECT_NOT_EXIST 
       OBJ_ADAPTER 
       OMGVMCID 
       ORB 
       ORB 
       ORBIdHelper 
       ORBInitInfo 
       ORBInitInfoOperations 
       ORBInitializer 
       ORBInitializerOperations 
       ObjID 
       Object 
       Object 
       ObjectAlreadyActive 
       ObjectAlreadyActiveHelper 
       ObjectChangeListener 
       ObjectFactory 
       ObjectFactoryBuilder 
       ObjectHelper 
       ObjectHolder 
       ObjectIdHelper 
       ObjectIdHelper 
       ObjectImpl 
       ObjectImpl 
       ObjectInput 
       ObjectInputStream 
       ObjectInputStream.GetField 
       ObjectInputValidation 
       ObjectInstance 
       ObjectName 
       ObjectNotActive 
       ObjectNotActiveHelper 
       ObjectOutput 
       ObjectOutputStream 
       ObjectOutputStream.PutField 
       ObjectReferenceFactory 
       ObjectReferenceFactoryHelper 
       ObjectReferenceFactoryHolder 
       ObjectReferenceTemplate 
       ObjectReferenceTemplateHelper 
       ObjectReferenceTemplateHolder 
       ObjectReferenceTemplateSeqHelper 
       ObjectReferenceTemplateSeqHolder 
       ObjectStreamClass 
       ObjectStreamConstants 
       ObjectStreamException 
       ObjectStreamField 
       ObjectView 
       Observable 
       Observer 
       OceanTheme 
       OctetSeqHelper 
       OctetSeqHolder 
       Oid 
       OpenDataException 
       OpenMBeanAttributeInfo 
       OpenMBeanAttributeInfoSupport 
       OpenMBeanConstructorInfo 
       OpenMBeanConstructorInfoSupport 
       OpenMBeanInfo 
       OpenMBeanInfoSupport 
       OpenMBeanOperationInfo 
       OpenMBeanOperationInfoSupport 
       OpenMBeanParameterInfo 
       OpenMBeanParameterInfoSupport 
       OpenType 
       OpenType 
       OperatingSystemMXBean 
       Operation 
       OperationNotSupportedException 
       OperationsException 
       Option 
       OptionPaneUI 
       OptionalDataException 
       OrientationRequested 
       OutOfMemoryError 
       OutputDeviceAssigned 
       OutputKeys 
       OutputStream 
       OutputStream 
       OutputStream 
       OutputStreamWriter 
       OverlappingFileLockException 
       OverlayLayout 
       Override 
       Owner 
       PBEKey 
       PBEKeySpec 
       PBEParameterSpec 
       PDLOverrideSupported 
       PERSIST_STORE 
       PKCS8EncodedKeySpec 
       PKIXBuilderParameters 
       PKIXCertPathBuilderResult 
       PKIXCertPathChecker 
       PKIXCertPathValidatorResult 
       PKIXParameters 
       POA 
       POAHelper 
       POAManager 
       POAManagerOperations 
       POAOperations 
       PRIVATE_MEMBER 
       PSSParameterSpec 
       PSource 
       PSource.PSpecified 
       PUBLIC_MEMBER 
       Pack200 
       Pack200.Packer 
       Pack200.Unpacker 
       Package 
       PackedColorModel 
       PageAttributes 
       PageAttributes.ColorType 
       PageAttributes.MediaType 
       PageAttributes.OrientationRequestedType 
       PageAttributes.OriginType 
       PageAttributes.PrintQualityType 
       PageFormat 
       PageRanges 
       Pageable 
       PagedResultsControl 
       PagedResultsResponseControl 
       PagesPerMinute 
       PagesPerMinuteColor 
       Paint 
       PaintContext 
       PaintEvent 
       Panel 
       PanelUI 
       Paper 
       ParagraphView 
       ParagraphView 
       Parameter 
       ParameterBlock 
       ParameterDescriptor 
       ParameterMetaData 
       ParameterMode 
       ParameterModeHelper 
       ParameterModeHolder 
       ParameterizedType 
       ParseException 
       ParsePosition 
       Parser 
       Parser 
       ParserAdapter 
       ParserConfigurationException 
       ParserDelegator 
       ParserFactory 
       PartialResultException 
       PasswordAuthentication 
       PasswordCallback 
       PasswordView 
       Patch 
       PathIterator 
       Pattern 
       PatternSyntaxException 
       Permission 
       Permission 
       PermissionCollection 
       Permissions 
       PersistenceDelegate 
       PersistentMBean 
       PhantomReference 
       Pipe 
       Pipe.SinkChannel 
       Pipe.SourceChannel 
       PipedInputStream 
       PipedOutputStream 
       PipedReader 
       PipedWriter 
       PixelGrabber 
       PixelInterleavedSampleModel 
       PlainDocument 
       PlainView 
       Point 
       Point2D 
       Point2D.Double 
       Point2D.Float 
       PointerInfo 
       Policy 
       Policy 
       Policy 
       PolicyError 
       PolicyErrorCodeHelper 
       PolicyErrorHelper 
       PolicyErrorHolder 
       PolicyFactory 
       PolicyFactoryOperations 
       PolicyHelper 
       PolicyHolder 
       PolicyListHelper 
       PolicyListHolder 
       PolicyNode 
       PolicyOperations 
       PolicyQualifierInfo 
       PolicyTypeHelper 
       Polygon 
       PooledConnection 
       Popup 
       PopupFactory 
       PopupMenu 
       PopupMenuEvent 
       PopupMenuListener 
       PopupMenuUI 
       Port 
       Port.Info 
       PortUnreachableException 
       PortableRemoteObject 
       PortableRemoteObjectDelegate 
       Position 
       Position.Bias 
       Predicate 
       PreferenceChangeEvent 
       PreferenceChangeListener 
       Preferences 
       PreferencesFactory 
       PreparedStatement 
       PresentationDirection 
       Principal 
       Principal 
       PrincipalHolder 
       PrintEvent 
       PrintException 
       PrintGraphics 
       PrintJob 
       PrintJobAdapter 
       PrintJobAttribute 
       PrintJobAttributeEvent 
       PrintJobAttributeListener 
       PrintJobAttributeSet 
       PrintJobEvent 
       PrintJobListener 
       PrintQuality 
       PrintRequestAttribute 
       PrintRequestAttributeSet 
       PrintService 
       PrintServiceAttribute 
       PrintServiceAttributeEvent 
       PrintServiceAttributeListener 
       PrintServiceAttributeSet 
       PrintServiceLookup 
       PrintStream 
       PrintWriter 
       Printable 
       PrinterAbortException 
       PrinterException 
       PrinterGraphics 
       PrinterIOException 
       PrinterInfo 
       PrinterIsAcceptingJobs 
       PrinterJob 
       PrinterLocation 
       PrinterMakeAndModel 
       PrinterMessageFromOperator 
       PrinterMoreInfo 
       PrinterMoreInfoManufacturer 
       PrinterName 
       PrinterResolution 
       PrinterState 
       PrinterStateReason 
       PrinterStateReasons 
       PrinterURI 
       PriorityBlockingQueue 
       PriorityQueue 
       PrivateClassLoader 
       PrivateCredentialPermission 
       PrivateKey 
       PrivateMLet 
       PrivilegedAction 
       PrivilegedActionException 
       PrivilegedExceptionAction 
       Process 
       ProcessBuilder 
       ProcessingInstruction 
       ProfileDataException 
       ProfileIdHelper 
       ProgressBarUI 
       ProgressMonitor 
       ProgressMonitorInputStream 
       Properties 
       PropertyChangeEvent 
       PropertyChangeListener 
       PropertyChangeListenerProxy 
       PropertyChangeSupport 
       PropertyDescriptor 
       PropertyEditor 
       PropertyEditorManager 
       PropertyEditorSupport 
       PropertyPermission 
       PropertyResourceBundle 
       PropertyVetoException 
       ProtectionDomain 
       ProtocolException 
       Provider 
       Provider.Service 
       ProviderException 
       Proxy 
       Proxy 
       Proxy.Type 
       ProxySelector 
       PublicKey 
       PushbackInputStream 
       PushbackReader 
       QName 
       QuadCurve2D 
       QuadCurve2D.Double 
       QuadCurve2D.Float 
       Query 
       QueryEval 
       QueryExp 
       Queue 
       QueuedJobCount 
       RC2ParameterSpec 
       RC5ParameterSpec 
       REBIND 
       REQUEST_PROCESSING_POLICY_ID 
       RGBImageFilter 
       RMIClassLoader 
       RMIClassLoaderSpi 
       RMIClientSocketFactory 
       RMIConnection 
       RMIConnectionImpl 
       RMIConnectionImpl_Stub 
       RMIConnector 
       RMIConnectorServer 
       RMICustomMaxStreamFormat 
       RMIFailureHandler 
       RMIIIOPServerImpl 
       RMIJRMPServerImpl 
       RMISecurityException 
       RMISecurityManager 
       RMIServer 
       RMIServerImpl 
       RMIServerImpl_Stub 
       RMIServerSocketFactory 
       RMISocketFactory 
       RSAKey 
       RSAKeyGenParameterSpec 
       RSAMultiPrimePrivateCrtKey 
       RSAMultiPrimePrivateCrtKeySpec 
       RSAOtherPrimeInfo 
       RSAPrivateCrtKey 
       RSAPrivateCrtKeySpec 
       RSAPrivateKey 
       RSAPrivateKeySpec 
       RSAPublicKey 
       RSAPublicKeySpec 
       RTFEditorKit 
       Random 
       RandomAccess 
       RandomAccessFile 
       Raster 
       RasterFormatException 
       RasterOp 
       Rdn 
       ReadOnlyBufferException 
       ReadWriteLock 
       Readable 
       ReadableByteChannel 
       Reader 
       RealmCallback 
       RealmChoiceCallback 
       Receiver 
       Rectangle 
       Rectangle2D 
       Rectangle2D.Double 
       Rectangle2D.Float 
       RectangularShape 
       ReentrantLock 
       ReentrantReadWriteLock 
       ReentrantReadWriteLock.ReadLock 
       ReentrantReadWriteLock.WriteLock 
       Ref 
       RefAddr 
       Reference 
       Reference 
       ReferenceQueue 
       ReferenceUriSchemesSupported 
       Referenceable 
       ReferralException 
       ReflectPermission 
       ReflectionException 
       RefreshFailedException 
       Refreshable 
       Region 
       RegisterableService 
       Registry 
       RegistryHandler 
       RejectedExecutionException 
       RejectedExecutionHandler 
       Relation 
       RelationException 
       RelationNotFoundException 
       RelationNotification 
       RelationService 
       RelationServiceMBean 
       RelationServiceNotRegisteredException 
       RelationSupport 
       RelationSupportMBean 
       RelationType 
       RelationTypeNotFoundException 
       RelationTypeSupport 
       RemarshalException 
       Remote 
       RemoteCall 
       RemoteException 
       RemoteObject 
       RemoteObjectInvocationHandler 
       RemoteRef 
       RemoteServer 
       RemoteStub 
       RenderContext 
       RenderableImage 
       RenderableImageOp 
       RenderableImageProducer 
       RenderedImage 
       RenderedImageFactory 
       Renderer 
       RenderingHints 
       RenderingHints.Key 
       RepaintManager 
       ReplicateScaleFilter 
       RepositoryIdHelper 
       Request 
       RequestInfo 
       RequestInfoOperations 
       RequestProcessingPolicy 
       RequestProcessingPolicyOperations 
       RequestProcessingPolicyValue 
       RequestingUserName 
       RequiredModelMBean 
       RescaleOp 
       ResolutionSyntax 
       ResolveResult 
       Resolver 
       ResourceBundle 
       ResponseCache 
       ResponseHandler 
       Result 
       ResultSet 
       ResultSetMetaData 
       Retention 
       RetentionPolicy 
       ReverbType 
       Robot 
       Role 
       RoleInfo 
       RoleInfoNotFoundException 
       RoleList 
       RoleNotFoundException 
       RoleResult 
       RoleStatus 
       RoleUnresolved 
       RoleUnresolvedList 
       RootPaneContainer 
       RootPaneUI 
       RoundRectangle2D 
       RoundRectangle2D.Double 
       RoundRectangle2D.Float 
       RoundingMode 
       RowMapper 
       RowSet 
       RowSetEvent 
       RowSetInternal 
       RowSetListener 
       RowSetMetaData 
       RowSetMetaDataImpl 
       RowSetReader 
       RowSetWarning 
       RowSetWriter 
       RuleBasedCollator 
       RunTime 
       RunTimeOperations 
       Runnable 
       Runtime 
       RuntimeErrorException 
       RuntimeException 
       RuntimeMBeanException 
       RuntimeMXBean 
       RuntimeOperationsException 
       RuntimePermission 
       SAXException 
       SAXNotRecognizedException 
       SAXNotSupportedException 
       SAXParseException 
       SAXParser 
       SAXParserFactory 
       SAXResult 
       SAXSource 
       SAXTransformerFactory 
       SERVANT_RETENTION_POLICY_ID 
       SQLData 
       SQLException 
       SQLInput 
       SQLInputImpl 
       SQLOutput 
       SQLOutputImpl 
       SQLPermission 
       SQLWarning 
       SSLContext 
       SSLContextSpi 
       SSLEngine 
       SSLEngineResult 
       SSLEngineResult.HandshakeStatus 
       SSLEngineResult.Status 
       SSLException 
       SSLHandshakeException 
       SSLKeyException 
       SSLPeerUnverifiedException 
       SSLPermission 
       SSLProtocolException 
       SSLServerSocket 
       SSLServerSocketFactory 
       SSLSession 
       SSLSessionBindingEvent 
       SSLSessionBindingListener 
       SSLSessionContext 
       SSLSocket 
       SSLSocketFactory 
       SUCCESSFUL 
       SYNC_WITH_TRANSPORT 
       SYSTEM_EXCEPTION 
       SampleModel 
       Sasl 
       SaslClient 
       SaslClientFactory 
       SaslException 
       SaslServer 
       SaslServerFactory 
       Savepoint 
       Scanner 
       ScatteringByteChannel 
       ScheduledExecutorService 
       ScheduledFuture 
       ScheduledThreadPoolExecutor 
       Schema 
       SchemaFactory 
       SchemaFactoryLoader 
       SchemaViolationException 
       ScrollBarUI 
       ScrollPane 
       ScrollPaneAdjustable 
       ScrollPaneConstants 
       ScrollPaneLayout 
       ScrollPaneLayout.UIResource 
       ScrollPaneUI 
       Scrollable 
       Scrollbar 
       SealedObject 
       SearchControls 
       SearchResult 
       SecretKey 
       SecretKeyFactory 
       SecretKeyFactorySpi 
       SecretKeySpec 
       SecureCacheResponse 
       SecureClassLoader 
       SecureRandom 
       SecureRandomSpi 
       Security 
       SecurityException 
       SecurityManager 
       SecurityPermission 
       Segment 
       SelectableChannel 
       SelectionKey 
       Selector 
       SelectorProvider 
       Semaphore 
       SeparatorUI 
       Sequence 
       SequenceInputStream 
       Sequencer 
       Sequencer.SyncMode 
       SerialArray 
       SerialBlob 
       SerialClob 
       SerialDatalink 
       SerialException 
       SerialJavaObject 
       SerialRef 
       SerialStruct 
       Serializable 
       SerializablePermission 
       Servant 
       ServantActivator 
       ServantActivatorHelper 
       ServantActivatorOperations 
       ServantActivatorPOA 
       ServantAlreadyActive 
       ServantAlreadyActiveHelper 
       ServantLocator 
       ServantLocatorHelper 
       ServantLocatorOperations 
       ServantLocatorPOA 
       ServantManager 
       ServantManagerOperations 
       ServantNotActive 
       ServantNotActiveHelper 
       ServantObject 
       ServantRetentionPolicy 
       ServantRetentionPolicyOperations 
       ServantRetentionPolicyValue 
       ServerCloneException 
       ServerError 
       ServerException 
       ServerIdHelper 
       ServerNotActiveException 
       ServerRef 
       ServerRequest 
       ServerRequestInfo 
       ServerRequestInfoOperations 
       ServerRequestInterceptor 
       ServerRequestInterceptorOperations 
       ServerRuntimeException 
       ServerSocket 
       ServerSocketChannel 
       ServerSocketFactory 
       ServiceContext 
       ServiceContextHelper 
       ServiceContextHolder 
       ServiceContextListHelper 
       ServiceContextListHolder 
       ServiceDetail 
       ServiceDetailHelper 
       ServiceIdHelper 
       ServiceInformation 
       ServiceInformationHelper 
       ServiceInformationHolder 
       ServiceNotFoundException 
       ServicePermission 
       ServiceRegistry 
       ServiceRegistry.Filter 
       ServiceUI 
       ServiceUIFactory 
       ServiceUnavailableException 
       Set 
       SetOfIntegerSyntax 
       SetOverrideType 
       SetOverrideTypeHelper 
       Severity 
       Shape 
       ShapeGraphicAttribute 
       SheetCollate 
       Short 
       ShortBuffer 
       ShortBufferException 
       ShortHolder 
       ShortLookupTable 
       ShortMessage 
       ShortSeqHelper 
       ShortSeqHolder 
       Sides 
       Signature 
       SignatureException 
       SignatureSpi 
       SignedObject 
       Signer 
       SimpleAttributeSet 
       SimpleBeanInfo 
       SimpleDateFormat 
       SimpleDoc 
       SimpleFormatter 
       SimpleTimeZone 
       SimpleType 
       SinglePixelPackedSampleModel 
       SingleSelectionModel 
       Size2DSyntax 
       SizeLimitExceededException 
       SizeRequirements 
       SizeSequence 
       Skeleton 
       SkeletonMismatchException 
       SkeletonNotFoundException 
       SliderUI 
       Socket 
       SocketAddress 
       SocketChannel 
       SocketException 
       SocketFactory 
       SocketHandler 
       SocketImpl 
       SocketImplFactory 
       SocketOptions 
       SocketPermission 
       SocketSecurityException 
       SocketTimeoutException 
       SoftBevelBorder 
       SoftReference 
       SortControl 
       SortKey 
       SortResponseControl 
       SortedMap 
       SortedSet 
       SortingFocusTraversalPolicy 
       Soundbank 
       SoundbankReader 
       SoundbankResource 
       Source 
       SourceDataLine 
       SourceLocator 
       SpinnerDateModel 
       SpinnerListModel 
       SpinnerModel 
       SpinnerNumberModel 
       SpinnerUI 
       SplitPaneUI 
       Spring 
       SpringLayout 
       SpringLayout.Constraints 
       SslRMIClientSocketFactory 
       SslRMIServerSocketFactory 
       Stack 
       StackOverflowError 
       StackTraceElement 
       StandardMBean 
       StartTlsRequest 
       StartTlsResponse 
       State 
       StateEdit 
       StateEditable 
       StateFactory 
       Statement 
       Statement 
       StreamCorruptedException 
       StreamHandler 
       StreamPrintService 
       StreamPrintServiceFactory 
       StreamResult 
       StreamSource 
       StreamTokenizer 
       Streamable 
       StreamableValue 
       StrictMath 
       String 
       StringBuffer 
       StringBufferInputStream 
       StringBuilder 
       StringCharacterIterator 
       StringContent 
       StringHolder 
       StringIndexOutOfBoundsException 
       StringMonitor 
       StringMonitorMBean 
       StringNameHelper 
       StringReader 
       StringRefAddr 
       StringSelection 
       StringSeqHelper 
       StringSeqHolder 
       StringTokenizer 
       StringValueExp 
       StringValueHelper 
       StringWriter 
       Stroke 
       Struct 
       StructMember 
       StructMemberHelper 
       Stub 
       StubDelegate 
       StubNotFoundException 
       Style 
       StyleConstants 
       StyleConstants.CharacterConstants 
       StyleConstants.ColorConstants 
       StyleConstants.FontConstants 
       StyleConstants.ParagraphConstants 
       StyleContext 
       StyleSheet 
       StyleSheet.BoxPainter 
       StyleSheet.ListPainter 
       StyledDocument 
       StyledEditorKit 
       StyledEditorKit.AlignmentAction 
       StyledEditorKit.BoldAction 
       StyledEditorKit.FontFamilyAction 
       StyledEditorKit.FontSizeAction 
       StyledEditorKit.ForegroundAction 
       StyledEditorKit.ItalicAction 
       StyledEditorKit.StyledTextAction 
       StyledEditorKit.UnderlineAction 
       Subject 
       SubjectDelegationPermission 
       SubjectDomainCombiner 
       SupportedValuesAttribute 
       SuppressWarnings 
       SwingConstants 
       SwingPropertyChangeSupport 
       SwingUtilities 
       SyncFactory 
       SyncFactoryException 
       SyncFailedException 
       SyncProvider 
       SyncProviderException 
       SyncResolver 
       SyncScopeHelper 
       SynchronousQueue 
       SynthConstants 
       SynthContext 
       SynthGraphicsUtils 
       SynthLookAndFeel 
       SynthPainter 
       SynthStyle 
       SynthStyleFactory 
       Synthesizer 
       SysexMessage 
       System 
       SystemColor 
       SystemException 
       SystemFlavorMap 
       TAG_ALTERNATE_IIOP_ADDRESS 
       TAG_CODE_SETS 
       TAG_INTERNET_IOP 
       TAG_JAVA_CODEBASE 
       TAG_MULTIPLE_COMPONENTS 
       TAG_ORB_TYPE 
       TAG_POLICIES 
       TAG_RMI_CUSTOM_MAX_STREAM_FORMAT 
       TCKind 
       THREAD_POLICY_ID 
       TIMEOUT 
       TRANSACTION_MODE 
       TRANSACTION_REQUIRED 
       TRANSACTION_ROLLEDBACK 
       TRANSACTION_UNAVAILABLE 
       TRANSIENT 
       TRANSPORT_RETRY 
       TabExpander 
       TabSet 
       TabStop 
       TabableView 
       TabbedPaneUI 
       TableCellEditor 
       TableCellRenderer 
       TableColumn 
       TableColumnModel 
       TableColumnModelEvent 
       TableColumnModelListener 
       TableHeaderUI 
       TableModel 
       TableModelEvent 
       TableModelListener 
       TableUI 
       TableView 
       TabularData 
       TabularDataSupport 
       TabularType 
       TagElement 
       TaggedComponent 
       TaggedComponentHelper 
       TaggedComponentHolder 
       TaggedProfile 
       TaggedProfileHelper 
       TaggedProfileHolder 
       Target 
       TargetDataLine 
       TargetedNotification 
       Templates 
       TemplatesHandler 
       Text 
       TextAction 
       TextArea 
       TextAttribute 
       TextComponent 
       TextEvent 
       TextField 
       TextHitInfo 
       TextInputCallback 
       TextLayout 
       TextLayout.CaretPolicy 
       TextListener 
       TextMeasurer 
       TextOutputCallback 
       TextSyntax 
       TextUI 
       TexturePaint 
       Thread 
       Thread.State 
       Thread.UncaughtExceptionHandler 
       ThreadDeath 
       ThreadFactory 
       ThreadGroup 
       ThreadInfo 
       ThreadLocal 
       ThreadMXBean 
       ThreadPolicy 
       ThreadPolicyOperations 
       ThreadPolicyValue 
       ThreadPoolExecutor 
       ThreadPoolExecutor.AbortPolicy 
       ThreadPoolExecutor.CallerRunsPolicy 
       ThreadPoolExecutor.DiscardOldestPolicy 
       ThreadPoolExecutor.DiscardPolicy 
       Throwable 
       Tie 
       TileObserver 
       Time 
       TimeLimitExceededException 
       TimeUnit 
       TimeZone 
       TimeoutException 
       Timer 
       Timer 
       Timer 
       TimerAlarmClockNotification 
       TimerMBean 
       TimerNotification 
       TimerTask 
       Timestamp 
       Timestamp 
       TitledBorder 
       TooManyListenersException 
       ToolBarUI 
       ToolTipManager 
       ToolTipUI 
       Toolkit 
       Track 
       TransactionRequiredException 
       TransactionRolledbackException 
       TransactionService 
       TransactionalWriter 
       TransferHandler 
       Transferable 
       TransformAttribute 
       Transformer 
       TransformerConfigurationException 
       TransformerException 
       TransformerFactory 
       TransformerFactoryConfigurationError 
       TransformerHandler 
       Transmitter 
       Transparency 
       TreeCellEditor 
       TreeCellRenderer 
       TreeExpansionEvent 
       TreeExpansionListener 
       TreeMap 
       TreeModel 
       TreeModelEvent 
       TreeModelListener 
       TreeNode 
       TreePath 
       TreeSelectionEvent 
       TreeSelectionListener 
       TreeSelectionModel 
       TreeSet 
       TreeUI 
       TreeWillExpandListener 
       TrustAnchor 
       TrustManager 
       TrustManagerFactory 
       TrustManagerFactorySpi 
       Type 
       TypeCode 
       TypeCodeHolder 
       TypeInfo 
       TypeInfoProvider 
       TypeMismatch 
       TypeMismatch 
       TypeMismatch 
       TypeMismatchHelper 
       TypeMismatchHelper 
       TypeNotPresentException 
       TypeVariable 
       Types 
       UID 
       UIDefaults 
       UIDefaults.ActiveValue 
       UIDefaults.LazyInputMap 
       UIDefaults.LazyValue 
       UIDefaults.ProxyLazyValue 
       UIManager 
       UIManager.LookAndFeelInfo 
       UIResource 
       ULongLongSeqHelper 
       ULongLongSeqHolder 
       ULongSeqHelper 
       ULongSeqHolder 
       UNKNOWN 
       UNKNOWN 
       UNSUPPORTED_POLICY 
       UNSUPPORTED_POLICY_VALUE 
       URI 
       URIException 
       URIResolver 
       URISyntax 
       URISyntaxException 
       URL 
       URLClassLoader 
       URLConnection 
       URLDecoder 
       URLEncoder 
       URLStreamHandler 
       URLStreamHandlerFactory 
       URLStringHelper 
       USER_EXCEPTION 
       UShortSeqHelper 
       UShortSeqHolder 
       UTFDataFormatException 
       UUID 
       UndeclaredThrowableException 
       UndoManager 
       UndoableEdit 
       UndoableEditEvent 
       UndoableEditListener 
       UndoableEditSupport 
       UnexpectedException 
       UnicastRemoteObject 
       UnionMember 
       UnionMemberHelper 
       UnknownEncoding 
       UnknownEncodingHelper 
       UnknownError 
       UnknownException 
       UnknownFormatConversionException 
       UnknownFormatFlagsException 
       UnknownGroupException 
       UnknownHostException 
       UnknownHostException 
       UnknownObjectException 
       UnknownServiceException 
       UnknownUserException 
       UnknownUserExceptionHelper 
       UnknownUserExceptionHolder 
       UnmappableCharacterException 
       UnmarshalException 
       UnmodifiableClassException 
       UnmodifiableSetException 
       UnrecoverableEntryException 
       UnrecoverableKeyException 
       Unreferenced 
       UnresolvedAddressException 
       UnresolvedPermission 
       UnsatisfiedLinkError 
       UnsolicitedNotification 
       UnsolicitedNotificationEvent 
       UnsolicitedNotificationListener 
       UnsupportedAddressTypeException 
       UnsupportedAudioFileException 
       UnsupportedCallbackException 
       UnsupportedCharsetException 
       UnsupportedClassVersionError 
       UnsupportedEncodingException 
       UnsupportedFlavorException 
       UnsupportedLookAndFeelException 
       UnsupportedOperationException 
       UserDataHandler 
       UserException 
       Util 
       UtilDelegate 
       Utilities 
       VMID 
       VM_ABSTRACT 
       VM_CUSTOM 
       VM_NONE 
       VM_TRUNCATABLE 
       Validator 
       ValidatorHandler 
       ValueBase 
       ValueBaseHelper 
       ValueBaseHolder 
       ValueExp 
       ValueFactory 
       ValueHandler 
       ValueHandlerMultiFormat 
       ValueInputStream 
       ValueMember 
       ValueMemberHelper 
       ValueOutputStream 
       VariableHeightLayoutCache 
       Vector 
       VerifyError 
       VersionSpecHelper 
       VetoableChangeListener 
       VetoableChangeListenerProxy 
       VetoableChangeSupport 
       View 
       ViewFactory 
       ViewportLayout 
       ViewportUI 
       VirtualMachineError 
       Visibility 
       VisibilityHelper 
       VoiceStatus 
       Void 
       VolatileImage 
       WCharSeqHelper 
       WCharSeqHolder 
       WStringSeqHelper 
       WStringSeqHolder 
       WStringValueHelper 
       WeakHashMap 
       WeakReference 
       WebRowSet 
       WildcardType 
       Window 
       WindowAdapter 
       WindowConstants 
       WindowEvent 
       WindowFocusListener 
       WindowListener 
       WindowStateListener 
       WrappedPlainView 
       WritableByteChannel 
       WritableRaster 
       WritableRenderedImage 
       WriteAbortedException 
       Writer 
       WrongAdapter 
       WrongAdapterHelper 
       WrongPolicy 
       WrongPolicyHelper 
       WrongTransaction 
       WrongTransactionHelper 
       WrongTransactionHolder 
       X500Principal 
       X500PrivateCredential 
       X509CRL 
       X509CRLEntry 
       X509CRLSelector 
       X509CertSelector 
       X509Certificate 
       X509Certificate 
       X509EncodedKeySpec 
       X509ExtendedKeyManager 
       X509Extension 
       X509KeyManager 
       X509TrustManager 
       XAConnection 
       XADataSource 
       XAException 
       XAResource 
       XMLConstants 
       XMLDecoder 
       XMLEncoder 
       XMLFilter 
       XMLFilterImpl 
       XMLFormatter 
       XMLGregorianCalendar 
       XMLParseException 
       XMLReader 
       XMLReaderAdapter 
       XMLReaderFactory 
       XPath 
       XPathConstants 
       XPathException 
       XPathExpression 
       XPathExpressionException 
       XPathFactory 
       XPathFactoryConfigurationException 
       XPathFunction 
       XPathFunctionException 
       XPathFunctionResolver 
       XPathVariableResolver 
       Xid 
       XmlReader 
       XmlWriter 
       ZipEntry 
       ZipException 
       ZipFile 
       ZipInputStream 
       ZipOutputStream 
       ZoneView 
       _BindingIteratorImplBase 
       _BindingIteratorStub 
       _DynAnyFactoryStub 
       _DynAnyStub 
       _DynArrayStub 
       _DynEnumStub 
       _DynFixedStub 
       _DynSequenceStub 
       _DynStructStub 
       _DynUnionStub 
       _DynValueStub 
       _IDLTypeStub 
       _NamingContextExtStub 
       _NamingContextImplBase 
       _NamingContextStub 
       _PolicyStub 
       _Remote_Stub 
       _ServantActivatorStub 
       _ServantLocatorStub 
    
    
       abstract 
       case 
       catch 
       class 
       def 
       do 
       else 
       extends 
       false 
       final 
       finally 
       for 
       forSome 
       if 
       implicit 
       import 
       lazy 
       match 
       new 
       null 
       object 
       override 
       package 
       private 
       protected 
       requires 
       return 
       sealed 
       super 
       this 
       throw 
       trait 
       true 
       try 
       type 
       val 
       var 
       while 
       with 
       yield 
    
    
       boolean 
       byte 
       char 
       double 
       float 
       int 
       long 
       short 
       unit 
    
    
      
        
        
        
        
        
        
        
          
        
        
        
        
          
          
          
          
          
          
          
          
        
        
        
        
        
        
        
        
        
        

        
        
        
      
      
        
        
        
      
      
        
        
      
      
        
        
        
        
        
        
      
      
        
      

      
      
        
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/scheme.xml0000644000000000000000000004134412633103275016071 0ustar0000000000000000



  
    
       <= 
       < 
       = 
       => 
       >= 
       > 
       - 
       / 
       *,* 
       *) 
       + 
    
    
       #\nul 
       #\soh 
       #\stx 
       #\etx 
       #\eot 
       #\enq 
       #\ack 
       #\bel 
       #\bs 
       #\ht 
       #\nl 
       #\vt 
       #\np 
       #\cr 
       #\so 
       #\si 
       #\dle 
       #\dc1 
       #\dc2 
       #\dc3 
       #\dc4 
       #\nak 
       #\syn 
       #\etb 
       #\can 
       #\em 
       #\sub 
       #\esc 
       #\fs 
       #\gs 
       #\rs 
       #\us 
       #\space 
       #\sp 
       #\newline 
       #\nl 
       #\tab 
       #\ht 
       #\backspace 
       #\bs 
       #\return 
       #\cr 
       #\page 
       #\np 
       #\null 
       #\nul 
    
    
       define 
       define* 
       define-accessor 
       define-class 
       defined? 
       define-generic 
       define-macro 
       define-method 
       define-module 
       define-private 
       define-public 
       define*-public 
       define-reader-ctor 
       define-syntax 
       define-syntax-macro 
       defmacro 
       defmacro* 
       defmacro*-public 
    
    
       abs 
       acos 
       and 
       angle 
       append 
       applymap 
       asin 
       assoc 
       assq 
       assv 
       atan 
       begin 
       boolean? 
       break 
       caaaar 
       caaadr 
       caaar 
       caadar 
       caaddr 
       caadr 
       caar 
       cadaar 
       cadadr 
       cadar 
       caddar 
       cadddr 
       caddr 
       cadr 
       call/cc 
       call-with-current-continuation 
       call-with-input-file 
       call-with-output-file 
       call-with-values 
       car 
       case 
       catch 
       cdaaar 
       cdaadr 
       cdaar 
       cdadar 
       cdaddr 
       cdadr 
       cdar 
       cddaar 
       cddadr 
       cddar 
       cdddar 
       cddddr 
       cdddr 
       cddr 
       cdr 
       ceiling 
       char-alphabetic? 
       char-ci>=? 
       char-ci>? 
       char-ci=? 
       char-ci<=? 
       char-downcase 
       char->integer 
       char>=? 
       char>? 
       char=? 
       char? 
       char-lower-case? 
       char<?c 
       char<=? 
       char-numeric? 
       char-ready? 
       char-upcase 
       char-upper-case? 
       char-whitespace? 
       close-input-port 
       close-output-port 
       complex? 
       cond 
       cons 
       continue 
       cos 
       current-input-port 
       current-output-port 
       denominator 
       display 
       do 
       dynamic-wind 
       else 
       eof-object? 
       eq? 
       equal? 
       eqv? 
       eval 
       even? 
       exact->inexact 
       exact? 
       exp 
       expt 
       floor 
       force 
       for-each 
       gcd 
       har-ci<? 
       if 
       imag-part 
       inexact->exact 
       inexact? 
       input-port? 
       integer->char 
       integer? 
       interaction-environment 
       lambda 
       lcm 
       length 
       let 
       let* 
       letrec 
       letrec-syntax 
       let-syntax 
       list->string 
       list 
       list? 
       list-ref 
       list-tail 
       load 
       log 
       magnitude 
       make-polar 
       make-rectangular 
       make-string 
       make-vector 
       max 
       member 
       memq 
       memv 
       min 
       modulo 
       negative? 
       newline 
       not 
       null-environment 
       null? 
       number? 
       number->string 
       numerator 
       odd? 
       open-input-file 
       open-output-file 
       or 
       output-port? 
       pair? 
       peek-char 
       port? 
       positive? 
       procedure? 
       quotient 
       rational? 
       rationalize 
       read-char 
       read 
       real? 
       real-part 
       remainder 
       reverse 
       round 
       scheme-report-environment 
       set-car! 
       set-cdr! 
       sin 
       sqrt 
       string-append 
       string-ci>=? 
       string-ci>? 
       string-ci=? 
       string-ci<=? 
       string-ci<? 
       string-copy 
       string-fill! 
       string>=? 
       string>? 
       string->list 
       string->number 
       string->symbol 
       string=? 
       string 
       string? 
       string-length 
       string<=? 
       string<? 
       string-ref 
       string-set! 
       substring 
       symbol->string 
       symbol? 
       syntax-rules 
       tan 
       transcript-off 
       transcript-on 
       truncate 
       values 
       vector-fill! 
       vector->listlist->vector 
       vector 
       vector? 
       vector-length 
       vector-ref 
       vector-set! 
       while 
       with-input-from-file 
       with-output-to-file 
       write-char 
       write 
       zero? 
    
    
      
            
            
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
      
      
        
      
      
        
        
        
        
        
      
      
        
      
      
           
           
           
      
      
           
           
           
      
      
           
           
           
      
      
           
           
           
      
      
           
           
           
      
      
           
           
           
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
    
      
      
    
  

highlighting-kate-0.6.1/xml/sci.xml0000644000000000000000000007223112633103275015402 0ustar0000000000000000


  
    
       do 
       else 
       for 
       if 
       elseif 
       end 
       select 
       then 
       while 
    
    
       abort 
       break 
       quit 
       return 
       resume 
       pause 
    
    
       function 
       endfunction 
    
    
       error 
       warning 
    
  
       %F 
       %f 
       %T 
       %t 
       %e 
       %pi 
       %inf 
       %i 
       %z 
       %io 
       %s 
       %nan 
       $ 
       %eps 
       MSDOS 
    
    
	 zpell 
	 zpch2 
	 zpch1 
	 zpbutt 
	 zgrid 
	 zeros 
	 zeropen 
	 ZCROSS_f 
	 yulewalk 
	 xtitle 
	 xtape 
	 xstringl 
	 xstringb 
	 xstring 
	 xsetm 
	 xsetech 
	 xset 
	 xselect 
	 xsegs 
	 xsave 
	 xs2fig 
	 xrpoly 
	 xrects 
	 xrect 
	 xpolys 
	 xpoly 
	 xpause 
	 xnumb 
	 xname 
	 x_message_modeless 
	 x_message 
	 x_mdialog 
	 x_matrix 
	 xload 
	 xlfont 
	 xinit 
	 xinfo 
	 xgrid 
	 xgraduate 
	 xgetmouse 
	 xgetfile 
	 xgetech 
	 xget 
	 xfrect 
	 xfpolys 
	 xfpoly 
	 xfarcs 
	 xfarc 
	 xend 
	 x_dialog 
	 xdel 
	 xclip 
	 xclick 
	 xclear 
	 xclea 
	 x_choose 
	 x_choices 
	 xchange 
	 xbasr 
	 xbasimp 
	 xbasc 
	 xaxis 
	 xarrows 
	 xarcs 
	 xarc 
	 WRITEC_f 
	 write4b 
	 write 
	 writb 
	 winsid 
	 window 
	 wigner 
	 wiener 
	 whos 
	 who 
	 whereis 
	 whereami 
	 where 
	 what 
	 wfir 
	 WFILE_f 
	 wavwrite 
	 wavread 
	 warning 
	 WaitMsg 
	 varn 
	 varargout 
	 varargin 
	 user 
	 unsetmenu 
	 unobs 
	 unix_x 
	 unix_w 
	 unix_s 
	 unix_g 
	 unix 
	 unique 
	 union 
	 ulink 
	 ui_observer 
	 uint8 
	 uint32 
	 uint16 
	 uimenu 
	 uicontrol 
	 typeof 
	 typename 
	 type 
	 trzeros 
	 triu 
	 trisolve 
	 tril 
	 trianfml 
	 trfmod 
	 TRASH_f 
	 translatepaths 
	 trans_closure 
	 trans 
	 trace 
	 toeplitz 
	 tlist 
	 TK_SetVar 
	 TK_GetVar 
	 TK_EvalStr 
	 TK_EvalFile 
	 titlepage 
	 timer 
	 time_id 
	 TIME_f 
	 tilda 
	 tf2ss 
	 tf2des 
	 TEXT_f 
	 texprint 
	 testmatrix 
	 tdinit 
	 TCLSS_f 
	 tanm 
	 tanhm 
	 tanh 
	 tangent 
	 TANBLK_f 
	 tan 
	 systmat 
	 systems 
	 system 
	 syssize 
	 syslin 
	 sysfact- 
	 sysdiag 
	 sysconv 
	 symbols 
	 sylv 
	 sylm 
	 svplot 
	 svd 
	 sva 
	 supernode 
	 SUPER_f 
	 sum 
	 successors 
	 subplot 
	 subgraph 
	 subf 
	 strsubst 
	 strong_con_nodes 
	 strong_connex 
	 stripblanks 
	 strings 
	 string 
	 strindex 
	 strcat 
	 str2code 
	 STOP_f 
	 st_ility 
	 st_deviation 
	 startup 
	 star 
	 standard_output 
	 standard_origin 
	 standard_input 
	 standard_draw 
	 standard_define 
	 stacksize 
	 stabil 
	 ssrand 
	 ssprint 
	 sskf 
	 sscanf 
	 ss2tf 
	 ss2ss 
	 ss2des 
	 srkf 
	 srfaur 
	 squarewave 
	 square 
	 sqrtm 
	 sqrt 
	 sqroot 
	 spzeros 
	 sprintf 
	 sprand 
	 spones 
	 SPLIT_f 
	 split_edge 
	 splin 
	 spget 
	 speye 
	 specfact 
	 spec 
	 spcompack 
	 spchol 
	 sparse 
	 spantwo 
	 spanplus 
	 spaninter 
	 sp2adj 
	 sound 
	 sort 
	 SOM_f 
	 solve 
	 %sn 
	 smooth 
	 sm2ss 
	 sm2des 
	 slash 
	 size 
	 sinm 
	 sinhm 
	 sinh 
	 sincd 
	 sinc 
	 SINBLK_f 
	 sin 
	 simp_mode 
	 simp 
	 signm 
	 sign 
	 showprofile 
	 show_nodes 
	 show_graph 
	 show_arcs 
	 shortest_path 
	 sgrid 
	 Sgrayplot 
	 Sfgrayplot 
	 sfact 
	 setscicosvars 
	 setmenu 
	 setfield 
	 setbpt 
	 set 
	 sensi 
	 SendMsg 
	 semidef 
	 semicolumn 
	 semi 
	 SELECT_f 
	 secto3d 
	 sd2sci 
	 SCOPXY_f 
	 SCOPE_f 
	 scilink 
	 ScilabEval 
	 scilab 
	 scifunc_block 
	 scicos_model 
	 scicos_menus 
	 scicos_main 
	 scicos_link 
	 scicosim 
	 scicos_graphics 
	 scicos_cpr 
	 scicos_block 
	 scicos 
	 sciargs 
	 sci2map 
	 sci2for 
	 sci2exp 
	 schur 
	 scanf_conversion 
	 scanf 
	 scaling 
	 SAWTOOTH_f 
	 savewave 
	 save_graph 
	 save 
	 SAT_f 
	 SAMPLEHOLD_f 
	 salesman 
	 rtitr 
	 rref 
	 rpem 
	 rowshuff 
	 rowregul 
	 rowinout 
	 rowcompr 
	 rowcomp 
	 routh_t 
	 round 
	 rotate 
	 roots 
	 rlist 
	 ric_desc 
	 riccati 
	 ricc 
	 RFILE_f 
	 residu 
	 replot 
	 repfreq 
	 remezb 
	 remez 
	 RELAY_f 
	 reglin 
	 REGISTER_f 
	 recur 
	 real 
	 readmps 
	 READC_f 
	 readc_ 
	 readb 
	 read4b 
	 read 
	 rdivf 
	 rcond 
	 rational 
	 rat 
	 rank 
	 range 
	 randpencil 
	 RAND_f 
	 rand 
	 quote 
	 quit 
	 quaskro 
	 quapro 
	 QUANT_f 
	 qr 
	 qassign 
	 pwd 
	 pvm_tidtohost 
	 pvm_start 
	 pvm_spawn_independent 
	 pvm_spawn 
	 pvm_set_timer 
	 pvm_send 
	 pvm_sci2f77 
	 pvm_reduce 
	 pvm_recv 
	 pvm_probe 
	 pvm_mytid 
	 pvm_lvgroup 
	 pvm_kill 
	 pvm_joingroup 
	 pvm_halt 
	 pvm_gsize 
	 pvm_get_timer 
	 pvm_getinst 
	 pvm_exit 
	 pvm_error 
	 pvm_delhosts 
	 pvmd3 
	 pvm_config 
	 pvm_bufinfo 
	 pvm_bcast 
	 pvm_addhosts 
	 pvm 
	 pspect 
	 psmall 
	 projspec 
	 projsl 
	 proj 
	 profile 
	 PROD_f 
	 prod 
	 printing 
	 printf_conversion 
	 printf 
	 print 
	 predef 
	 predecessors 
	 prbs_a 
	 ppol 
	 power 
	 POWBLK_f 
	 POSTONEG_f 
	 portrait 
	 portr3d 
	 poly 
	 polfact 
	 polarplot 
	 polar 
	 pol2tex 
	 pol2str 
	 pol2des 
	 pmodulo 
	 p_margin 
	 plzr 
	 plus 
	 plotprofile 
	 plot_graph 
	 plotframe 
	 plot3d3 
	 plot3d2 
	 plot3d1 
	 plot3d 
	 plot2d4 
	 plot2d3 
	 plot2d2 
	 plot2d1 
	 plot2d 
	 plot 
	 playsnd 
	 pipe_network 
	 pinv 
	 phc 
	 phasemag 
	 pfss 
	 pertrans 
	 perfect_match 
	 percent 
	 penlaur 
	 pencan 
	 pen2ea 
	 pdiv 
	 pbig 
	 path_2_nodes 
	 part 
	 parrot 
	 parents 
	 paramfplot2d 
	 param3d1 
	 param3d 
	 overloading 
	 OUT_f 
	 orth 
	 or 
	 optim 
	 ones 
	 oldsave 
	 oldload 
	 ode_root 
	 odeoptions 
	 ode_discrete 
	 odedi 
	 odedc 
	 ode 
	 obsvss 
	 obsv_mat 
	 obs_gram 
	 observer 
	 obscont1 
	 obscont 
	 nyquist 
	 numer 
	 null 
	 not 
	 norm 
	 noisegen 
	 nodes_degrees 
	 nodes_2_path 
	 node_number 
	 nnz 
	 nlev 
	 nf3d 
	 newfun 
	 newest 
	 netwindows 
	 netwindow 
	 netclose 
	 neighbors 
	 nehari 
	 NEGTOPOS_f 
	 narsimul 
	 names 
	 MUX_f 
	 mulf 
	 mu2lin 
	 mtlb_sparse 
	 mtlb_save 
	 mtlb_mode 
	 mtlb_load 
	 mtell 
	 msscanf 
	 msprintf 
	 mseek 
	 mscanf 
	 mrfit 
	 mputstr 
	 mputl 
	 mput 
	 mps2linpro 
	 mprintf 
	 mopen 
	 modulo 
	 mode 
	 mlist 
	 min_weight_tree 
	 minus 
	 minss 
	 minreal 
	 min_qcost_flow 
	 min_lcost_flow2 
	 min_lcost_flow1 
	 min_lcost_cflow 
	 mini 
	 MIN_f 
	 mine 
	 min 
	 milk_drop 
	 mgetstr 
	 mgetl 
	 mgeti 
	 mget 
	 mfscanf 
	 mfprintf 
	 mfile2sci 
	 mfft 
	 MFCLCK_f 
	 metanet_sync 
	 metanet 
	 mesh2d 
	 mese 
	 meof 
	 median 
	 mean 
	 mclose 
	 MCLOCK_f 
	 mclearerr 
	 m_circle 
	 maxi 
	 max_flow 
	 MAX_f 
	 max_clique 
	 max_cap_path 
	 max 
	 matrix 
	 matrices 
	 Matplot1 
	 Matplot 
	 mat_2_graph 
	 markp2ss 
	 mapsound 
	 manedit 
	 man 
	 make_graph 
	 macrovar 
	 macro 
	 macr2lst 
	 macglov 
	 lyap 
	 lusolve 
	 luget 
	 lufact 
	 ludel 
	 lu 
	 ltitr 
	 lstcat 
	 lsslist 
	 lqr 
	 lqg_ltr 
	 lqg2stan 
	 lqg 
	 lqe 
	 lotest 
	 LOOKUP_f 
	 logspace 
	 logm 
	 LOGBLK_f 
	 log2 
	 log10 
	 log 
	 locate 
	 loadwave 
	 load_graph 
	 load 
	 lmitool 
	 lmisolver 
	 list 
	 linspace 
	 linsolve 
	 linpro 
	 link 
	 linfn 
	 linf 
	 lines 
	 line_graph 
	 lindquist 
	 lin2mu 
	 lin 
	 lib 
	 lgfft 
	 lft 
	 lex_sort 
	 levin 
	 lev 
	 less 
	 leqr 
	 length 
	 legends 
	 left 
	 leastsq 
	 ldivf 
	 ldiv 
	 lcmdiag 
	 lcm 
	 lcf 
	 lattp 
	 lattn 
	 lasterror 
	 kroneck 
	 kron 
	 krac2 
	 kpure 
	 knapsack 
	 keyboard 
	 kernel 
	 karmarkar 
	 kalm 
	 %k 
	 jmat 
	 isreal 
	 isoview 
	 isnan 
	 isinf 
	 isglobal 
	 iserror 
	 isdef 
	 is_connex 
	 invsyslin 
	 invr 
	 inv_coeff 
	 INVBLK_f 
	 inv 
	 inttype 
	 inttrap 
	 intsplin 
	 INTRPLBLK_f 
	 INTRP2BLK_f 
	 intppty 
	 intl 
	 intg 
	 intersect 
	 intersci 
	 interpln 
	 interp 
	 integrate 
	 INTEGRAL_f 
	 intdec 
	 intc 
	 int8 
	 int3d 
	 int32 
	 int2d 
	 int16 
	 int 
	 insertion 
	 input 
	 IN_f 
	 imrep2ss 
	 impl 
	 im_inv 
	 imag 
	 ilib_gen_Make 
	 ilib_gen_loader 
	 ilib_gen_gateway 
	 ilib_for_link 
	 ilib_compile 
	 ilib_build 
	 iirlp 
	 iirgroup 
	 iir 
	 IFTHEL_f 
	 ieee 
	 iconvert 
	 hypermatrices 
	 hypermat 
	 htrianr 
	 hrmt 
	 householder 
	 hotcolormap 
	 host 
	 horner 
	 h_norm 
	 histplot 
	 hist3d 
	 h_inf_st 
	 h_inf 
	 hilb 
	 hex2dec 
	 hess 
	 hermit 
	 %helps 
	 help 
	 h_cl 
	 havewindow 
	 hat 
	 hankelsv 
	 hank 
	 hamilton 
	 HALT_f 
	 halt 
	 h2norm 
	 gtild 
	 gstacksize 
	 gspec 
	 gsort 
	 gschur 
	 group 
	 gr_menu 
	 grep 
	 graypolarplot 
	 grayplot 
	 graycolormap 
	 graph_union 
	 graph_sum 
	 graph_simp 
	 graph_power 
	 graph-list 
	 Graphics 
	 graph_diameter 
	 graph_complement 
	 graph_center 
	 graph_2_mat 
	 grand 
	 graduate 
	 gpeche 
	 g_margin 
	 G_make 
	 global 
	 glist 
	 glever 
	 givens 
	 girth 
	 gfrancis 
	 gfare 
	 getversion 
	 getvalue 
	 getsymbol 
	 getscicosvars 
	 getpid 
	 GetMsg 
	 getmark 
	 getlinestyle 
	 getio 
	 get_function_path 
	 getfont 
	 getfield 
	 getf 
	 getenv 
	 getdate 
	 getd 
	 getcwd 
	 getcolor 
	 getblocklabel 
	 get 
	 geom3d 
	 GENSQR_f 
	 GENSIN_f 
	 gen_net 
	 genmarkov 
	 genlib 
	 genfac3d 
	 GENERIC_f 
	 GENERAL_f 
	 gcf 
	 gcd 
	 gcare 
	 gammaln 
	 gamma 
	 gamitg 
	 gainplot 
	 GAIN_f 
	 GAINBLK_f 
	 fusee 
	 funptr 
	 funcprot 
	 fun2string 
	 fullrfk 
	 fullrf 
	 full 
	 fstair 
	 fstabst 
	 fspecg 
	 fsolve 
	 fsfirlin 
	 fscanfMat 
	 fscanf 
	 frmag 
	 frfit 
	 frexp 
	 freson 
	 freq 
	 frep2tf 
	 fprintfMat 
	 fprintf 
	 fplot3d1 
	 fplot3d 
	 fplot2d 
	 fourplan 
	 fort 
	 formatman 
	 format 
	 flts 
	 floor 
	 fix 
	 fit_dat 
	 find_path 
	 findobj 
	 findm 
	 find_freq 
	 find 
	 filter 
	 fileinfo 
	 file 
	 figure 
	 fgrayplot 
	 fft 
	 ffilt 
	 feval 
	 feedback 
	 fec 
	 fcontour2d 
	 fcontour 
	 fchamp 
	 faurre 
	 factors 
	 fac3d 
	 eye 
	 extraction 
	 external 
	 expm 
	 EXPBLK_f 
	 exp 
	 exit 
	 exists 
	 execstr 
	 ExecScilab 
	 ExeclScilab 
	 ExecAppli 
	 exec 
	 excel2sci 
	 Example 
	 EVTGEN_f 
	 EVTDLY_f 
	 evstr 
	 EVENTSCOPE_f 
	 evans 
	 eval3dp 
	 eval3d 
	 eval 
	 error 
	 errclear 
	 errcatch 
	 errbar 
	 erfcx 
	 erfc 
	 erf 
	 ereduc 
	 equil1 
	 equil 
	 equal 
	 eqiir 
	 eqfir 
	 emptystr 
	 empty 
	 ell1mag 
	 eigenmarkov 
	 edit_curv 
	 edit 
	 edge_number 
	 dtsi 
	 dt_ility 
	 dsimul 
	 dscr 
	 driver 
	 drawaxis 
	 dragrect 
	 double 
	 dot 
	 DLSS_f 
	 DLR_f 
	 DLRADAPT_f 
	 dlgamma 
	 dispfile 
	 dispbpt 
	 disp 
	 diophant 
	 diary 
	 diag 
	 dhnorm 
	 dft 
	 detr 
	 determ 
	 det 
	 DestroyLink 
	 des2tf 
	 des2ss 
	 derivative- 
	 derivat 
	 denom 
	 DEMUX_f 
	 demos 
	 delmenu 
	 delip 
	 delete_nodes 
	 delete_arcs 
	 delbpt 
	 DELAYV_f 
	 DELAY_f 
	 degree 
	 deff 
	 dec2hex 
	 debug 
	 ddp 
	 dcf 
	 dbphi 
	 date 
	 datafit 
	 dassl 
	 dasrt 
	 czt 
	 cycle_basis 
	 CURV_f 
	 curblock 
	 cumsum 
	 cumprod 
	 ctr_gram 
	 cspect 
	 csim 
	 CreateLink 
	 cothm 
	 coth 
	 cotg 
	 cosm 
	 coshm 
	 cosh 
	 COSBLK_f 
	 cos 
	 corr 
	 copfac 
	 convstr 
	 convol 
	 convex_hull 
	 contrss 
	 contract_edge 
	 contr 
	 contourf 
	 contour2di 
	 contour2d 
	 contour 
	 cont_mat 
	 cont_frm 
	 CONST_f 
	 con_nodes 
	 connex 
	 conj 
	 cond 
	 companion 
	 comp 
	 Communications 
	 colregul 
	 colormap 
	 colon 
	 colnew 
	 colinout 
	 colcompr 
	 colcomp 
	 coffg 
	 coff 
	 coeff 
	 code2str 
	 cmndred 
	 cmb_lin 
	 CLSS_f 
	 cls2dls 
	 CLR_f 
	 close 
	 CLOCK_f 
	 CLKSPLIT_f 
	 CLKSOMV_f 
	 CLKSOM_f 
	 CLKOUTV_f 
	 CLKOUT_f 
	 CLKINV_f 
	 CLKIN_f 
	 c_link 
	 CLINDUMMY_f 
	 clearglobal 
	 clearfun 
	 clear 
	 clean 
	 classmarkov 
	 circuit 
	 chsolve 
	 chol 
	 chfact 
	 chepol 
	 check_graph 
	 cheb2mag 
	 cheb1mag 
	 chdir 
	 chart 
	 champ1 
	 champ 
	 chaintest 
	 chain_struct 
	 cepstrum 
	 ceil 
	 cdft 
	 cdfpoi 
	 cdfnor 
	 cdfnbn 
	 cdfgam 
	 cdffnc 
	 cdff 
	 cdfchn 
	 cdfchi 
	 cdfbin 
	 cdfbet 
	 ccontrg 
	 casc 
	 canon 
	 call 
	 calfrq 
	 calerf 
	 cainv 
	 bvode 
	 buttmag 
	 bstap 
	 boucle 
	 boolean 
	 bool2s 
	 bode 
	 bloc2ss 
	 bloc2exp 
	 black 
	 binomial 
	 bilin 
	 BIGSOM_f 
	 bifish 
	 bezout 
	 best_match 
	 bessely 
	 besselk 
	 besselj 
	 besseli 
	 bdiag 
	 bandwr 
	 balreal 
	 balanc 
	 backslash 
	 auwrite 
	 auread 
	 augment 
	 atanm 
	 atanhm 
	 atanh 
	 atan 
	 %asn 
	 asinm 
	 asinhm 
	 asinh 
	 asin 
	 ascii 
	 articul 
	 artest 
	 arsimul 
	 armax1 
	 armax 
	 armac 
	 arma2p 
	 arma 
	 arl2 
	 arhnk 
	 argn 
	 arc_number 
	 arc_graph 
	 apropos 
	 ans 
	 ANIMXY_f 
	 ANDLOG_f 
	 and 
	 analyze 
	 analpf 
	 amell 
	 alufunctions 
	 AFFICH_f 
	 aff2ab 
	 adj_lists 
	 adj2sp 
	 add_node 
	 addmenu 
	 addinter 
	 addf 
	 add_edge 
	 addcolor 
	 AdCommunications 
	 acosm 
	 acoshm 
	 acosh 
	 acos 
	 ABSBLK_f 
	 abs 
	 abinv 
	 abcd 
    
    
      
        
        
        
        
        
        
        
        
        
        
     
   
    
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/sed.xml0000644000000000000000000004674412633103275015411 0ustar0000000000000000


        
                
                        
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                        

                        
                                
                                
                                
                        

                        
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                        

                        
                                
                                
                        

                        
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                                
                        

                        
                                
                                
                        

                        
                                
                                
                        

                        
                                
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                                
                        

                        
                                
                                
                                
                        

                        
                                
                                
                                
                        

                        
                                
                                
                                
                        

                        
                                
                                
                        

                        
                                
                                
                                
                        

                        
                                
                                
                                
                        

                        
                                
                                
                                
                        

                        
                                
                                
                                
                                
                                
                        

                        
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                                
                        

                        
                        
                

                
                        

                        
                        
                        
                        
                        
                        
                        

                        
                        
                        
                        

                        
                        
                        

                        
                        
                        
                        
                        

                        
                        
                        

                        
                        
                
        

        
                
                        
                
        

highlighting-kate-0.6.1/xml/sgml.xml0000644000000000000000000000404112633103275015560 0ustar0000000000000000


  
    
       
         
         
       

       
          
          
          
       

       
         
          
         
       

       
         
       

       
         
       

    
    
      
      
      
      
      
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/sql-mysql.xml0000644000000000000000000003774712633103275016603 0ustar0000000000000000



  
    
       ACCESS 
       ADD 
       ALL 
       ALTER 
       ANALYZE 
       AND 
       AS 
       ASC 
       AUTO_INCREMENT 
       BDB 
       BERKELEYDB 
       BETWEEN 
       BOTH 
       BY 
       CASCADE 
       CASE 
       CHANGE 
      
       CHARSET 
       COLUMN 
       COLUMNS 
       CONSTRAINT 
       CREATE 
       CROSS 
       CURRENT_DATE 
       CURRENT_TIME 
       CURRENT_TIMESTAMP 
       DATABASE 
       DATABASES 
       DAY_HOUR 
       DAY_MINUTE 
       DAY_SECOND 
       DEC 
       DEFAULT 
       DELAYED 
       DELETE 
       DESC 
       DESCRIBE 
       DISTINCT 
       DISTINCTROW 
       DROP 
       ELSE 
       ENCLOSED 
       ESCAPED 
       EXISTS 
       EXPLAIN 
       FIELDS 
       FOR 
       FOREIGN 
       FROM 
       FULLTEXT 
       FUNCTION 
       GRANT 
       GROUP 
       HAVING 
       HIGH_PRIORITY 
       IF 
       IGNORE 
       IN 
       INDEX 
       INFILE 
       INNER 
       INNODB 
       INSERT 
       INTERVAL 
       INTO 
       IS 
       JOIN 
       KEY 
       KEYS 
       KILL 
       LEADING 
       LEFT 
       LIKE 
       LIMIT 
       LINES 
       LOAD 
       LOCK 
       LOW_PRIORITY 
       MASTER_SERVER_ID 
       MATCH 
       MRG_MYISAM 
       NATIONAL 
       NATURAL 
       NOT 
       NULL 
       NUMERIC 
       ON 
       OPTIMIZE 
       OPTION 
       OPTIONALLY 
       OR 
       ORDER 
       OUTER 
       OUTFILE 
       PARTIAL 
       PRECISION 
       PRIMARY 
       PRIVILEGES 
       PROCEDURE 
       PURGE 
       READ 
       REFERENCES 
       REGEXP 
       RENAME 
       REPLACE 
       REQUIRE 
       RESTRICT 
       RETURNS 
       REVOKE 
       RIGHT 
       RLIKE 
       SELECT 
       SET 
       SHOW 
       SONAME 
       SQL_BIG_RESULT 
       SQL_CALC_FOUND_ROWS 
       SQL_SMALL_RESULT 
       SSL 
       STARTING 
       STRAIGHT_JOIN 
       STRIPED 
       TABLE 
       TABLES 
       TERMINATED 
       THEN 
       TO 
       TRAILING 
       TRUNCATE 
       TYPE 
       UNION 
       UNIQUE 
       UNLOCK 
       UNSIGNED 
       UPDATE 
       USAGE 
       USE 
       USER_RESOURCES 
       USING 
       VALUES 
       VARYING 
       WHEN 
       WHERE 
       WHILE 
       WITH 
       WRITE 
       XOR 
       YEAR_MONTH 
       ZEROFILL 
    
    
       + 
       - 
       * 
       / 
       || 
       = 
       != 
       <> 
       < 
       <= 
       > 
       >= 
       ~= 
       ^= 
       := 
       => 
       ** 
       .. 
    
    
      
       ASCII 
       BIN 
       BIT_LENGTH 
       CHAR 
       CHARACTER_LENGTH 
       CHAR_LENGTH 
       CONCAT 
       CONCAT_WS 
       CONV 
       ELT 
       EXPORT_SET 
       FIELD 
       FIND_IN_SET 
       HEX 
       INSERT 
       INSTR 
       LCASE 
       LEFT 
       LENGTH 
       LOAD_FILE 
       LOCATE 
       LOWER 
       LPAD 
       LTRIM 
       MAKE_SET 
       MID 
       OCT 
       OCTET_LENGTH 
       ORD 
       POSITION 
       QUOTE 
       REPEAT 
       REPLACE 
       REVERSE 
       RIGHT 
       RPAD 
       RTRIM 
       SOUNDEX 
       SPACE 
       SUBSTRING 
       SUBSTRING_INDEX 
       TRIM 
       UCASE 
       UPPER 
      
       ABS 
       ACOS 
       ASIN 
       ATAN 
       ATAN2 
       CEILING 
       COS 
       COT 
       DEGREES 
       EXP 
       FLOOR 
       GREATEST 
       LEAST 
       LN 
       LOG 
       LOG10 
       LOG2 
       MOD 
       PI 
       POW 
       POWER 
       RADIANS 
       RAND 
       ROUND 
       SIGN 
       SIN 
       SQRT 
       TAN 
      
       ADDDATE 
       CURDATE 
       CURRENT_DATE 
       CURRENT_TIME 
       CURRENT_TIMESTAMP 
       CURTIME 
       DATE_ADD 
       DATE_FORMAT 
       DATE_SUB 
       DAYNAME 
       DAYOFMONTH 
       DAYOFWEEK 
       DAYOFYEAR 
       EXTRACT 
       FROM_DAYS 
       FROM_UNIXTIME 
       HOUR 
       MINUTE 
       MONTH 
       MONTHNAME 
       NOW 
       PERIOD_ADD 
       PERIOD_DIFF 
       QUARTER 
       SECOND 
       SEC_TO_TIME 
       SUBDATE 
       SYSDATE 
       TIME_FORMAT 
       TIME_TO_SEC 
       TO_DAYS 
       UNIX_TIMESTAMP 
       WEEK 
       WEEKDAY 
       YEAR 
       YEARWEEK 
      
       CAST 
       CONVERT 
      
       AES_DECRYPT 
       AES_ENCRYPT 
       BENCHMARK 
       BIT_COUNT 
       CONNECTION_ID 
       DATABASE 
       DECODE 
       DES_DECRYPT 
       DES_ENCRYPT 
       ENCODE 
       ENCRYPT 
       FORMAT 
       FOUND_ROWS 
       GET_LOCK 
       INET_ATON 
       INET_NTOA 
       IS_FREE_LOCK 
       LAST_INSERT_ID 
       MASTER_POS_WAIT 
       MD5 
       PASSWORD 
       RELEASE_LOCK 
       SESSION_USER 
       SHA 
       SHA1 
       SYSTEM_USER 
       USER 
       VERSION 
      
       AVG 
       BIT_AND 
       BIT_OR 
       COUNT 
       MAX 
       MIN 
       STD 
       STDDEV 
       SUM 
    
    
      
       BINARY 
       BLOB 
       CHAR 
       CHARACTER 
       ENUM 
       LONGBLOB 
       LONGTEXT 
       MEDIUMBLOB 
       MEDIUMTEXT 
       TEXT 
       TINYBLOB 
       TINYTEXT 
       VARBINARY 
       VARCHAR 
      
      
       BIGINT 
       BIT 
       BOOL 
       BOOLEAN 
       DEC 
       DECIMAL 
       DOUBLE 
       FIXED 
       FLOAT 
       INT 
       INTEGER 
       LONG 
       MEDIUMINT 
       MIDDLEINT 
       NUMERIC 
       TINYINT 
       REAL 
       SERIAL 
       SMALLINT 
      
       DATE 
       DATETIME 
       TIME 
       TIMESTAMP 
       YEAR 
    
    
      
        
        
        
        
        
        
        
        
        
        
        

        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        

        
        
        
        
        
      
      
      
        
        
        
        
      
      
      
        
        
        
        
      
      
      
        
        
        
      
      
      
      
        
        
      
      
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
    
  

highlighting-kate-0.6.1/xml/sql-postgresql.xml0000644000000000000000000006410612633103275017626 0ustar0000000000000000



  
    
       ABORT 
       ACCESS 
       ACTION 
       ADD 
       ADMIN 
       AFTER 
       AGGREGATE 
       ALIAS 
       ALL 
       ALLOCATE 
       ALTER 
       ANALYSE 
       ANALYZE 
       ANY 
       ARE 
       AS 
       ASC 
       ASENSITIVE 
       ASSERTION 
       ASSIGNMENT 
       ASYMMETRIC 
       AT 
       ATOMIC 
       AUTHORIZATION 
       BACKWARD 
       BEFORE 
       BEGIN 
       BETWEEN 
       BINARY 
       BOTH 
       BREADTH 
       BY 
       C 
       CACHE 
       CALL 
       CALLED 
       CARDINALITY 
       CASCADE 
       CASCADED 
       CASE 
       CAST 
       CATALOG 
       CATALOG_NAME 
       CHAIN 
       CHARACTERISTICS 
       CHARACTER_LENGTH 
       CHARACTER_SET_CATALOG 
       CHARACTER_SET_NAME 
       CHARACTER_SET_SCHEMA 
       CHAR_LENGTH 
       CHECK 
       CHECKED 
       CHECKPOINT 
       CLASS 
       CLASS_ORIGIN 
       CLOB 
       CLOSE 
       CLUSTER 
       COALESCE 
       COBOL 
       COLLATE 
       COLLATION 
       COLLATION_CATALOG 
       COLLATION_NAME 
       COLLATION_SCHEMA 
       COLUMN 
       COLUMN_NAME 
       COMMAND_FUNCTION 
       COMMAND_FUNCTION_CODE 
       COMMENT 
       COMMIT 
       COMMITTED 
       COMPLETION 
       CONDITION_NUMBER 
       CONNECT 
       CONNECTION 
       CONNECTION_NAME 
       CONSTRAINTS 
       CONSTRAINT 
       CONSTRAINT_CATALOG 
       CONSTRAINT_NAME 
       CONSTRAINT_SCHEMA 
       CONSTRUCTOR 
       CONTAINS 
       CONTINUE 
       CONVERT 
       COPY 
       CORRESPONDING 
       COUNT 
       CREATE 
       CREATEDB 
       CREATEUSER 
       CROSS 
       CUBE 
       CURRENT 
       CURRENT_DATE 
       CURRENT_PATH 
       CURRENT_ROLE 
       CURRENT_TIME 
       CURRENT_TIMESTAMP 
       CURRENT_USER 
       CURSOR 
       CURSOR_NAME 
       CYCLE 
       DATA 
       DATABASE 
       DATE 
       DATETIME_INTERVAL_CODE 
       DATETIME_INTERVAL_PRECISION 
       DAY 
       DEALLOCATE 
       DEC 
       DECIMAL 
       DECLARE 
       DEFAULT 
       DEFERRABLE 
       DEFERRED 
       DEFINED 
       DEFINER 
       DELETE 
       DELIMITERS 
       DEPTH 
       DEREF 
       DESC 
       DESCRIBE 
       DESCRIPTOR 
       DESTROY 
       DESTRUCTOR 
       DETERMINISTIC 
       DIAGNOSTICS 
       DICTIONARY 
       DISCONNECT 
       DISPATCH 
       DISTINCT 
       DO 
       DOMAIN 
       DOUBLE 
       DROP 
       DYNAMIC 
       DYNAMIC_FUNCTION 
       DYNAMIC_FUNCTION_CODE 
       EACH 
       ELSE 
       ENCODING 
       ENCRYPTED 
       END 
       END-EXEC 
       EQUALS 
       ESCAPE 
       EVERY 
       EXCEPT 
       EXCEPTION 
       EXCLUSIVE 
       EXEC 
       EXECUTE 
       EXISTING 
       EXISTS 
       EXPLAIN 
       EXTERNAL 
       FALSE 
       FETCH 
       FINAL 
       FIRST 
       FOR 
       FORCE 
       FOREIGN 
       FORTRAN 
       FORWARD 
       FOUND 
       FREE 
       FREEZE 
       FROM 
       FULL 
       FUNCTION 
       G 
       GENERAL 
       GENERATED 
       GET 
       GLOBAL 
       GO 
       GOTO 
       GRANT 
       GRANTED 
       GROUP 
       GROUPING 
       HANDLER 
       HAVING 
       HIERARCHY 
       HOLD 
       HOST 
       HOUR 
       IDENTITY 
       IGNORE 
       ILIKE 
       IMMEDIATE 
       IMMUTABLE 
       IMPLEMENTATION 
       IN 
       INCREMENT 
       INDEX 
       INDICATOR 
       INFIX 
       INHERITS 
       INITIALIZE 
       INITIALLY 
       INNER 
       INOUT 
       INPUT 
       INSENSITIVE 
       INSERT 
       INSTANCE 
       INSTANTIABLE 
       INSTEAD 
       INTERSECT 
       INTERVAL 
       INTO 
       INVOKER 
       IS 
       ISNULL 
       ISOLATION 
       ITERATE 
       JOIN 
       K 
       KEY 
       KEY_MEMBER 
       KEY_TYPE 
       LANCOMPILER 
       LANGUAGE 
       LARGE 
       LAST 
       LATERAL 
       LEADING 
       LEFT 
       LENGTH 
       LESS 
       LEVEL 
       LIKE 
       LIMIT 
       LISTEN 
       LOAD 
       LOCAL 
       LOCALTIME 
       LOCALTIMESTAMP 
       LOCATION 
       LOCATOR 
       LOCK 
       LOWER 
       M 
       MAP 
       MATCH 
       MAX 
       MAXVALUE 
       MESSAGE_LENGTH 
       MESSAGE_OCTET_LENGTH 
       MESSAGE_TEXT 
       METHOD 
       MIN 
       MINUTE 
       MINVALUE 
       MOD 
       MODE 
       MODIFIES 
       MODIFY 
       MODULE 
       MONTH 
       MORE 
       MOVE 
       MUMPS 
       NAME 
       NAMES 
       NATIONAL 
       NATURAL 
       NEW 
       NEXT 
       NO 
       NOCREATEDB 
       NOCREATEUSER 
       NONE 
       NOT 
       NOTHING 
       NOTIFY 
       NOTNULL 
       NULL 
       NULLABLE 
       NULLIF 
       NUMBER 
       NUMERIC 
       OBJECT 
       OCTET_LENGTH 
       OF 
       OFF 
       OFFSET 
       OIDS 
       OLD 
       ON 
       ONLY 
       OPEN 
       OPERATION 
       OPERATOR 
       OPTION 
       OPTIONS 
       ORDER 
       ORDINALITY 
       OUT 
       OUTER 
       OUTPUT 
       OVERLAPS 
       OVERLAY 
       OVERRIDING 
       OWNER 
       PAD 
       PARAMETER 
       PARAMETERS 
       PARAMETER_MODE 
       PARAMETER_NAME 
       PARAMETER_ORDINAL_POSITION 
       PARAMETER_SPECIFIC_CATALOG 
       PARAMETER_SPECIFIC_NAME 
       PARAMETER_SPECIFIC_SCHEMA 
       PARTIAL 
       PASCAL 
       PASSWORD 
       PATH 
       PENDANT 
       PLI 
       POSITION 
       POSTFIX 
       PRECISION 
       PREFIX 
       PREORDER 
       PREPARE 
       PRESERVE 
       PRIMARY 
       PRIOR 
       PRIVILEGES 
       PROCEDURAL 
       PROCEDURE 
       PUBLIC 
       READ 
       READS 
       REAL 
       RECURSIVE 
       REF 
       REFERENCES 
       REFERENCING 
       REINDEX 
       RELATIVE 
       RENAME 
       REPEATABLE 
       REPLACE 
       RESET 
       RESTRICT 
       RESULT 
       RETURN 
       RETURNED_LENGTH 
       RETURNED_OCTET_LENGTH 
       RETURNED_SQLSTATE 
       RETURNS 
       REVOKE 
       RIGHT 
       ROLE 
       ROLLBACK 
       ROLLUP 
       ROUTINE 
       ROUTINE_CATALOG 
       ROUTINE_NAME 
       ROUTINE_SCHEMA 
       ROW 
       ROWS 
       ROW_COUNT 
       RULE 
       SAVEPOINT 
       SCALE 
       SCHEMA 
       SCHEMA_NAME 
       SCOPE 
       SCROLL 
       SEARCH 
       SECOND 
       SECTION 
       SECURITY 
       SELECT 
       SELF 
       SENSITIVE 
       SEQUENCE 
       SERIALIZABLE 
       SERVER_NAME 
       SESSION 
       SESSION_USER 
       SET 
       SETOF 
       SETS 
       SHARE 
       SHOW 
       SIMILAR 
       SIMPLE 
       SIZE 
       SOME 
       SOURCE 
       SPACE 
       SPECIFIC 
       SPECIFICTYPE 
       SPECIFIC_NAME 
       SQL 
       SQLCODE 
       SQLERROR 
       SQLEXCEPTION 
       SQLSTATE 
       SQLWARNING 
       STABLE 
       START 
       STATE 
       STATEMENT 
       STATIC 
       STATISTICS 
       STDIN 
       STDOUT 
       STRUCTURE 
       STYLE 
       SUBCLASS_ORIGIN 
       SUBLIST 
       SUBSTRING 
       SUM 
       SYMMETRIC 
       SYSID 
       SYSTEM 
       SYSTEM_USER 
       TABLE 
       TABLE_NAME 
       TEMP 
       TEMPLATE 
       TEMPORARY 
       TERMINATE 
       THAN 
       THEN 
       TIMEZONE_HOUR 
       TIMEZONE_MINUTE 
       TO 
       TOAST 
       TRAILING 
       TRANSACTION 
       TRANSACTIONS_COMMITTED 
       TRANSACTIONS_ROLLED_BACK 
       TRANSACTION_ACTIVE 
       TRANSFORM 
       TRANSFORMS 
       TRANSLATE 
       TRANSLATION 
       TREAT 
       TRIGGER 
       TRIGGER_CATALOG 
       TRIGGER_NAME 
       TRIGGER_SCHEMA 
       TRIM 
       TRUE 
       TRUNCATE 
       TRUSTED 
       TYPE 
       UNCOMMITTED 
       UNDER 
       UNENCRYPTED 
       UNION 
       UNIQUE 
       UNKNOWN 
       UNLISTEN 
       UNNAMED 
       UNNEST 
       UNTIL 
       UPDATE 
       UPPER 
       USAGE 
       USER 
       USER_DEFINED_TYPE_CATALOG 
       USER_DEFINED_TYPE_NAME 
       USER_DEFINED_TYPE_SCHEMA 
       USING 
       VACUUM 
       VALID 
       VALUE 
       VALUES 
       VARIABLE 
       VARYING 
       VERBOSE 
       VERSION 
       VIEW 
       VOLATILE 
       WHEN 
       WHENEVER 
       WHERE 
       WHILE 
       WITH 
       WITHOUT 
       WORK 
       WRITE 
       YEAR 
       ZONE 
    
    
       + 
       - 
       * 
       / 
       || 
       |/ 
       ||/ 
       ! 
       !! 
       @ 
       & 
       | 
       # 
       << 
       >> 
       % 
       ^ 
       = 
       != 
       <> 
       < 
       <= 
       > 
       >= 
       ~ 
       ~* 
       !~ 
       !~* 
       ^= 
       := 
       => 
       ** 
       .. 
       AND 
       OR 
       NOT 
      
       ## 
       && 
       &< 
       &> 
       <-> 
       <^ 
       >^ 
       ?# 
       ?- 
       ?-| 
       @-@ 
       ?| 
       ?|| 
       @@ 
       ~= 
      
       <<= 
       >>= 
    
    
      
       ABS 
       CBRT 
       CEIL 
       DEGREES 
       EXP 
       FLOOR 
       LN 
       LOG 
       MOD 
       PI 
       POW 
       RADIANS 
       RANDOM 
       ROUND 
       SIGN 
       SQRT 
       TRUNC 
      
       ACOS 
       ASIN 
       ATAN 
       ATAN2 
       COS 
       COT 
       SIN 
       TAN 
      
       BIT_LENGTH 
       CHAR_LENGTH 
       CHARACTER_LENGTH 
       LOWER 
       OCTET_LENGTH 
       POSITION 
       SUBSTRING 
       TRIM 
       UPPER 
      
       ASCII 
       BTRIM 
       CHR 
       CONVERT 
       INITCAP 
       LENGTH 
       LPAD 
       LTRIM 
       PG_CLIENT_ENCODING 
       REPEAT 
       RPAD 
       RTRIM 
       STRPOS 
       SUBSTR 
       TO_ASCII 
       TRANSLATE 
       ENCODE 
       DECODE 
      
       TO_CHAR 
       TO_DATE 
       TO_TIMESTAMP 
       TO_NUMBER 
      
       AGE 
       DATE_PART 
       DATE_TRUNC 
       EXTRACT 
       ISFINITE 
       NOW 
       TIMEOFDAY 
       TIMESTAMP 
       EXTRACT 
      
       AREA 
       BOX 
       CENTER 
       DIAMETER 
       HEIGHT 
       ISCLOSED 
       ISOPEN 
       PCLOSE 
       NPOINT 
       POPEN 
       RADIUS 
       WIDTH 
      
       BOX 
       CIRCLE 
       LSEG 
       PATH 
       POINT 
       POLYGON 
      
       BROADCAST 
       HOST 
       MASKLEN 
       SET_MASKLEN 
       NETMASK 
       NETWORK 
       ABBREV 
      
       NEXTVAL 
       CURRVAL 
       SETVAL 
      
       COALESCE 
       NULLIF 
      
       HAS_TABLE_PRIVILEGE 
       PG_GET_VIEWDEF 
       PG_GET_RULEDEF 
       PG_GET_INDEXDEF 
       PG_GET_USERBYID 
       OBJ_DESCRIPTION 
       COL_DESCRIPTION 
      
       AVG 
       COUNT 
       MAX 
       MIN 
       STDDEV 
       SUM 
       VARIANCE 
    
    
       BIGINT 
       BIGSERIAL 
       BIT 
       BIT VARYING 
       BOOL 
       BOOLEAN 
       BOX 
       BYTEA 
       CHAR 
       CHARACTER 
       CHARACTER VARYING 
       CIDR 
       CIRCLE 
       DATE 
       DECIMAL 
       DOUBLE PRECISION 
       FLOAT8 
       INET 
       INT 
       INT2 
       INT4 
       INT8 
       INTEGER 
       INTERVAL 
       LINE 
       LSEG 
       LZTEXT 
       MACADDR 
       MONEY 
       NUMERIC 
       OID 
       PATH 
       POINT 
       POLYGON 
       REAL 
       SERIAL 
       SERIAL8 
       SMALLINT 
       TEXT 
       TIME 
       TIMESTAMP 
       TIMESTAMP WITH TIMEZONE 
       TIMESTAMPTZ 
       TIMETZ 
       VARBIT 
       VARCHAR 
    
    
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      
      
        
        
      
      
        
        
      
      
        
      
      
        
        
        
        
      
      
      
        
        
      
      
        
      
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/sql.xml0000644000000000000000000007377512633103275015441 0ustar0000000000000000





  
    
       ACCESS 
       ACCOUNT 
       ADD 
       ADMIN 
       ADMINISTER 
       ADVISE 
       AFTER 
       AGENT 
       ALL 
       ALLOCATE 
       ALL_ROWS 
       ALTER 
       ANALYZE 
       ANCILLARY 
       AND 
       ANY 
       ARCHIVE 
       ARCHIVELOG 
       AS 
       ASC 
       ASSERTION 
       ASSOCIATE 
       AT 
       ATTRIBUTE 
       ATTRIBUTES 
       AUDIT 
       AUTHENTICATED 
       AUTHID 
       AUTHORIZATION 
       AUTOALLOCATE 
       AUTOEXTEND 
       AUTOMATIC 
       BACKUP 
       BECOME 
       BEFORE 
       BEGIN 
       BEHALF 
       BETWEEN 
       BINDING 
       BITMAP 
       BLOCK 
       BLOCK_RANGE 
       BODY 
       BOTH 
       BOUND 
       BREAK 
       BROADCAST 
       BTITLE 
       BUFFER_POOL 
       BUILD 
       BULK 
       BY 
       CACHE 
       CACHE_INSTANCES 
       CALL 
       CANCEL 
       CASCADE 
       CASE 
       CATEGORY 
       CHAINED 
       CHANGE 
       CHECK 
       CHECKPOINT 
       CHILD 
       CHOOSE 
       CHUNK 
       CLASS 
       CLEAR 
       CLONE 
       CLOSE 
       CLOSE_CACHED_OPEN_CURSORS 
       CLUSTER 
       COALESCE 
       COLUMN 
       COLUMNS 
       COLUMN_VALUE 
       COMMENT 
       COMMIT 
       COMMITTED 
       COMPATIBILITY 
       COMPILE 
       COMPLETE 
       COMPOSITE_LIMIT 
       COMPRESS 
       COMPUTE 
       CONNECT 
       CONNECT_TIME 
       CONSIDER 
       CONSISTENT 
       CONSTANT 
       CONSTRAINT 
       CONSTRAINTS 
       CONTAINER 
       CONTENTS 
       CONTEXT 
       CONTINUE 
       CONTROLFILE 
       COPY 
       COST 
       CPU_PER_CALL 
       CPU_PER_SESSION 
       CREATE 
       CREATE_STORED_OUTLINES 
       CROSS 
       CUBE 
       CURRENT 
       CURSOR 
       CYCLE 
       DANGLING 
       DATA 
       DATABASE 
       DATAFILE 
       DATAFILES 
       DBA 
       DDL 
       DEALLOCATE 
       DEBUG 
       DECLARE 
       DEFAULT 
       DEFERRABLE 
       DEFERRED 
       DEFINER 
       DEGREE 
       DELETE 
       DEMAND 
       DESC 
       DETERMINES 
       DICTIONARY 
       DIMENSION 
       DIRECTORY 
       DISABLE 
       DISASSOCIATE 
       DISCONNECT 
       DISKGROUP 
       DISMOUNT 
       DISTINCT 
       DISTRIBUTED 
       DOMAIN 
       DROP 
       DYNAMIC 
       EACH 
       ELSE 
       ELSIF 
       EMPTY 
       ENABLE 
       END 
       ENFORCE 
       ENTRY 
       ESCAPE 
       ESTIMATE 
       EVENTS 
       EXCEPT 
       EXCEPTION 
       EXCEPTIONS 
       EXCHANGE 
       EXCLUDING 
       EXCLUSIVE 
       EXEC 
       EXECUTE 
       EXISTS 
       EXPIRE 
       EXPLAIN 
       EXPLOSION 
       EXTENDS 
       EXTENT 
       EXTENTS 
       EXTERNALLY 
       FAILED_LOGIN_ATTEMPTS 
       FALSE 
       FAST 
       FILE 
       FILTER 
       FIRST_ROWS 
       FLAGGER 
       FLASHBACK 
       FLUSH 
       FOLLOWING 
       FOR 
       FORCE 
       FOREIGN 
       FREELIST 
       FREELISTS 
       FRESH 
       FROM 
       FULL 
       FUNCTION 
       FUNCTIONS 
       GENERATED 
       GLOBAL 
       GLOBALLY 
       GLOBAL_NAME 
       GRANT 
       GROUP 
       GROUPS 
       HASH 
       HASHKEYS 
       HAVING 
       HEADER 
       HEAP 
       HIERARCHY 
       HOUR 
       ID 
       IDENTIFIED 
       IDENTIFIER 
       IDGENERATORS 
       IDLE_TIME 
       IF 
       IMMEDIATE 
       IN 
       INCLUDING 
       INCREMENT 
       INCREMENTAL 
       INDEX 
       INDEXED 
       INDEXES 
       INDEXTYPE 
       INDEXTYPES 
       INDICATOR 
       INITIAL 
       INITIALIZED 
       INITIALLY 
       INITRANS 
       INNER 
       INSERT 
       INSTANCE 
       INSTANCES 
       INSTEAD 
       INTERMEDIATE 
       INTERSECT 
       INTO 
       INVALIDATE 
       IS 
       ISOLATION 
       ISOLATION_LEVEL 
       JAVA 
       JOIN 
       KEEP 
       KEY 
       KILL 
       LABEL 
       LAYER 
       LEADING 
       LEFT 
       LESS 
       LEVEL 
       LIBRARY 
       LIKE 
       LIMIT 
       LINK 
       LIST 
       LOCAL 
       LOCATOR 
       LOCK 
       LOCKED 
       LOGFILE 
       LOGGING 
       LOGICAL_READS_PER_CALL 
       LOGICAL_READS_PER_SESSION 
       LOGOFF 
       LOGON 
       LOOP 
       MANAGE 
       MANAGED 
       MANAGEMENT 
       MASTER 
       MATERIALIZED 
       MAXARCHLOGS 
       MAXDATAFILES 
       MAXEXTENTS 
       MAXINSTANCES 
       MAXLOGFILES 
       MAXLOGHISTORY 
       MAXLOGMEMBERS 
       MAXSIZE 
       MAXTRANS 
       MAXVALUE 
       MEMBER 
       MERGE 
       METHOD 
       MINEXTENTS 
       MINIMIZE 
       MINIMUM 
       MINUS 
       MINUTE 
       MINVALUE 
       MODE 
       MODIFY 
       MONITORING 
       MOUNT 
       MOVE 
       MOVEMENT 
       MTS_DISPATCHERS 
       MULTISET 
       NAMED 
       NATURAL 
       NEEDED 
       NESTED 
       NESTED_TABLE_ID 
       NETWORK 
       NEVER 
       NEW 
       NEXT 
       NLS_CALENDAR 
       NLS_CHARACTERSET 
       NLS_COMP 
       NLS_CURRENCY 
       NLS_DATE_FORMAT 
       NLS_DATE_LANGUAGE 
       NLS_ISO_CURRENCY 
       NLS_LANG 
       NLS_LANGUAGE 
       NLS_NUMERIC_CHARACTERS 
       NLS_SORT 
       NLS_SPECIAL_CHARS 
       NLS_TERRITORY 
       NO 
       NOARCHIVELOG 
       NOAUDIT 
       NOCACHE 
       NOCOMPRESS 
       NOCYCLE 
       NOFORCE 
       NOLOGGING 
       NOMAXVALUE 
       NOMINIMIZE 
       NOMINVALUE 
       NOMONITORING 
       NONE 
       NOORDER 
       NOOVERRIDE 
       NOPARALLEL 
       NORELY 
       NORESETLOGS 
       NOREVERSE 
       NORMAL 
       NOSEGMENT 
       NOSORT 
       NOT 
       NOTHING 
       NOVALIDATE 
       NOWAIT 
       NULL 
       NULLS 
       OBJNO 
       OBJNO_REUSE 
       OF 
       OFF 
       OFFLINE 
       OID 
       OIDINDEX 
       OLD 
       ON 
       ONLINE 
       ONLY 
       OPCODE 
       OPEN 
       OPERATOR 
       OPTIMAL 
       OPTIMIZER_GOAL 
       OPTION 
       OR 
       ORDER 
       ORGANIZATION 
       OUT 
       OUTER 
       OUTLINE 
       OVER 
       OVERFLOW 
       OVERLAPS 
       OWN 
       PACKAGE 
       PACKAGES 
       PARALLEL 
       PARAMETERS 
       PARENT 
       PARTITION 
       PARTITIONS 
       PARTITION_HASH 
       PARTITION_RANGE 
       PASSWORD 
       PASSWORD_GRACE_TIME 
       PASSWORD_LIFE_TIME 
       PASSWORD_LOCK_TIME 
       PASSWORD_REUSE_MAX 
       PASSWORD_REUSE_TIME 
       PASSWORD_VERIFY_FUNCTION 
       PCTFREE 
       PCTINCREASE 
       PCTTHRESHOLD 
       PCTUSED 
       PCTVERSION 
       PERCENT 
       PERMANENT 
       PLAN 
       PLSQL_DEBUG 
       POST_TRANSACTION 
       PREBUILT 
       PRECEDING 
       PREPARE 
       PRESENT 
       PRESERVE 
       PREVIOUS 
       PRIMARY 
       PRIOR 
       PRIVATE 
       PRIVATE_SGA 
       PRIVILEGE 
       PRIVILEGES 
       PROCEDURE 
       PROFILE 
       PUBLIC 
       PURGE 
       QUERY 
       QUEUE 
       QUOTA 
       RANDOM 
       RANGE 
       RBA 
       READ 
       READS 
       REBUILD 
       RECORDS_PER_BLOCK 
       RECOVER 
       RECOVERABLE 
       RECOVERY 
       RECYCLE 
       REDUCED 
       REFERENCES 
       REFERENCING 
       REFRESH 
       RELY 
       RENAME 
       REPLACE 
       RESET 
       RESETLOGS 
       RESIZE 
       RESOLVE 
       RESOLVER 
       RESOURCE 
       RESTRICT 
       RESTRICTED 
       RESUME 
       RETURN 
       RETURNING 
       REUSE 
       REVERSE 
       REVOKE 
       REWRITE 
       RIGHT 
       ROLE 
       ROLES 
       ROLLBACK 
       ROLLUP 
       ROW 
       ROWNUM 
       ROWS 
       RULE 
       SAMPLE 
       SAVEPOINT 
       SCAN 
       SCAN_INSTANCES 
       SCHEMA 
       SCN 
       SCOPE 
       SD_ALL 
       SD_INHIBIT 
       SD_SHOW 
       SEGMENT 
       SEG_BLOCK 
       SEG_FILE 
       SELECT 
       SELECTIVITY 
       SEQUENCE 
       SERIALIZABLE 
       SERVERERROR 
       SESSION 
       SESSIONS_PER_USER 
       SESSION_CACHED_CURSORS 
       SET 
       SHARE 
       SHARED 
       SHARED_POOL 
       SHRINK 
       SHUTDOWN 
       SINGLETASK 
       SIZE 
       SKIP 
       SKIP_UNUSABLE_INDEXES 
       SNAPSHOT 
       SOME 
       SORT 
       SOURCE 
       SPECIFICATION 
       SPLIT 
       SQL_TRACE 
       STANDBY 
       START 
       STARTUP 
       STATEMENT_ID 
       STATIC 
       STATISTICS 
       STOP 
       STORAGE 
       STORE 
       STRUCTURE 
       SUBMULTISET 
       SUBPARTITION 
       SUBPARTITIONS 
       SUCCESSFUL 
       SUMMARY 
       SUPPLEMENTAL 
       SUSPEND 
       SWITCH 
       SYNONYM 
       SYSDBA 
       SYSOPER 
       SYSTEM 
       SYS_OP_BITVEC 
       SYS_OP_ENFORCE_NOT_NULL$ 
       SYS_OP_NOEXPAND 
       SYS_OP_NTCIMG$ 
       TABLE 
       TABLES 
       TABLESPACE 
       TABLESPACE_NO 
       TABNO 
       TEMPFILE 
       TEMPORARY 
       THAN 
       THE 
       THEN 
       THREAD 
       THROUGH 
       TIMEOUT 
       TIMEZONE_HOUR 
       TIMEZONE_MINUTE 
       TIME_ZONE 
       TO 
       TOPLEVEL 
       TRACE 
       TRACING 
       TRAILING 
       TRANSACTION 
       TRANSITIONAL 
       TRIGGER 
       TRIGGERS 
       TRUE 
       TRUNCATE 
       TYPE 
       TYPES 
       UNARCHIVED 
       UNBOUND 
       UNBOUNDED 
       UNDO 
       UNIFORM 
       UNION 
       UNIQUE 
       UNLIMITED 
       UNLOCK 
       UNRECOVERABLE 
       UNTIL 
       UNUSABLE 
       UNUSED 
       UPDATABLE 
       UPDATE 
       UPD_INDEXES 
       UPPPER 
       USAGE 
       USE 
       USER_DEFINED 
       USE_STORED_OUTLINES 
       USING 
       VALIDATE 
       VALIDATION 
       VALUES 
       VIEW 
       WHEN 
       WHENEVER 
       WHERE 
       WHILE 
       WITH 
       WITHOUT 
       WORK 
       WRITE 
    
    
       + 
       - 
       * 
       / 
       || 
       = 
       != 
       <> 
       < 
       <= 
       > 
       >= 
       ~= 
       ^= 
       := 
       => 
       ** 
       .. 
    
    
       ABS 
       ACOS 
       ADD_MONTHS 
       ASCII 
       ASCIISTR 
       ASIN 
       ATAN 
       ATAN2 
       AVG 
       BFILENAME 
       BIN_TO_NUM 
       BITAND 
       CARDINALITY 
       CAST 
       CEIL 
       CHARTOROWID 
       CHR 
       COALESCE 
       COLLECT 
       COMPOSE 
       CONCAT 
       CONVERT 
       CORR 
       CORR_K 
       CORR_S 
       COS 
       COSH 
       COUNT 
       COVAR_POP 
       COVAR_SAMP 
       CUME_DIST 
       CURRENT_DATE 
       CURRENT_TIMESTAMP 
       CV 
       DBTIMEZONE 
       DECODE 
       DECOMPOSE 
       DENSE_RANK 
       DEPTH 
       DEREF 
       DUMP 
       EMPTY_BLOB 
       EMPTY_CLOB 
       EXISTSNODE 
       EXP 
       EXTRACT 
       EXTRACTVALUE 
       FIRST 
       FIRST_VALUE 
       FLOOR 
       FROM_TZ 
       GREATEST 
       GROUP_ID 
       GROUPING 
       GROUPING_ID 
       HEXTORAW 
       INITCAP 
       INSTR 
       INSTRB 
       LAG 
       LAST 
       LAST_DAY 
       LAST_VALUE 
       LEAD 
       LEAST 
       LENGTH 
       LENGTHB 
       LN 
       LNNVL 
       LOCALTIMESTAMP 
       LOG 
       LOWER 
       LPAD 
       LTRIM 
       MAKE_REF 
       MAX 
       MEDIAN 
       MIN 
       MOD 
       MONTHS_BETWEEN 
       NANVL 
       NCHR 
       NEW_TIME 
       NEXT_DAY 
       NLS_CHARSET_DECL_LEN 
       NLS_CHARSET_ID 
       NLS_CHARSET_NAME 
       NLS_INITCAP 
       NLS_LOWER 
       NLS_UPPER 
       NLSSORT 
       NTILE 
       NULLIF 
       NUMTODSINTERVAL 
       NUMTOYMINTERVAL 
       NVL 
       NVL2 
       ORA_HASH 
       ORA_ROWSCN 
       PERCENT_RANK 
       PERCENTILE_CONT 
       PERCENTILE_DISC 
       POWER 
       POWERMULTISET 
       POWERMULTISET_BY_CARDINALITY 
       PRESENTNNV 
       PRESENTV 
       RANK 
       RATIO_TO_REPORT 
       RAWTOHEX 
       RAWTONHEX 
       REF 
       REFTOHEX 
       REGEXP_INSTR 
       REGEXP_LIKE 
       REGEXP_REPLACE 
       REGEXP_SUBSTR 
       REGR_SLOPE 
       REGR_INTERCEPT 
       REGR_COUNT 
       REGR_R2 
       REGR_AVGX 
       REGR_AVGY 
       REGR_SXX 
       REGR_SYY 
       REGR_SXY 
       REMAINDER 
       ROUND 
       ROW_NUMBER 
       ROWIDTOCHAR 
       ROWIDTONCHAR 
       RPAD 
       RTRIM 
       SCN_TO_TIMESTAMP 
       SESSIONTIMEZONE 
       SIGN 
       SIN 
       SINH 
       SOUNDEX 
       SQRT 
       STATS_BINOMIAL_TEST 
       STATS_CROSSTAB 
       STATS_F_TEST 
       STATS_KS_TEST 
       STATS_MODE 
       STATS_MW_TEST 
       STATS_ONE_WAY_ANOVA 
       STATS_T_TEST_ONE 
       STATS_T_TEST_PAIRED 
       STATS_T_TEST_INDEP 
       STATS_T_TEST_INDEPU 
       STATS_WSR_TEST 
       STDDEV 
       STDDEV_POP 
       STDDEV_SAMP 
       SUBSTR 
       SUBSTRB 
       SUM 
       SYS_CONNECT_BY_PATH 
       SYS_CONTEXT 
       SYS_DBURIGEN 
       SYS_EXTRACT_UTC 
       SYS_GUID 
       SYS_TYPEID 
       SYS_XMLAGG 
       SYS_XMLGEN 
       SYSDATE 
       SYSTIMESTAMP 
       TAN 
       TANH 
       TIMESTAMP_TO_SCN 
       TO_BINARY_DOUBLE 
       TO_BINARY_FLOAT 
       TO_CHAR 
       TO_CLOB 
       TO_DATE 
       TO_DSINTERVAL 
       TO_LOB 
       TO_MULTI_BYTE 
       TO_NCHAR 
       TO_NCLOB 
       TO_NUMBER 
       TO_SINGLE_BYTE 
       TO_TIMESTAMP 
       TO_TIMESTAMP_TZ 
       TO_YMINTERVAL 
       TRANSLATE 
       TREAT 
       TRIM 
       TRUNC 
       TZ_OFFSET 
       UID 
       UNISTR 
       UPDATEXML 
       UPPER 
       USER 
       USERENV 
       VALUE 
       VAR_POP 
       VAR_SAMP 
       VARIANCE 
       VSIZE 
       WIDTH_BUCKET 
       XMLAGG 
       XMLCOLATTVAL 
       XMLCONCAT 
       XMLELEMENT 
       XMLFOREST 
       XMLSEQUENCE 
       XMLTRANSFORM 
    
    
       ANYDATA 
       ANYDATASET 
       ANYTYPE 
       ARRAY 
       BFILE 
       BINARY_DOUBLE 
       BINARY_FLOAT 
       BINARY_INTEGER 
       BLOB 
       BOOLEAN 
       CFILE 
       CHAR 
       CHARACTER 
       CLOB 
       DATE 
       DAY 
       DBURITYPE 
       DEC 
       DECIMAL 
       DOUBLE 
       FLOAT 
       FLOB 
       HTTPURITYPE 
       INT 
       INTEGER 
       INTERVAL 
       LOB 
       LONG 
       MLSLABEL 
       MONTH 
       NATIONAL 
       NCHAR 
       NCLOB 
       NUMBER 
       NUMERIC 
       NVARCHAR 
       OBJECT 
       PLS_INTEGER 
       PRECISION 
       RAW 
       REAL 
       RECORD 
       ROWID 
       SECOND 
       SINGLE 
       SMALLINT 
       TIME 
       TIMESTAMP 
       URIFACTORYTYPE 
       URITYPE 
       UROWID 
       VARCHAR 
       VARCHAR2 
       VARRAY 
       VARYING 
       XMLTYPE 
       YEAR 
       ZONE 
    
    
      
        

        
        
        
        

        
        
        
        
        
        
        
        
        
        
        
        
        

        
        
        
        
      
      
        
        
        
        
        
      
      
      
        
      
      
      
        
      
      
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/tcl.xml0000644000000000000000000004416012633103275015406 0ustar0000000000000000








  
    
       after 
       append  
       AppleScript  
       argv  
       argc  
       array  
       auto_execk  
       auto_execok 
       auto_import 
       auto_load  
       auto_mkindex  
       auto_mkindex_old 
       auto_path  
       auto_qualify 
       auto_reset  
       beep  
       bell  
       binary  
       bind  
       bindtags  
       bgerror  
       break  
       button  
       canvas  
       case  
       catch  
       cd  
       chan 
       checkbutton  
       clipboard  
       clock  
       close  
       combobox 
       concat  
       console  
       continue  
       dde  
       destroy  
       dict 
       else  
       elseif  
       encoding  
       entry  
       env  
       eof  
       error  
       errorCode  
       errorInfo  
       eval  
       event  
       exec  
       exit  
       expr  
       fblocked  
       fconfigure  
       fcopy  
       file  
       fileevent  
       flush  
       focus  
       font  
       for  
       foreach  
       format  
       frame  
       gets  
       glob  
       global  
       grab  
       grid  
       history  
       if  
       image  
       incr  
       info  
       interp  
       join  
       label  
       labelframe 
       lappend  
       lassign 
       lindex  
       linsert  
       list  
       listbox  
       llength  
       load  
       lower  
       lrange  
       lremove 
       lrepeat 
       lreplace  
       lreverse 
       lsearch  
       lset 
       lsort  
       menu  
       menubutton  
       message  
       namespace  
       notebook 
       open  
       option  
       OptProc  
       pack  
       package  
       panedwindow 
       parray  
       pid  
       place  
       pkg_mkIndex 
       proc  
       progressbar 
       puts  
       pwd  
       radiobutton  
       raise  
       read  
       regexp  
       registry  
       regsub  
       rename  
       resource  
       return  
       scale  
       scan  
       scrollbar  
       seek  
       selection  
       send  
       separator 
       set  
       sizegrip 
       socket  
       source  
       spinbox 
       split  
       string  
       style 
       subst  
       switch  
       tclLog  
       tcl_endOfWord  
       tcl_findLibrary  
       tcl_library  
       tcl_patchLevel  
       tcl_platform  
       tcl_precision  
       tcl_rcFileName  
       tcl_rcRsrcName  
       tcl_startOfNextWord  
       tcl_startOfPreviousWord  
       tcl_traceCompile  
       tcl_traceExec  
       tcl_version  
       tcl_wordBreakAfter  
       tcl_wordBreakBefore  
       tell  
       text  
       time  
       tk  
       tkTabToWindow  
       tkwait  
       tk_chooseColor  
       tk_chooseDirectory  
       tk_focusFollowMouse  
       tk_focusNext  
       tk_focusPrev  
       tk_getOpenFile  
       tk_getSaveFile  
       tk_library  
       tk_menuSetFocus 
       tk_messageBox  
       tk_optionMenu  
       tk_patchLevel  
       tk_popup  
       tk_strictMotif  
       tk_textCopy 
       tk_textCut 
       tk_textPaste 
       tk_version  
       toplevel  
       trace  
       traverseTo 
       treeview 
       unknown  
       unload 
       unset  
       update  
       uplevel  
       upvar  
       variable  
       vwait  
       while  
       winfo  
       wm  
    

    
       add 
       args 
       atime 
       attributes 
       body 
       bytelength 
       cancel 
       channels 
       clicks 
       cmdcount 
       commands 
       compare 
       complete 
       convertfrom 
       convertto 
       copy 
       default 
       delete 
       dirname 
       equal 
       executable 
       exists 
       extension 
       first 
       forget 
       format 
       functions 
       globals 
       hostname 
       idle 
       ifneeded 
       index 
       info 
       is 
       isdirectory 
       isfile 
       join 
       last 
       length 
       level 
       library 
       link 
       loaded 
       locals 
       lstat 
       map 
       match 
       mkdir 
       mtime 
       nameofexecutable 
       names 
       nativename 
       normalize 
       number 
       owned 
       patchlevel 
       pathtype 
       present 
       procs 
       provide 
       range 
       readable 
       readlink 
       remove 
       rename 
       repeat 
       replace 
       require 
       rootname 
       scan 
       script 
       seconds 
       separator 
       sharedlibextension 
       size 
       split 
       stat 
       system 
       tail 
       tclversion 
       tolower 
       totitle 
       toupper 
       trim 
       trimleft 
       trimright 
       type 
       unknown 
       variable 
       vars 
       vcompare 
       vdelete 
       versions 
       vinfo 
       volumes 
       vsatisfies 
       wordend 
       wordstart 
       writable 

       activate 
       actual 
       addtag 
       append 
       appname 
       aspect 
       atom 
       atomname 
       bbox 
       bind 
       broadcast 
       canvasx 
       canvasy 
       caret 
       cells 
       cget 
       children 
       class 
       clear 
       client 
       clone 
       colormapfull 
       colormapwindows 
       command 
       configure 
       containing 
       coords 
       create 
       current 
       curselection 
       dchars 
       debug 
       deiconify 
       delta 
       depth 
       deselect 
       dlineinfo 
       dtag 
       dump 
       edit 
       entrycget 
       entryconfigure 
       families 
       find 
       flash 
       focus 
       focusmodel 
       fpixels 
       fraction 
       frame 
       generate 
       geometry 
       get 
       gettags 
       grid 
       group 
       handle 
       height 
       hide 
       iconbitmap 
       iconify 
       iconmask 
       iconname 
       iconposition 
       iconwindow 
       icursor 
       id 
       identify 
       image 
       insert 
       interps 
       inuse 
       invoke 
       ismapped 
       itemcget 
       itemconfigure 
       keys 
       lower 
       manager 
       mark 
       maxsize 
       measure 
       metrics 
       minsize 
       move 
       name 
       nearest 
       overrideredirect 
       own 
       panecget 
       paneconfigure 
       panes 
       parent 
       pathname 
       pixels 
       pointerx 
       pointerxy 
       pointery 
       positionfrom 
       post 
       postcascade 
       postscript 
       protocol 
       proxy 
       raise 
       release 
       reqheight 
       reqwidth 
       resizable 
       rgb 
       rootx 
       rooty 
       scale 
       scaling 
       screen 
       screencells 
       screendepth 
       screenheight 
       screenmmheight 
       screenmmwidth 
       screenvisual 
       screenwidth 
       search 
       see 
       select 
       selection 
       server 
       set 
       show 
       sizefrom 
       stackorder 
       state 
       status 
       tag 
       title 
       toplevel 
       transient 
       types 
       unpost 
       useinputmethods 
       validate 
       values 
       viewable 
       visual 
       visualid 
       visualsavailable 
       vrootheight 
       vrootwidth 
       vrootx 
       vrooty 
       width 
       window 
       windowingsystem 
       withdraw 
       x 
       xview 
       y 
    

    
      
      
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        
        
      

      

      
        
        
      
    

    
      
      
      
      
      
      
      
      
      
      
    

  

  
    
	
    
    
  


highlighting-kate-0.6.1/xml/tcsh.xml0000644000000000000000000011053712633103275015567 0ustar0000000000000000

        
        	
        			
        		
             
]>




  
    
       else 
       for 
       function 
       in 
       select 
       until 
       while 
       . 
       then 
    

    
       : 
       alias 
       alloc 
       bg 
       bindkey 
       break 
       builtins 
       bye 
       cd 
       chdir 
       complete 
       continue 
       dirs 
       echo 
       echotc 
       eval 
       exec 
       exit 
       fg 
       filetest 
       glob 
       hashstat 
       history 
       hup 
       inlib 
       jobs 
       kill 
       limit 
       log 
       login 
       logout 
       ls-F 
       migrate 
       newgrp 
       nice 
       nohup 
       notify 
       onintr 
       popd 
       printenv 
       pushd 
       rehash 
       repeat 
       sched 
       settc 
       setty 
       shift 
       source 
       stop 
       suspend 
       telltc 
       time 
       umask 
       unalias 
       uncomplete 
       unhash 
       unlimit 
       ver 
       wait 
       watchlog 
       where 
       which 
    

    
       unset 
       unsetenv 
    

    
      
       arch 
       awk 
       bash 
       bunzip2 
       bzcat 
       bzcmp 
       bzdiff 
       bzegrep 
       bzfgrep 
       bzgrep 
       bzip2 
       bzip2recover 
       bzless 
       bzmore 
       cat 
       chattr 
       chgrp 
       chmod 
       chown 
       chvt 
       cp 
       date 
       dd 
       deallocvt 
       df 
       dir 
       dircolors 
       dmesg 
       dnsdomainname 
       domainname 
       du 
       dumpkeys 
       echo 
       ed 
       egrep 
       false 
       fgconsole 
       fgrep 
       fuser 
       gawk 
       getkeycodes 
       gocr 
       grep 
       groff 
       groups 
       gunzip 
       gzexe 
       gzip 
       hostname 
       igawk 
       install 
       kbd_mode 
       kbdrate 
       killall 
       last 
       lastb 
       link 
       ln 
       loadkeys 
       loadunimap 
       login 
       ls 
       lsattr 
       lsmod 
       lsmod.old 
       mapscrn 
       mesg 
       mkdir 
       mkfifo 
       mknod 
       mktemp 
       more 
       mount 
       mv 
       nano 
       netstat 
       nisdomainname 
       nroff 
       openvt 
       pgawk 
       pidof 
       ping 
       ps 
       pstree 
       pwd 
       rbash 
       readlink 
       red 
       resizecons 
       rm 
       rmdir 
       run-parts 
       sash 
       sed 
       setfont 
       setkeycodes 
       setleds 
       setmetamode 
       setserial 
       sh 
       showkey 
       shred 
       sleep 
       ssed 
       stat 
       stty 
       su 
       sync 
       tar 
       tempfile 
       touch 
       troff 
       true 
       umount 
       uname 
       unicode_start 
       unicode_stop 
       unlink 
       utmpdump 
       uuidgen 
       vdir 
       wall 
       wc 
       ypdomainname 
       zcat 
       zcmp 
       zdiff 
       zegrep 
       zfgrep 
       zforce 
       zgrep 
       zless 
       zmore 
       znew 
       zsh 

      
       aclocal 
       aconnect 
       aplay 
       apm 
       apmsleep 
       apropos 
       ar 
       arecord 
       as 
       as86 
       autoconf 
       autoheader 
       automake 
       awk 
       basename 
       bc 
       bison 
       c++ 
       cal 
       cat 
       cc 
       cdda2wav 
       cdparanoia 
       cdrdao 
       cd-read 
       cdrecord 
       chfn 
       chgrp 
       chmod 
       chown 
       chroot 
       chsh 
       clear 
       cmp 
       co 
       col 
       comm 
       cp 
       cpio 
       cpp 
       cut 
       dc 
       dd 
       df 
       diff 
       diff3 
       dir 
       dircolors 
       directomatic 
       dirname 
       du 
       env 
       expr 
       fbset 
       file 
       find 
       flex 
       flex++ 
       fmt 
       free 
       ftp 
       funzip 
       fuser 
       g++ 
       gawk 
       gc 
       gcc 
       gdb 
       getent 
       getopt 
       gettext 
       gettextize 
       gimp 
       gimp-remote 
       gimptool 
       gmake 
       gs 
       head 
       hexdump 
       id 
       install 
       join 
       kill 
       killall 
       ld 
       ld86 
       ldd 
       less 
       lex 
       ln 
       locate 
       lockfile 
       logname 
       lp 
       lpr 
       ls 
       lynx 
       m4 
       make 
       man 
       mkdir 
       mknod 
       msgfmt 
       mv 
       namei 
       nasm 
       nawk 
       nice 
       nl 
       nm 
       nm86 
       nmap 
       nohup 
       nop 
       od 
       passwd 
       patch 
       pcregrep 
       pcretest 
       perl 
       perror 
       pidof 
       pr 
       printf 
       procmail 
       prune 
       ps2ascii 
       ps2epsi 
       ps2frag 
       ps2pdf 
       ps2ps 
       psbook 
       psmerge 
       psnup 
       psresize 
       psselect 
       pstops 
       rcs 
       rev 
       rm 
       scp 
       sed 
       seq 
       setterm 
       shred 
       size 
       size86 
       skill 
       slogin 
       snice 
       sort 
       sox 
       split 
       ssh 
       ssh-add 
       ssh-agent 
       ssh-keygen 
       ssh-keyscan 
       stat 
       strings 
       strip 
       sudo 
       suidperl 
       sum 
       tac 
       tail 
       tee 
       test 
       tr 
       uniq 
       unlink 
       unzip 
       updatedb 
       updmap 
       uptime 
       users 
       vmstat 
       w 
       wc 
       wget 
       whatis 
       whereis 
       which 
       who 
       whoami 
       write 
       xargs 
       yacc 
       yes 
       zip 
       zsoelim 

      
       dcop 
       kdialog 
       kfile 
       xhost 
       xmodmap 
       xset 
    


    
      
        
      


      
      
        
        
        
        
        
      

      
      
        
        
        
        
      


      
      
        
        
      
      
        
      

      
      
        
        
      
      
        
        
      

      
      
        
        
      
      
        
        
      


      

      
      
        

        


        


        

        

        





        

        
        
        
        


        
        


        
        
        
        
        
        
        
        
        
        
        
        
      

      
      
        

        
        
        
        
      

      
      
        
        
        
        
      

      
      
        
        
        
        
        
        
        
        
        


        
        
      

      
      
        
        
        
        
        
        
      




      
      
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
      

      
      
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
      

      
      
        
      

      
      
        
        
        
        
      

      
      
        
        
        
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
      

      
      
        
        
        
      

      
      
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
        
        
        
      

      
      
        
        
      

      
      
        
      

      
      
        
        
        
      

      
      
        
        
        
        
        
        
        
        
        
      

      
        
      

      
        
        
      

      
        
        
        
      

      
        
        
      

      
        
        
        
      

    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/tcsh.xml.patch0000644000000000000000000000057312633103275016663 0ustar0000000000000000diff --git a/tcsh.xml b/tcsh.xml
index bed4bfe..ddba8fc 100644
--- a/tcsh.xml
+++ b/tcsh.xml
@@ -685,3 +685,3 @@
         
-        
+        
         
highlighting-kate-0.6.1/xml/texinfo.xml0000644000000000000000000000526012633103275016276 0ustar0000000000000000



  
    
    
      
        
        
        

        

        
      

      
				
			

      
        
				
      

      
        
        
      

      
        
        
      
    

    
      
      
      
    
  

  
    
      
      
    
  


highlighting-kate-0.6.1/xml/verilog.xml0000644000000000000000000002320112633103275016264 0ustar0000000000000000


  
    
       macromodule 
       table 
       endtable 
       specify 
       specparam 
       endspecify 

       defparam 
       default 
       if 
       ifnone 
       else 
       forever 
       while 
       for 
       wait 
       repeat 
       disable 

       assign 
       deassign 
       force 
       release 

       always 
       initial 
       edge 
       posedge 
       negedge 

      
       config 
       endconfig 
       library 
       design 
       liblist 
       cell 
       use 
       instance 
    

    
         begin 
         fork 
         module 
         case 
         casex 
         casez 
         task 
         function 
         generate 
    

    
         end 
         join 
         endmodule 
         endcase 
         endtask 
         endfunction 
         endgenerate 
    

    
	
	 strong0 
	 strong1 
	 pull0 
	 pull1 
	 weak0 
	 weak1 
	 highz0 
	 highz1 
	
	 small 
	 medium 
	 large 
    

    
        pullup 
        pulldown 
        cmos 
        rcmos 
        nmos 
        pmos 
        rnmos 
        rpmos 
        and 
        nand 
        or 
        nor 
        xor 
        xnor 
        not 
        buf 
        tran 
        rtran 
        tranif0 
        tranif1 
        rtranif0 
        rtranif1 
        bufif0 
        bufif1 
        notif0 
        notif1 
    

    
      
       input 
       output 
       inout 
      
       wire 
       tri 
       tri0 
       tri1 
       wand 
       wor 
       triand 
       trior 
       supply0 
       supply1 
      
       reg 
       integer 
       real 
       realtime 
       time 
      
       vectored 
       scalared 
       trireg 
      
       parameter 
       event 
      
       signed 
       automatic 
       genvar 
       localparam 
    

    
      
        
        
        
        
        

        
        
        
        

        
        
        
        
        
        

        
        

        
        
        
        

        
        
        
        

      
      
        
        
        
      
      
        
      
      
        
        
      
      
        
        
        
        
        
      
      
        
      
      
      
          
          
      

      
          
      

      
          
      
    

    
      
      
      

      
      
      
      
      

      
      
      
      
      
      
      
      

      
      
      
      
      
      
      
    
  
  
    
      
      
    
    
  

highlighting-kate-0.6.1/xml/vhdl.xml0000644000000000000000000007302412633103275015562 0ustar0000000000000000

  
                          
                  
                  
  

]>

  
    
       file 
       library 
       use 
    

    
       access 
       after 
       alias 
       all 
       array 
       assert 
       assume 
       assume_guarantee 
       attribute 
       begin 
       block 
       body 
       bus 
       component 
       constant 
       context 
       cover 
       default 
       disconnect 
       downto 
       end 
       exit 
       fairness 
       falling_edge 
       file 
       for 
       force 
       function 
       generate 
       generic 
       group 
       guarded 
       impure 
       inertial 
       is 
       label 
       linkage 
       literal 
       map 
       new 
       next 
       null 
       of 
       on 
       open 
       others 
       parameter 
       port 
       postponed 
       procedure 
       process 
       property 
       protected 
       pure 
       range 
       record 
       register 
       reject 
       release 
       report 
       return 
       rising_edge 
       select 
       sequence 
       severity 
       signal 
       shared 
       strong 
       subtype 
       to 
       transport 
       type 
       unaffected 
       units 
       until 
       variable 
       vmode 
       vprop 
       vunit 
       wait 
       when 
       with 
       note 
       warning 
       error 
       failure 
       in 
       inout 
       out 
       buffer 
       and 
       abs 
       or 
       xor 
       xnor 
       not 
       mod 
       nand 
       nor 
       rem 
       rol 
       ror 
       sla 
       sra 
       sll 
       srl 
    

    
       if 
       else 
       elsif 
       then 
    

    
       loop 
    

    
       in 
       inout 
       out 
       buffer 
       linkage 
    

    
       signal 
       variable 
       constant 
       type 
       attribute 
    

    
       to 
       downto 
       others 
    

    
       case 
       when 
    

    
      fs
      ps
      ns
      us
      ms
      sec
      min
      hr
    


    
       bit 
       bit_vector 
       character 
       boolean 
       boolean_vector 
       integer 
       integer_vector 
       real 
       real_vector 
       time 
       time_vector 
       delay_length 
       string 
       severity_level 
       positive 
       natural 
       file_open_kind 
       file_open_status 
       signed 
       unsigned 
       unresolved_unsigned 
       unresolved_signed 
       line 
       text 
       side 
       width 
       std_logic 
       std_logic_vector 
       std_ulogic 
       std_ulogic_vector 
       x01 
       x01z 
       ux01 
       ux01z 
       qsim_state 
       qsim_state_vector 
       qsim_12state 
       qsim_12state_vector 
       qsim_strength 
       mux_bit 
       mux_vector 
       reg_bit 
       reg_vector 
       wor_bit 
       wor_vector 
    


    


      
        

        
        
        
        
       
        
        
      


      
        
        
        
        
        
        
      

      
        
        
        
        
      

      
        
      

      

      
        
        
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
        
      

      
        
        
        
        
        
      



      
        
        
        
        
        
      


      
        
        
        
        
        
      

      
        
        
        
        
        
      


      
        
        
        

        
      


      
        
        
        
        
        
      

      
        
        
        
        
      





      
        
        
        
        
        
        
      

      
         
         
         
         
         
      





      
      
        
        
        
        
        
        
      

      
      
        
        
        
        
        
        
      

      
      
        
        
        
        
        
      


      
        
        
        
        
        
      

      
        
        
        
        
      


      
        
        
        
      

      
        
        
        
        
      




      
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
        
      

      
        
        
        
        
      
      







      
        
        
        
      


      
        
        
        
        
        
        
      



      
        
        
        
        
      

      
        
        
        
        
        
      

      
        
        
        
        
      

      
        
        
        
        
      




      
        
        
        
        
      




      
        
        
        
        
        
        
        
        
      


      

      
        
      

      
        
        
        
        
        
      

      
        
      

      
        
        
        
      


    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/xml.xml0000644000000000000000000001641512633103275015426 0ustar0000000000000000

	
	
]>




  
    
  

  
    
    
    
    
    
    
    
    
  

  
    
    
  

  
    
    
    
  


  
    
    
    
    
    
  

  
    
    
    
    
  

  
    
  

  
    
    
  

  
    
    
    
    
    
  

  
    
    
    
  

  
    
    
  

  
    
    
  

  
    
    
    
    
    
  

  
    
    
  

  
    
    
  

  
    
    
  

  
    
    
    
  

  
    
    
  

  
    
    
  



  
  
  
  
  
  
  
  
  
  
  
  




  
    
  
  


highlighting-kate-0.6.1/xml/xorg.xml0000644000000000000000000000510612633103275015600 0ustar0000000000000000





 
  
  
 

 
  
  
  
  
 

 
  
  
  
  
  
 

 
  
  
  
  
  
  
 

 
  
  
  
 




 
 
 
 
 
 
 
 
 
 





 
  
 



highlighting-kate-0.6.1/xml/xslt.xml0000644000000000000000000004720012633103275015614 0ustar0000000000000000

	
	
]>




  
    
       xsl:value-of 
       xsl:output 
       xsl:decimal-format 
       xsl:apply-templates 
       xsl:param 
       xsl:transform 
       xsl:namespace-alias 
       xsl:comment 
       xsl:element 
       xsl:attribute 
       xsl:apply-imports 
       xsl:text 
       xsl:when 
       xsl:template 
       xsl:processing-instruction 
       xsl:include 
       xsl:copy-of 
       xsl:copy 
       xsl:with-param 
       xsl:stylesheet 
       xsl:for-each 
       xsl:choose 
       xsl:sort 
       xsl:otherwise 
       xsl:key 
       xsl:variable 
       xsl:number 
       xsl:message 
       xsl:fallback 
       xsl:strip-space 
       xsl:import 
       xsl:preserve-space 
       xsl:if 
       xsl:call-template 
       xsl:attribute-set 
    
  
    
       xsl:perform-sort 
       xsl:import-schema 
       xsl:for-each-group 
       xsl:sequence 
       xsl:non-matching-substring 
       xsl:namespace 
       xsl:next-match 
       xsl:function 
       xsl:analyze-string 
       xsl:output-character 
       xsl:matching-substring 
       xsl:result-document 
       xsl:character-map 
       xsl:document 
    
    
        
       format-number 
       position 
       lang 
       substring-before 
       substring 
       normalize-space 
       round 
       translate 
       starts-with 
       concat 
       local-name 
       key 
       count 
       document 
       system-property 
       current 
       boolean 
       number 
       contains 
       name 
       last 
       unparsed-entity-uri 
       sum 
       generate-id 
       function-available 
       element-available 
       false 
       substring-after 
       not 
       string-length 
       id 
       floor 
       ceiling 
       namespace-uri 
       true 
       string 
       text 
    

    
       zero-or-one 
       replace 
       namespace-uri-for-prefix 
       current-grouping-key 
       seconds-from-duration 
       resolve-uri 
       node-kind 
       minutes-from-dateTime 
       implicit-timezone 
       exactly-one 
       current-time 
       current-dateTime 
       unordered 
       subtract-dates-yielding-dayTimeDuration 
       string-join 
       static-base-uri 
       months-from-duration 
       input 
       exists 
       default-collation 
       dateTime 
       current-group 
       current-date 
       collection 
       timezone-from-time 
       matches 
       local-name-from-QName 
       day-from-date 
       timezone-from-date 
       round-half-to-even 
       month-from-dateTime 
       month-from-date 
       hours-from-duration 
       escape-uri 
       distinct-values 
       avg 
       years-from-duration 
       unparsed-text 
       unparsed-entity-public-id 
       subtract-dateTimes-yielding-dayTimeDuration 
       subtract-dates-yielding-yearMonthDuration 
       string-to-codepoints 
       sequence-node-identical 
       hours-from-time 
       hours-from-dateTime 
       format-time 
       codepoints-to-string 
       trace 
       tokenize 
       subtract-dateTimes-yielding-yearMonthDuration 
       subsequence 
       seconds-from-dateTime 
       regex-group 
       one-or-more 
       node-name 
       namespace-uri-from-QName 
       min 
       idref 
       format-dateTime 
       format-date 
       days-from-duration 
       compare 
       base-uri 
       seconds-from-time 
       in-scope-prefixes 
       expanded-QName 
       adjust-date-to-timezone 
       year-from-date 
       resolve-QName 
       remove 
       QName 
       minutes-from-time 
       max 
       lower-case 
       index-of 
       doc 
       deep-equal 
       data 
       minutes-from-duration 
       adjust-dateTime-to-timezone 
       abs 
       timezone-from-dateTime 
       reverse 
       error 
       ends-with 
       day-from-dateTime 
       year-from-dateTime 
       upper-case 
       root 
       normalize-unicode 
       empty 
       insert-before 
       document-uri 
       adjust-time-to-timezone 
    
    
    

       
         
         
         
         
         

         
         
       


       
       
         
         
         
         
       
       
       
         
       
       
       
         
         
       
       
       
         
         
         
         
         
       
       
       
         
         
         
       
       
       
         
         
       
       
       
         
         
       
       
       
         
       
       
         
         
         
       
       
       
         
         
         
         
       
       
       
         
         
         
       

       
         
         
         
         
       

       
          
          
          
          
          
          
       

       
         
         
         
         
       
       
       
       
         
         
         
       

       
         
         
         
       
       
       
         
         
         
       

       
         
         
         
         
         
         
         
         
         
         
         
       
       
       
         
         
         
         
         
         
         
         
         
         
         
       
       
       
         
         
       
       
       
         
         
       
       
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      

      
      
      
      
      
    
  
  
    
      
    
    
  

highlighting-kate-0.6.1/xml/xul.xml0000644000000000000000000005605512633103275015442 0ustar0000000000000000

	
]>
        


   
       if 
       else 
       for 
       in 
       while 
       do 
       continue 
       break 
       with 
       try 
       catch 
       finally 
       switch 
       case 
       new 
       var 
       function 
       return 
       delete 
       true 
       false 
       void 
       throw 
       typeof 
       const 
       default 
   
   
       escape 
       isFinite 
       isNaN 
       Number 
       parseFloat 
       parseInt 
       reload 
       taint 
       unescape 
       untaint 
       write 
   
   
      Anchor
      Applet
      Area
      Array
      Boolean
      Button
      Checkbox
      Date
      document
      window
      Image
      FileUpload
      Form
      Frame
      Function
      Hidden
      Link
      MimeType
      Math
      Max
      Min
      Layer
      navigator
      Object
      Password
      Plugin
      Radio
      RegExp
      Reset
      Screen
      Select
      String
      Text
      Textarea
      this
      Window
   
   
       abs 
       acos 
       asin 
       atan 
       atan2 
       ceil 
       cos 
       ctg 
       E 
       exp 
       floor 
       LN2 
       LN10 
       log 
       LOG2E 
       LOG10E 
       PI 
       pow 
       round 
       sin 
       sqrt 
       SQRT1_2 
       SQRT2 
       tan 
   
   
      onAbort
      onBlur
      onChange
      onClick
      onError
      onFocus
      onLoad
      onMouseOut
      onMouseOver
      onReset
      onSelect
      onSubmit
      onUnload
   
   
      above
      action
      alinkColor
      alert
      anchor
      anchors
      appCodeName
      applets
      apply
      appName
      appVersion
      argument
      arguments
      arity
      availHeight
      availWidth
      back
      background
      below
      bgColor
      border
      big
      blink
      blur
      bold
      border
      call
      caller
      charAt
      charCodeAt
      checked
      clearInterval
      clearTimeout
      click
      clip
      close
      closed
      colorDepth
      complete
      compile
      constructor
      confirm
      cookie
      current
      cursor
      data
      defaultChecked
      defaultSelected
      defaultStatus
      defaultValue
      description
      disableExternalCapture
      domain
      elements
      embeds
      enabledPlugin
      enableExternalCapture
      encoding
      eval
      exec
      fgColor
      filename
      find
      fixed
      focus
      fontcolor
      fontsize
      form
      forms
      formName
      forward
      frames
      fromCharCode
      getDate
      getDay
      getHours
      getMiliseconds
      getMinutes
      getMonth
      getSeconds
      getSelection
      getTime
      getTimezoneOffset
      getUTCDate
      getUTCDay
      getUTCFullYear
      getUTCHours
      getUTCMilliseconds
      getUTCMinutes
      getUTCMonth
      getUTCSeconds
      getYear
      global
      go
      hash
      height
      history
      home
      host
      hostname
      href
      hspace
      ignoreCase
      images
      index
      indexOf
      innerHeight
      innerWidth
      input
      italics
      javaEnabled
      join
      language
      lastIndex
      lastIndexOf
      lastModified
      lastParen
      layers
      layerX
      layerY
      left
      leftContext
      length
      link
      linkColor
      links
      location
      locationbar
      load
      lowsrc
      match
      MAX_VALUE
      menubar
      method
      mimeTypes
      MIN_VALUE
      modifiers
      moveAbove
      moveBelow
      moveBy
      moveTo
      moveToAbsolute
      multiline
      name
      NaN
      NEGATIVE_INFINITY
      negative_infinity
      next
      open
      opener
      options
      outerHeight
      outerWidth
      pageX
      pageY
      pageXoffset
      pageYoffset
      parent
      parse
      pathname
      personalbar
      pixelDepth
      platform
      plugins
      pop
      port
      POSITIVE_INFINITY
      positive_infinity
      preference
      previous
      print
      prompt
      protocol
      prototype
      push
      referrer
      refresh
      releaseEvents
      reload
      replace
      reset
      resizeBy
      resizeTo
      reverse
      rightContext
      screenX
      screenY
      scroll
      scrollbar
      scrollBy
      scrollTo
      search
      select
      selected
      selectedIndex
      self
      setDate
      setHours
      setMinutes
      setMonth
      setSeconds
      setTime
      setTimeout
      setUTCDate
      setUTCDay
      setUTCFullYear
      setUTCHours
      setUTCMilliseconds
      setUTCMinutes
      setUTCMonth
      setUTCSeconds
      setYear
      shift
      siblingAbove
      siblingBelow
      small
      sort
      source
      splice
      split
      src
      status
      statusbar
      strike
      sub
      submit
      substr
      substring
      suffixes
      sup
      taintEnabled
      target
      test
      text
      title
      toGMTString
      toLocaleString
      toLowerCase
      toolbar
      toSource
      toString
      top
      toUpperCase
      toUTCString
      type
      URL
      unshift
      unwatch
      userAgent
      UTC
      value
      valueOf
      visibility
      vlinkColor
      vspace
      width
      watch
      which
      width
      write
      writeln
      x
      y
      zIndex
    

  
    
  

  
    
    
    
    
    
    
    
    
  

  
    
    
  

  
    
    
    
  


  
    
    
    
    
    
  

  
    
  

  
    
    
  

  
    
    
    
    
    
  

  
    
    
    
  

  
    
    
  

  
    
    
  

  
    
    
    
    
    
  

  
    
    
  

  
    
    
  

  
    
    
  

  
    
    
    
  

  
    
    
  

  
    
    
  

  
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
  
  
  
     
     
     
  
  
     
     
     
  

  
     
     
     
  
  
     
     
  
  
  
     
     
     
     
     
     
     
     
  
  
     
     
     
     
     
  
  
     
     
  
  
     
  
  
     
  
  
  
     
     
  



  
  
  
  
  
  
  
  
  
  
  

  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  




  
    
    
    
  
  
  


highlighting-kate-0.6.1/xml/yacc.xml0000644000000000000000000001671612633103275015551 0ustar0000000000000000






  
    
    
    
    
  

  
    
    
    
  

  
    
    
    

    
    

    
  

  
    
    
    
    
  
  
    
    
    
  
  
    
    
    
  

  
    
    
    
  

  
    
    
    
    
    
  

  
    
  

  
    
    
  
  
    
    
  
  
    
  

  
    
    
    
  
  
    
  
  
    
  

  
    
    
  
  
    
    
  
  
    
    
  

  
    
    
    
    
  
  
    
  
  
    
    
  



  
  
  
  
  
  
  
  
  
  
  




  
    
  



highlighting-kate-0.6.1/xml/yaml.xml0000644000000000000000000002376412633103275015575 0ustar0000000000000000



  
    
      
        
        
        

        
        

        

        
        

        
        
        

        
        
        

        
        
      

      
        
        
        
        
        
        
        
      

      
        
      

      
      

      
      

      
        
      

      
        
        
        
      

      
        
        
        
        
        
        
        
        
        
        
        
      

      
        
        

        
        
        
        
        
        
        
        

        
        
        
      

      
        
        

        

        
        
        

        
        
        
        
        
        
        
        

        
      

      
        
        

        
        
        

        
      

      
        
        
      

      
        
        
      

      
          
          
      

      
          
          
      

      
      

      
          
          
          
      

      
        
        
      

      
        
        
      

      
        
        
      
    

    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
  

  
    
      
    
    
  

highlighting-kate-0.6.1/xml/zsh.xml0000644000000000000000000011637012633103275015433 0ustar0000000000000000

        
            
                         
                        
             
]>





  
    
       else 
       for 
       function 
       in 
       select 
       until 
       while 
       elif 
       then 
       set 
    


	 - 
	 . 
	 : 
	 alias 
	 autoload 
	 bg 
	 bindkey 
	 break 
	 builtin 
	 bye 
	 cap 
	 cd 
	 chdir 
	 clone 
	 command 
	 comparguments 
	 compcall 
	 compctl 
	 compdescribe 
	 compfiles 
	 compgroups 
	 compquote 
	 comptags 
	 comptry 
	 compvalues 
	 continue 
	 dirs 
	 disable 
	 disown 
	 echo 
	 echotc 
	 echoti 
	 emulate 
	 enable 
	 eval 
	 exec 
	 exit 
	 false 
	 fc 
	 fg 
	 functions 
	 getcap 
	 getopts 
	 hash 
	 history 
	 jobs 
	 kill 
	 let 
	 limit 
	 log 
	 logout 
	 noglob 
	 popd 
	 print 
	 printf 
	 pushd 
	 pushln 
	 pwd 
	 r 
	 rehash 
	 return 
	 sched 
	 set 
	 setcap 
	 setopt 
	 shift 
	 source 
	 stat 
	 suspend 
	 test 
	 times 
	 trap 
	 true 
	 ttyctl 
	 type 
	 ulimit 
	 umask 
	 unalias 
	 unfunction 
	 unhash 
	 unlimit 
	 unset 
	 unsetopt 
	 vared 
	 wait 
	 whence 
	 where 
	 which 
	 zcompile 
	 zformat 
	 zftp 
	 zle 
	 zmodload 
	 zparseopts 
	 zprof 
	 zpty 
	 zregexparse 
	 zsocket 
	 zstyle 
	 ztcp 
    

    
	 declare 
	 export 
	 float 
	 getln 
	 integer 
	 unset 
	 declare 
	 typeset 
	 local 
	 read 
	 readonly 
    

    
      
       arch 
       awk 
       bash 
       bunzip2 
       bzcat 
       bzcmp 
       bzdiff 
       bzegrep 
       bzfgrep 
       bzgrep 
       bzip2 
       bzip2recover 
       bzless 
       bzmore 
       cat 
       chattr 
       chgrp 
       chmod 
       chown 
       chvt 
       cp 
       date 
       dd 
       deallocvt 
       df 
       dir 
       dircolors 
       dmesg 
       dnsdomainname 
       domainname 
       du 
       dumpkeys 
       echo 
       ed 
       egrep 
       false 
       fgconsole 
       fgrep 
       fuser 
       gawk 
       getkeycodes 
       gocr 
       grep 
       groff 
       groups 
       gunzip 
       gzexe 
       gzip 
       hostname 
       igawk 
       install 
       kbd_mode 
       kbdrate 
       killall 
       last 
       lastb 
       link 
       ln 
       loadkeys 
       loadunimap 
       login 
       ls 
       lsattr 
       lsmod 
       lsmod.old 
       lzcat 
       lzcmp 
       lzdiff 
       lzegrep 
       lzfgrep 
       lzgrep 
       lzless 
       lzcat 
       lzma 
       lzmainfo 
       lzmore 
       mapscrn 
       mesg 
       mkdir 
       mkfifo 
       mknod 
       mktemp 
       more 
       mount 
       mv 
       nano 
       netstat 
       nisdomainname 
       nroff 
       openvt 
       pgawk 
       pidof 
       ping 
       ps 
       pstree 
       pwd 
       rbash 
       readlink 
       red 
       resizecons 
       rm 
       rmdir 
       run-parts 
       sash 
       sed 
       setfont 
       setkeycodes 
       setleds 
       setmetamode 
       setserial 
       sh 
       showkey 
       shred 
       sleep 
       ssed 
       stat 
       stty 
       su 
       sync 
       tar 
       tempfile 
       touch 
       troff 
       true 
       umount 
       uname 
       unicode_start 
       unicode_stop 
       unlink 
       unlzma 
       unxz 
       utmpdump 
       uuidgen 
       vdir 
       wall 
       wc 
       xz 
       xzcat 
       ypdomainname 
       zcat 
       zcmp 
       zdiff 
       zegrep 
       zfgrep 
       zforce 
       zgrep 
       zless 
       zmore 
       znew 
       zsh 

      
       aclocal 
       aconnect 
       aplay 
       apm 
       apmsleep 
       apropos 
       ar 
       arecord 
       as 
       as86 
       autoconf 
       autoheader 
       automake 
       awk 
       basename 
       bc 
       bison 
       c++ 
       cal 
       cat 
       cc 
       cdda2wav 
       cdparanoia 
       cdrdao 
       cd-read 
       cdrecord 
       chfn 
       chgrp 
       chmod 
       chown 
       chroot 
       chsh 
       clear 
       cmp 
       co 
       col 
       comm 
       cp 
       cpio 
       cpp 
       cut 
       dc 
       dd 
       df 
       diff 
       diff3 
       dir 
       dircolors 
       directomatic 
       dirname 
       du 
       env 
       expr 
       fbset 
       file 
       find 
       flex 
       flex++ 
       fmt 
       free 
       ftp 
       funzip 
       fuser 
       g++ 
       gawk 
       gc 
       gcc 
       gdb 
       getent 
       getopt 
       gettext 
       gettextize 
       gimp 
       gimp-remote 
       gimptool 
       gmake 
       gs 
       head 
       hexdump 
       id 
       install 
       join 
       kill 
       killall 
       ld 
       ld86 
       ldd 
       less 
       lex 
       ln 
       locate 
       lockfile 
       logname 
       lp 
       lpr 
       ls 
       lynx 
       m4 
       make 
       man 
       mkdir 
       mknod 
       msgfmt 
       mv 
       namei 
       nasm 
       nawk 
       nice 
       nl 
       nm 
       nm86 
       nmap 
       nohup 
       nop 
       od 
       passwd 
       patch 
       pcregrep 
       pcretest 
       perl 
       perror 
       pidof 
       pr 
       printf 
       procmail 
       prune 
       ps2ascii 
       ps2epsi 
       ps2frag 
       ps2pdf 
       ps2ps 
       psbook 
       psmerge 
       psnup 
       psresize 
       psselect 
       pstops 
       rcs 
       rev 
       rm 
       scp 
       sed 
       seq 
       setterm 
       shred 
       size 
       size86 
       skill 
       slogin 
       snice 
       sort 
       sox 
       split 
       ssh 
       ssh-add 
       ssh-agent 
       ssh-keygen 
       ssh-keyscan 
       stat 
       strings 
       strip 
       sudo 
       suidperl 
       sum 
       tac 
       tail 
       tee 
       test 
       tr 
       uniq 
       unlink 
       unzip 
       updatedb 
       updmap 
       uptime 
       users 
       vmstat 
       w 
       wc 
       wget 
       whatis 
       whereis 
       which 
       who 
       whoami 
       write 
       xargs 
       yacc 
       yes 
       zip 
       zsoelim 

      
       dcop 
       kdialog 
       kfile 
       xhost 
       xmodmap 
       xset