highlighting-kate 0.5.3.5 → 0.5.3.6
raw patch · 47 files changed
+4798/−1565 lines, 47 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- README +3/−1
- Text/Highlighting/Kate/Syntax.hs +9/−3
- Text/Highlighting/Kate/Syntax/Alert.hs +8/−2
- Text/Highlighting/Kate/Syntax/Asn1.hs +2/−2
- Text/Highlighting/Kate/Syntax/Bash.hs +104/−18
- Text/Highlighting/Kate/Syntax/Cmake.hs +3/−3
- Text/Highlighting/Kate/Syntax/Cpp.hs +2/−2
- Text/Highlighting/Kate/Syntax/Css.hs +3/−3
- Text/Highlighting/Kate/Syntax/Curry.hs +174/−0
- Text/Highlighting/Kate/Syntax/Haskell.hs +17/−7
- Text/Highlighting/Kate/Syntax/Java.hs +5/−2
- Text/Highlighting/Kate/Syntax/Javascript.hs +84/−73
- Text/Highlighting/Kate/Syntax/Julia.hs +221/−0
- Text/Highlighting/Kate/Syntax/Latex.hs +113/−15
- Text/Highlighting/Kate/Syntax/LiterateCurry.hs +111/−0
- Text/Highlighting/Kate/Syntax/Lua.hs +4/−11
- Text/Highlighting/Kate/Syntax/Makefile.hs +165/−67
- Text/Highlighting/Kate/Syntax/Prolog.hs +594/−46
- Text/Highlighting/Kate/Syntax/Python.hs +13/−7
- Text/Highlighting/Kate/Syntax/Scheme.hs +1/−1
- Text/Highlighting/Kate/Syntax/Sql.hs +3/−3
- Text/Highlighting/Kate/Syntax/SqlMysql.hs +3/−3
- Text/Highlighting/Kate/Syntax/SqlPostgresql.hs +3/−3
- changelog +10/−0
- highlighting-kate.cabal +7/−1
- xml/alert.xml +28/−12
- xml/asn1.xml +1/−1
- xml/bash.xml +78/−25
- xml/cmake.xml +52/−2
- xml/cpp.xml +2/−1
- xml/css.xml +820/−699
- xml/curry.xml +284/−0
- xml/doxygen.xml +1/−1
- xml/haskell.xml +12/−7
- xml/java.xml +3/−2
- xml/javascript.xml +155/−196
- xml/julia.xml +296/−0
- xml/latex.xml +65/−7
- xml/literate-curry.xml +50/−0
- xml/lua.xml +12/−15
- xml/makefile.xml +151/−85
- xml/prolog.xml +1112/−232
- xml/python.xml +7/−3
- xml/scheme.xml +1/−1
- xml/sql-mysql.xml +2/−1
- xml/sql-postgresql.xml +2/−1
- xml/sql.xml +2/−1
README view
@@ -22,6 +22,7 @@ - Cpp - Cs - Css+- Curry - D - Diff - Djangotemplate@@ -44,8 +45,10 @@ - Javascript - Json - Jsp+- Julia - Latex - Lex+- LiterateCurry - LiterateHaskell - Lua - Makefile@@ -169,7 +172,6 @@ Changes have been made to the following xml files (the originals have been left in the directory, with .bkp extensions): -- javascript.xml: Fixed regex \s* (which matches empty string) by changes to DetectSpaces - perl.xml: Fixed regexes - needed backslash-escapes before ] and ^ - base report bugs on the github issue tracker: <https://github.com/jgm/highlighting-kate/issues>.
Text/Highlighting/Kate/Syntax.hs view
@@ -36,6 +36,7 @@ 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@@ -58,8 +59,10 @@ 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.Latex as Latex import qualified Text.Highlighting.Kate.Syntax.Lex as Lex+import qualified Text.Highlighting.Kate.Syntax.LiterateCurry as LiterateCurry import qualified Text.Highlighting.Kate.Syntax.LiterateHaskell as LiterateHaskell import qualified Text.Highlighting.Kate.Syntax.Lua as Lua import qualified Text.Highlighting.Kate.Syntax.Makefile as Makefile@@ -109,11 +112,11 @@ -- | List of supported languages. languages :: [String]-languages = ["Actionscript","Ada","Alert","Alert_indent","Apache","Asn1","Asp","Awk","Bash","Bibtex","Boo","C","Changelog","Clojure","Cmake","Coffee","Coldfusion","Commonlisp","Cpp","Cs","Css","D","Diff","Djangotemplate","Doxygen","Doxygenlua","Dtd","Eiffel","Email","Erlang","Fortran","Fsharp","Gnuassembler","Go","Haskell","Haxe","Html","Ini","Java","Javadoc","Javascript","Json","Jsp","Latex","Lex","LiterateHaskell","Lua","Makefile","Mandoc","Matlab","Maxima","Metafont","Mips","Modula2","Modula3","Monobasic","Nasm","Noweb","Objectivec","Objectivecpp","Ocaml","Octave","Pascal","Perl","Php","Pike","Postscript","Prolog","Python","R","Relaxngcompact","Rhtml","Ruby","Scala","Scheme","Sci","Sed","Sgml","Sql","SqlMysql","SqlPostgresql","Tcl","Texinfo","Verilog","Vhdl","Xml","Xorg","Xslt","Xul","Yacc","Yaml"]+languages = ["Actionscript","Ada","Alert","Alert_indent","Apache","Asn1","Asp","Awk","Bash","Bibtex","Boo","C","Changelog","Clojure","Cmake","Coffee","Coldfusion","Commonlisp","Cpp","Cs","Css","Curry","D","Diff","Djangotemplate","Doxygen","Doxygenlua","Dtd","Eiffel","Email","Erlang","Fortran","Fsharp","Gnuassembler","Go","Haskell","Haxe","Html","Ini","Java","Javadoc","Javascript","Json","Jsp","Julia","Latex","Lex","LiterateCurry","LiterateHaskell","Lua","Makefile","Mandoc","Matlab","Maxima","Metafont","Mips","Modula2","Modula3","Monobasic","Nasm","Noweb","Objectivec","Objectivecpp","Ocaml","Octave","Pascal","Perl","Php","Pike","Postscript","Prolog","Python","R","Relaxngcompact","Rhtml","Ruby","Scala","Scheme","Sci","Sed","Sgml","Sql","SqlMysql","SqlPostgresql","Tcl","Texinfo","Verilog","Vhdl","Xml","Xorg","Xslt","Xul","Yacc","Yaml"] -- | List of language extensions. languageExtensions :: [(String, String)]-languageExtensions = [("Actionscript", Actionscript.syntaxExtensions), ("Ada", Ada.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), ("D", D.syntaxExtensions), ("Diff", Diff.syntaxExtensions), ("Djangotemplate", Djangotemplate.syntaxExtensions), ("Doxygen", Doxygen.syntaxExtensions), ("Doxygenlua", Doxygenlua.syntaxExtensions), ("Dtd", Dtd.syntaxExtensions), ("Eiffel", Eiffel.syntaxExtensions), ("Email", Email.syntaxExtensions), ("Erlang", Erlang.syntaxExtensions), ("Fortran", Fortran.syntaxExtensions), ("Fsharp", Fsharp.syntaxExtensions), ("Gnuassembler", Gnuassembler.syntaxExtensions), ("Go", Go.syntaxExtensions), ("Haskell", Haskell.syntaxExtensions), ("Haxe", Haxe.syntaxExtensions), ("Html", Html.syntaxExtensions), ("Ini", Ini.syntaxExtensions), ("Java", Java.syntaxExtensions), ("Javadoc", Javadoc.syntaxExtensions), ("Javascript", Javascript.syntaxExtensions), ("Json", Json.syntaxExtensions), ("Jsp", Jsp.syntaxExtensions), ("Latex", Latex.syntaxExtensions), ("Lex", Lex.syntaxExtensions), ("LiterateHaskell", LiterateHaskell.syntaxExtensions), ("Lua", Lua.syntaxExtensions), ("Makefile", Makefile.syntaxExtensions), ("Mandoc", Mandoc.syntaxExtensions), ("Matlab", Matlab.syntaxExtensions), ("Maxima", Maxima.syntaxExtensions), ("Metafont", Metafont.syntaxExtensions), ("Mips", Mips.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), ("Pascal", Pascal.syntaxExtensions), ("Perl", Perl.syntaxExtensions), ("Php", Php.syntaxExtensions), ("Pike", Pike.syntaxExtensions), ("Postscript", Postscript.syntaxExtensions), ("Prolog", Prolog.syntaxExtensions), ("Python", Python.syntaxExtensions), ("R", R.syntaxExtensions), ("Relaxngcompact", Relaxngcompact.syntaxExtensions), ("Rhtml", Rhtml.syntaxExtensions), ("Ruby", Ruby.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), ("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)]+languageExtensions = [("Actionscript", Actionscript.syntaxExtensions), ("Ada", Ada.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), ("Doxygen", Doxygen.syntaxExtensions), ("Doxygenlua", Doxygenlua.syntaxExtensions), ("Dtd", Dtd.syntaxExtensions), ("Eiffel", Eiffel.syntaxExtensions), ("Email", Email.syntaxExtensions), ("Erlang", Erlang.syntaxExtensions), ("Fortran", Fortran.syntaxExtensions), ("Fsharp", Fsharp.syntaxExtensions), ("Gnuassembler", Gnuassembler.syntaxExtensions), ("Go", Go.syntaxExtensions), ("Haskell", Haskell.syntaxExtensions), ("Haxe", Haxe.syntaxExtensions), ("Html", Html.syntaxExtensions), ("Ini", Ini.syntaxExtensions), ("Java", Java.syntaxExtensions), ("Javadoc", Javadoc.syntaxExtensions), ("Javascript", Javascript.syntaxExtensions), ("Json", Json.syntaxExtensions), ("Jsp", Jsp.syntaxExtensions), ("Julia", Julia.syntaxExtensions), ("Latex", Latex.syntaxExtensions), ("Lex", Lex.syntaxExtensions), ("LiterateCurry", LiterateCurry.syntaxExtensions), ("LiterateHaskell", LiterateHaskell.syntaxExtensions), ("Lua", Lua.syntaxExtensions), ("Makefile", Makefile.syntaxExtensions), ("Mandoc", Mandoc.syntaxExtensions), ("Matlab", Matlab.syntaxExtensions), ("Maxima", Maxima.syntaxExtensions), ("Metafont", Metafont.syntaxExtensions), ("Mips", Mips.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), ("Pascal", Pascal.syntaxExtensions), ("Perl", Perl.syntaxExtensions), ("Php", Php.syntaxExtensions), ("Pike", Pike.syntaxExtensions), ("Postscript", Postscript.syntaxExtensions), ("Prolog", Prolog.syntaxExtensions), ("Python", Python.syntaxExtensions), ("R", R.syntaxExtensions), ("Relaxngcompact", Relaxngcompact.syntaxExtensions), ("Rhtml", Rhtml.syntaxExtensions), ("Ruby", Ruby.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), ("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)] -- | Returns a list of languages appropriate for the given file extension. languagesByExtension :: String -> [String]@@ -129,7 +132,7 @@ -- extension (if unique). -- The parsers read the input lazily and parse line by line; -- results are returned immediately.--- Supported languages: @actionscript@, @ada@, @alert@, @alert_indent@, @apache@, @asn1@, @asp@, @awk@, @bash@, @bibtex@, @boo@, @c@, @changelog@, @clojure@, @cmake@, @coffee@, @coldfusion@, @commonlisp@, @cpp@, @cs@, @css@, @d@, @diff@, @djangotemplate@, @doxygen@, @doxygenlua@, @dtd@, @eiffel@, @email@, @erlang@, @fortran@, @fsharp@, @gnuassembler@, @go@, @haskell@, @haxe@, @html@, @ini@, @java@, @javadoc@, @javascript@, @json@, @jsp@, @latex@, @lex@, @literatehaskell@, @lua@, @makefile@, @mandoc@, @matlab@, @maxima@, @metafont@, @mips@, @modula2@, @modula3@, @monobasic@, @nasm@, @noweb@, @objectivec@, @objectivecpp@, @ocaml@, @octave@, @pascal@, @perl@, @php@, @pike@, @postscript@, @prolog@, @python@, @r@, @relaxngcompact@, @rhtml@, @ruby@, @scala@, @scheme@, @sci@, @sed@, @sgml@, @sql@, @sqlmysql@, @sqlpostgresql@, @tcl@, @texinfo@, @verilog@, @vhdl@, @xml@, @xorg@, @xslt@, @xul@, @yacc@, @yaml@.+-- Supported languages: @actionscript@, @ada@, @alert@, @alert_indent@, @apache@, @asn1@, @asp@, @awk@, @bash@, @bibtex@, @boo@, @c@, @changelog@, @clojure@, @cmake@, @coffee@, @coldfusion@, @commonlisp@, @cpp@, @cs@, @css@, @curry@, @d@, @diff@, @djangotemplate@, @doxygen@, @doxygenlua@, @dtd@, @eiffel@, @email@, @erlang@, @fortran@, @fsharp@, @gnuassembler@, @go@, @haskell@, @haxe@, @html@, @ini@, @java@, @javadoc@, @javascript@, @json@, @jsp@, @julia@, @latex@, @lex@, @literatecurry@, @literatehaskell@, @lua@, @makefile@, @mandoc@, @matlab@, @maxima@, @metafont@, @mips@, @modula2@, @modula3@, @monobasic@, @nasm@, @noweb@, @objectivec@, @objectivecpp@, @ocaml@, @octave@, @pascal@, @perl@, @php@, @pike@, @postscript@, @prolog@, @python@, @r@, @relaxngcompact@, @rhtml@, @ruby@, @scala@, @scheme@, @sci@, @sed@, @sgml@, @sql@, @sqlmysql@, @sqlpostgresql@, @tcl@, @texinfo@, @verilog@, @vhdl@, @xml@, @xorg@, @xslt@, @xul@, @yacc@, @yaml@. highlightAs :: String -- ^ Language syntax (e.g. "haskell") or extension (e.g. "hs"). -> String -- ^ Source code to highlight -> [SourceLine] -- ^ List of highlighted source lines@@ -162,6 +165,7 @@ "cpp" -> Cpp.highlight "cs" -> Cs.highlight "css" -> Css.highlight+ "curry" -> Curry.highlight "d" -> D.highlight "diff" -> Diff.highlight "djangotemplate" -> Djangotemplate.highlight@@ -184,8 +188,10 @@ "javascript" -> Javascript.highlight "json" -> Json.highlight "jsp" -> Jsp.highlight+ "julia" -> Julia.highlight "latex" -> Latex.highlight "lex" -> Lex.highlight+ "literatecurry" -> LiterateCurry.highlight "literatehaskell" -> LiterateHaskell.highlight "lua" -> Lua.highlight "makefile" -> Makefile.highlight
Text/Highlighting/Kate/Syntax/Alert.hs view
@@ -54,11 +54,17 @@ , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) -list_alerts = Set.fromList $ words $ "### ALERT BUG DANGER DEPRECATED FIXME HACK NOTE NOTICE SECURITY TASK TEST TESTING TODO WARNING"+list_alerts'5fhi = Set.fromList $ words $ "ALERT ATTENTION DANGER HACK SECURITY"+list_alerts'5fmid = Set.fromList $ words $ "BUG FIXME DEPRECATED TASK TODO TBD WARNING NOLINT"+list_alerts'5flo = Set.fromList $ words $ "### NOTE NOTICE TEST TESTING" parseRules ("Alerts","Normal Text") =- (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_alerts >>= withAttribute AlertTok))+ (((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))
Text/Highlighting/Kate/Syntax/Asn1.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file asn1.xml, version 1.00, by Philippe Rigault -}+ highlighting file asn1.xml, version 1.01, by Philippe Rigault -} module Text.Highlighting.Kate.Syntax.Asn1 (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -17,7 +17,7 @@ -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.asn*.asn1"+syntaxExtensions = "*.asn;*.asn1" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]
Text/Highlighting/Kate/Syntax/Bash.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file bash.xml, version 2.14, by Wilbert Berendsen (wilbert@kde.nl) -}+ highlighting file bash.xml, version 2.16, by Wilbert Berendsen (wilbert@kde.nl) -} module Text.Highlighting.Kate.Syntax.Bash (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -55,6 +55,12 @@ ("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 ()@@ -121,22 +127,25 @@ regex_'5cbif'28'3f'3d'28'24'7c'5cs'29'29 = compileRegex "\\bif(?=($|\\s))" regex_'5cbfi'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex "\\bfi(?![\\w$+-])" regex_'5cbcase'28'3f'21'5b'5cw'24'2b'2d'5d'29 = compileRegex "\\bcase(?![\\w$+-])"-regex_'2d'5bA'2dZa'2dz0'2d9'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex "-[A-Za-z0-9][A-Za-z0-9_]*"-regex_'2d'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a = compileRegex "--[a-z][A-Za-z0-9_-]*" regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'2b'3f'3d = compileRegex "\\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 "\\b[A-Za-z_][A-Za-z0-9_]*(?=\\[.+\\]\\+?=)" regex_'5cbfunction'5cb = compileRegex "\\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 "[A-Za-z_:][A-Za-z0-9_:#%@-]*\\s*\\(\\)" regex_'5c'2e'28'3f'3d'5cs'29 = compileRegex "\\.(?=\\s)" regex_'5cd'2a'3c'3c'3c = compileRegex "\\d*<<<" regex_'5b'3c'3e'5d'5c'28 = compileRegex "[<>]\\(" 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 "([0-9]*(>{1,2}|<)(&[0-9]+-?)?|&>|>&|[0-9]*<>)" regex_'28'5b'7c'26'5d'29'5c1'3f = compileRegex "([|&])\\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 "[A-Za-z_:][A-Za-z0-9_:#%@-]*\\s*\\(\\)"-regex_'5c'5c'5b'5d'5b'3b'5c'5c'24'60'7b'7d'28'29'7c'26'3c'3e'2a_'5d = compileRegex "\\\\[][;\\\\$`{}()|&<>* ]"-regex_'5c'5c'24 = compileRegex "\\\\$"-regex_'5c'7b'28'3f'21'28'5cs'7c'24'29'29'5cS'2a'5c'7d = compileRegex "\\{(?!(\\s|$))\\S*\\}" regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a'28'3f'3d'2f'29 = compileRegex "([\\w_@.%*?+-]|\\\\ )*(?=/)" regex_'7e'5cw'2a = compileRegex "~\\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 "/([\\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 "/([\\w_@.%*?+-]|\\\\ )*(?=([\\s);$`'\"]|$))"+regex_'28'5b'5cw'5f'40'2e'25'2a'3f'2b'2d'5d'7c'5c'5c_'29'2a = compileRegex "([\\w_@.%*?+-]|\\\\ )*"+regex_'5c'5c'24 = compileRegex "\\\\$"+regex_'28'5b'7c'26'3b'5d'29'5c1'3f = compileRegex "([|&;])\\1?"+regex_'2d'3f'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a = compileRegex "-?-[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 "\\\\[][;\\\\$`{}()|&<>* ]"+regex_'5c'7b'28'3f'21'28'5cs'7c'24'29'29'5cS'2a'5c'7d = compileRegex "\\{(?!(\\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 "/([\\w_@.%*?+-]|\\\\ )*(?=([\\s/):;$`'\"]|$))" regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a'5c'5b = compileRegex "\\$[A-Za-z_][A-Za-z0-9_]*\\[" regex_'5c'24'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex "\\$[A-Za-z_][A-Za-z0-9_]*"@@ -158,6 +167,7 @@ regex_'5b'5cw'3a'2c'2b'5f'2e'2f'2d'5d = compileRegex "[\\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 "\\s+[A-Za-z_:][A-Za-z0-9_:#%@-]*(\\s*\\(\\))?" regex_'2d'5bA'2dZa'2dz0'2d9'5d'2b = compileRegex "-[A-Za-z0-9]+"+regex_'2d'2d'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'2d'5d'2a = compileRegex "--[a-z][A-Za-z0-9_-]*" regex_'5cb'5bA'2dZa'2dz'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex "\\b[A-Za-z_][A-Za-z0-9_]*" regex_'5b'5e'5d'7d'29'7c'3b'60'26'3e'3c'5d = compileRegex "[^]})|;`&><]" regex_'5c'5c'5b'60'22'5c'5c'24'5cn'5d = compileRegex "\\\\[`\"\\\\$\\n]"@@ -250,6 +260,13 @@ (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"))@@ -274,10 +291,6 @@ <|> ((pRegExpr regex_'5cbcase'28'3f'21'5b'5cw'24'2b'2d'5d'29 >>= withAttribute KeywordTok) >>~ pushContext ("Bash","Case")) <|>- ((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'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"))@@ -286,14 +299,12 @@ <|> ((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 >>= withAttribute KeywordTok))- <|>- ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_unixcommands >>= withAttribute KeywordTok))- <|> ((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins'5fvar >>= withAttribute KeywordTok) >>~ pushContext ("Bash","VarName")) <|> ((pRegExpr regex_'5cd'2a'3c'3c'3c >>= withAttribute KeywordTok))@@ -306,10 +317,85 @@ <|> ((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 == ("Bash","FindSpecialCommands")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Bash","FindNormalCommands") =+ (((pKeyword " \n\t()!+,<=>&*;?|~\\`" list_builtins >>= withAttribute KeywordTok) >>~ pushContext ("Bash","CommandArgs")) <|>- (currentContext >>= \x -> guard (x == ("Bash","FindCommands")) >> pDefault >>= withAttribute NormalTok))+ ((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)) <|>@@ -656,7 +742,7 @@ <|> ((parseRules ("Bash","FindCommentsBackq"))) <|>- ((parseRules ("Bash","FindCommands")))+ ((parseRules ("Bash","FindCommandsBackq"))) <|> ((parseRules ("Bash","FindStrings"))) <|>
Text/Highlighting/Kate/Syntax/Cmake.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file cmake.xml, version 1.13, by Alexander Neundorf (neundorf@kde.org) -}+ highlighting file cmake.xml, version 1.14, by Alexander Neundorf (neundorf@kde.org) -} module Text.Highlighting.Kate.Syntax.Cmake (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -62,9 +62,9 @@ list_commands = Set.fromList $ words $ "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_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_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 $ "A ABSOLUTE AFTER ALL ALPHABET AND APPEND ARCHIVE ARGS ASCII AUTHOR_WARNING B BEFORE BRIEF_DOCS BUNDLE CACHE CLEAR CMAKE_FIND_ROOT_PATH_BOTH CMAKE_FLAGS CODE COMMAND COMMAND_NAME COMMENT COMPARE COMPILE_DEFINITIONS COMPILE_OUTPUT_VARIABLE COMPILE_RESULT_VAR COMPONENT COMPONENTS CONFIGS CONFIGURATION CONFIGURATIONS CONFIGURE COPYONLY COPY_FILE DEFINED DEFINITION DEPENDS DESTINATION DIRECTORY DIRECTORY_PERMISSIONS DOC DOWNLOAD ENV EQUAL ERROR_FILE ERROR_QUIET ERROR_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE ESCAPE_QUOTES EXACT EXCLUDE EXCLUDE_FROM_ALL EXISTS EXPORT EXPR EXT EXTRA_INCLUDE FATAL_ERROR FILE FILES FILES_MATCHING FILE_PERMISSIONS FIND FOLLOW_SYMLINKS FORCE FRAMEWORK FULL_DOCS FUNCTION GET GLOB GLOB_RECURSE GREATER GROUP_EXECUTE GROUP_READ HEX HINTS IMPLICIT_DEPENDS IMPORTED IN INCLUDE_INTERNALS INHERITED INPUT_FILE INSERT IS_ABSOLUTE IS_DIRECTORY IS_NEWER_THAN IS_SYMLINK ITEMS LENGTH LENGTH_MAXIMUM LENGTH_MINIMUM LESS LIBRARY LIMIT LIMIT_COUNT LIMIT_INPUT LIMIT_OUTPUT LINK_INTERFACE_LIBRARIES LISTS LOG MACOSX_BUNDLE MAIN_DEPENDENCY MAKE_DIRECTORY MATCH MATCHALL MATCHES MODULE NAME NAMELINK_ONLY NAMELINK_SKIP NAMES NAMESPACE NAME_WE NEW NEWLINE_CONSUME 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_PATH NO_DEFAULT_PATH NO_HEX_CONVERSION NO_MODULE NO_POLICY_SCOPE NO_SOURCE_PERMISSIONS NO_SYSTEM_ENVIRONMENT_PATH OFFSET OLD ONLY_CMAKE_FIND_ROOT_PATH OPTIONAL OR OUTPUT OUTPUT_DIRECTORY OUTPUT_FILE OUTPUT_QUIET OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE OWNER_EXECUTE OWNER_READ OWNER_WRITE PACKAGE PARENT_SCOPE PATH PATHS PATH_SUFFIXES PATH_TO_MESA PATTERN PERMISSIONS POLICY POP POST_BUILD PREORDER PRE_BUILD PRE_LINK PRIVATE_HEADER PROGRAM PROGRAMS PROGRAM_ARGS PROJECT_NAME PROPERTIES PROPERTY PUBLIC_HEADER PUSH QUIET RANDOM RANDOM_SEED RANGE READ READ_WITH_PREFIX REALPATH REGEX REGULAR_EXPRESSION RELATIVE RELATIVE_PATH REMOVE REMOVE_AT REMOVE_DUPLICATES REMOVE_ITEM REMOVE_RECURSE RENAME REPLACE REQUIRED REQUIRED_VARIABLE1 REQUIRED_VARIABLE2 RESOURCE RESULT_VAR RESULT_VARIABLE RETURN_VALUE REVERSE RUNTIME RUNTIME_DIRECTORY RUN_OUTPUT_VARIABLE RUN_RESULT_VAR SCRIPT SEND_ERROR SET SHARED SORT SOURCE SOURCES STATIC STATUS STREQUAL STRGREATER STRINGS STRIP STRLESS SUBSTRING SYSTEM TARGET TARGETS TEST TEST_VARIABLE TIMEOUT TOLOWER TOUPPER TO_CMAKE_PATH TO_NATIVE_PATH USE_SOURCE_PERMISSIONS VALUE VAR VAR2 VARIABLE VERBATIM VERSION VERSION_EQUAL VERSION_GREATER VERSION_LESS WARNING WIN32 WORKING_DIRECTORY WRITE"+list_special'5fargs = Set.fromList $ words $ "A ABSOLUTE AFTER ALL ALPHABET AND APPEND APPEND_STRING ARCHIVE ARGS ASCII AUTHOR_WARNING B BEFORE BRIEF_DOCS BUNDLE CACHE CLEAR CMAKE_FIND_ROOT_PATH_BOTH CMAKE_FLAGS CODE COMMAND COMMAND_NAME COMMENT COMPARE COMPILE_DEFINITIONS COMPILE_OUTPUT_VARIABLE COMPILE_RESULT_VAR COMPONENT COMPONENTS CONFIG CONFIGS CONFIGURATION CONFIGURATIONS CONFIGURE COPYONLY COPY_FILE 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 EXPR EXT EXTRA_INCLUDE FATAL_ERROR FILE FILES FILES_MATCHING FILE_PERMISSIONS FIND FOLLOW_SYMLINKS FOO FORCE FRAMEWORK FULL_DOCS FUNCTION GET GLOB GLOBAL GLOB_RECURSE GREATER GROUP_EXECUTE GROUP_READ GUID HEX HINTS IMPLICIT_DEPENDS IMPORTED IN INACTIVITY_TIMEOUT INCLUDE_INTERNALS INHERITED INPUT_FILE INSERT 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 LISTS LOG MACOSX_BUNDLE MAIN_DEPENDENCY MAKE_DIRECTORY MATCH MATCHALL MATCHES MODULE NAME NAMELINK_ONLY NAMELINK_SKIP NAMES NAMESPACE NAME_WE 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 PATH PATHS PATH_SUFFIXES PATH_TO_MESA PATTERN PERMISSIONS PLATFORM POLICY POP POST_BUILD PREORDER PRE_BUILD PRE_LINK PRIVATE_HEADER PROGRAM PROGRAMS PROGRAM_ARGS PROJECT_NAME PROPERTIES PROPERTY PUBLIC_HEADER PUSH QUIET RANDOM RANDOM_SEED RANGE READ READ_WITH_PREFIX REALPATH REGEX REGULAR_EXPRESSION RELATIVE RELATIVE_PATH REMOVE REMOVE_AT REMOVE_DUPLICATES REMOVE_ITEM REMOVE_RECURSE RENAME REPLACE REQUIRED REQUIRED_VARIABLE1 REQUIRED_VARIABLE2 RESOURCE RESULT_VAR RESULT_VARIABLE RETURN_VALUE REVERSE RUNTIME RUNTIME_DIRECTORY RUN_OUTPUT_VARIABLE RUN_RESULT_VAR SCRIPT SEND_ERROR SET SHA1 SHA224 SHA256 SHA384 SHARED SHOW_PROGRESS SORT SOURCE SOURCES STATIC STATUS STREQUAL STRGREATER STRINGS STRIP STRLESS SUBSTRING SYSTEM TARGET TARGETS TEST TEST_VARIABLE TIMEOUT TLS_CAINFO TLS_VERIFY TOLOWER TOUPPER TO_CMAKE_PATH TO_NATIVE_PATH TYPE UNIX UPLOAD USE_SOURCE_PERMISSIONS VALUE VAR VAR2 VARIABLE VERBATIM VERSION VERSION_EQUAL VERSION_GREATER VERSION_LESS WARNING WIN32 WORKING_DIRECTORY WRITE" list_extra'5fspecial'5fargs = Set.fromList $ words $ "GLOBAL INTERNAL"-list_properties = Set.fromList $ words $ "ABSTRACT ADDITIONAL_MAKE_CLEAN_FILES ADVANCED ALLOW_DUPLICATE_CUSTOM_TARGETS ARCHIVE_OUTPUT_DIRECTORY ARCHIVE_OUTPUT_NAME ATTACHED_FILES ATTACHED_FILES_ON_FAIL BUILD_WITH_INSTALL_RPATH CACHE_VARIABLES CLEAN_NO_CUSTOM COMPILE_DEFINITIONS COMPILE_FLAGS COST DEBUG_CONFIGURATIONS DEBUG_POSTFIX DEFINE_SYMBOL DEFINITIONS DEPENDS DISABLED_FEATURES ENABLED_FEATURES ENABLED_LANGUAGES ENABLE_EXPORTS ENVIRONMENT EXCLUDE_FROM_ALL EXTERNAL_OBJECT EchoString FAIL_REGULAR_EXPRESSION FIND_LIBRARY_USE_LIB64_PATHS FIND_LIBRARY_USE_OPENBSD_VERSIONING FRAMEWORK Fortran_MODULE_DIRECTORY GENERATED GENERATOR_FILE_NAME GLOBAL_DEPENDS_DEBUG_MODE GLOBAL_DEPENDS_NO_CYCLES 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_SONAME IMPORT_PREFIX IMPORT_SUFFIX INCLUDE_DIRECTORIES INCLUDE_REGULAR_EXPRESSION INSTALL_NAME_DIR INSTALL_RPATH INSTALL_RPATH_USE_LINK_PATH INTERPROCEDURAL_OPTIMIZATION IN_TRY_COMPILE KEEP_EXTENSION LABELS LANGUAGE LIBRARY_OUTPUT_DIRECTORY LIBRARY_OUTPUT_NAME LINKER_LANGUAGE LINK_DIRECTORIES LINK_FLAGS LINK_INTERFACE_LIBRARIES LINK_INTERFACE_MULTIPLICITY LINK_SEARCH_END_STATIC LISTFILE_STACK LOCATION MACOSX_BUNDLE MACOSX_BUNDLE_INFO_PLIST MACOSX_FRAMEWORK_INFO_PLIST MACOSX_PACKAGE_LOCATION MACROS MEASUREMENT MODIFIED OBJECT_DEPENDS OBJECT_OUTPUTS OSX_ARCHITECTURES OUTPUT_NAME PACKAGES_FOUND PACKAGES_NOT_FOUND PARENT_DIRECTORY PASS_REGULAR_EXPRESSION POST_INSTALL_SCRIPT PREFIX PRE_INSTALL_SCRIPT PRIVATE_HEADER PROCESSORS PROJECT_LABEL PUBLIC_HEADER REPORT_UNDEFINED_PROPERTIES REQUIRED_FILES RESOURCE 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 VALUE VARIABLES VERSION VS_KEYWORD VS_SCC_LOCALPATH VS_SCC_PROJECTNAME VS_SCC_PROVIDER WILL_FAIL WIN32_EXECUTABLE WRAP_EXCLUDE __CMAKE_DELETE_CACHE_CHANGE_VARS_"+list_properties = Set.fromList $ words $ "ABSTRACT ADDITIONAL_MAKE_CLEAN_FILES ADVANCED ALLOW_DUPLICATE_CUSTOM_TARGETS ARCHIVE_OUTPUT_DIRECTORY ARCHIVE_OUTPUT_NAME ATTACHED_FILES ATTACHED_FILES_ON_FAIL AUTOMOC AUTOMOC_MOC_OPTIONS BUILD_WITH_INSTALL_RPATH BUNDLE BUNDLE_EXTENSION CACHE_VARIABLES CLEAN_NO_CUSTOM COMPILE_DEFINITIONS COMPILE_FLAGS COST DEBUG_CONFIGURATIONS DEBUG_POSTFIX DEFINE_SYMBOL DEFINITIONS DEPENDS DISABLED_FEATURES ENABLED_FEATURES ENABLED_LANGUAGES ENABLE_EXPORTS ENVIRONMENT EXCLUDE_FROM_ALL 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 INTERPROCEDURAL_OPTIMIZATION IN_TRY_COMPILE KEEP_EXTENSION LABELS LANGUAGE LIBRARY_OUTPUT_DIRECTORY LIBRARY_OUTPUT_NAME LINKER_LANGUAGE LINK_DEPENDS LINK_DIRECTORIES LINK_FLAGS LINK_INTERFACE_LIBRARIES LINK_INTERFACE_MULTIPLICITY LINK_SEARCH_END_STATIC LINK_SEARCH_START_STATIC LISTFILE_STACK LOCATION MACOSX_BUNDLE MACOSX_BUNDLE_INFO_PLIST MACOSX_FRAMEWORK_INFO_PLIST MACOSX_PACKAGE_LOCATION MACROS MEASUREMENT MODIFIED 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 VS_DOTNET_REFERENCES VS_GLOBAL_KEYWORD VS_GLOBAL_PROJECT_TYPES 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" regex_'23'5cs'2aBEGIN'2e'2a'24 = compileRegex "#\\s*BEGIN.*$"
Text/Highlighting/Kate/Syntax/Cpp.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file cpp.xml, version 1.49, by -}+ highlighting file cpp.xml, version 1.50, by -} module Text.Highlighting.Kate.Syntax.Cpp (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -67,7 +67,7 @@ return (attr, txt) list_keywords = Set.fromList $ words $ "asm break case catch class constexpr const_cast continue decltype default delete do dynamic_cast else enum explicit export extern false final friend for goto if inline namespace new noexcept nullptr operator override private protected public qobject_cast reinterpret_cast return sizeof static_assert static_cast struct switch template this throw true try typedef typeid type_info typename union using virtual while and and_eq bad_cast bad_typeid bitand bitor compl not not_eq or or_eq xor xor_eq"-list_extensions = Set.fromList $ words $ "K_DCOP Q_ARG Q_ASSERT Q_ASSERT_X Q_CHECK_PTR Q_CLASSINFO Q_CLEANUP_RESOURCE Q_D Q_DECLARE_FLAGS Q_DECLARE_FLAGS Q_DECLARE_INTERFACE Q_DECLARE_METATYPE Q_DECLARE_OPERATORS_FOR_FLAGS Q_DECLARE_PRIVATE Q_DECLARE_PUBLIC Q_DECLARE_SHARED Q_DECLARE_TYPEINFO Q_DISABLE_COPY Q_ENUMS Q_EXPORT Q_FLAGS Q_FOREACH Q_FOREVER Q_GADGET Q_GLOBAL_STATIC Q_GLOBAL_STATIC_WITH_ARGS Q_INIT_RESOURCE Q_INTERFACES Q_INVOKABLE Q_NOREPLY Q_OBJECT Q_OVERRIDE Q_PRIVATE_SLOT Q_PROPERTY Q_Q Q_RETURN_ARG Q_SCRIPTABLE Q_SETS Q_SIGNALS Q_SLOTS Q_UNUSED SIGNAL SLOT TRUE FALSE connect disconnect emit signals slots foreach forever qint8 qint16 qint32 qint64 qlonglong qptrdiff qreal quint8 quint16 quint32 quint64 quintptr qulonglong"+list_extensions = Set.fromList $ words $ "K_DCOP Q_ARG Q_ASSERT Q_ASSERT_X Q_CHECK_PTR Q_CLASSINFO Q_CLEANUP_RESOURCE Q_D Q_DECLARE_FLAGS Q_DECLARE_FLAGS Q_DECLARE_INTERFACE Q_DECLARE_METATYPE Q_DECLARE_OPERATORS_FOR_FLAGS Q_DECLARE_PRIVATE Q_DECLARE_PUBLIC Q_DECLARE_SHARED Q_DECLARE_TYPEINFO Q_DISABLE_COPY Q_EMIT Q_ENUMS Q_EXPORT Q_FLAGS Q_FOREACH Q_FOREVER Q_GADGET Q_GLOBAL_STATIC Q_GLOBAL_STATIC_WITH_ARGS Q_INIT_RESOURCE Q_INTERFACES Q_INVOKABLE Q_NOREPLY Q_OBJECT Q_OVERRIDE Q_PRIVATE_SLOT Q_PROPERTY Q_Q Q_RETURN_ARG Q_SCRIPTABLE Q_SETS Q_SIGNALS Q_SLOTS Q_UNUSED SIGNAL SLOT TRUE FALSE connect disconnect emit signals slots foreach forever qint8 qint16 qint32 qint64 qlonglong qptrdiff qreal quint8 quint16 quint32 quint64 quintptr qulonglong" list_types = Set.fromList $ words $ "auto bool char char16_t char32_t const double float int long mutable register short signed static unsigned void volatile uchar uint int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t wchar_t" regex_'23'5cs'2aif'5cs'2b0'5cs'2a'24 = compileRegex "#\\s*if\\s+0\\s*$"
Text/Highlighting/Kate/Syntax/Css.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file css.xml, version 2.05, by Wilbert Berendsen (wilbert@kde.nl) -}+ highlighting file css.xml, version 2.06, by Wilbert Berendsen (wilbert@kde.nl) -} module Text.Highlighting.Kate.Syntax.Css (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -73,8 +73,8 @@ , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) -list_properties = Set.fromList $ words $ "azimuth background background-attachment background-color background-image background-position 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 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 border-bottom-image border-bottom-left-image border-bottom-left-radius border-bottom-right-image border-bottom-right-radius 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-shadow box-sizing opacity outline-offset overflow-x overflow-y text-overflow text-shadow -moz-border-bottom-colors -moz-border-left-colors -moz-border-radius -moz-border-right-colors -moz-border-top-colors -moz-box-flex -o-background-size -o-text-overflow -khtml-background-size konq_bgpos_x konq_bgpos_y -webkit-background-size 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 -moz-box"+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-wisth 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 tty tv"
+ Text/Highlighting/Kate/Syntax/Curry.hs view
@@ -0,0 +1,174 @@+{- This module was generated from data in the Kate syntax+ highlighting file curry.xml, version 0.1, 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++-- | Parse an expression using appropriate local context.+parseExpression :: KateParser Token+parseExpression = do+ (lang,cont) <- currentContext+ 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, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}++pEndLine = do+ updateState $ \st -> st{ synStPrevNonspace = False }+ context <- currentContext+ contexts <- synStContexts `fmap` getState+ if length contexts >= 2+ then case context of+ ("Curry","Normal") -> return ()+ ("Curry","Pragma") -> return ()+ ("Curry","Multiline Comment") -> return ()+ ("Curry","Currydoc") -> (popContext) >> pEndLine+ ("Curry","Comment") -> (popContext) >> pEndLine+ ("Curry","Import") -> (popContext) >> pEndLine+ ("Curry","Char") -> (popContext) >> pEndLine+ ("Curry","String") -> 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_Fun = 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 "import\\s+(qualified)?"+regex_0'28o'7cO'29'5b0'2d7'5d'2b = compileRegex "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 "(::|:=|:>|\\->|<\\-|\\.\\.)"+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 "\\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 "([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 "([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 "([A-Z][a-zA-Z0-9_']*\\.)*[A-Z][a-zA-Z0-9_']*"+regex_'5cS'2b = compileRegex "\\S+"+regex_'5c'5c'2e = compileRegex "\\\\."++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_Fun >>= 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"))+ <|>+ (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") =+ (((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") =+ (((pRegExpr regex_'5c'5c'2e >>= withAttribute CharTok))+ <|>+ ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Curry","Char")) >> pDefault >>= withAttribute CharTok))++parseRules ("Curry","String") =+ (((pRegExpr regex_'5c'5c'2e >>= withAttribute StringTok))+ <|>+ ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Curry","String")) >> pDefault >>= withAttribute StringTok))++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)
Text/Highlighting/Kate/Syntax/Haskell.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file haskell.xml, version 2.0.4, by Nicolas Wu (zenzike@gmail.com) -}+ highlighting file haskell.xml, version 2.0.5, by Nicolas Wu (zenzike@gmail.com) -} module Text.Highlighting.Kate.Syntax.Haskell (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -50,6 +50,7 @@ ("Haskell","char") -> (popContext) >> pEndLine ("Haskell","string") -> return () ("Haskell","infix") -> return ()+ ("Haskell","import") -> (popContext) >> pEndLine _ -> return () else return () @@ -59,23 +60,25 @@ , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) -list_keywords = Set.fromList $ words $ "as case class data deriving do else hiding if import in infixl infixr instance let module newtype of primitive qualified then type where"+list_keywords = Set.fromList $ words $ "case class data deriving do else if in infixl infixr instance let module newtype of primitive then type where" list_prelude_function = Set.fromList $ words $ "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" list_prelude_class = Set.fromList $ words $ "Bounded Enum Eq Floating Fractional Functor Integral Ix Monad Num Ord Read Real RealFloat RealFrac Show" list_prelude_type = Set.fromList $ words $ "Bool Char Double Either FilePath Float Int Integer IO IOError Maybe Ordering Ratio Rational ReadS ShowS String ByteString" list_prelude_data = Set.fromList $ words $ "False True Left Right Just Nothing EQ LT GT" list_class = Set.fromList $ words $ "Applicative Foldable Traversable"+list_import'5fkeywords = Set.fromList $ words $ "as qualified hiding" regex_'5c'7b'2d'23'2e'2a'23'2d'5c'7d = compileRegex "\\{-#.*#-\\}" regex_'5c'7b'2d'5b'5e'23'5d'3f = compileRegex "\\{-[^#]?" regex_'2d'2d'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2e'2a'24 = compileRegex "--[^\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:].*$"+regex_import = compileRegex "import" regex_'28'3a'3a'7c'3d'3e'7c'5c'2d'3e'7c'3c'5c'2d'29 = compileRegex "(::|=>|\\->|<\\-)" regex_'5cs'2a'5ba'2dz'5d'5ba'2dzA'2dZ0'2d9'5f'27'5d'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'29 = compileRegex "\\s*[a-z][a-zA-Z0-9_']*\\s*(?=::[^\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:])" regex_'5cs'2a'28'5c'28'5b'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2a'5c'29'29'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'29 = compileRegex "\\s*(\\([\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:]*\\))*\\s*(?=::[^\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:])"-regex_'5cd'2b'5c'2e'5cd'2b = compileRegex "\\d+\\.\\d+" 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 "([A-Z][a-zA-Z0-9_']*\\.)*[a-z][a-zA-Z0-9_']*" regex_'28'5bA'2dZ'5d'5ba'2dzA'2dZ0'2d0'5f'27'5d'2a'5c'2e'29'2a'5b'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2b = compileRegex "([A-Z][a-zA-Z0-0_']*\\.)*[\\-!#\\$%&\\*\\+/<=>\\?\\@\\^\\|~\\.:]+" 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 "([A-Z][a-zA-Z0-9_']*\\.)*[A-Z][a-zA-Z0-9_']*"+regex_'5cd'2b'5c'2e'5cd'2b = compileRegex "\\d+\\.\\d+" regex_'5c'5c'2e = compileRegex "\\\\." parseRules ("Haskell","code") =@@ -85,6 +88,8 @@ <|> ((pRegExpr regex_'2d'2d'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2e'2a'24 >>= withAttribute CommentTok) >>~ pushContext ("Haskell","comment")) <|>+ ((pRegExpr regex_import >>= withAttribute KeywordTok) >>~ pushContext ("Haskell","import"))+ <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|> ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_prelude_function >>= withAttribute FunctionTok))@@ -105,16 +110,16 @@ <|> ((pRegExpr regex_'5cs'2a'28'5c'28'5b'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'2a'5c'29'29'2a'5cs'2a'28'3f'3d'3a'3a'5b'5e'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'3a'5d'29 >>= withAttribute OtherTok)) <|>- ((pRegExpr regex_'5cd'2b'5c'2e'5cd'2b >>= withAttribute FloatTok))- <|>- ((pInt >>= withAttribute DecValTok))- <|> ((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'2d0'5f'27'5d'2a'5c'2e'29'2a'5b'5c'2d'21'23'5c'24'25'26'5c'2a'5c'2b'2f'3c'3d'3e'5c'3f'5c'40'5c'5e'5c'7c'7e'5c'2e'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)) <|>+ ((pInt >>= withAttribute DecValTok))+ <|>+ ((pRegExpr regex_'5cd'2b'5c'2e'5cd'2b >>= withAttribute FloatTok))+ <|> ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("Haskell","char")) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Haskell","string"))@@ -153,6 +158,11 @@ (((pDetectChar False '`' >>= withAttribute OtherTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("Haskell","infix")) >> pDefault >>= withAttribute OtherTok))++parseRules ("Haskell","import") =+ (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_import'5fkeywords >>= withAttribute KeywordTok))+ <|>+ (currentContext >>= \x -> guard (x == ("Haskell","import")) >> pDefault >>= withAttribute NormalTok)) parseRules x = parseRules ("Haskell","code") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Java.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file java.xml, version 1.20, by Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br) -}+ highlighting file java.xml, version 1.21, by Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br) -} module Text.Highlighting.Kate.Syntax.Java (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -65,7 +65,7 @@ , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) -list_java15 = Set.fromList $ words $ "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 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"+list_java15 = Set.fromList $ words $ "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" list_keywords = Set.fromList $ words $ "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" list_types = Set.fromList $ words $ "boolean byte char const double final float int long short static void" @@ -77,6 +77,7 @@ regex_'5cb'28import'5cs'2bstatic'29'5cb = compileRegex "\\b(import\\s+static)\\b" regex_'5cb'28package'7cimport'29'5cb = compileRegex "\\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 "\\b[_\\w][_\\w\\d]*(?=[\\s]*(/\\*\\s*\\d+\\s*\\*/\\s*)?[(])"+regex_'40'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a = compileRegex "@[_\\w][_\\w\\d]*" regex_'5b'2e'5d'7b1'2c1'7d = compileRegex "[.]{1,1}" regex_'5c'5cu'5b0'2d9a'2dfA'2dF'5d'7b4'7d = compileRegex "\\\\u[0-9a-fA-F]{4}" regex_'25'28'5cd'2b'5c'24'29'3f'28'2d'7c'23'7c'5c'2b'7c'5c_'7c0'7c'2c'7c'5c'28'29'2a'5cd'2a'28'5c'2e'5cd'2b'29'3f'5ba'2dhosxA'2dCEGHSX'5d = compileRegex "%(\\d+\\$)?(-|#|\\+|\\ |0|,|\\()*\\d*(\\.\\d+)?[a-hosxA-CEGHSX]"@@ -129,6 +130,8 @@ ((pRegExpr regex_'5cb'28package'7cimport'29'5cb >>= withAttribute KeywordTok) >>~ pushContext ("Java","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_'40'5b'5f'5cw'5d'5b'5f'5cw'5cd'5d'2a >>= withAttribute FunctionTok)) <|> ((pRegExpr regex_'5b'2e'5d'7b1'2c1'7d >>= withAttribute NormalTok) >>~ pushContext ("Java","Member")) <|>
Text/Highlighting/Kate/Syntax/Javascript.hs view
@@ -1,11 +1,12 @@ {- This module was generated from data in the Kate syntax- highlighting file javascript.xml, version 1.18, by Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net) -}+ highlighting file javascript.xml, version 1.20, by Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net) -} module Text.Highlighting.Kate.Syntax.Javascript (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@@ -18,7 +19,7 @@ -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.js"+syntaxExtensions = "*.js;*.kwinscript" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -46,17 +47,19 @@ if length contexts >= 2 then case context of ("JavaScript","Normal") -> return ()+ ("JavaScript","Object Member") -> return ()+ ("JavaScript","NoRegExp") -> return ()+ ("JavaScript","Conditional Expression") -> return ()+ ("JavaScript","Object") -> return () ("JavaScript","String") -> (popContext) >> pEndLine- ("JavaScript","String 1") -> (popContext) >> pEndLine+ ("JavaScript","String SQ") -> (popContext) >> pEndLine ("JavaScript","Comment") -> (popContext) >> pEndLine ("JavaScript","Multi/inline Comment") -> return () ("JavaScript","Regular Expression") -> return ()- ("JavaScript","(Internal regex catch)") -> return () ("JavaScript","Regular Expression Character Class") -> return () ("JavaScript","(regex caret first check)") -> (popContext) >> pEndLine ("JavaScript","(charclass caret first check)") -> (popContext) >> pEndLine ("JavaScript","region_marker") -> (popContext) >> pEndLine- ("JavaScript","ObjectMember") -> return () _ -> return () else return () @@ -66,23 +69,20 @@ , 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_keywords = Set.fromList $ words $ "break case catch const continue debugger default delete do else finally for function if in instanceof new return switch this throw try typeof var void while with"+list_reserved = Set.fromList $ words $ "class enum export extends import super implements interface let package private protected public static yield"+list_primitives = Set.fromList $ words $ "Infinity NaN false null true undefined" -regex_'5cb'5b'5cw'5c'2e'5d'2b'5cb'5cs'2a'28'3f'3d'3a'29 = compileRegex "\\b[\\w\\.]+\\b\\s*(?=:)"-regex_'5cb'5b'5cw'5c'2e'5d'2b'28'3f'3d'5c'2e'29 = compileRegex "\\b[\\w\\.]+(?=\\.)"-regex_'5b'3d'3f'3a'5d = compileRegex "[=?:]"-regex_'5c'28 = compileRegex "\\("-regex_'2f'5big'5d'7b0'2c2'7d = compileRegex "/[ig]{0,2}"+regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'2e'29 = compileRegex "[a-zA-Z_$][\\w$]*(?=\\s*\\.)"+regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'28'29 = compileRegex "[a-zA-Z_$][\\w$]*(?=\\s*\\()"+regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a = compileRegex "[a-zA-Z_$][\\w$]*"+regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'5cs'2a'28'3f'3d'3a'29 = compileRegex "[a-zA-Z_$][\\w$]*\\s*(?=:)"+regex_'2f'5cw'2a = compileRegex "/\\w*" regex_'5c'7b'5b'5cd'2c_'5d'2b'5c'7d = compileRegex "\\{[\\d, ]+\\}" regex_'5c'5c'5bbB'5d = compileRegex "\\\\[bB]" regex_'5c'5c'5bnrtvfDdSsWw'5d = compileRegex "\\\\[nrtvfDdSsWw]" regex_'5c'5c'2e = compileRegex "\\\\." regex_'5c'24'28'3f'3d'2f'29 = compileRegex "\\$(?=/)"-regex_'2f'2f'28'3f'3d'3b'29 = compileRegex "//(?=;)" regex_'5c'5c'5b'5c'5b'5c'5d'5d = compileRegex "\\\\[\\[\\]]" parseRules ("JavaScript","Normal") =@@ -92,76 +92,110 @@ <|> ((pString False "//END" >>= withAttribute RegionMarkerTok) >>~ pushContext ("JavaScript","region_marker")) <|>- ((pFloat >>= withAttribute FloatTok))+ ((pFloat >>= withAttribute FloatTok) >>~ pushContext ("JavaScript","NoRegExp")) <|>- ((pInt >>= withAttribute DecValTok))+ ((pHlCOct >>= withAttribute BaseNTok) >>~ pushContext ("JavaScript","NoRegExp")) <|>- ((pRegExpr regex_'5cb'5b'5cw'5c'2e'5d'2b'5cb'5cs'2a'28'3f'3d'3a'29 >>= withAttribute DataTypeTok))+ ((pHlCHex >>= withAttribute BaseNTok) >>~ pushContext ("JavaScript","NoRegExp")) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+ ((pInt >>= withAttribute DecValTok) >>~ pushContext ("JavaScript","NoRegExp")) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute FunctionTok))+ ((pAnyChar "])" >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","NoRegExp")) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_objects >>= withAttribute KeywordTok))+ ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_math >>= withAttribute KeywordTok))+ ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_reserved >>= withAttribute KeywordTok)) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_events >>= withAttribute KeywordTok))+ ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_primitives >>= withAttribute KeywordTok) >>~ pushContext ("JavaScript","NoRegExp")) <|>- ((pDetectChar False '.' >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","ObjectMember"))+ ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'2e'29 >>= withAttribute OtherTok) >>~ pushContext ("JavaScript","Object Member")) <|>- ((pRegExpr regex_'5cb'5b'5cw'5c'2e'5d'2b'28'3f'3d'5c'2e'29 >>= withAttribute KeywordTok) >>~ pushContext ("JavaScript","ObjectMember"))+ ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'28'29 >>= withAttribute FunctionTok) >>~ pushContext ("JavaScript","NoRegExp")) <|>- ((pDetectIdentifier >>= withAttribute NormalTok))+ ((pDetectChar False '.' >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","Object Member")) <|>+ ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","NoRegExp"))+ <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("JavaScript","String")) <|>- ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ pushContext ("JavaScript","String 1"))+ ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("JavaScript","String SQ")) <|>+ ((Text.Highlighting.Kate.Syntax.Doxygen.parseExpression))+ <|> ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("JavaScript","Comment")) <|> ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("JavaScript","Multi/inline Comment")) <|>- ((pRegExpr regex_'5b'3d'3f'3a'5d >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","(Internal regex catch)"))- <|>- ((pRegExpr regex_'5c'28 >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","(Internal regex catch)"))+ ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("JavaScript","(regex caret first check)")) <|>- ((pDetectChar False '{' >>= withAttribute NormalTok))+ ((pDetectChar False '{' >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","Object")) <|>- ((pDetectChar False '}' >>= withAttribute NormalTok))+ ((pDetectChar False '?' >>= withAttribute NormalTok) >>~ pushContext ("JavaScript","Conditional Expression")) <|>- ((pAnyChar ":!%&+,-/.*<=>?[]|~^;" >>= withAttribute NormalTok))+ ((pAnyChar ":!%&+,-/.*<=>?|~^;" >>= withAttribute NormalTok)) <|> (currentContext >>= \x -> guard (x == ("JavaScript","Normal")) >> pDefault >>= withAttribute NormalTok)) -parseRules ("JavaScript","String") =- (((pDetectIdentifier >>= withAttribute StringTok))+parseRules ("JavaScript","Object Member") =+ (((pDetectChar False '.' >>= withAttribute NormalTok)) <|>- ((pHlCStringChar >>= withAttribute CharTok))+ ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'28'3f'3d'5cs'2a'5c'2e'29 >>= withAttribute OtherTok) >>~ pushContext ("JavaScript","Object Member")) <|>+ ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a >>= withAttribute FunctionTok))+ <|>+ ((parseRules ("JavaScript","NoRegExp")))+ <|>+ ((popContext) >> currentContext >>= parseRules))++parseRules ("JavaScript","NoRegExp") =+ (((lookAhead (pDetect2Chars False '/' '/') >> (popContext) >> currentContext >>= parseRules))+ <|>+ ((lookAhead (pDetect2Chars False '/' '*') >> (popContext) >> currentContext >>= parseRules))+ <|>+ ((pDetectChar False '/' >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ ((pDetectSpaces >>= withAttribute NormalTok))+ <|>+ ((popContext) >> currentContext >>= parseRules))++parseRules ("JavaScript","Conditional Expression") =+ (((pDetectChar False ':' >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ ((parseRules ("JavaScript","Normal")))+ <|>+ (currentContext >>= \x -> guard (x == ("JavaScript","Conditional Expression")) >> pDefault >>= withAttribute NormalTok))++parseRules ("JavaScript","Object") =+ (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+ <|>+ ((pRegExpr regex_'5ba'2dzA'2dZ'5f'24'5d'5b'5cw'24'5d'2a'5cs'2a'28'3f'3d'3a'29 >>= withAttribute DataTypeTok))+ <|>+ ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ ((parseRules ("JavaScript","Normal")))+ <|>+ (currentContext >>= \x -> guard (x == ("JavaScript","Object")) >> pDefault >>= withAttribute NormalTok))++parseRules ("JavaScript","String") =+ (((pHlCStringChar >>= withAttribute CharTok))+ <|> ((pLineContinue >>= withAttribute StringTok)) <|> ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext)) <|> (currentContext >>= \x -> guard (x == ("JavaScript","String")) >> pDefault >>= withAttribute StringTok)) -parseRules ("JavaScript","String 1") =- (((pDetectIdentifier >>= withAttribute CharTok))- <|>- ((pHlCStringChar >>= withAttribute CharTok))+parseRules ("JavaScript","String SQ") =+ (((pHlCStringChar >>= withAttribute CharTok)) <|> ((pLineContinue >>= withAttribute StringTok)) <|>- ((pDetectChar False '\'' >>= withAttribute CharTok) >>~ (popContext))+ ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext)) <|>- (currentContext >>= \x -> guard (x == ("JavaScript","String 1")) >> pDefault >>= withAttribute CharTok))+ (currentContext >>= \x -> guard (x == ("JavaScript","String SQ")) >> pDefault >>= withAttribute StringTok)) parseRules ("JavaScript","Comment") =- (((pDetectSpaces >>= withAttribute CommentTok))- <|>- ((Text.Highlighting.Kate.Syntax.Alert.parseExpression >>= ((withAttribute CommentTok) . snd)))- <|>- ((pDetectIdentifier >>= withAttribute CommentTok))+ (((Text.Highlighting.Kate.Syntax.Alert.parseExpression >>= ((withAttribute CommentTok) . snd))) <|> (currentContext >>= \x -> guard (x == ("JavaScript","Comment")) >> pDefault >>= withAttribute CommentTok)) @@ -173,7 +207,7 @@ (currentContext >>= \x -> guard (x == ("JavaScript","Multi/inline Comment")) >> pDefault >>= withAttribute CommentTok)) parseRules ("JavaScript","Regular Expression") =- (((pRegExpr regex_'2f'5big'5d'7b0'2c2'7d >>= withAttribute OtherTok) >>~ (popContext >> popContext >> popContext))+ (((pRegExpr regex_'2f'5cw'2a >>= withAttribute OtherTok) >>~ (popContext >> popContext)) <|> ((pRegExpr regex_'5c'7b'5b'5cd'2c_'5d'2b'5c'7d >>= withAttribute FloatTok)) <|>@@ -191,19 +225,6 @@ <|> (currentContext >>= \x -> guard (x == ("JavaScript","Regular Expression")) >> pDefault >>= withAttribute OtherTok)) -parseRules ("JavaScript","(Internal regex catch)") =- (((pDetectSpaces >>= withAttribute NormalTok))- <|>- ((pRegExpr regex_'2f'2f'28'3f'3d'3b'29 >>= withAttribute OtherTok) >>~ (popContext))- <|>- ((pDetect2Chars False '/' '/' >>= withAttribute CommentTok) >>~ pushContext ("JavaScript","Comment"))- <|>- ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("JavaScript","Multi/inline Comment"))- <|>- ((pDetectChar False '/' >>= withAttribute OtherTok) >>~ pushContext ("JavaScript","(regex caret first check)"))- <|>- ((popContext) >> currentContext >>= parseRules))- parseRules ("JavaScript","Regular Expression Character Class") = (((pRegExpr regex_'5c'5c'5b'5c'5b'5c'5d'5d >>= withAttribute BaseNTok)) <|>@@ -230,17 +251,7 @@ <|> (currentContext >>= \x -> guard (x == ("JavaScript","region_marker")) >> pDefault >>= withAttribute RegionMarkerTok)) -parseRules ("JavaScript","ObjectMember") =- (((pDetectChar False '.' >>= withAttribute NormalTok))- <|>- ((pDetectIdentifier >>= withAttribute FunctionTok))- <|>- ((pDetectSpaces >>= withAttribute NormalTok) >>~ (popContext))- <|>- ((lookAhead (pAnyChar "(){}:!%&+,-/.*<=>?[]|~^;") >> (popContext) >> currentContext >>= parseRules))- <|>- (currentContext >>= \x -> guard (x == ("JavaScript","ObjectMember")) >> pDefault >>= withAttribute NormalTok))-+parseRules ("Doxygen", _) = Text.Highlighting.Kate.Syntax.Doxygen.parseExpression parseRules ("Alerts", _) = Text.Highlighting.Kate.Syntax.Alert.parseExpression parseRules x = parseRules ("JavaScript","Normal") <|> fail ("Unknown context" ++ show x)
+ Text/Highlighting/Kate/Syntax/Julia.hs view
@@ -0,0 +1,221 @@+{- This module was generated from data in the Kate syntax+ highlighting file julia.xml, version 0.2, by -}++module Text.Highlighting.Kate.Syntax.Julia+ (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 = "Julia"++-- | Filename extensions for this language.+syntaxExtensions :: String+syntaxExtensions = "*.jl"++-- | 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++-- | Parse an expression using appropriate local context.+parseExpression :: KateParser Token+parseExpression = do+ (lang,cont) <- currentContext+ result <- parseRules (lang,cont)+ optional $ do eof+ updateState $ \st -> st{ synStPrevChar = '\n' }+ pEndLine+ return result++startingState = SyntaxState {synStContexts = [("Julia","_normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}++pEndLine = do+ updateState $ \st -> st{ synStPrevNonspace = False }+ context <- currentContext+ contexts <- synStContexts `fmap` getState+ if length contexts >= 2+ then case context of+ ("Julia","_normal") -> return ()+ ("Julia","region_marker") -> (popContext) >> pEndLine+ ("Julia","nested") -> return ()+ ("Julia","squared") -> return ()+ ("Julia","curly") -> return ()+ ("Julia","_adjoint") -> (popContext) >> pEndLine+ ("Julia","String") -> (popContext) >> pEndLine+ ("Julia","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_block'5fbegin = Set.fromList $ words $ "begin do for function if let quote try type while"+list_block'5feb = Set.fromList $ words $ "catch finally else elseif"+list_block'5fend = Set.fromList $ words $ "end"+list_keywords = Set.fromList $ words $ "abstract bitstype break ccall const continue export global import importall in local macro module baremodule return typealias using"+list_types = Set.fromList $ words $ "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 Int128 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 Uint128 Union Unsigned UTF8String VecOrMat Vector Void WeakRef"++regex_'5ba'2dzA'2dZ'5d'5cw'2a'28'3f'3d'27'29 = compileRegex "[a-zA-Z]\\w*(?=')"+regex_'28'5cd'2b'28'5c'2e'5cd'2b'29'3f'7c'5c'2e'5cd'2b'29'28'5beE'5d'5b'2b'2d'5d'3f'5cd'2b'29'3f'28im'29'3f'28'3f'3d'27'29 = compileRegex "(\\d+(\\.\\d+)?|\\.\\d+)([eE][+-]?\\d+)?(im)?(?=')"+regex_'5b'5c'29'5c'5d'7d'5d'28'3f'3d'27'29 = compileRegex "[\\)\\]}](?=')"+regex_'5c'2e'27'28'3f'3d'27'29 = compileRegex "\\.'(?=')"+regex_'27'5b'5e'27'5d'2a'28'27'27'5b'5e'27'5d'2a'29'2a'27'28'3f'3d'5b'5e'27'5d'7c'24'29 = compileRegex "'[^']*(''[^']*)*'(?=[^']|$)"+regex_'27'5b'5e'27'5d'2a'28'27'27'5b'5e'27'5d'2a'29'2a = compileRegex "'[^']*(''[^']*)*"+regex_0x'5b0'2d9a'2dfA'2dF'5d'2b'28im'29'3f = compileRegex "0x[0-9a-fA-F]+(im)?"+regex_'28'5cd'2b'28'5c'2e'5cd'2b'29'3f'7c'5c'2e'5cd'2b'29'28'5beE'5d'5b'2b'2d'5d'3f'5cd'2b'29'3f'28im'29'3f = compileRegex "(\\d+(\\.\\d+)?|\\.\\d+)([eE][+-]?\\d+)?(im)?"+regex_'27'2b = compileRegex "'+"++parseRules ("Julia","_normal") =+ (((pDetectSpaces >>= withAttribute NormalTok))+ <|>+ ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_block'5fbegin >>= withAttribute KeywordTok))+ <|>+ ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_block'5feb >>= withAttribute KeywordTok))+ <|>+ ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_block'5fend >>= withAttribute KeywordTok))+ <|>+ ((pString False "#BEGIN" >>= withAttribute CommentTok) >>~ pushContext ("Julia","region_marker"))+ <|>+ ((pString False "#END" >>= withAttribute CommentTok) >>~ pushContext ("Julia","region_marker"))+ <|>+ ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+ <|>+ ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_types >>= withAttribute DataTypeTok))+ <|>+ ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Julia","1-comment"))+ <|>+ ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Julia","String"))+ <|>+ ((pString False "..." >>= withAttribute NormalTok))+ <|>+ ((pString False "::" >>= withAttribute NormalTok))+ <|>+ ((pString False ">>>" >>= withAttribute NormalTok))+ <|>+ ((pString False ">>" >>= withAttribute NormalTok))+ <|>+ ((pString False "<<" >>= withAttribute NormalTok))+ <|>+ ((pString False "==" >>= withAttribute NormalTok))+ <|>+ ((pString False "!=" >>= withAttribute NormalTok))+ <|>+ ((pString False "<=" >>= withAttribute NormalTok))+ <|>+ ((pString False ">=" >>= withAttribute NormalTok))+ <|>+ ((pString False "&&" >>= withAttribute NormalTok))+ <|>+ ((pString False "||" >>= withAttribute NormalTok))+ <|>+ ((pString False ".*" >>= withAttribute NormalTok))+ <|>+ ((pString False ".^" >>= withAttribute NormalTok))+ <|>+ ((pString False "./" >>= withAttribute NormalTok))+ <|>+ ((pString False ".'" >>= withAttribute NormalTok))+ <|>+ ((pString False "+=" >>= withAttribute NormalTok))+ <|>+ ((pString False "-=" >>= withAttribute NormalTok))+ <|>+ ((pString False "*=" >>= withAttribute NormalTok))+ <|>+ ((pString False "/=" >>= withAttribute NormalTok))+ <|>+ ((pString False "&=" >>= withAttribute NormalTok))+ <|>+ ((pString False "|=" >>= withAttribute NormalTok))+ <|>+ ((pString False "$=" >>= withAttribute NormalTok))+ <|>+ ((pString False ">>>=" >>= withAttribute NormalTok))+ <|>+ ((pString False ">>=" >>= withAttribute NormalTok))+ <|>+ ((pString False "<<=" >>= withAttribute NormalTok))+ <|>+ ((pRegExpr regex_'5ba'2dzA'2dZ'5d'5cw'2a'28'3f'3d'27'29 >>= withAttribute NormalTok) >>~ pushContext ("Julia","_adjoint"))+ <|>+ ((pRegExpr regex_'28'5cd'2b'28'5c'2e'5cd'2b'29'3f'7c'5c'2e'5cd'2b'29'28'5beE'5d'5b'2b'2d'5d'3f'5cd'2b'29'3f'28im'29'3f'28'3f'3d'27'29 >>= withAttribute FloatTok) >>~ pushContext ("Julia","_adjoint"))+ <|>+ ((pRegExpr regex_'5b'5c'29'5c'5d'7d'5d'28'3f'3d'27'29 >>= withAttribute NormalTok) >>~ pushContext ("Julia","_adjoint"))+ <|>+ ((pRegExpr regex_'5c'2e'27'28'3f'3d'27'29 >>= withAttribute NormalTok) >>~ pushContext ("Julia","_adjoint"))+ <|>+ ((pRegExpr regex_'27'5b'5e'27'5d'2a'28'27'27'5b'5e'27'5d'2a'29'2a'27'28'3f'3d'5b'5e'27'5d'7c'24'29 >>= withAttribute CharTok))+ <|>+ ((pRegExpr regex_'27'5b'5e'27'5d'2a'28'27'27'5b'5e'27'5d'2a'29'2a >>= withAttribute CharTok))+ <|>+ ((pDetectIdentifier >>= withAttribute NormalTok))+ <|>+ ((pRegExpr regex_0x'5b0'2d9a'2dfA'2dF'5d'2b'28im'29'3f >>= withAttribute BaseNTok))+ <|>+ ((pRegExpr regex_'28'5cd'2b'28'5c'2e'5cd'2b'29'3f'7c'5c'2e'5cd'2b'29'28'5beE'5d'5b'2b'2d'5d'3f'5cd'2b'29'3f'28im'29'3f >>= withAttribute FloatTok))+ <|>+ ((pAnyChar "()[]{}" >>= withAttribute NormalTok))+ <|>+ ((pAnyChar "*+-/\\&|<>~$!^=,;:@" >>= withAttribute NormalTok))+ <|>+ (currentContext >>= \x -> guard (x == ("Julia","_normal")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Julia","region_marker") =+ (((parseRules ("Julia","1-comment")))+ <|>+ (currentContext >>= \x -> guard (x == ("Julia","region_marker")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Julia","nested") =+ (((pDetectChar False ')' >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Julia","nested")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Julia","squared") =+ (((pDetectChar False ']' >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Julia","squared")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Julia","curly") =+ (((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Julia","curly")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Julia","_adjoint") =+ (((pRegExpr regex_'27'2b >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Julia","_adjoint")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Julia","String") =+ (((pDetectSpaces >>= withAttribute StringTok))+ <|>+ ((pDetectIdentifier >>= withAttribute StringTok))+ <|>+ ((pLineContinue >>= withAttribute StringTok))+ <|>+ ((pHlCStringChar >>= withAttribute NormalTok))+ <|>+ ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Julia","String")) >> pDefault >>= withAttribute StringTok))++parseRules ("Julia","1-comment") =+ (((pDetectSpaces >>= withAttribute CommentTok))+ <|>+ ((pDetectIdentifier >>= withAttribute CommentTok))+ <|>+ (currentContext >>= \x -> guard (x == ("Julia","1-comment")) >> pDefault >>= withAttribute CommentTok))+++parseRules x = parseRules ("Julia","_normal") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Latex.hs view
@@ -1,11 +1,13 @@ {- This module was generated from data in the Kate syntax- highlighting file latex.xml, version 1.48, by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de) -}+ highlighting file latex.xml, version 1.52, by Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de) -} module Text.Highlighting.Kate.Syntax.Latex (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common+import qualified Text.Highlighting.Kate.Syntax.Cpp+import qualified Text.Highlighting.Kate.Syntax.Python import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace)@@ -16,7 +18,7 @@ -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;"+syntaxExtensions = "*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;*.tikz" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -59,6 +61,7 @@ ("LaTeX","CommandParameter") -> return () ("LaTeX","ContrSeq") -> (popContext) >> pEndLine ("LaTeX","ToEndOfLine") -> (popContext) >> pEndLine+ ("LaTeX","MintParam") -> return () ("LaTeX","Verb") -> (popContext >> popContext) >> pEndLine ("LaTeX","VerbEnd") -> (popContext >> popContext >> popContext) >> pEndLine ("LaTeX","Label") -> return ()@@ -75,6 +78,14 @@ ("LaTeX","LatexEnv") -> return () ("LaTeX","VerbatimEnv") -> return () ("LaTeX","VerbatimEnvParam") -> return ()+ ("LaTeX","ListingsEnvParam") -> return ()+ ("LaTeX","MintedEnvParam") -> return ()+ ("LaTeX","HighlightningSelector") -> return ()+ ("LaTeX","HighlightningCommon") -> return ()+ ("LaTeX","HighlightningBeginC++") -> return ()+ ("LaTeX","HighlightningC++") -> return ()+ ("LaTeX","HighlightningBeginPython") -> return ()+ ("LaTeX","HighlightningPython") -> return () ("LaTeX","Verbatim") -> return () ("LaTeX","VerbFindEnd") -> (popContext) >> pEndLine ("LaTeX","CommentEnv") -> return ()@@ -112,9 +123,10 @@ regex_'5c'5cbegin'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\begin(?=[^a-zA-Z])" regex_'5c'5cend'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\end(?=[^a-zA-Z])"-regex_'5c'5c'28cite'7cparencite'7cautocite'7cAutocite'7ccitetitle'29'5c'2a'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\(cite|parencite|autocite|Autocite|citetitle)\\*(?=[^a-zA-Z])"+regex_'5c'5c'28cite'7ccitet'7ccitep'7cparencite'7cautocite'7cAutocite'7ccitetitle'29'5c'2a'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\(cite|citet|citep|parencite|autocite|Autocite|citetitle)\\*(?=[^a-zA-Z])"+regex_'5c'5c'28documentclass'7cincludegraphics'7cinclude'7cusepackage'7cbibliography'7cbibliographystyle'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\(documentclass|includegraphics|include|usepackage|bibliography|bibliographystyle)(?=[^a-zA-Z])" regex_'5c'5c'28cites'7cCites'7cparencites'7cParencites'7cautocites'7cAutocites'7csupercites'7cfootcites'7cFootcites'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\(cites|Cites|parencites|Parencites|autocites|Autocites|supercites|footcites|Footcites)(?=[^a-zA-Z])"-regex_'5c'5c'28cite'7cnocite'7cCite'7cparencite'7cParencite'7cfootcite'7cFootcite'7ctextcite'7cTextcite'7csupercite'7cautocite'7cAutocite'7cciteauthor'7cCiteauthor'7ccitetitle'7cciteyear'7cciteurl'7cnocite'7cfullcite'7cfootfullcite'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\(cite|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])"+regex_'5c'5c'28cite'7ccitet'7ccitep'7cnocite'7cCite'7cparencite'7cParencite'7cfootcite'7cFootcite'7ctextcite'7cTextcite'7csupercite'7cautocite'7cAutocite'7cciteauthor'7cCiteauthor'7ccitetitle'7cciteyear'7cciteurl'7cnocite'7cfullcite'7cfootfullcite'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\(cite|citet|citep|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])" regex_'5c'5c'28subref'5c'2a'3f'7ccref'5c'2a'3f'7clabel'7cpageref'7cautoref'7cref'7cvpageref'7cvref'7cpagecite'7ceqref'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "\\\\(subref\\*?|cref\\*?|label|pageref|autoref|ref|vpageref|vref|pagecite|eqref)(?=[^a-zA-Z])" regex_'5c'5c'28part'7cchapter'7csection'7csubsection'7csubsubsection'7cparagraph'7csubparagraph'29'5c'2a'3f'5cs'2a'28'3f'3d'5b'5c'7b'5c'5b'5d'29 = compileRegex "\\\\(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)\\*?\\s*(?=[\\{\\[])" regex_'5c'5c'28footnote'29'5c'2a'3f'5cs'2a'28'3f'3d'5b'5c'7b'5c'5b'5d'29 = compileRegex "\\\\(footnote)\\*?\\s*(?=[\\{\\[])"@@ -128,12 +140,13 @@ regex_'5ba'2dzA'2dZ'5d'2b'28'5c'2b'3f'7c'5c'2a'7b0'2c3'7d'29 = compileRegex "[a-zA-Z]+(\\+?|\\*{0,3})" regex_'5b'5ea'2dzA'2dZ'5d = compileRegex "[^a-zA-Z]" regex_'5ba'2dzA'2dZ'5d'2b'5c'2a'3f = compileRegex "[a-zA-Z]+\\*?"-regex_'5cs'2a'5c'7b'5cs'2a'5c'5c'5ba'2dzA'2dZ'5d'2b'5cs'2a'5c'7d'28'5c'5b'5cd'5c'5d'28'5c'5b'5b'5e'5c'5d'5d'2a'5c'5d'29'3f'29'3f'5c'7b = compileRegex "\\s*\\{\\s*\\\\[a-zA-Z]+\\s*\\}(\\[\\d\\](\\[[^\\]]*\\])?)?\\{"+regex_'5cs'2a'5c'7b'5cs'2a = compileRegex "\\s*\\{\\s*"+regex_'5cs'2a'28'5c'5b'5cd'5c'5d'28'5c'5b'5b'5e'5c'5d'5d'2a'5c'5d'29'3f'29'3f'5c'7b = compileRegex "\\s*(\\[\\d\\](\\[[^\\]]*\\])?)?\\{" regex_'5cs'2a'5c'5c'5ba'2dzA'2dZ'5d'2b'5b'5e'5c'7b'5d'2a'5c'7b = compileRegex "\\s*\\\\[a-zA-Z]+[^\\{]*\\{" regex_'5c'5c'2e = compileRegex "\\\\." regex_'28Verb'7cverb'7clstinline'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "(Verb|verb|lstinline)(?=[^a-zA-Z])"+regex_mint'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 = compileRegex "mint(?=[^a-zA-Z])" regex_'5ba'2dzA'2dZ'40'5d'2b'28'5c'2b'3f'7c'5c'2a'7b0'2c3'7d'29 = compileRegex "[a-zA-Z@]+(\\+?|\\*{0,3})"-regex_'5cs'2a'5c'7b'5cs'2a = compileRegex "\\s*\\{\\s*" regex_'5cs'2a'5c'5b'5cs'2a = compileRegex "\\s*\\[\\s*" regex_'5b'5e'5c'5b'5c'7b'5d'2b = compileRegex "[^\\[\\{]+" regex_'5cs'2a'5c'5d'5cs'2a = compileRegex "\\s*\\]\\s*"@@ -144,7 +157,7 @@ regex_'5ba'2dzA'2dZ'5d = compileRegex "[a-zA-Z]" regex_'5cs'2b = compileRegex "\\s+" regex_'5ba'2dzA'2dZ'5d'2b'28'5c'2a'29'3f = compileRegex "[a-zA-Z]+(\\*)?"-regex_'28lstlisting'7c'28B'7cL'29'3fVerbatim'29 = compileRegex "(lstlisting|(B|L)?Verbatim)"+regex_'28'28B'7cL'29'3fVerbatim'29 = compileRegex "((B|L)?Verbatim)" regex_'28verbatim'7cboxedverbatim'29 = compileRegex "(verbatim|boxedverbatim)" regex_comment = compileRegex "comment" regex_'28alignat'7cxalignat'7cxxalignat'29 = compileRegex "(alignat|xalignat|xxalignat)"@@ -152,9 +165,13 @@ regex_'28tabularx'7ctabular'7csupertabular'7cmpsupertabular'7cxtabular'7cmpxtabular'7clongtable'29 = compileRegex "(tabularx|tabular|supertabular|mpsupertabular|xtabular|mpxtabular|longtable)" regex_'5b'5ea'2dzA'2dZ'5cxd7'5d = compileRegex "[^a-zA-Z\\xd7]" regex_'5ba'2dzA'2dZ'5d'2b = compileRegex "[a-zA-Z]+"-regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7b'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'29'5c'2a'3f'5c'7d'29 = compileRegex "\\\\end(?=\\s*\\{(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim)\\*?\\})"+regex_language'5cs'2a'3d'5cs'2a'28'3f'3d'5b'5e'2c'5d'2b'29 = compileRegex "language\\s*=\\s*(?=[^,]+)"+regex_'2e'2a'28'3f'3d'5c'7d'7c'5c'5d'29 = compileRegex ".*(?=\\}|\\])"+regex_'5c'5cend'5cs'2a'5c'7b'28lstlisting'7cminted'29'5c'2a'3f'5c'7d = compileRegex "\\\\end\\s*\\{(lstlisting|minted)\\*?\\}"+regex_'2e'2a'28'5c'7d'7c'5c'5d'29 = compileRegex ".*(\\}|\\])"+regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7b'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'7cminted'29'5c'2a'3f'5c'7d'29 = compileRegex "\\\\end(?=\\s*\\{(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim|minted)\\*?\\})" regex_'5cs'2a'5c'7b = compileRegex "\\s*\\{"-regex_'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'29'5c'2a'3f = compileRegex "(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim)\\*?"+regex_'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'7cminted'29'5c'2a'3f = compileRegex "(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim|minted)\\*?" regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7bcomment'5c'2a'3f'5c'7d'29 = compileRegex "\\\\end(?=\\s*\\{comment\\*?\\})" regex_comment'5c'2a'3f = compileRegex "comment\\*?" regex_'5c'7d'5c'7b'5b'5e'5c'7d'5d'2a'5c'7d = compileRegex "\\}\\{[^\\}]*\\}"@@ -175,11 +192,13 @@ <|> ((pRegExpr regex_'5c'5cend'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FindEndEnvironment")) <|>- ((pRegExpr regex_'5c'5c'28cite'7cparencite'7cautocite'7cAutocite'7ccitetitle'29'5c'2a'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Label"))+ ((pRegExpr regex_'5c'5c'28cite'7ccitet'7ccitep'7cparencite'7cautocite'7cAutocite'7ccitetitle'29'5c'2a'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Label")) <|>+ ((pRegExpr regex_'5c'5c'28documentclass'7cincludegraphics'7cinclude'7cusepackage'7cbibliography'7cbibliographystyle'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FancyLabel"))+ <|> ((pRegExpr regex_'5c'5c'28cites'7cCites'7cparencites'7cParencites'7cautocites'7cAutocites'7csupercites'7cfootcites'7cFootcites'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","FancyLabel")) <|>- ((pRegExpr regex_'5c'5c'28cite'7cnocite'7cCite'7cparencite'7cParencite'7cfootcite'7cFootcite'7ctextcite'7cTextcite'7csupercite'7cautocite'7cAutocite'7cciteauthor'7cCiteauthor'7ccitetitle'7cciteyear'7cciteurl'7cnocite'7cfullcite'7cfootfullcite'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Label"))+ ((pRegExpr regex_'5c'5c'28cite'7ccitet'7ccitep'7cnocite'7cCite'7cparencite'7cParencite'7cfootcite'7cFootcite'7ctextcite'7cTextcite'7csupercite'7cautocite'7cAutocite'7cciteauthor'7cCiteauthor'7ccitetitle'7cciteyear'7cciteurl'7cnocite'7cfullcite'7cfootfullcite'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Label")) <|> ((pRegExpr regex_'5c'5c'28subref'5c'2a'3f'7ccref'5c'2a'3f'7clabel'7cpageref'7cautoref'7cref'7cvpageref'7cvref'7cpagecite'7ceqref'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Label")) <|>@@ -327,8 +346,10 @@ (currentContext >>= \x -> guard (x == ("LaTeX","FootnotingMathMode")) >> pDefault >>= withAttribute NormalTok)) parseRules ("LaTeX","NewCommand") =- (((pRegExpr regex_'5cs'2a'5c'7b'5cs'2a'5c'5c'5ba'2dzA'2dZ'5d'2b'5cs'2a'5c'7d'28'5c'5b'5cd'5c'5d'28'5c'5b'5b'5e'5c'5d'5d'2a'5c'5d'29'3f'29'3f'5c'7b >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","CommandParameterStart"))+ (((pRegExpr regex_'5cs'2a'5c'7b'5cs'2a >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","LabelParameter")) <|>+ ((pRegExpr regex_'5cs'2a'28'5c'5b'5cd'5c'5d'28'5c'5b'5b'5e'5c'5d'5d'2a'5c'5d'29'3f'29'3f'5c'7b >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","LabelParameter"))+ <|> ((pDetectChar False '}' >>= withAttribute AlertTok) >>~ (popContext)) <|> ((popContext) >> currentContext >>= parseRules))@@ -367,6 +388,8 @@ <|> ((pRegExpr regex_'28Verb'7cverb'7clstinline'29'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verb")) <|>+ ((pRegExpr regex_mint'28'3f'3d'5b'5ea'2dzA'2dZ'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MintParam"))+ <|> ((pDetectChar False '\215' >>= withAttribute NormalTok)) <|> ((pRegExpr regex_'5ba'2dzA'2dZ'40'5d'2b'28'5c'2b'3f'7c'5c'2a'7b0'2c3'7d'29 >>= withAttribute NormalTok) >>~ (popContext))@@ -378,6 +401,15 @@ parseRules ("LaTeX","ToEndOfLine") = (currentContext >>= \x -> guard (x == ("LaTeX","ToEndOfLine")) >> pDefault >>= withAttribute NormalTok) +parseRules ("LaTeX","MintParam") =+ (((pDetect2Chars False '}' '[' >>= withAttribute NormalTok))+ <|>+ ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verb"))+ <|>+ ((pDetectChar False ']' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verb"))+ <|>+ (currentContext >>= \x -> guard (x == ("LaTeX","MintParam")) >> pDefault >>= withAttribute NormalTok))+ parseRules ("LaTeX","Verb") = (((pRegExprDynamic "(.)" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbEnd")) <|>@@ -489,8 +521,12 @@ (currentContext >>= \x -> guard (x == ("LaTeX","FindBeginEnvironment")) >> pDefault >>= withAttribute NormalTok)) parseRules ("LaTeX","BeginEnvironment") =- (((pRegExpr regex_'28lstlisting'7c'28B'7cL'29'3fVerbatim'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbatimEnvParam"))+ (((pString False "lstlisting" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","ListingsEnvParam")) <|>+ ((pString False "minted" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","MintedEnvParam"))+ <|>+ ((pRegExpr regex_'28'28B'7cL'29'3fVerbatim'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbatimEnvParam"))+ <|> ((pRegExpr regex_'28verbatim'7cboxedverbatim'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbatimEnv")) <|> ((pRegExpr regex_comment >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","CommentEnv"))@@ -540,17 +576,77 @@ <|> (currentContext >>= \x -> guard (x == ("LaTeX","VerbatimEnvParam")) >> pDefault >>= withAttribute NormalTok)) +parseRules ("LaTeX","ListingsEnvParam") =+ (((pDetect2Chars False '}' '[' >>= withAttribute NormalTok))+ <|>+ ((pRegExpr regex_language'5cs'2a'3d'5cs'2a'28'3f'3d'5b'5e'2c'5d'2b'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","HighlightningSelector"))+ <|>+ ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verbatim"))+ <|>+ ((pDetectChar False ']' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verbatim"))+ <|>+ (pushContext ("LaTeX","Verbatim") >> currentContext >>= parseRules))++parseRules ("LaTeX","MintedEnvParam") =+ (((pDetect2Chars False '}' '[' >>= withAttribute NormalTok))+ <|>+ ((pDetect2Chars False '}' '{' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","HighlightningSelector"))+ <|>+ ((pDetect2Chars False ']' '{' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","HighlightningSelector"))+ <|>+ ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","Verbatim"))+ <|>+ (currentContext >>= \x -> guard (x == ("LaTeX","MintedEnvParam")) >> pDefault >>= withAttribute NormalTok))++parseRules ("LaTeX","HighlightningSelector") =+ (((pString False "C++" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","HighlightningBeginC++"))+ <|>+ ((pString False "Python" >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","HighlightningBeginPython"))+ <|>+ ((pRegExpr regex_'2e'2a'28'3f'3d'5c'7d'7c'5c'5d'29 >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("LaTeX","HighlightningSelector")) >> pDefault >>= withAttribute NormalTok))++parseRules ("LaTeX","HighlightningCommon") =+ (((lookAhead (pRegExpr regex_'5c'5cend'5cs'2a'5c'7b'28lstlisting'7cminted'29'5c'2a'3f'5c'7d) >> (popContext >> popContext >> popContext >> popContext >> popContext >> popContext) >> currentContext >>= parseRules))+ <|>+ (currentContext >>= \x -> guard (x == ("LaTeX","HighlightningCommon")) >> pDefault >>= withAttribute NormalTok))++parseRules ("LaTeX","HighlightningBeginC++") =+ (((pRegExpr regex_'2e'2a'28'5c'7d'7c'5c'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","HighlightningC++"))+ <|>+ (currentContext >>= \x -> guard (x == ("LaTeX","HighlightningBeginC++")) >> pDefault >>= withAttribute NormalTok))++parseRules ("LaTeX","HighlightningC++") =+ (((parseRules ("LaTeX","HighlightningCommon")))+ <|>+ ((Text.Highlighting.Kate.Syntax.Cpp.parseExpression))+ <|>+ (currentContext >>= \x -> guard (x == ("LaTeX","HighlightningC++")) >> pDefault >>= withAttribute NormalTok))++parseRules ("LaTeX","HighlightningBeginPython") =+ (((pRegExpr regex_'2e'2a'28'5c'7d'7c'5c'5d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","HighlightningPython"))+ <|>+ (currentContext >>= \x -> guard (x == ("LaTeX","HighlightningBeginPython")) >> pDefault >>= withAttribute NormalTok))++parseRules ("LaTeX","HighlightningPython") =+ (((parseRules ("LaTeX","HighlightningCommon")))+ <|>+ ((Text.Highlighting.Kate.Syntax.Python.parseExpression))+ <|>+ (currentContext >>= \x -> guard (x == ("LaTeX","HighlightningPython")) >> pDefault >>= withAttribute NormalTok))+ parseRules ("LaTeX","Verbatim") = (((pDetectChar False '\215' >>= withAttribute NormalTok)) <|>- ((pRegExpr regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7b'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'29'5c'2a'3f'5c'7d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbFindEnd"))+ ((pRegExpr regex_'5c'5cend'28'3f'3d'5cs'2a'5c'7b'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'7cminted'29'5c'2a'3f'5c'7d'29 >>= withAttribute NormalTok) >>~ pushContext ("LaTeX","VerbFindEnd")) <|> (currentContext >>= \x -> guard (x == ("LaTeX","Verbatim")) >> pDefault >>= withAttribute NormalTok)) parseRules ("LaTeX","VerbFindEnd") = (((pRegExpr regex_'5cs'2a'5c'7b >>= withAttribute NormalTok)) <|>- ((pRegExpr regex_'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'29'5c'2a'3f >>= withAttribute NormalTok))+ ((pRegExpr regex_'28verbatim'7clstlisting'7cboxedverbatim'7c'28B'7cL'29'3fVerbatim'7cminted'29'5c'2a'3f >>= withAttribute NormalTok)) <|> ((pDetectChar False '}' >>= withAttribute NormalTok) >>~ (popContext >> popContext >> popContext >> popContext >> popContext)) <|>@@ -817,5 +913,7 @@ <|> (currentContext >>= \x -> guard (x == ("LaTeX","Comment")) >> pDefault >>= withAttribute CommentTok)) +parseRules ("C++", _) = Text.Highlighting.Kate.Syntax.Cpp.parseExpression+parseRules ("Python", _) = Text.Highlighting.Kate.Syntax.Python.parseExpression parseRules x = parseRules ("LaTeX","Normal Text") <|> fail ("Unknown context" ++ show x)
+ Text/Highlighting/Kate/Syntax/LiterateCurry.hs view
@@ -0,0 +1,111 @@+{- This module was generated from data in the Kate syntax+ highlighting file literate-curry.xml, version 0.1, by Björn Peemöller (bjp@informatik.uni-kiel.de) -}++module Text.Highlighting.Kate.Syntax.LiterateCurry+ (highlight, parseExpression, syntaxName, syntaxExtensions)+where+import Text.Highlighting.Kate.Types+import Text.Highlighting.Kate.Common+import qualified Text.Highlighting.Kate.Syntax.Curry+import Text.ParserCombinators.Parsec hiding (State)+import Control.Monad.State+import Data.Char (isSpace)++-- | Full name of language.+syntaxName :: String+syntaxName = "Literate Curry"++-- | Filename extensions for this language.+syntaxExtensions :: String+syntaxExtensions = "*.lcurry"++-- | 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++-- | Parse an expression using appropriate local context.+parseExpression :: KateParser Token+parseExpression = do+ (lang,cont) <- currentContext+ result <- parseRules (lang,cont)+ optional $ do eof+ updateState $ \st -> st{ synStPrevChar = '\n' }+ pEndLine+ return result++startingState = SyntaxState {synStContexts = [("Literate Curry","Text")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}++pEndLine = do+ updateState $ \st -> st{ synStPrevNonspace = False }+ context <- currentContext+ contexts <- synStContexts `fmap` getState+ if length contexts >= 2+ then case context of+ ("Literate Curry","Text") -> return ()+ ("Literate Curry","Code") -> (popContext) >> pEndLine+ ("Literate Curry","normals") -> return ()+ ("Literate Curry","multiline") -> pushContext ("Literate Curry","lineend") >> return ()+ ("Literate Curry","lineend") -> return ()+ ("Literate Curry","restart") -> (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'7b'2d'5b'5e'23'5d = compileRegex "\\{-[^#]"++parseRules ("Literate Curry","Text") =+ (((pColumn 0 >> pDetectChar False '>' >>= withAttribute OtherTok) >>~ pushContext ("Literate Curry","Code"))+ <|>+ ((pColumn 0 >> pDetectChar False '<' >>= withAttribute OtherTok) >>~ pushContext ("Literate Curry","Code"))+ <|>+ ((pString False "\\begin{code}" >>= withAttribute NormalTok) >>~ pushContext ("Literate Curry","normals"))+ <|>+ ((pString False "\\begin{spec}" >>= withAttribute NormalTok) >>~ pushContext ("Literate Curry","normals"))+ <|>+ (currentContext >>= \x -> guard (x == ("Literate Curry","Text")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Literate Curry","Code") =+ (((pRegExpr regex_'5c'7b'2d'5b'5e'23'5d >>= withAttribute CommentTok) >>~ pushContext ("Literate Curry","multiline"))+ <|>+ ((Text.Highlighting.Kate.Syntax.Curry.parseExpression))+ <|>+ (currentContext >>= \x -> guard (x == ("Literate Curry","Code")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Literate Curry","normals") =+ (((pString False "\\end{code}" >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ ((pString False "\\end{spec}" >>= withAttribute NormalTok) >>~ (popContext))+ <|>+ ((Text.Highlighting.Kate.Syntax.Curry.parseExpression))+ <|>+ (currentContext >>= \x -> guard (x == ("Literate Curry","normals")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Literate Curry","multiline") =+ (((pDetect2Chars False '-' '}' >>= withAttribute CommentTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Literate Curry","multiline")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Literate Curry","lineend") =+ (((pColumn 0 >> pDetectChar False '>' >>= withAttribute OtherTok) >>~ pushContext ("Literate Curry","restart"))+ <|>+ ((pColumn 0 >> pDetectChar False '<' >>= withAttribute OtherTok) >>~ pushContext ("Literate Curry","restart"))+ <|>+ (currentContext >>= \x -> guard (x == ("Literate Curry","lineend")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Literate Curry","restart") =+ (((pDetect2Chars False '-' '}' >>= withAttribute CommentTok) >>~ (popContext >> popContext >> popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Literate Curry","restart")) >> pDefault >>= withAttribute CommentTok))++parseRules ("Curry", _) = Text.Highlighting.Kate.Syntax.Curry.parseExpression++parseRules x = parseRules ("Literate Curry","Text") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Lua.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file lua.xml, version 1.04, by -}+ highlighting file lua.xml, version 1.06, by -} module Text.Highlighting.Kate.Syntax.Lua (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -37,7 +37,7 @@ pEndLine return result -startingState = SyntaxState {synStContexts = [("Lua","Base")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}+startingState = SyntaxState {synStContexts = [("Lua","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False }@@ -45,7 +45,6 @@ contexts <- synStContexts `fmap` getState if length contexts >= 2 then case context of- ("Lua","Base") -> pushContext ("Lua","Normal") >> return () ("Lua","Normal") -> return () ("Lua","Comment") -> (popContext) >> pEndLine ("Lua","Block Comment") -> return ()@@ -69,7 +68,6 @@ list_attention = Set.fromList $ words $ "TODO FIXME NOTE" list_deprecated = Set.fromList $ words $ "table.foreach table.foreachi foreach foreachi" -regex_'23'21'2e'2a'24 = compileRegex "#!.*$" regex_'5cbfunction'5cb = compileRegex "\\bfunction\\b" regex_'5cbelse'5cb = compileRegex "\\belse\\b" regex_'5cbelseif'5cb = compileRegex "\\belseif\\b"@@ -84,11 +82,6 @@ regex_'5c'5c'28a'7cb'7cf'7cn'7cr'7ct'7cv'7c'5c'5c'7c'22'7c'5c'27'7c'5b'7c'5d'29 = compileRegex "\\\\(a|b|f|n|r|t|v|\\\\|\"|\\'|[|])" regex_'5c'5c'5babfnrtv'27'22'5c'5c'5c'5b'5c'5d'5d = compileRegex "\\\\[abfnrtv'\"\\\\\\[\\]]" -parseRules ("Lua","Base") =- (((pColumn 0 >> pRegExpr regex_'23'21'2e'2a'24 >>= withAttribute CommentTok) >>~ pushContext ("Lua","Normal"))- <|>- (pushContext ("Lua","Normal") >> currentContext >>= parseRules))- parseRules ("Lua","Normal") = (((Text.Highlighting.Kate.Syntax.Doxygenlua.parseExpression)) <|>@@ -150,7 +143,7 @@ <|> ((pDetect2Chars False '.' '=' >>= withAttribute ErrorTok)) <|>- ((pAnyChar "[]().=~+-*/^><#;" >>= withAttribute OtherTok))+ ((pAnyChar "[]().,=~+-*/^><#;" >>= withAttribute OtherTok)) <|> (currentContext >>= \x -> guard (x == ("Lua","Normal")) >> pDefault >>= withAttribute NormalTok)) @@ -196,4 +189,4 @@ parseRules ("DoxygenLua", _) = Text.Highlighting.Kate.Syntax.Doxygenlua.parseExpression -parseRules x = parseRules ("Lua","Base") <|> fail ("Unknown context" ++ show x)+parseRules x = parseRules ("Lua","Normal") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Makefile.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file makefile.xml, version 1.12, by Per Wigren (wigren@home.se) -}+ highlighting file makefile.xml, version 2.0, by Per Wigren (wigren@home.se) -} module Text.Highlighting.Kate.Syntax.Makefile (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -36,7 +36,7 @@ pEndLine return result -startingState = SyntaxState {synStContexts = [("Makefile","Normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}+startingState = SyntaxState {synStContexts = [("Makefile","normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False }@@ -44,16 +44,21 @@ contexts <- synStContexts `fmap` getState if length contexts >= 2 then case context of- ("Makefile","Normal") -> return ()- ("Makefile","String") -> (popContext) >> pEndLine- ("Makefile","Value") -> (popContext) >> pEndLine- ("Makefile","VarFromValue(") -> return ()- ("Makefile","VarFromValue{") -> return ()- ("Makefile","VarFromNormal(") -> return ()- ("Makefile","VarFromNormal{") -> return ()- ("Makefile","FunctionCall(") -> return ()- ("Makefile","FunctionCall{") -> return ()- ("Makefile","Commands") -> (popContext) >> pEndLine+ ("Makefile","normal") -> return ()+ ("Makefile","prereq") -> pushContext ("Makefile","rule") >> return ()+ ("Makefile","rule") -> return ()+ ("Makefile","silent") -> (popContext) >> pEndLine+ ("Makefile","string\"") -> (popContext) >> pEndLine+ ("Makefile","string'") -> (popContext) >> pEndLine+ ("Makefile","assign") -> (popContext) >> pEndLine+ ("Makefile","value") -> (popContext >> popContext) >> pEndLine+ ("Makefile","dollar") -> (popContext) >> pEndLine+ ("Makefile","call(") -> return ()+ ("Makefile","call{") -> return ()+ ("Makefile","callVar(") -> return ()+ ("Makefile","callVar{") -> return ()+ ("Makefile","callFunc(") -> return ()+ ("Makefile","callFunc{") -> return () _ -> return () else return () @@ -63,113 +68,206 @@ , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) -list_keywords = Set.fromList $ words $ "include define else endef endif ifdef ifeq ifndef ifneq"+list_keywords = Set.fromList $ words $ "include define else endef endif ifdef ifeq ifndef ifneq override" list_functions = Set.fromList $ words $ "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" -regex_'5b'5f'5cw'5cd'5d'2a'5cs'2a'28'3f'3d'3a'3d'7c'3d'7c'5c'2b'3d'7c'5c'3f'3d'29 = compileRegex "[_\\w\\d]*\\s*(?=:=|=|\\+=|\\?=)"-regex_'5b'5f'5cw'5cd'2d'5d'2a'5cs'2a'3a = compileRegex "[_\\w\\d-]*\\s*:"+regex_'5b'5e'5cs'3a'2b'3f'5d'2a'5cs'2a'28'3f'3d'3a'3d'7c'3d'7c'5c'2b'3d'7c'5c'3f'3d'29 = compileRegex "[^\\s:+?]*\\s*(?=:=|=|\\+=|\\?=)" regex_'5b'2e'5d'2e'2a'3a = compileRegex "[.].*:"+regex_'2e'2a'3a = compileRegex ".*:" regex_'23'2e'2a'24 = compileRegex "#.*$"+regex__'2b = compileRegex " +"+regex_'5b'5e'5ct'5d = compileRegex "[^\\t]" regex_'40'5b'2d'5f'5cd'5cw'5d'2a'40 = compileRegex "@[-_\\d\\w]*@"-regex_'5b'5f'5cw'2d'5d'2a'5cb = compileRegex "[_\\w-]*\\b"+regex_'2e = compileRegex "." -parseRules ("Makefile","Normal") =- (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok))+parseRules ("Makefile","normal") =+ (((pDetectSpaces >>= withAttribute NormalTok)) <|>- ((pRegExpr regex_'5b'5f'5cw'5cd'5d'2a'5cs'2a'28'3f'3d'3a'3d'7c'3d'7c'5c'2b'3d'7c'5c'3f'3d'29 >>= withAttribute DataTypeTok) >>~ pushContext ("Makefile","Value"))+ ((pKeyword " \n\t.():!+,<=>%&*/;?[]^{|}~\\" list_keywords >>= withAttribute KeywordTok)) <|>- ((pFirstNonSpace >> pRegExpr regex_'5b'5f'5cw'5cd'2d'5d'2a'5cs'2a'3a >>= withAttribute DecValTok))+ ((pRegExpr regex_'5b'5e'5cs'3a'2b'3f'5d'2a'5cs'2a'28'3f'3d'3a'3d'7c'3d'7c'5c'2b'3d'7c'5c'3f'3d'29 >>= withAttribute DataTypeTok) >>~ pushContext ("Makefile","assign")) <|>- ((pColumn 0 >> pRegExpr regex_'5b'2e'5d'2e'2a'3a >>= withAttribute OtherTok))+ ((pColumn 0 >> pRegExpr regex_'5b'2e'5d'2e'2a'3a >>= withAttribute OtherTok) >>~ pushContext ("Makefile","prereq")) <|>- ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Makefile","String"))+ ((pColumn 0 >> pRegExpr regex_'2e'2a'3a >>= withAttribute DecValTok) >>~ pushContext ("Makefile","prereq")) <|>- ((pDetect2Chars False '$' '{' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromNormal{"))+ ((pDetectIdentifier >>= withAttribute NormalTok)) <|>- ((pDetect2Chars False '$' '(' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromNormal("))+ ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Makefile","string\"")) <|>+ ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Makefile","string'"))+ <|>+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|> ((pDetect2Chars False '\\' '#' >>= withAttribute FloatTok)) <|> ((pDetect2Chars False '\\' '\\' >>= withAttribute FloatTok)) <|>- ((pAnyChar "+*=%$():\\;" >>= withAttribute CharTok))+ ((pFirstNonSpace >> pAnyChar "@-" >>= withAttribute CharTok) >>~ pushContext ("Makefile","silent")) <|>- ((pFirstNonSpace >> pAnyChar "@-" >>= withAttribute CharTok) >>~ pushContext ("Makefile","Commands"))+ ((pRegExpr regex_'23'2e'2a'24 >>= withAttribute CommentTok)) <|>+ (currentContext >>= \x -> guard (x == ("Makefile","normal")) >> pDefault >>= withAttribute NormalTok))++parseRules ("Makefile","prereq") =+ (((pDetectSpaces >>= withAttribute DataTypeTok))+ <|>+ ((pDetectIdentifier >>= withAttribute DataTypeTok))+ <|>+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|>+ ((pDetect2Chars False '\\' '#' >>= withAttribute FloatTok))+ <|>+ ((pDetect2Chars False '\\' '\\' >>= withAttribute FloatTok))+ <|> ((pRegExpr regex_'23'2e'2a'24 >>= withAttribute CommentTok)) <|>- (currentContext >>= \x -> guard (x == ("Makefile","Normal")) >> pDefault >>= withAttribute NormalTok))+ (currentContext >>= \x -> guard (x == ("Makefile","prereq")) >> pDefault >>= withAttribute DataTypeTok)) -parseRules ("Makefile","String") =- (((pLineContinue >>= withAttribute StringTok))+parseRules ("Makefile","rule") =+ (((pLineContinue >>= withAttribute CharTok)) <|>- ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+ ((pColumn 0 >> pFirstNonSpace >> pRegExpr regex__'2b >>= withAttribute ErrorTok) >>~ (popContext >> popContext >> popContext)) <|>- (currentContext >>= \x -> guard (x == ("Makefile","String")) >> pDefault >>= withAttribute StringTok))+ ((pColumn 0 >> pFirstNonSpace >> lookAhead (pRegExpr regex_'5b'5e'5ct'5d) >> (popContext >> popContext >> popContext) >> currentContext >>= parseRules))+ <|>+ ((pDetectSpaces >>= withAttribute NormalTok))+ <|>+ ((pDetectIdentifier >>= withAttribute NormalTok))+ <|>+ ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Makefile","string\""))+ <|>+ ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Makefile","string'"))+ <|>+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|>+ ((pDetect2Chars False '\\' '#' >>= withAttribute FloatTok))+ <|>+ ((pDetect2Chars False '\\' '\\' >>= withAttribute FloatTok))+ <|>+ ((pFirstNonSpace >> pAnyChar "@-" >>= withAttribute CharTok) >>~ pushContext ("Makefile","silent"))+ <|>+ ((pRegExpr regex_'23'2e'2a'24 >>= withAttribute CommentTok))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","rule")) >> pDefault >>= withAttribute NormalTok)) -parseRules ("Makefile","Value") =+parseRules ("Makefile","silent") = (((pLineContinue >>= withAttribute CharTok)) <|>- ((pDetect2Chars False '$' '{' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromValue{"))+ ((pDetectSpaces >>= withAttribute FunctionTok)) <|>- ((pDetect2Chars False '$' '(' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromValue("))+ ((pDetectIdentifier >>= withAttribute FunctionTok)) <|>- ((pRegExpr regex_'40'5b'2d'5f'5cd'5cw'5d'2a'40 >>= withAttribute FloatTok) >>~ (popContext))+ ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Makefile","string\"")) <|>- ((pDetectChar False ';' >>= withAttribute CharTok) >>~ (popContext))+ ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Makefile","string'")) <|>- (currentContext >>= \x -> guard (x == ("Makefile","Value")) >> pDefault >>= withAttribute StringTok))+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|>+ ((pDetect2Chars False '\\' '#' >>= withAttribute FloatTok))+ <|>+ ((pDetect2Chars False '\\' '\\' >>= withAttribute FloatTok))+ <|>+ ((pRegExpr regex_'23'2e'2a'24 >>= withAttribute CommentTok))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","silent")) >> pDefault >>= withAttribute FunctionTok)) -parseRules ("Makefile","VarFromValue(") =- (((pDetectChar False ')' >>= withAttribute CharTok) >>~ (popContext))+parseRules ("Makefile","string\"") =+ (((pLineContinue >>= withAttribute CharTok)) <|>- (currentContext >>= \x -> guard (x == ("Makefile","VarFromValue(")) >> pDefault >>= withAttribute DataTypeTok))+ ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+ <|>+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","string\"")) >> pDefault >>= withAttribute StringTok)) -parseRules ("Makefile","VarFromValue{") =- (((pDetectChar False '}' >>= withAttribute CharTok) >>~ (popContext))+parseRules ("Makefile","string'") =+ (((pLineContinue >>= withAttribute StringTok)) <|>- (currentContext >>= \x -> guard (x == ("Makefile","VarFromValue{")) >> pDefault >>= withAttribute DataTypeTok))+ ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))+ <|>+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","string'")) >> pDefault >>= withAttribute StringTok)) -parseRules ("Makefile","VarFromNormal(") =- (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute KeywordTok) >>~ pushContext ("Makefile","FunctionCall("))+parseRules ("Makefile","assign") =+ (((pDetectChar False '=' >>= withAttribute CharTok) >>~ pushContext ("Makefile","value")) <|>- ((pDetectChar False ')' >>= withAttribute CharTok) >>~ (popContext))+ (currentContext >>= \x -> guard (x == ("Makefile","assign")) >> pDefault >>= withAttribute CharTok))++parseRules ("Makefile","value") =+ (((pLineContinue >>= withAttribute CharTok)) <|>- (currentContext >>= \x -> guard (x == ("Makefile","VarFromNormal(")) >> pDefault >>= withAttribute DataTypeTok))+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|>+ ((pRegExpr regex_'40'5b'2d'5f'5cd'5cw'5d'2a'40 >>= withAttribute FloatTok) >>~ (popContext >> popContext))+ <|>+ ((pDetectChar False ';' >>= withAttribute CharTok) >>~ (popContext >> popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","value")) >> pDefault >>= withAttribute StringTok)) -parseRules ("Makefile","VarFromNormal{") =- (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute KeywordTok) >>~ pushContext ("Makefile","FunctionCall{"))+parseRules ("Makefile","dollar") =+ (((pDetectChar False '(' >>= withAttribute CharTok) >>~ pushContext ("Makefile","call(")) <|>- ((pDetectChar False '}' >>= withAttribute CommentTok) >>~ (popContext))+ ((pDetectChar False '{' >>= withAttribute CharTok) >>~ pushContext ("Makefile","call{")) <|>- (currentContext >>= \x -> guard (x == ("Makefile","VarFromNormal{")) >> pDefault >>= withAttribute DataTypeTok))+ ((pRegExpr regex_'2e >>= withAttribute CharTok) >>~ (popContext))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","dollar")) >> pDefault >>= withAttribute CharTok)) -parseRules ("Makefile","FunctionCall(") =- (((pDetect2Chars False '$' '{' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromNormal{"))+parseRules ("Makefile","call(") =+ (((pKeyword " \n\t.():!+,<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute KeywordTok) >>~ pushContext ("Makefile","callFunc(")) <|>- ((pDetect2Chars False '$' '(' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromNormal("))+ (pushContext ("Makefile","callVar(") >> currentContext >>= parseRules))++parseRules ("Makefile","call{") =+ (((pKeyword " \n\t.():!+,<=>%&*/;?[]^{|}~\\" list_functions >>= withAttribute KeywordTok) >>~ pushContext ("Makefile","callFunc{")) <|>- ((pDetectChar False ')' >>= withAttribute CharTok) >>~ (popContext >> popContext))+ (pushContext ("Makefile","callVar{") >> currentContext >>= parseRules))++parseRules ("Makefile","callVar(") =+ (((pDetectChar False ')' >>= withAttribute CharTok) >>~ (popContext >> popContext >> popContext)) <|>- (currentContext >>= \x -> guard (x == ("Makefile","FunctionCall(")) >> pDefault >>= withAttribute StringTok))+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|>+ ((pDetectSpaces >>= withAttribute ErrorTok))+ <|>+ ((pAnyChar "=#:" >>= withAttribute ErrorTok))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","callVar(")) >> pDefault >>= withAttribute DataTypeTok)) -parseRules ("Makefile","FunctionCall{") =- (((pDetect2Chars False '$' '{' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromNormal{"))+parseRules ("Makefile","callVar{") =+ (((pDetectChar False '}' >>= withAttribute CharTok) >>~ (popContext >> popContext >> popContext)) <|>- ((pDetect2Chars False '$' '(' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromNormal("))+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar")) <|>- ((pDetectChar False '}' >>= withAttribute CharTok) >>~ (popContext >> popContext))+ ((pDetectSpaces >>= withAttribute ErrorTok)) <|>- (currentContext >>= \x -> guard (x == ("Makefile","FunctionCall{")) >> pDefault >>= withAttribute StringTok))+ ((pAnyChar "=#:" >>= withAttribute ErrorTok))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","callVar{")) >> pDefault >>= withAttribute DataTypeTok)) -parseRules ("Makefile","Commands") =- (((pDetect2Chars False '$' '{' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromNormal{"))+parseRules ("Makefile","callFunc(") =+ (((pDetectChar False ')' >>= withAttribute CharTok) >>~ (popContext >> popContext >> popContext)) <|>- ((pDetect2Chars False '$' '(' >>= withAttribute CharTok) >>~ pushContext ("Makefile","VarFromNormal("))+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar")) <|>- ((pRegExpr regex_'5b'5f'5cw'2d'5d'2a'5cb >>= withAttribute BaseNTok) >>~ (popContext))+ ((pDetectChar False ',' >>= withAttribute KeywordTok)) <|>- (currentContext >>= \x -> guard (x == ("Makefile","Commands")) >> pDefault >>= withAttribute NormalTok))+ ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Makefile","string'"))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","callFunc(")) >> pDefault >>= withAttribute StringTok)) +parseRules ("Makefile","callFunc{") =+ (((pDetectChar False '}' >>= withAttribute CharTok) >>~ (popContext >> popContext >> popContext))+ <|>+ ((pDetectChar False '$' >>= withAttribute CharTok) >>~ pushContext ("Makefile","dollar"))+ <|>+ ((pDetectChar False ',' >>= withAttribute KeywordTok))+ <|>+ ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Makefile","string'"))+ <|>+ (currentContext >>= \x -> guard (x == ("Makefile","callFunc{")) >> pDefault >>= withAttribute StringTok)) -parseRules x = parseRules ("Makefile","Normal") <|> fail ("Unknown context" ++ show x)++parseRules x = parseRules ("Makefile","normal") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Prolog.hs view
@@ -1,11 +1,12 @@ {- This module was generated from data in the Kate syntax- highlighting file prolog.xml, version 1.05, by -}+ highlighting file prolog.xml, version 1.1, by Torsten Eichstädt (torsten.eichstaedt@web.de) -} module Text.Highlighting.Kate.Syntax.Prolog (highlight, parseExpression, syntaxName, syntaxExtensions) where import Text.Highlighting.Kate.Types import Text.Highlighting.Kate.Common+import qualified Text.Highlighting.Kate.Syntax.Alert_indent import Text.ParserCombinators.Parsec hiding (State) import Control.Monad.State import Data.Char (isSpace)@@ -17,7 +18,7 @@ -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.prolog"+syntaxExtensions = "*.prolog;*.dcg;*.pro" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -36,7 +37,7 @@ pEndLine return result -startingState = SyntaxState {synStContexts = [("Prolog","normal")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []}+startingState = SyntaxState {synStContexts = [("Prolog","shebang")], synStLineNumber = 0, synStPrevChar = '\n', synStPrevNonspace = False, synStCaseSensitive = True, synStKeywordCaseSensitive = True, synStCaptures = []} pEndLine = do updateState $ \st -> st{ synStPrevNonspace = False }@@ -44,11 +45,47 @@ contexts <- synStContexts `fmap` getState if length contexts >= 2 then case context of- ("Prolog","normal") -> return ()- ("Prolog","comment") -> (popContext) >> pEndLine- ("Prolog","string") -> return ()- ("Prolog","string2") -> return ()- ("Prolog","comment region") -> return ()+ ("Prolog","shebang") -> pushContext ("Prolog","clause") >> return ()+ ("Prolog","syntax_error") -> return ()+ ("Prolog","clause") -> return ()+ ("Prolog","term") -> return ()+ ("Prolog","nested") -> return ()+ ("Prolog","list") -> return ()+ ("Prolog","curly") -> return ()+ ("Prolog","arith_expr") -> return ()+ ("Prolog","nested_expr") -> return ()+ ("Prolog","list_functor") -> pushContext ("Prolog","syntax_error") >> return ()+ ("Prolog","sq") -> return ()+ ("Prolog","dq") -> return ()+ ("Prolog","bq") -> return ()+ ("Prolog","single-quoted") -> return ()+ ("Prolog","double-quoted") -> return ()+ ("Prolog","back-quoted") -> return ()+ ("Prolog","syntax_error_sq") -> return ()+ ("Prolog","syntax_error_dq") -> return ()+ ("Prolog","syntax_error_bq") -> return ()+ ("Prolog","char_code") -> (popContext) >> pEndLine+ ("Prolog","syntax_error_cc") -> return ()+ ("Prolog","esc_seq_q") -> pushContext ("Prolog","syntax_error") >> return ()+ ("Prolog","esc_seq_cc") -> (popContext >> popContext) >> pEndLine+ ("Prolog","esc_seq_q2") -> pushContext ("Prolog","syntax_error") >> return ()+ ("Prolog","id") -> return ()+ ("Prolog","var") -> return ()+ ("Prolog","graphic") -> (popContext) >> pEndLine+ ("Prolog","bin") -> (popContext) >> pEndLine+ ("Prolog","oct") -> (popContext) >> pEndLine+ ("Prolog","hex") -> (popContext) >> pEndLine+ ("Prolog","comment-iso") -> return ()+ ("Prolog","1-comment") -> (popContext) >> pEndLine+ ("Prolog","region_marker") -> (popContext) >> pEndLine+ ("Prolog","layout_fold") -> return ()+ ("Prolog","quoted_1st") -> return ()+ ("Prolog","quoted_last") -> return ()+ ("Prolog","layout") -> return ()+ ("Prolog","atomic") -> return ()+ ("Prolog","arith_expr_common") -> return ()+ ("Prolog","number") -> (popContext) >> pEndLine+ ("Prolog","operator") -> (popContext) >> pEndLine _ -> return () else return () @@ -58,69 +95,580 @@ , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) -list_keywordl = Set.fromList $ words $ "abstract align as and class clauses constants database determ domains elsedef endclass enddef erroneous facts failure global goal if ifdef ifndef implement include language multi nocopy nondeterm object or procedure protected predicates reference single static struct this"-list_keywordu = Set.fromList $ words $ "ABSTRACT ALIGN AS AND CLASS CLAUSES CONSTANTS DATABASE DETERM DOMAINS ELSEDEF ENDCLASS ENDDEF ERRONEOUS FACTS FAILURE GLOBAL GOAL IF IFDEF IFNDEF IMPLEMENT INCLUDE LANGUAGE MULTI NOCOPY NONDETERM OBJECT OR PROCEDURE PROTECTED PREDICATES REFERENCE SINGLE STATIC STRUCT THIS"-list_special = Set.fromList $ words $ "assert asserta assertz bound chain_inserta chain_insertafter chain_insertz chain_terms consult db_btrees db_chains fail findall format free msgrecv msgsend nl not readterm ref_term retract retractall save term_bin term_replace term_str trap write writef"-list_compiler = Set.fromList $ words $ "bgidriver bgifont check_determ code config diagnostics error errorlevel heap gstacksize nobreak nowarnings printermenu project"-list_arith = Set.fromList $ words $ "mod div abs exp ln log sqrt round trunc val cos sin tan arctan random randominit"-list_basetype = Set.fromList $ words $ "char real string symbol byte sbyte short ushort word integer unsigned dword long ulong binary ref"-list_keywords = Set.fromList $ words $ "true false"+list_error_term_ISO = Set.fromList $ words $ "error"+list_guru_meditation_terms_ISO = Set.fromList $ words $ "instantiation_error uninstantiation_error type_error domain_error existence_error permission_error representation_error evaluation_error resource_error syntax_error system_error"+list_bogus_ISO = Set.fromList $ words $ "char_conversion current_char_conversion include ensure_loaded atan xor"+list_directives_non'2dISO = Set.fromList $ words $ "consult built_in"+list_logic'2bcontrol_ISO = Set.fromList $ words $ "initialization fail repeat call catch throw true false once"+list_dyn_clause_mgmt_ISO = Set.fromList $ words $ "dynamic asserta assertz retractall retract abolish clause"+list_listing_non'2dISO = Set.fromList $ words $ "listing"+list_terms_ISO = Set.fromList $ words $ "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"+list_terms_non'2dISO = Set.fromList $ words $ "number_atom expand_term term_expansion display print format portray_clause portray term_expansion"+list_DCG_non'2dISO = Set.fromList $ words $ "phrase"+list_lists_ISO = Set.fromList $ words $ "sort keysort"+list_lists_non'2dISO = Set.fromList $ words $ "append delete length last map_list min_list maplist msort memberchk member nth permutation reverse select prefix suffix sublist sum_list"+list_streams_ISO = Set.fromList $ words $ "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"+list_streams_deprecated = Set.fromList $ words $ "append seeing seen see telling tell told get0 get skip put tab"+list_arith_eval_ISO = Set.fromList $ words $ "is"+list_arith_ops_int_ISO = Set.fromList $ words $ "rem mod div"+list_arith_expr_mixed_ISO = Set.fromList $ words $ "abs sign min max"+list_arith_expr_int_ISO = Set.fromList $ words $ "ceiling floor round truncate"+list_arith_expr_float_ISO = Set.fromList $ words $ "pi sqrt tan cos sin atan2 acos asin exp log float float_fractional_part float_integer_part"+list_prolog_state_ISO = Set.fromList $ words $ "multifile discontigous op set_prolog_flag"+list_types_ISO = Set.fromList $ words $ "var nonvar atom integer float number atomic compound callable ground"+list_list'2bis'5flist_non'2dISO = Set.fromList $ words $ "list is_list"+list_built'2dins_ISO = Set.fromList $ words $ "current_op current_prolog_flag current_input current_output set_input set_output close flush_output at_end_of_stream stream_property" -regex_'5bA'2dZ'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex "[A-Z_][A-Za-z0-9_]*"-regex_'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a = compileRegex "[a-z][A-Za-z0-9_]*"+regex_'2e = compileRegex "."+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 = compileRegex "\\.(?!(\\(|[#$&*+\\-./:<=>?@^~\\\\]))"+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 = compileRegex "(;|->|\\\\\\+|:-|=|\\\\=)(?![#$&*+\\-./:<=>?@^~\\\\])"+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 = compileRegex "(''|\\\\[0-7]+\\\\|\\\\x[a-fA-F0-9]+\\\\|\\\\.|[^'\\\\]+)$"+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 = compileRegex "(\"\"|\\\\[0-7]+\\\\|\\\\x[a-fA-F0-9]+\\\\|\\\\.|[^\"\\\\]+)$"+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 = compileRegex "(``|\\\\[0-7]+\\\\|\\\\x[a-fA-F0-9]+\\\\|\\\\.|[^`\\\\]+)$"+regex_'27'24 = compileRegex "'$"+regex_'22'24 = compileRegex "\"$"+regex_'60'24 = compileRegex "`$"+regex_'5c'5c'5b0'2d7'5d'2b'5c'5c = compileRegex "\\\\[0-7]+\\\\"+regex_'5c'5cx'5ba'2dfA'2dF0'2d9'5d'2b'5c'5c = compileRegex "\\\\x[a-fA-F0-9]+\\\\"+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 = compileRegex "(=:=|=\\\\=|=<|<|>=|>)(?![#$&*+\\-./:<=>?@^~\\\\])"+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 = compileRegex "(\\+|-|\\*|\\^)(?![#$&*+\\-./:<=>?@^~\\\\])"+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 = compileRegex "//(?![#$&*+\\-./:<=>?@^~\\\\])"+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 = compileRegex "(/|\\*\\*)(?![#$&*+\\-./:<=>?@^~\\\\])"+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 = compileRegex "(/\\\\|\\\\/|\\\\|<<|>>)(?![#$&*+\\-./:<=>?@^~\\\\])"+regex_0'27'5c'5c'3f'24 = compileRegex "0'\\\\?$"+regex_'5b0'2d9'5d'2b'5c'2e'5b0'2d9'5d'2bE'5b'2b'5c'2d'5d'3f'5b0'2d9'5d'2b = compileRegex "[0-9]+\\.[0-9]+E[+\\-]?[0-9]+"+regex_'5b0'2d9'5d'2b'5c'2e'5b0'2d9'5d'2b = compileRegex "[0-9]+\\.[0-9]+"+regex_'5b0'2d9'5d'2bE'5b'2b'5c'2d'5d'3f'5b0'2d9'5d'2b = compileRegex "[0-9]+E[+\\-]?[0-9]+"+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 = compileRegex "(\\?-|==|\\\\==|@=<|@<|@>=|@>|=\\.\\.|@|:)(?![#$&*+\\-./:<=>?@^~\\\\])"+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 = compileRegex "-->(?![#$&*+\\-./:<=>?@^~\\\\])" -parseRules ("Prolog","normal") =- (((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywordl >>= withAttribute KeywordTok))+parseRules ("Prolog","shebang") =+ (((pColumn 0 >> pDetect2Chars False '#' '!' >>= withAttribute CommentTok) >>~ pushContext ("Prolog","1-comment")) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_keywordu >>= withAttribute KeywordTok))+ ((lookAhead (pRegExpr regex_'2e) >> pushContext ("Prolog","clause") >> currentContext >>= parseRules)) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_arith >>= withAttribute KeywordTok))+ (currentContext >>= \x -> guard (x == ("Prolog","shebang")) >> pDefault >>= withAttribute ErrorTok))++parseRules ("Prolog","syntax_error") =+ (((pDetectSpaces >>= withAttribute ErrorTok) >>~ (popContext)) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_compiler >>= withAttribute KeywordTok))+ ((pDetectIdentifier >>= withAttribute ErrorTok) >>~ (popContext)) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_special >>= withAttribute KeywordTok))+ ((pRegExpr regex_'2e >>= withAttribute ErrorTok) >>~ (popContext)) <|>- ((pKeyword " \n\t.():!+,-<=>%&*/;?[]^{|}~\\" list_basetype >>= withAttribute DataTypeTok))+ (currentContext >>= \x -> guard (x == ("Prolog","syntax_error")) >> pDefault >>= withAttribute ErrorTok))++parseRules ("Prolog","clause") =+ (((parseRules ("Prolog","layout"))) <|>- ((pRegExpr regex_'5bA'2dZ'5f'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute OtherTok))+ ((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)) <|>- ((pRegExpr regex_'5ba'2dz'5d'5bA'2dZa'2dz0'2d9'5f'5d'2a >>= withAttribute NormalTok))+ ((lookAhead (pRegExpr regex_'2e) >> pushContext ("Prolog","term") >> currentContext >>= parseRules)) <|>- ((pDetectChar False '%' >>= withAttribute CommentTok) >>~ pushContext ("Prolog","comment"))+ (currentContext >>= \x -> guard (x == ("Prolog","clause")) >> pDefault >>= withAttribute ErrorTok))++parseRules ("Prolog","term") =+ (((parseRules ("Prolog","layout"))) <|>- ((pDetect2Chars False '/' '*' >>= withAttribute CommentTok) >>~ pushContext ("Prolog","comment region"))+ ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested")) <|>- ((pInt >>= withAttribute DecValTok))+ ((pDetectChar False '[' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","list")) <|>- ((pDetectChar False '"' >>= withAttribute StringTok) >>~ pushContext ("Prolog","string"))+ ((pDetectChar False '{' >>= withAttribute KeywordTok) >>~ pushContext ("Prolog","curly")) <|>- ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ pushContext ("Prolog","string2"))+ ((pDetectChar False ',' >>= withAttribute KeywordTok)) <|>- ((pAnyChar "~!^*()-+=[]|\\:;,./?&<>" >>= withAttribute NormalTok))+ ((pDetectChar False '!' >>= withAttribute KeywordTok)) <|>- (currentContext >>= \x -> guard (x == ("Prolog","normal")) >> pDefault >>= withAttribute NormalTok))+ ((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","comment") =- (currentContext >>= \x -> guard (x == ("Prolog","comment")) >> pDefault >>= withAttribute CommentTok)+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","string") =- (((pHlCStringChar >>= withAttribute StringTok))+parseRules ("Prolog","list") =+ (((parseRules ("Prolog","layout"))) <|>- ((pDetectChar False '"' >>= withAttribute StringTok) >>~ (popContext))+ ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested")) <|>- (currentContext >>= \x -> guard (x == ("Prolog","string")) >> pDefault >>= withAttribute StringTok))+ ((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))+ <|>+ ((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","list")) >> pDefault >>= withAttribute ErrorTok)) -parseRules ("Prolog","string2") =- (((pHlCChar >>= withAttribute StringTok))+parseRules ("Prolog","curly") =+ (((parseRules ("Prolog","layout"))) <|>- ((pDetectChar False '\'' >>= withAttribute StringTok) >>~ (popContext))+ ((pDetectChar False '(' >>= withAttribute NormalTok) >>~ pushContext ("Prolog","nested")) <|>- (currentContext >>= \x -> guard (x == ("Prolog","string2")) >> pDefault >>= withAttribute StringTok))+ ((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))+ <|>+ ((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","curly")) >> pDefault >>= withAttribute ErrorTok)) -parseRules ("Prolog","comment region") =+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_'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))+ <|>+ ((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)) <|>- (currentContext >>= \x -> guard (x == ("Prolog","comment region")) >> pDefault >>= withAttribute CommentTok))+ ((pDetectSpaces >>= withAttribute CommentTok))+ <|>+ ((Text.Highlighting.Kate.Syntax.Alert_indent.parseExpression >>= ((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 >>= ((withAttribute CommentTok) . snd)))+ <|>+ ((pDetectIdentifier >>= withAttribute CommentTok))+ <|>+ (currentContext >>= \x -> guard (x == ("Prolog","1-comment")) >> pDefault >>= withAttribute CommentTok)) -parseRules x = parseRules ("Prolog","normal") <|> fail ("Unknown context" ++ show x)+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++parseRules x = parseRules ("Prolog","shebang") <|> fail ("Unknown context" ++ show x)
Text/Highlighting/Kate/Syntax/Python.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file python.xml, version 2.11, by Michael Bueker -}+ highlighting file python.xml, version 2.13, by Michael Bueker -} module Text.Highlighting.Kate.Syntax.Python (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -84,8 +84,10 @@ regex_'5ba'2dzA'2dZ'5f'5d'5ba'2dzA'2dZ'5f0'2d9'5d'2b = compileRegex "[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 " ((([0-9]*\\.[0-9]+|[0-9]+\\.)|([0-9]+|([0-9]*\\.[0-9]+|[0-9]+\\.))[eE](\\+|-)?[0-9]+)|[0-9]+)[jJ]"-regex_u'3f'27'27'27 = compileRegex "u?'''"-regex_u'3f'22'22'22 = compileRegex "u?\"\"\""+regex_u'3fr'3f'27'27'27 = compileRegex "u?r?'''"+regex_u'3fr'3f'22'22'22 = compileRegex "u?r?\"\"\""+regex_u'3fr'3f'27 = compileRegex "u?r?'"+regex_u'3fr'3f'22 = compileRegex "u?r?\"" regex_'40'5b'5fa'2dzA'2dZ'5d'5b'5c'2e'5fa'2dzA'2dZ0'2d9'5d'2a = compileRegex "@[_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 "%((\\([a-zA-Z0-9_]+\\))?[#0\\- +]?([1-9][0-9]*|\\*)?(\\.([1-9][0-9]*|\\*))?[hlL]?[crsdiouxXeEfFgG%]|prog|default)" @@ -124,6 +126,14 @@ <|> (withChildren (pInt >>= withAttribute DecValTok) ((pString False "L" >>= withAttribute DecValTok))) <|>+ ((pFirstNonSpace >> pRegExpr regex_u'3fr'3f'27'27'27 >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple A-comment"))+ <|>+ ((pFirstNonSpace >> pRegExpr regex_u'3fr'3f'22'22'22 >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple Q-comment"))+ <|>+ ((pFirstNonSpace >> pRegExpr regex_u'3fr'3f'27 >>= withAttribute CommentTok) >>~ pushContext ("Python","Single A-comment"))+ <|>+ ((pFirstNonSpace >> pRegExpr regex_u'3fr'3f'22 >>= withAttribute CommentTok) >>~ pushContext ("Python","Single Q-comment"))+ <|> ((pString False "r'''" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Tripple A-string")) <|> ((pString False "r\"\"\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Tripple Q-string"))@@ -133,10 +143,6 @@ ((pString False "r\"" >>= withAttribute StringTok) >>~ pushContext ("Python","Raw Q-string")) <|> ((pDetectChar False '#' >>= withAttribute CommentTok) >>~ pushContext ("Python","Hash comment"))- <|>- ((pFirstNonSpace >> pRegExpr regex_u'3f'27'27'27 >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple A-comment"))- <|>- ((pFirstNonSpace >> pRegExpr regex_u'3f'22'22'22 >>= withAttribute CommentTok) >>~ pushContext ("Python","Tripple Q-comment")) <|> ((pString False "'''" >>= withAttribute StringTok) >>~ pushContext ("Python","Tripple A-string")) <|>
Text/Highlighting/Kate/Syntax/Scheme.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file scheme.xml, version 1.12, by Dominik Haumann (dhdev@gmx.de) -}+ highlighting file scheme.xml, version 1.13, by Dominik Haumann (dhdev@gmx.de) -} module Text.Highlighting.Kate.Syntax.Scheme (highlight, parseExpression, syntaxName, syntaxExtensions)
Text/Highlighting/Kate/Syntax/Sql.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file sql.xml, version 1.14, by Yury Lebedev (yurylebedev@mail.ru) -}+ highlighting file sql.xml, version 1.16, by Yury Lebedev (yurylebedev@mail.ru) -} module Text.Highlighting.Kate.Syntax.Sql (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -17,7 +17,7 @@ -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.sql;*.SQL"+syntaxExtensions = "*.sql;*.SQL;*.ddl;*.DDL" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -60,7 +60,7 @@ , synStPrevNonspace = synStPrevNonspace st || not (all isSpace txt) } return (attr, txt) -list_keywords = Set.fromList $ words $ "access account add admin administer advise after agent all all_rows allocate 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 bound both 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 method member merge minimize minimum minextents 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 session_cached_cursors sessions_per_user 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 statistics static stop storage store structure submultiset subpartition subpartitions successful summary supplemental suspend switch sys_op_bitvec sys_op_enforce_not_null$ sys_op_noexpand sys_op_ntcimg$ synonym sysdba sysoper system 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 upd_indexes updatable update uppper usage use use_stored_outlines user_defined using validate validation values view when whenever where with without work write"+list_keywords = Set.fromList $ words $ "access account add admin administer advise after agent all all_rows allocate 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 bound both 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 method member merge minimize minimum minextents 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 session_cached_cursors sessions_per_user 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 statistics static stop storage store structure submultiset subpartition subpartitions successful summary supplemental suspend switch sys_op_bitvec sys_op_enforce_not_null$ sys_op_noexpand sys_op_ntcimg$ synonym sysdba sysoper system 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 upd_indexes updatable update uppper usage use use_stored_outlines user_defined 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 record real rowid second single smallint time timestamp urifactorytype uritype urowid varchar varchar2 varying varray xmltype year zone"
Text/Highlighting/Kate/Syntax/SqlMysql.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file sql-mysql.xml, version 1.13, by Shane Wright (me@shanewright.co.uk) -}+ highlighting file sql-mysql.xml, version 1.15, by Shane Wright (me@shanewright.co.uk) -} module Text.Highlighting.Kate.Syntax.SqlMysql (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -17,7 +17,7 @@ -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.sql;*.SQL"+syntaxExtensions = "*.sql;*.SQL;*.ddl;*.DDL" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -60,7 +60,7 @@ , 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 natural national 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 with write xor year_month zerofill"+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 natural national 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 ord conv bin oct hex char concat concat_ws length octet_length char_length character_length bit_length locate position instr lpad rpad left right substring substring_index mid ltrim rtrim trim soundex space replace repeat reverse insert elt field find_in_set make_set export_set lcase lower ucase upper load_file quote abs sign mod floor ceiling round exp ln log log2 log10 pow power sqrt pi cos sin tan acos asin atan atan2 cot rand least greatest degrees radians dayofweek weekday dayofmonth dayofyear month dayname monthname quarter week year yearweek hour minute second period_add period_diff date_add date_sub adddate subdate extract to_days from_days date_format time_format curdate current_date curtime current_time now sysdate current_timestamp unix_timestamp from_unixtime sec_to_time time_to_sec cast convert bit_count database user system_user session_user password encrypt encode decode md5 sha1 sha aes_encrypt aes_decrypt des_encrypt des_decrypt last_insert_id format version connection_id get_lock release_lock is_free_lock benchmark inet_ntoa inet_aton master_pos_wait found_rows count avg min max sum std stddev bit_or bit_and" list_types = Set.fromList $ words $ "char character varchar binary varbinary tinyblob mediumblob blob longblob tinytext mediumtext text longtext enum bit bool boolean tinyint smallint mediumint middleint int integer bigint float double real decimal dec fixed numeric long serial date datetime time timestamp year"
Text/Highlighting/Kate/Syntax/SqlPostgresql.hs view
@@ -1,5 +1,5 @@ {- This module was generated from data in the Kate syntax- highlighting file sql-postgresql.xml, version 1.10, by Shane Wright (me@shanewright.co.uk) -}+ highlighting file sql-postgresql.xml, version 1.12, by Shane Wright (me@shanewright.co.uk) -} module Text.Highlighting.Kate.Syntax.SqlPostgresql (highlight, parseExpression, syntaxName, syntaxExtensions)@@ -17,7 +17,7 @@ -- | Filename extensions for this language. syntaxExtensions :: String-syntaxExtensions = "*.sql;*.SQL"+syntaxExtensions = "*.sql;*.SQL;*.ddl;*.DDL" -- | Highlight source code using this syntax definition. highlight :: String -> [SourceLine]@@ -62,7 +62,7 @@ , 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 char_length character_length character_set_catalog character_set_name character_set_schema characteristics 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 constraint constraint_catalog constraint_name constraint_schema constraints 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 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 parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parameters 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 row_count rows 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 specific_name specifictype 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 transaction_active transactions_committed transactions_rolled_back transform transforms translate translation treat trigger trigger_catalog trigger_name trigger_schema trim 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 with without work write year zone false true"+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 char_length character_length character_set_catalog character_set_name character_set_schema characteristics 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 constraint constraint_catalog constraint_name constraint_schema constraints 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 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 parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parameters 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 row_count rows 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 specific_name specifictype 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 transaction_active transactions_committed transactions_rolled_back transform transforms translate translation treat trigger trigger_catalog trigger_name trigger_schema trim 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 false true" 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 $ "lztext bigint int2 int8 bigserial serial8 bit bit varying varbit boolean bool box bytea character char character varying varchar cidr circle date double precision float8 inet integer int int4 interval line lseg macaddr money numeric decimal oid path point polygon real smallint serial text time timetz timestamp timestamptz timestamp with timezone"
changelog view
@@ -1,3 +1,13 @@+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 `.
highlighting-kate.cabal view
@@ -1,5 +1,5 @@ Name: highlighting-kate-Version: 0.5.3.5+Version: 0.5.3.6 Cabal-Version: >= 1.10 Build-Type: Simple Category: Text@@ -47,6 +47,7 @@ xml/cpp.xml xml/cs.xml xml/css.xml+ xml/curry.xml xml/d.xml xml/diff.xml xml/djangotemplate.xml@@ -70,9 +71,11 @@ xml/javascript.xml.bkp xml/json.xml xml/jsp.xml+ xml/julia.xml xml/language.dtd xml/latex.xml xml/lex.xml+ xml/literate-curry.xml xml/literate-haskell.xml xml/lua.xml xml/makefile.xml@@ -174,6 +177,7 @@ 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@@ -196,8 +200,10 @@ Text.Highlighting.Kate.Syntax.Javascript Text.Highlighting.Kate.Syntax.Json Text.Highlighting.Kate.Syntax.Jsp+ Text.Highlighting.Kate.Syntax.Julia Text.Highlighting.Kate.Syntax.Latex Text.Highlighting.Kate.Syntax.Lex+ Text.Highlighting.Kate.Syntax.LiterateCurry Text.Highlighting.Kate.Syntax.LiterateHaskell Text.Highlighting.Kate.Syntax.Lua Text.Highlighting.Kate.Syntax.Makefile
xml/alert.xml view
@@ -25,37 +25,53 @@ This file is included in every file that highlights the "alerts" keywords. That's why extensions and mimetype are empty.++ Changes by Alex Turbov:+ Introduce 3 alert levels and sort keywords according importance.+ Few more keywords has been added. --> <language version="1.08" kateversion="2.3" name="Alerts" section="Other" extensions="" mimetype="" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" hidden="true"> <highlighting>- <list name="alerts">- <item> ### </item>+ <list name="alerts_hi"> <item> ALERT </item>- <item> BUG </item>+ <item> ATTENTION </item> <item> DANGER </item>- <item> DEPRECATED </item>- <item> FIXME </item> <item> HACK </item>- <item> NOTE </item>- <item> NOTICE </item> <item> SECURITY </item>+ </list>+ <list name="alerts_mid">+ <item> BUG </item>+ <item> FIXME </item>+ <item> DEPRECATED </item> <item> TASK </item>- <item> TEST </item>- <item> TESTING </item> <item> TODO </item>+ <item> TBD </item> <item> WARNING </item>+ <item> NOLINT </item> </list>+ <list name="alerts_lo">+ <item> ### </item>+ <item> NOTE </item>+ <item> NOTICE </item>+ <item> TEST </item>+ <item> TESTING </item>+ </list> <contexts> <context attribute="Normal Text" lineEndContext="#pop" name="Normal Text" >- <keyword attribute="Alert" context="#stay" String="alerts" />+ <keyword attribute="Alert Level 1" context="#stay" String="alerts_hi" />+ <keyword attribute="Alert Level 2" context="#stay" String="alerts_mid" />+ <keyword attribute="Alert Level 3" context="#stay" String="alerts_lo" /> </context> </contexts> <itemDatas>- <itemData name="Normal Text" defStyleNum="dsNormal"/>- <itemData name="Alert" defStyleNum="dsAlert"/>+ <itemData name="Normal Text" defStyleNum="dsNormal"/>+ <itemData name="Alert Level 1" defStyleNum="dsAlert" color="#e85848" selColor="#e85848" backgroundColor="#451e1a" />+ <itemData name="Alert Level 2" defStyleNum="dsAlert" color="#ca9219" selColor="#ca9219" backgroundColor="#451e1a" />+ <itemData name="Alert Level 3" defStyleNum="dsAlert" color="#81ca2d" selColor="#81ca2d" /> </itemDatas> </highlighting> <general> <keywords casesensitive="1"/> </general> </language>+<!-- kate: indent-width 2; -->
xml/asn1.xml view
@@ -13,7 +13,7 @@ You'll find the "Writing a Kate Highlighting XML File HOWTO" at http://kate.kde.org/doc/hlhowto.php -->-<language name="ASN.1" section="Markup" version="1.00" kateversion="2.3" extensions="*.asn*.asn1" mimetype="" author="Philippe Rigault" license="GPL">+<language name="ASN.1" section="Markup" version="1.01" kateversion="2.3" extensions="*.asn;*.asn1" mimetype="" author="Philippe Rigault" license="GPL"> <highlighting> <list name="keywords"> <item> DEFINITIONS </item>
xml/bash.xml view
@@ -8,11 +8,12 @@ <!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following --> <!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name --> ]>-<language name="Bash" version="2.14" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">+<language name="Bash" version="2.16" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL"> <!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl) Changes by Matthew Woehlke (mw_triad@users.sourceforge.net) Changes by Sebastian Pipping (webmaster@hartwork.org)+ Changes by Luiz Angelo Daros de Luca (luizluca@gmail.com) Released under the LGPL, part of kdelibs/kate --> <highlighting>@@ -502,6 +503,10 @@ <!-- FindCommands matches many items that can be expected outside strings, substitutions etc. --> <context attribute="Normal Text" lineEndContext="#stay" name="FindCommands">+ <IncludeRules context="FindSpecialCommands" />+ <IncludeRules context="FindNormalCommands" />+ </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="FindSpecialCommands"> <!-- start expression in double parentheses --> <Detect2Chars attribute="Keyword" context="ExprDblParen" char="(" char1="(" beginRegion="expression" /> <!-- start expression in double brackets -->@@ -521,20 +526,17 @@ <RegExpr attribute="Keyword" context="#stay" String="\bfi&noword;" endRegion="if" /> <!-- handle case as a special case --> <RegExpr attribute="Keyword" context="Case" String="\bcase&noword;" beginRegion="case" />- <!-- handle command line options -->- <RegExpr attribute="Option" context="#stay" String="-[A-Za-z0-9][A-Za-z0-9_]*" />- <RegExpr attribute="Option" context="#stay" String="--[a-z][A-Za-z0-9_-]*" /> <!-- handle variable assignments --> <RegExpr attribute="Variable" context="Assign" String="\b&varname;\+?=" /> <RegExpr attribute="Variable" context="AssignSubscr" String="\b&varname;(?=\[.+\]\+?=)" /> <!-- handle functions with function keyword before keywords --> <StringDetect attribute="Function" context="#stay" String=":()" /> <RegExpr attribute="Keyword" context="FunctionDef" String="\bfunction\b" />+ <!-- mark function definitions without function keyword -->+ <RegExpr attribute="Function" context="#stay" String="&funcname;\s*\(\)" /> <!-- handle keywords --> <keyword attribute="Keyword" context="#stay" String="keywords" /> <RegExpr attribute="Builtin" context="#stay" String="\.(?=\s)" />- <keyword attribute="Builtin" context="#stay" String="builtins" />- <keyword attribute="Command" context="#stay" String="unixcommands" /> <!-- handle commands that have variable names as argument --> <keyword attribute="Builtin" context="VarName" String="builtins_var" /> <!-- handle here-string -->@@ -547,10 +549,60 @@ <RegExpr attribute="Redirection" context="#stay" String="([0-9]*(>{1,2}|<)(&[0-9]+-?)?|&>|>&|[0-9]*<>)" /> <!-- handle &, &&, | and || --> <RegExpr attribute="Control" context="#stay" String="([|&])\1?" />- <!-- mark function definitions without function keyword -->- <RegExpr attribute="Function" context="#stay" String="&funcname;\s*\(\)" />+ </context> + <context attribute="Normal Text" lineEndContext="#stay" name="FindNormalCommands">+ <keyword attribute="Builtin" context="CommandArgs" String="builtins" />+ <keyword attribute="Command" context="CommandArgs" String="unixcommands" />+ <RegExpr attribute="OtherCommand" context="#stay" String="&pathpart;*(?=/)" />+ <RegExpr attribute="OtherCommand" context="#stay" String="~\w*" />+ <RegExpr attribute="OtherCommand" context="#stay" String="/&pathpart;*(?=([/);$`'"]|$))" />+ <RegExpr attribute="OtherCommand" context="CommandArgs" String="/&pathpart;*(?=([\s);$`'"]|$))" />+ <!-- This list is not complete. ie, ":" is missing but as it is in bash completition. -->+ <RegExpr attribute="OtherCommand" context="CommandArgs" String="&pathpart;*" /> </context>-+ + <!-- CommandArgs matches the items after a command -->+ <context attribute="Normal Text" lineEndContext="#pop" name="CommandArgs"> + <LineContinue />+ <IncludeRules context="FindMost" />+ <RegExpr attribute="Keyword" context="#stay" String="\\$" />+ <!-- handle keywords -->+ <RegExpr attribute="Option" context="#stay" String="\.(?=\s)" />+ <!-- handle here-string -->+ <RegExpr attribute="Redirection" context="#stay" String="\d*<<<" />+ <!-- handle here document -->+ <StringDetect attribute="Redirection" context="HereDoc" String="<<" lookAhead="true" />+ <!-- handle process subst -->+ <RegExpr attribute="Redirection" context="ProcessSubst" String="[<>]\(" />+ <!-- handle redirection -->+ <RegExpr attribute="Redirection" context="#stay" String="([0-9]*(>{1,2}|<)(&[0-9]+-?)?|&>|>&|[0-9]*<>)" />+ <!-- handle &, &&, | and || -->+ <RegExpr attribute="Control" context="#pop" String="([|&;])\1?" /> + <RegExpr attribute="Option" context="#stay" String="-?-[a-z][A-Za-z0-9_-]*" />+ <keyword attribute="Option" context="#stay" String="keywords" />+ <AnyChar String=")}" context="#pop" lookAhead="true"/>+ </context>+ + <!-- FindCommands matches many items that can be expected outside strings, substitutions etc, when inside a Backquote -->+ <context attribute="Normal Text" lineEndContext="#stay" name="FindCommandsBackq">+ <IncludeRules context="FindSpecialCommands" />+ <IncludeRules context="FindNormalCommandsBackq" />+ </context>+ <context attribute="Normal Text" lineEndContext="#stay" name="FindNormalCommandsBackq">+ <keyword attribute="Builtin" context="CommandArgsBackq" String="builtins" />+ <keyword attribute="Command" context="CommandArgsBackq" String="unixcommands" />+ <RegExpr attribute="OtherCommand" context="#stay" String="&pathpart;*(?=/)" />+ <RegExpr attribute="OtherCommand" context="#stay" String="~\w*" />+ <RegExpr attribute="OtherCommand" context="#stay" String="/&pathpart;*(?=([/);$`'"]|$))" />+ <RegExpr attribute="OtherCommand" context="CommandArgsBackq" String="/&pathpart;*(?=([\s);$`'"]|$))" />+ <RegExpr attribute="OtherCommand" context="CommandArgsBackq" String="&pathpart;*" />+ </context>+ <context attribute="Normal Text" lineEndContext="#pop" name="CommandArgsBackq"> + <LineContinue />+ <DetectChar attribute="Keyword" context="#pop" char="`" lookAhead="true"/>+ <IncludeRules context="CommandArgs" />+ </context>+ <!-- FindOthers contains various rules to mark different shell input --> <context attribute="Normal Text" lineEndContext="#stay" name="FindOthers"> <RegExpr attribute="Escape" context="#stay" String="\\[][;\\$`{}()|&<>* ]" />@@ -801,7 +853,7 @@ <context attribute="Normal Text" lineEndContext="#stay" name="SubstBackq"> <DetectChar attribute="Backquote" context="#pop" char="`" /> <IncludeRules context="FindCommentsBackq" />- <IncludeRules context="FindCommands" />+ <IncludeRules context="FindCommandsBackq" /> <IncludeRules context="FindStrings" /> <IncludeRules context="FindSubstitutions" /> <IncludeRules context="FindOthers" />@@ -873,23 +925,24 @@ <itemDatas> <itemData name="Normal Text" defStyleNum="dsNormal" /> <itemData name="Comment" defStyleNum="dsComment" />- <itemData name="Keyword" defStyleNum="dsKeyword" />- <itemData name="Control" defStyleNum="dsKeyword" />- <itemData name="Builtin" defStyleNum="dsKeyword" color="#808" />- <itemData name="Command" defStyleNum="dsKeyword" color="#c0c" />- <itemData name="Redirection" defStyleNum="dsKeyword" color="#238" />- <itemData name="Escape" defStyleNum="dsDataType" />- <itemData name="String SingleQ" defStyleNum="dsString" />- <itemData name="String DoubleQ" defStyleNum="dsString" />- <itemData name="Backquote" defStyleNum="dsKeyword" />- <itemData name="String Transl." defStyleNum="dsString" />- <itemData name="String Escape" defStyleNum="dsDataType" />+ <itemData name="Keyword" defStyleNum="dsKeyword" />+ <itemData name="Control" defStyleNum="dsKeyword" />+ <itemData name="Builtin" defStyleNum="dsKeyword" color="#808" />+ <itemData name="Command" defStyleNum="dsKeyword" color="#c0c" />+ <itemData name="OtherCommand" defStyleNum="dsKeyword" color="#303" />+ <itemData name="Redirection" defStyleNum="dsKeyword" color="#238" />+ <itemData name="Escape" defStyleNum="dsDataType" />+ <itemData name="String SingleQ" defStyleNum="dsString" />+ <itemData name="String DoubleQ" defStyleNum="dsString" />+ <itemData name="Backquote" defStyleNum="dsKeyword" />+ <itemData name="String Transl." defStyleNum="dsString" />+ <itemData name="String Escape" defStyleNum="dsDataType" /> <itemData name="Variable" defStyleNum="dsOthers" />- <itemData name="Expression" defStyleNum="dsOthers" />+ <itemData name="Expression" defStyleNum="dsOthers" /> <itemData name="Function" defStyleNum="dsFunction" />- <itemData name="Path" defStyleNum="dsNormal" />- <itemData name="Option" defStyleNum="dsNormal" />- <itemData name="Error" defStyleNum="dsError" />+ <itemData name="Path" defStyleNum="dsNormal" />+ <itemData name="Option" defStyleNum="dsNormal" />+ <itemData name="Error" defStyleNum="dsError" /> </itemDatas> </highlighting> <general>
xml/cmake.xml view
@@ -24,8 +24,8 @@ * Boston, MA 02110-1301, USA. * ********************************************************************** -->-<!-- generated for "cmake version 2.8.1" -->-<language name="CMake" version="1.13" kateversion="2.4" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL">+<!-- generated for "cmake version 2.8.10.2" -->+<language name="CMake" version="1.14" kateversion="2.4" section="Other" extensions="CMakeLists.txt;*.cmake;" mimetype="" author="Alexander Neundorf (neundorf@kde.org)" license="LGPL"> <highlighting> <list name = "commands">@@ -144,6 +144,7 @@ <item> ALPHABET </item> <item> AND </item> <item> APPEND </item>+ <item> APPEND_STRING </item> <item> ARCHIVE </item> <item> ARGS </item> <item> ASCII </item>@@ -166,12 +167,14 @@ <item> COMPILE_RESULT_VAR </item> <item> COMPONENT </item> <item> COMPONENTS </item>+ <item> CONFIG </item> <item> CONFIGS </item> <item> CONFIGURATION </item> <item> CONFIGURATIONS </item> <item> CONFIGURE </item> <item> COPYONLY </item> <item> COPY_FILE </item>+ <item> CRLF </item> <item> DEFINED </item> <item> DEFINITION </item> <item> DEPENDS </item>@@ -179,6 +182,7 @@ <item> DIRECTORY </item> <item> DIRECTORY_PERMISSIONS </item> <item> DOC </item>+ <item> DOS </item> <item> DOWNLOAD </item> <item> ENV </item> <item> EQUAL </item>@@ -191,6 +195,8 @@ <item> EXCLUDE </item> <item> EXCLUDE_FROM_ALL </item> <item> EXISTS </item>+ <item> EXPECTED_HASH </item>+ <item> EXPECTED_MD5 </item> <item> EXPORT </item> <item> EXPR </item> <item> EXT </item>@@ -202,21 +208,25 @@ <item> FILE_PERMISSIONS </item> <item> FIND </item> <item> FOLLOW_SYMLINKS </item>+ <item> FOO </item> <item> FORCE </item> <item> FRAMEWORK </item> <item> FULL_DOCS </item> <item> FUNCTION </item> <item> GET </item> <item> GLOB </item>+ <item> GLOBAL </item> <item> GLOB_RECURSE </item> <item> GREATER </item> <item> GROUP_EXECUTE </item> <item> GROUP_READ </item>+ <item> GUID </item> <item> HEX </item> <item> HINTS </item> <item> IMPLICIT_DEPENDS </item> <item> IMPORTED </item> <item> IN </item>+ <item> INACTIVITY_TIMEOUT </item> <item> INCLUDE_INTERNALS </item> <item> INHERITED </item> <item> INPUT_FILE </item>@@ -230,6 +240,7 @@ <item> LENGTH_MAXIMUM </item> <item> LENGTH_MINIMUM </item> <item> LESS </item>+ <item> LF </item> <item> LIBRARY </item> <item> LIMIT </item> <item> LIMIT_COUNT </item>@@ -253,6 +264,7 @@ <item> NAME_WE </item> <item> NEW </item> <item> NEWLINE_CONSUME </item>+ <item> NEWLINE_STYLE </item> <item> NOT </item> <item> NOTEQUAL </item> <item> NO_CMAKE_BUILDS_PATH </item>@@ -260,6 +272,7 @@ <item> NO_CMAKE_FIND_ROOT_PATH </item> <item> NO_CMAKE_PACKAGE_REGISTRY </item> <item> NO_CMAKE_PATH </item>+ <item> NO_CMAKE_SYSTEM_PACKAGE_REGISTRY </item> <item> NO_CMAKE_SYSTEM_PATH </item> <item> NO_DEFAULT_PATH </item> <item> NO_HEX_CONVERSION </item>@@ -267,10 +280,12 @@ <item> NO_POLICY_SCOPE </item> <item> NO_SOURCE_PERMISSIONS </item> <item> NO_SYSTEM_ENVIRONMENT_PATH </item>+ <item> OBJECT </item> <item> OFFSET </item> <item> OLD </item> <item> ONLY_CMAKE_FIND_ROOT_PATH </item> <item> OPTIONAL </item>+ <item> OPTIONAL_COMPONENTS </item> <item> OR </item> <item> OUTPUT </item> <item> OUTPUT_DIRECTORY </item>@@ -289,6 +304,7 @@ <item> PATH_TO_MESA </item> <item> PATTERN </item> <item> PERMISSIONS </item>+ <item> PLATFORM </item> <item> POLICY </item> <item> POP </item> <item> POST_BUILD </item>@@ -337,7 +353,12 @@ <item> SCRIPT </item> <item> SEND_ERROR </item> <item> SET </item>+ <item> SHA1 </item>+ <item> SHA224 </item>+ <item> SHA256 </item>+ <item> SHA384 </item> <item> SHARED </item>+ <item> SHOW_PROGRESS </item> <item> SORT </item> <item> SOURCE </item> <item> SOURCES </item>@@ -355,10 +376,15 @@ <item> TEST </item> <item> TEST_VARIABLE </item> <item> TIMEOUT </item>+ <item> TLS_CAINFO </item>+ <item> TLS_VERIFY </item> <item> TOLOWER </item> <item> TOUPPER </item> <item> TO_CMAKE_PATH </item> <item> TO_NATIVE_PATH </item>+ <item> TYPE </item>+ <item> UNIX </item>+ <item> UPLOAD </item> <item> USE_SOURCE_PERMISSIONS </item> <item> VALUE </item> <item> VAR </item>@@ -391,7 +417,11 @@ <item> ARCHIVE_OUTPUT_NAME </item> <item> ATTACHED_FILES </item> <item> ATTACHED_FILES_ON_FAIL </item>+ <item> AUTOMOC </item>+ <item> AUTOMOC_MOC_OPTIONS </item> <item> BUILD_WITH_INSTALL_RPATH </item>+ <item> BUNDLE </item>+ <item> BUNDLE_EXTENSION </item> <item> CACHE_VARIABLES </item> <item> CLEAN_NO_CUSTOM </item> <item> COMPILE_DEFINITIONS </item>@@ -413,12 +443,15 @@ <item> FAIL_REGULAR_EXPRESSION </item> <item> FIND_LIBRARY_USE_LIB64_PATHS </item> <item> FIND_LIBRARY_USE_OPENBSD_VERSIONING </item>+ <item> FOLDER </item> <item> FRAMEWORK </item>+ <item> Fortran_FORMAT </item> <item> Fortran_MODULE_DIRECTORY </item> <item> GENERATED </item> <item> GENERATOR_FILE_NAME </item> <item> GLOBAL_DEPENDS_DEBUG_MODE </item> <item> GLOBAL_DEPENDS_NO_CYCLES </item>+ <item> GNUtoMS </item> <item> HAS_CXX </item> <item> HEADER_FILE_ONLY </item> <item> HELPSTRING </item>@@ -431,6 +464,7 @@ <item> IMPORTED_LINK_INTERFACE_LIBRARIES </item> <item> IMPORTED_LINK_INTERFACE_MULTIPLICITY </item> <item> IMPORTED_LOCATION </item>+ <item> IMPORTED_NO_SONAME </item> <item> IMPORTED_SONAME </item> <item> IMPORT_PREFIX </item> <item> IMPORT_SUFFIX </item>@@ -447,11 +481,13 @@ <item> LIBRARY_OUTPUT_DIRECTORY </item> <item> LIBRARY_OUTPUT_NAME </item> <item> LINKER_LANGUAGE </item>+ <item> LINK_DEPENDS </item> <item> LINK_DIRECTORIES </item> <item> LINK_FLAGS </item> <item> LINK_INTERFACE_LIBRARIES </item> <item> LINK_INTERFACE_MULTIPLICITY </item> <item> LINK_SEARCH_END_STATIC </item>+ <item> LINK_SEARCH_START_STATIC </item> <item> LISTFILE_STACK </item> <item> LOCATION </item> <item> MACOSX_BUNDLE </item>@@ -461,6 +497,7 @@ <item> MACROS </item> <item> MEASUREMENT </item> <item> MODIFIED </item>+ <item> NO_SONAME </item> <item> OBJECT_DEPENDS </item> <item> OBJECT_OUTPUTS </item> <item> OSX_ARCHITECTURES </item>@@ -469,7 +506,11 @@ <item> PACKAGES_NOT_FOUND </item> <item> PARENT_DIRECTORY </item> <item> PASS_REGULAR_EXPRESSION </item>+ <item> PDB_NAME </item>+ <item> PDB_OUTPUT_DIRECTORY </item>+ <item> POSITION_INDEPENDENT_CODE </item> <item> POST_INSTALL_SCRIPT </item>+ <item> PREDEFINED_TARGETS_FOLDER </item> <item> PREFIX </item> <item> PRE_INSTALL_SCRIPT </item> <item> PRIVATE_HEADER </item>@@ -479,6 +520,7 @@ <item> REPORT_UNDEFINED_PROPERTIES </item> <item> REQUIRED_FILES </item> <item> RESOURCE </item>+ <item> RESOURCE_LOCK </item> <item> RULE_LAUNCH_COMPILE </item> <item> RULE_LAUNCH_CUSTOM </item> <item> RULE_LAUNCH_LINK </item>@@ -498,15 +540,23 @@ <item> TEST_INCLUDE_FILE </item> <item> TIMEOUT </item> <item> TYPE </item>+ <item> USE_FOLDERS </item> <item> VALUE </item> <item> VARIABLES </item> <item> VERSION </item>+ <item> VS_DOTNET_REFERENCES </item>+ <item> VS_GLOBAL_KEYWORD </item>+ <item> VS_GLOBAL_PROJECT_TYPES </item> <item> VS_KEYWORD </item>+ <item> VS_SCC_AUXPATH </item> <item> VS_SCC_LOCALPATH </item> <item> VS_SCC_PROJECTNAME </item> <item> VS_SCC_PROVIDER </item>+ <item> VS_WINRT_EXTENSIONS </item>+ <item> VS_WINRT_REFERENCES </item> <item> WILL_FAIL </item> <item> WIN32_EXECUTABLE </item>+ <item> WORKING_DIRECTORY </item> <item> WRAP_EXCLUDE </item> <item> __CMAKE_DELETE_CACHE_CHANGE_VARS_ </item> </list>
xml/cpp.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <language name="C++" section="Sources"- version="1.49" kateversion="2.4"+ version="1.50" kateversion="2.4" indenter="cstyle" mimetype="text/x-c++src;text/x-c++hdr;text/x-chdr" extensions="*.c++;*.cxx;*.cpp;*.cc;*.C;*.h;*.hh;*.H;*.h++;*.hxx;*.hpp;*.hcc;*.moc"@@ -104,6 +104,7 @@ <item> Q_DECLARE_SHARED </item> <item> Q_DECLARE_TYPEINFO </item> <item> Q_DISABLE_COPY </item>+ <item> Q_EMIT </item> <item> Q_ENUMS </item> <item> Q_EXPORT </item> <item> Q_FLAGS </item>
xml/css.xml view
@@ -3,702 +3,823 @@ <!-- - Kate CSS syntax highlighting definition--- Changelog:-- - Version 2.03, by Milian Wolff:- - Make it spelling aware-- - Version 2.02, by Rafał Miłecki:- - Added CSS 3 properties "border-*-image" and "border-*-radius".- - Added CSS values "clip", "ellipsis" and "ellipsis-word".- - Added CSS 3 properties "overflow-x", "overflow-y", "text-overflow", "box-shadow" and "outline-offset".- - Added CSS 3 color values: "rgba", "hsl" and "hsla".- - Added Gecko CSS properties: "-moz-border-*-colors".- - Added background size properties: "background-size" and prefixes: "-o-", "-webkit-" and "-khtml-".-- - Version 2.01, by Mathieu Bonnet:- - Added CSS 3 property "border-radius".- - Added Gecko CSS properties "-moz-border-radius" and "-moz-box-flex".- - Added Gecko CSS value "-moz-box".- - Added Trident CSS functional notation "expression".- - Extended the id and class syntax specifications, as per CSS 2.1 grammar.---->--<language name="CSS" version="2.05" kateversion="2.4" section="Markup" extensions="*.css" indenter="cstyle"- mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">-- <highlighting>- <list name="properties">- <!-- CSS2 -->- <item> azimuth </item>- <item> background </item>- <item> background-attachment </item>- <item> background-color </item>- <item> background-image </item>- <item> background-position </item>- <item> background-repeat </item>- <item> border </item>- <item> border-bottom </item>- <item> border-bottom-color </item>- <item> border-bottom-style </item>- <item> border-bottom-width </item>- <item> border-collapse </item>- <item> border-color </item>- <item> border-left </item>- <item> border-left-color </item>- <item> border-left-style </item>- <item> border-left-width </item>- <item> border-right </item>- <item> border-right-color </item>- <item> border-right-style </item>- <item> border-right-width </item>- <item> border-spacing </item>- <item> border-style </item>- <item> border-top </item>- <item> border-top-color </item>- <item> border-top-style </item>- <item> border-top-width </item>- <item> border-width </item>- <item> bottom </item>- <item> caption-side </item>- <item> clear </item>- <item> clip </item>- <item> color </item>- <item> content </item>- <item> counter-increment </item>- <item> counter-reset </item>- <item> cue </item>- <item> cue-after </item>- <item> cue-before </item>- <item> cursor </item>- <item> direction </item>- <item> display </item>- <item> elevation </item>- <item> empty-cells </item>- <item> float </item>- <item> font </item>- <item> font-family </item>- <item> font-size </item>- <item> font-size-adjust </item>- <item> font-stretch </item>- <item> font-style </item>- <item> font-variant </item>- <item> font-weight </item>- <item> height </item>- <item> left </item>- <item> letter-spacing </item>- <item> line-height </item>- <item> list-style </item>- <item> list-style-image </item>- <item> list-style-keyword </item>- <item> list-style-position </item>- <item> list-style-type </item>- <item> margin </item>- <item> margin-bottom </item>- <item> margin-left </item>- <item> margin-right </item>- <item> margin-top </item>- <item> marker-offset </item>- <item> max-height </item>- <item> max-width </item>- <item> min-height </item>- <item> min-width </item>- <item> orphans </item>- <item> outline </item>- <item> outline-color </item>- <item> outline-style </item>- <item> outline-width </item>- <item> overflow </item>- <item> padding </item>- <item> padding-bottom </item>- <item> padding-left </item>- <item> padding-right </item>- <item> padding-top </item>- <item> page </item>- <item> page-break-after </item>- <item> page-break-before </item>- <item> page-break-inside </item>- <item> pause </item>- <item> pause-after </item>- <item> pause-before </item>- <item> pitch </item>- <item> pitch-range </item>- <item> play-during </item>- <item> position </item>- <item> quotes </item>- <item> richness </item>- <item> right </item>- <item> size </item>- <item> speak </item>- <item> speak-header </item>- <item> speak-numeral </item>- <item> speak-punctuation </item>- <item> speech-rate </item>- <item> stress </item>- <item> table-layout </item>- <item> text-align </item>- <item> text-decoration </item>- <item> text-decoration-color </item>- <item> text-indent </item>- <item> text-shadow </item>- <item> text-transform </item>- <item> top </item>- <item> unicode-bidi </item>- <item> vertical-align </item>- <item> visibility </item>- <item> voice-family </item>- <item> volume </item>- <item> white-space </item>- <item> widows </item>- <item> width </item>- <item> word-spacing </item>- <item> z-index </item>-- <!-- CSS3 -->- <item> border-bottom-image </item>- <item> border-bottom-left-image </item>- <item> border-bottom-left-radius </item>- <item> border-bottom-right-image </item>- <item> border-bottom-right-radius </item>- <item> border-corner-image </item>- <item> border-image </item>- <item> border-left-image </item>- <item> border-radius </item>- <item> border-right-image </item>- <item> border-top-image </item>- <item> border-top-left-image </item>- <item> border-top-left-radius </item>- <item> border-top-right-image </item>- <item> border-top-right-radius </item>- <item> box-shadow </item>- <item> box-sizing </item>- <item> opacity </item>- <item> outline-offset </item>- <item> overflow-x </item>- <item> overflow-y </item>- <item> text-overflow </item>- <item> text-shadow </item>-- <!-- Gecko rendering engine CSS property extensions -->- <item> -moz-border-bottom-colors </item>- <item> -moz-border-left-colors </item>- <item> -moz-border-radius </item>- <item> -moz-border-right-colors </item>- <item> -moz-border-top-colors </item>- <item> -moz-box-flex </item>-- <!-- Opera rendering engine CSS property extensions -->- <item> -o-background-size </item>- <item> -o-text-overflow </item>-- <!-- konq specific -->- <item> -khtml-background-size </item>- <item> konq_bgpos_x </item>- <item> konq_bgpos_y </item>-- <!-- Webkit rendering engine CSS property extensions -->- <item> -webkit-background-size </item>-- <!-- font properties in @font-face -->- <item> font-family </item>- <item> font-size </item>- <item> font-stretch </item>- <item> font-style </item>- <item> font-variant </item>- <item> font-weight </item>- <item> unicode-range </item>- <item> units-per-em </item>- <item> src </item>- <item> panose-1 </item>- <item> stemv </item>- <item> stemh </item>- <item> slope </item>- <item> cap-height </item>- <item> x-height </item>- <item> ascent </item>- <item> descent </item>- <item> widths </item>- <item> bbox </item>- <item> definition-src </item>- <item> baseline </item>- <item> centerline </item>- <item> mathline </item>- <item> topline </item>- </list>-- <list name="types">- <item> inherit </item>- <item> none </item>- <item> hidden </item>- <item> dotted </item>- <item> dashed </item>- <item> solid </item>- <item> double </item>- <item> groove </item>- <item> ridge </item>- <item> inset </item>- <item> outset </item>- <item> xx-small </item>- <item> x-small </item>- <item> small </item>- <item> medium </item>- <item> large </item>- <item> x-large </item>- <item> xx-large </item>- <item> smaller </item>- <item> larger </item>- <item> italic </item>- <item> oblique </item>- <item> small-caps </item>- <item> normal </item>- <item> bold </item>- <item> bolder </item>- <item> lighter </item>- <item> light </item>- <item> 100 </item>- <item> 200 </item>- <item> 300 </item>- <item> 400 </item>- <item> 500 </item>- <item> 600 </item>- <item> 700 </item>- <item> 800 </item>- <item> 900 </item>- <item> transparent </item>- <item> repeat </item>- <item> repeat-x </item>- <item> repeat-y </item>- <item> no-repeat </item>- <item> baseline </item>- <item> sub </item>- <item> super </item>- <item> top </item>- <item> text-top </item>- <item> middle </item>- <item> bottom </item>- <item> text-bottom </item>- <item> left </item>- <item> right </item>- <item> center </item>- <item> justify </item>- <item> konq-center </item>- <item> disc </item>- <item> circle </item>- <item> square </item>- <item> box </item>- <item> decimal </item>- <item> decimal-leading-zero </item>- <item> lower-roman </item>- <item> upper-roman </item>- <item> lower-greek </item>- <item> lower-alpha </item>- <item> lower-latin </item>- <item> upper-alpha </item>- <item> upper-latin </item>- <item> hebrew </item>- <item> armenian </item>- <item> georgian </item>- <item> cjk-ideographic </item>- <item> hiragana </item>- <item> katakana </item>- <item> hiragana-iroha </item>- <item> katakana-iroha </item>- <item> inline </item>- <item> inline-block </item>- <item> block </item>- <item> list-item </item>- <item> run-in </item>- <item> compact </item>- <item> marker </item>- <item> table </item>- <item> inline-table </item>- <item> table-row-group </item>- <item> table-header-group </item>- <item> table-footer-group </item>- <item> table-row </item>- <item> table-column-group </item>- <item> table-column </item>- <item> table-cell </item>- <item> table-caption </item>- <item> auto </item>- <item> crosshair </item>- <item> default </item>- <item> pointer </item>- <item> move </item>- <item> e-resize </item>- <item> ne-resize </item>- <item> nw-resize </item>- <item> n-resize </item>- <item> se-resize </item>- <item> sw-resize </item>- <item> s-resize </item>- <item> w-resize </item>- <item> text </item>- <item> wait </item>- <item> help </item>- <item> above </item>- <item> absolute </item>- <item> always </item>- <item> avoid </item>- <item> below </item>- <item> bidi-override </item>- <item> blink </item>- <item> both </item>- <item> capitalize </item>- <item> caption </item>- <item> clip </item>- <item> close-quote </item>- <item> collapse </item>- <item> condensed </item>- <item> crop </item>- <item> cross </item>- <item> ellipsis </item>- <item> ellipsis-word </item>- <item> embed </item>- <item> expanded </item>- <item> extra-condensed </item>- <item> extra-expanded </item>- <item> fixed </item>- <item> hand </item>- <item> hide </item>- <item> higher </item>- <item> icon </item>- <item> inside </item>- <item> invert </item>- <item> landscape </item>- <item> level </item>- <item> line-through </item>- <item> loud </item>- <item> lower </item>- <item> lowercase </item>- <item> ltr </item>- <item> menu </item>- <item> message-box </item>- <item> mix </item>- <item> narrower </item>- <item> no-close-quote </item>- <item> no-open-quote </item>- <item> nowrap </item>- <item> open-quote </item>- <item> outside </item>- <item> overline </item>- <item> portrait </item>- <item> pre </item>- <item> pre-line </item>- <item> pre-wrap </item>- <item> relative </item>- <item> rtl </item>- <item> scroll </item>- <item> semi-condensed </item>- <item> semi-expanded </item>- <item> separate </item>- <item> show </item>- <item> small-caption </item>- <item> static </item>- <item> static-position </item>- <item> status-bar </item>- <item> thick </item>- <item> thin </item>- <item> ultra-condensed </item>- <item> ultra-expanded </item>- <item> underline </item>- <item> uppercase </item>- <item> visible </item>- <item> wider </item>- <item> break </item>- <item> serif </item>- <item> sans-serif </item>- <item> cursive </item>- <item> fantasy </item>- <item> monospace </item>- <item> border-box </item>- <item> content-box </item>-- <!-- Gecko rendering engine CSS value extensions -->- <item> -moz-box </item>-- </list>--- <list name="colors">- <item> aqua </item>- <item> black </item>- <item> blue </item>- <item> cyan </item>- <item> fuchsia </item>- <item> gray </item>- <item> green </item>- <item> lime </item>- <item> maroon </item>- <item> navy </item>- <item> olive </item>- <item> purple </item>- <item> red </item>- <item> silver </item>- <item> teal </item>- <item> white </item>- <item> yellow </item>- <item> ActiveBorder </item>- <item> ActiveCaption </item>- <item> AppWorkspace </item>- <item> Background </item>- <item> ButtonFace </item>- <item> ButtonHighlight </item>- <item> ButtonShadow </item>- <item> ButtonText </item>- <item> CaptionText </item>- <item> GrayText </item>- <item> Highlight </item>- <item> HighlightText </item>- <item> InactiveBorder </item>- <item> InactiveCaption </item>- <item> InactiveCaptionText </item>- <item> InfoBackground </item>- <item> InfoText </item>- <item> Menu </item>- <item> MenuText </item>- <item> Scrollbar </item>- <item> ThreeDDarkShadow </item>- <item> ThreeDFace </item>- <item> ThreeDHighlight </item>- <item> ThreeDLightShadow </item>- <item> ThreeDShadow </item>- <item> Window </item>- <item> WindowFrame </item>- <item> WindowText </item>- </list>-- <list name="paren">- <item> url </item>- <item> attr </item>- <item> rect </item>- <item> rgb </item>- <item> rgba </item>- <item> hsl </item>- <item> hsla </item>- <item> counter </item>- <item> counters </item>-- <!-- in @font-face -->- <item> local </item>- <item> format </item>-- <!-- Trident (a.k.a., MSHTML) rendering engine functional notation extensions -->- <item> expression </item>-- </list>-- <list name="mediatypes">- <item> all </item>- <item> aural </item>- <item> braille </item>- <item> embossed </item>- <item> handheld </item>- <item> print </item>- <item> projection </item>- <item> screen </item>- <item> tty </item>- <item> tv </item>- </list>-- <list name="pseudoclasses">- <item> hover </item>- <item> link </item>- <item> visited </item>- <item> active </item>- <item> focus </item>- <item> first-child </item>- <item> last-child </item>- <item> only-child </item>- <item> first-of-type </item>- <item> last-of-type </item>- <item> only-of-type </item>- <item> first-letter </item>- <item> first-line </item>- <item> before </item>- <item> after </item>- <item> selection </item>- <item> root </item>- <item> empty </item>- <item> target </item>- <item> enabled </item>- <item> disabled </item>- <item> checked </item>- <item> indeterminate </item>- <item> nth-child </item>- <item> nth-last-child </item>- <item> nth-of-type </item>- <item> nth-last-of-type </item>- <item> not </item>- </list>-- <contexts>- <context attribute="Normal Text" lineEndContext="#stay" name="Base">- <LineContinue/>- <DetectSpaces/>- <IncludeRules context="FindRuleSets" />- </context>-- <!-- to be included -->- <!-- finds rules and detects nesting -->- <context attribute="Normal Text" lineEndContext="#stay" name="FindRuleSets">- <RegExpr attribute="Media" context="Media" String="@media\b" />- <RegExpr attribute="At Rule" context="Import" String="@import\b" />- <RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" />- <DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />- <!--parse selectors-->- <DetectChar attribute="Selector Attr" context="SelAttr" char="[" />- <RegExpr attribute="Selector Id" context="#stay" String="#([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />- <RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />- <RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />- <DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />- <IncludeRules context="FindStrings" />- <IncludeRules context="FindComments" />- </context>-- <!-- finds arguments to properties -->- <context attribute="Normal Text" lineEndContext="#stay" name="FindValues">- <RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz)\b" />- <RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />- <RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />- </context>-- <!-- finds strings -->- <context attribute="Normal Text" lineEndContext="#stay" name="FindStrings">- <DetectChar attribute="String" context="StringDQ" char=""" />- <DetectChar attribute="String" context="StringSQ" char="'" />- </context>-- <!-- finds comments -->- <context attribute="Normal Text" lineEndContext="#stay" name="FindComments">- <RegExpr attribute="Region Marker" context="#stay" String="/\*BEGIN.*\*/" beginRegion="UserDefined" />- <RegExpr attribute="Region Marker" context="#stay" String="/\*END.*\*/" endRegion="UserDefined" />- <Detect2Chars attribute="Comment" context="Comment" char="/" char1="*" beginRegion="comment" />- </context>-- <!-- other contexts -->- <context attribute="Normal Text" lineEndContext="#stay" name="Media">- <DetectChar attribute="Media" context="Media2" char="{" beginRegion="media" />- <keyword attribute="Media" context="#stay" String="mediatypes" />- <DetectChar attribute="Media" context="#stay" char="," />- <IncludeRules context="FindComments" />- <RegExpr attribute="Error" context="#stay" String="\S+" />- </context>-- <context attribute="Normal Text" lineEndContext="#stay" name="Media2">- <DetectChar attribute="Media" context="#pop#pop" char="}" endRegion="media" />- <IncludeRules context="FindRuleSets" />- </context>-- <context attribute="Selector Attr" lineEndContext="#stay" name="SelAttr">- <DetectChar attribute="Selector Attr" context="#pop" char="]" />- <IncludeRules context="FindStrings" />- </context>-- <context attribute="Selector Pseudo" lineEndContext="#pop" name="SelPseudo"- fallthrough="true" fallthroughContext="#pop">- <keyword attribute="Selector Pseudo" context="#pop" String="pseudoclasses" />- </context>-- <context attribute="Normal Text" lineEndContext="#stay" name="Import">- <DetectChar attribute="At Rule" context="#pop" char=";" />- <keyword attribute="Media" context="#stay" String="mediatypes" />- <IncludeRules context="FindValues" />- <IncludeRules context="FindStrings" />- <IncludeRules context="FindComments" />- </context>-- <context attribute="Comment" lineEndContext="#stay" name="Comment">- <DetectSpaces/>- <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" />- <IncludeRules context="##Alerts" />- <DetectIdentifier/>- </context>-- <context attribute="Normal Text" lineEndContext="#stay" name="RuleSet">- <DetectChar attribute="Property" context="#pop" char="}" endRegion="ruleset" />- <keyword attribute="Property" context="Rule" String="properties" />- <RegExpr attribute="Unknown Property" context="Rule" String="-?[A-Za-z_-]+(?=\s*:)" />- <IncludeRules context="FindComments" />- <RegExpr attribute="Error" context="#stay" String="\S" />- </context>-- <context attribute="Normal Text" lineEndContext="#stay" name="Rule">- <DetectChar attribute="Property" context="Rule2" char=":" />- <RegExpr attribute="Error" context="#stay" String="\S" />- </context>-- <context attribute="Normal Text" lineEndContext="#stay" name="Rule2">- <DetectChar attribute="Property" context="#pop#pop" char=";" />- <DetectChar attribute="Property" context="#pop#pop#pop" char="}" endRegion="ruleset" />- <!-- parse property values -->- <keyword attribute="Value" context="#stay" String="types" />- <keyword attribute="Value" context="#stay" String="colors" />- <RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />- <keyword attribute="Value" context="PropParen" String="paren" />- <RegExpr attribute="Important" context="#stay" String="!important\b" />- <IncludeRules context="FindValues" />- <IncludeRules context="FindStrings" />- <IncludeRules context="FindComments" />- </context>-- <context attribute="Normal Text" lineEndContext="#stay" name="PropParen">- <DetectChar attribute="Value" context="PropParen2" char="(" />- <IncludeRules context="FindComments" />- <RegExpr attribute="Error" context="#stay" String="\S" />- </context>-- <context attribute="Normal Text" lineEndContext="#stay" name="PropParen2">- <DetectChar attribute="Value" context="#pop#pop" char=")" />- <IncludeRules context="FindValues" />- <IncludeRules context="FindStrings" />- <IncludeRules context="FindComments" />- </context>-- <!-- string contexts -->- <context attribute="String" lineEndContext="#stay" name="StringDQ">- <DetectChar attribute="String" context="#pop" char=""" />- <IncludeRules context="InsideString" />- </context>-- <context attribute="String" lineEndContext="#stay" name="StringSQ">- <DetectChar attribute="String" context="#pop" char="'" />- <IncludeRules context="InsideString" />- </context>-- <context attribute="String" lineEndContext="#stay" name="InsideString">- <RegExpr attribute="String" context="#stay" String="\\["']" />- <DetectIdentifier/>- </context>-- </contexts>- <itemDatas>- <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>- <itemData name="Property" defStyleNum="dsKeyword" spellChecking="false"/>- <itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1" spellChecking="false"/>- <itemData name="Media" defStyleNum="dsDecVal" bold="1" spellChecking="false"/>- <itemData name="At Rule" defStyleNum="dsDecVal" spellChecking="false"/>- <itemData name="String" defStyleNum="dsString"/>- <itemData name="Value" defStyleNum="dsDataType" spellChecking="false"/>- <itemData name="Important" defStyleNum="dsKeyword" spellChecking="false"/>- <itemData name="Selector Attr" defStyleNum="dsChar" spellChecking="false"/>- <itemData name="Selector Id" defStyleNum="dsFloat" bold="1" spellChecking="false"/>- <itemData name="Selector Class" defStyleNum="dsFloat" spellChecking="false"/>- <itemData name="Selector Pseudo" defStyleNum="dsDecVal" spellChecking="false"/>- <itemData name="Comment" defStyleNum="dsComment" />- <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>- <itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>- <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>- </itemDatas>- </highlighting>- <general>- <keywords casesensitive="0" weakDeliminator="-%"/>- <comments>- <comment name="multiLine" start="/*" end="*/" />- </comments>- </general>-</language>+Kate CSS syntax highlighting definition++Changelog:++- Version 2.06, by Mte90:+- CSS3 tag++- Version 2.03, by Milian Wolff:+- Make it spelling aware++-->++<language name="CSS" version="2.06" kateversion="2.4" section="Markup" extensions="*.css" indenter="cstyle" mimetype="text/css" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">++ <highlighting>+ <list name="properties">+ <!-- CSS2 -->+ <item> azimuth </item>+ <item> background </item>+ <item> background-attachment </item>+ <item> background-break </item>+ <item> background-clip </item>+ <item> background-color </item>+ <item> background-image </item>+ <item> background-position </item>+ <item> background-origin </item>+ <item> background-repeat </item>+ <item> border </item>+ <item> border-bottom </item>+ <item> border-bottom-color </item>+ <item> border-bottom-style </item>+ <item> border-bottom-width </item>+ <item> border-collapse </item>+ <item> border-color </item>+ <item> border-left </item>+ <item> border-left-color </item>+ <item> border-left-style </item>+ <item> border-left-width </item>+ <item> border-right </item>+ <item> border-right-color </item>+ <item> border-right-style </item>+ <item> border-right-width </item>+ <item> border-spacing </item>+ <item> border-style </item>+ <item> border-top </item>+ <item> border-top-color </item>+ <item> border-top-style </item>+ <item> border-top-width </item>+ <item> border-width </item>+ <item> bottom </item>+ <item> caption-side </item>+ <item> clear </item>+ <item> clip </item>+ <item> color </item>+ <item> content </item>+ <item> counter-increment </item>+ <item> counter-reset </item>+ <item> cue </item>+ <item> cue-after </item>+ <item> cue-before </item>+ <item> cursor </item>+ <item> direction </item>+ <item> display </item>+ <item> elevation </item>+ <item> empty-cells </item>+ <item> float </item>+ <item> font </item>+ <item> font-family </item>+ <item> font-size </item>+ <item> font-size-adjust </item>+ <item> font-stretch </item>+ <item> font-style </item>+ <item> font-variant </item>+ <item> font-weight </item>+ <item> font-stretch </item>+ <item> height </item>+ <item> left </item>+ <item> letter-spacing </item>+ <item> line-height </item>+ <item> list-style </item>+ <item> list-style-image </item>+ <item> list-style-keyword </item>+ <item> list-style-position </item>+ <item> list-style-type </item>+ <item> margin </item>+ <item> margin-bottom </item>+ <item> margin-left </item>+ <item> margin-right </item>+ <item> margin-top </item>+ <item> marker-offset </item>+ <item> max-height </item>+ <item> max-width </item>+ <item> min-height </item>+ <item> min-width </item>+ <item> orphans </item>+ <item> outline </item>+ <item> outline-color </item>+ <item> outline-style </item>+ <item> outline-width </item>+ <item> overflow </item>+ <item> padding </item>+ <item> padding-bottom </item>+ <item> padding-left </item>+ <item> padding-right </item>+ <item> padding-top </item>+ <item> page </item>+ <item> page-break-after </item>+ <item> page-break-before </item>+ <item> page-break-inside </item>+ <item> pause </item>+ <item> pause-after </item>+ <item> pause-before </item>+ <item> pitch </item>+ <item> pitch-range </item>+ <item> play-during </item>+ <item> position </item>+ <item> quotes </item>+ <item> richness </item>+ <item> right </item>+ <item> size </item>+ <item> speak </item>+ <item> speak-header </item>+ <item> speak-numeral </item>+ <item> speak-punctuation </item>+ <item> speech-rate </item>+ <item> stress </item>+ <item> table-layout </item>+ <item> text-align </item>+ <item> text-decoration </item>+ <item> text-decoration-color </item>+ <item> text-indent </item>+ <item> text-shadow </item>+ <item> text-transform </item>+ <item> top </item>+ <item> unicode-bidi </item>+ <item> vertical-align </item>+ <item> visibility </item>+ <item> voice-family </item>+ <item> volume </item>+ <item> white-space </item>+ <item> widows </item>+ <item> width </item>+ <item> word-spacing </item>+ <item> z-index </item>++ <!-- CSS3 -->+ <item> animation-name </item>+ <item> animation-duration </item>+ <item> animation-iteration </item>+ <item> animation-direction </item>+ <item> animation-delay </item>+ <item> animation-play-state </item>+ <item> animation-fill-mode </item>+ <item> animation-timing-function </item>+ <item> background-size </item>+ <item> border-bottom-image </item>+ <item> border-bottom-left-image </item>+ <item> border-bottom-left-radius </item>+ <item> border-bottom-right-image </item>+ <item> border-bottom-right-radius </item>+ <item> border-collapse </item>+ <item> border-corner-image </item>+ <item> border-image </item>+ <item> border-left-image </item>+ <item> border-radius </item>+ <item> border-right-image </item>+ <item> border-top-image </item>+ <item> border-top-left-image </item>+ <item> border-top-left-radius </item>+ <item> border-top-right-image </item>+ <item> border-top-right-radius </item>+ <item> box-align </item>+ <item> box-direction </item>+ <item> box-flex </item>+ <item> box-shadow </item>+ <item> box-sizing </item>+ <item> column-count </item>+ <item> column-fill </item>+ <item> column-gap </item>+ <item> column-rule-color </item>+ <item> column-rule-style </item>+ <item> column-rule-width </item>+ <item> column-span </item>+ <item> column-wisth </item>+ <item> hyphens </item>+ <item> linear-gradient </item>+ <item> opacity </item>+ <item> outline </item>+ <item> outline-offset </item>+ <item> overflow-x </item>+ <item> overflow-y </item>+ <item> pointer-events </item>+ <item> resize </item>+ <item> rotation </item>+ <item> rotation-point </item>+ <item> table-layout </item>+ <item> text-overflow </item>+ <item> text-shadow </item>+ <item> text-wrap </item>+ <item> transform-origin </item>+ <item> transition </item>+ <item> transition-property </item>+ <item> transition-duration </item>+ <item> word-wrap </item>++ <!-- Gecko rendering engine CSS property extensions -->+ <item> -moz-animation-name </item>+ <item> -moz-animation-duration </item>+ <item> -moz-animation-iteration </item>+ <item> -moz-animation-direction </item>+ <item> -moz-animation-delay </item>+ <item> -moz-animation-play-state </item>+ <item> -moz-animation-fill-mode </item>+ <item> -moz-background-size </item>+ <item> -moz-border-image </item>+ <item> -moz-border-bottom-colors </item>+ <item> -moz-border-left-colors </item>+ <item> -moz-border-radius </item>+ <item> -moz-border-radius-topleft </item>+ <item> -moz-border-radius-topright </item>+ <item> -moz-border-radius-bottomleft </item>+ <item> -moz-border-radius-bottomright </item>+ <item> -moz-border-right-colors </item>+ <item> -moz-border-top-colors </item>+ <item> -moz-box </item>+ <item> -moz-box-flex </item>+ <item> -moz-box-shadow </item>+ <item> -moz-box-sizing </item>+ <item> -moz-column-count </item>+ <item> -moz-column-gap </item>+ <item> -moz-hyphens </item>+ <item> -moz-linear-gradient </item>+ <item> -moz-opacity </item>+ <item> -moz-outline-style </item>+ <item> -moz-perspective </item>+ <item> -moz-radial-gradient </item>+ <item> -moz-resize </item>+ <item> -moz-transform </item>+ <item> -moz-transform-origin </item>+ <item> -moz-transform-style </item>+ <item> -moz-transition </item>+ <item> -moz-transition-property </item>+ <item> -moz-transition-duration </item>++ <!-- Opera rendering engine CSS property extensions -->+ <item> -o-background-size </item>+ <item> -o-linear-gradient </item>+ <item> -o-text-overflow </item>+ <item> -o-transition </item>+ <item> -o-transform-origin </item>++ <!-- konq specific -->+ <item> konq_bgpos_x </item>+ <item> konq_bgpos_y </item>+ <item> -khtml-background-size </item>+ <item> -khtml-border-top-left-radius </item>+ <item> -khtml-border-top-right-radius </item>+ <item> -khtml-border-bottom-left-radius </item>+ <item> -khtml-border-bottom-right-radius </item>+ <item> -khtml-border-radius </item>+ <item> -khtml-box-shadow </item>+ <item> -khtml-opacity </item>++ <!-- Webkit rendering engine CSS property extensions -->+ <item> -webkit-appearance </item>+ <item> -webkit-animation-name </item>+ <item> -webkit-animation-duration </item>+ <item> -webkit-animation-iteration </item>+ <item> -webkit-animation-direction </item>+ <item> -webkit-animation-delay </item>+ <item> -webkit-animation-play-state </item>+ <item> -webkit-animation-fill-mode </item>+ <item> -webkit-background-size </item>+ <item> -webkit-border-image </item>+ <item> -webkit-border-bottom-colors </item>+ <item> -webkit-border-left-colors </item>+ <item> -webkit-border-radius </item>+ <item> -webkit-border-right-colors </item>+ <item> -webkit-border-top-colors </item>+ <item> -webkit-border-top-left-radius </item>+ <item> -webkit-border-top-right-radius </item>+ <item> -webkit-border-bottom-left-radius </item>+ <item> -webkit-border-bottom-right-radius </item>+ <item> -webkit-border-radius-bottomleft </item>+ <item> -webkit-border-radius-bottomright </item>+ <item> -webkit-box-flex </item>+ <item> -webkit-box-reflect</item>+ <item> -webkit-box-shadow </item>+ <item> -webkit-box-sizing </item>+ <item> -webkit-column-count </item>+ <item> -webkit-column-gap </item>+ <item> -webkit-hyphens </item>+ <item> -webkit-linear-gradient </item>+ <item> -webkit-gradient </item>+ <item> -webkit-perspective </item>+ <item> -webkit-text-fill-color </item>+ <item> -webkit-text-stroke-color </item>+ <item> -webkit-text-stroke-width </item>+ <item> -webkit-text-size-adjust </item>+ <item> -webkit-transform </item>+ <item> -webkit-transform-origin </item>+ <item> -webkit-transform-style </item>+ <item> -webkit-transition </item>+ <item> -webkit-transition-property </item>+ <item> -webkit-transition-duration </item>++ <!-- Trident (a.k.a., MSHTML) CSS property extensions -->+ <item> filter </item>+ <item> zoom </item>+ <item> -ms-animation-name </item>+ <item> -ms-animation-duration </item>+ <item> -ms-animation-iteration </item>+ <item> -ms-animation-direction </item>+ <item> -ms-animation-delay </item>+ <item> -ms-animation-play-state </item>+ <item> -ms-animation-fill-mode </item>+ <item> -ms-box-sizing </item>+ <item> -ms-filter </item>+ <item> -ms-interpolation-mode </item>+ <item> -ms-linear-gradient </item>+ <item> -ms-text-size-adjust </item>+ <item> -ms-transform </item>+ <item> -ms-transition </item>++ <!-- font properties in @font-face -->+ <item> font-family </item>+ <item> font-size </item>+ <item> font-stretch </item>+ <item> font-style </item>+ <item> font-variant </item>+ <item> font-weight </item>+ <item> unicode-range </item>+ <item> units-per-em </item>+ <item> src </item>+ <item> panose-1 </item>+ <item> stemv </item>+ <item> stemh </item>+ <item> slope </item>+ <item> cap-height </item>+ <item> x-height </item>+ <item> ascent </item>+ <item> descent </item>+ <item> widths </item>+ <item> bbox </item>+ <item> definition-src </item>+ <item> baseline </item>+ <item> centerline </item>+ <item> mathline </item>+ <item> topline </item>+ </list>++ <list name="types">+ <item> inherit </item>+ <item> none </item>+ <item> hidden </item>+ <item> dotted </item>+ <item> dashed </item>+ <item> solid </item>+ <item> double </item>+ <item> groove </item>+ <item> ridge </item>+ <item> inset </item>+ <item> outset </item>+ <item> xx-small </item>+ <item> x-small </item>+ <item> small </item>+ <item> medium </item>+ <item> large </item>+ <item> x-large </item>+ <item> xx-large </item>+ <item> smaller </item>+ <item> larger </item>+ <item> italic </item>+ <item> oblique </item>+ <item> small-caps </item>+ <item> normal </item>+ <item> bold </item>+ <item> bolder </item>+ <item> lighter </item>+ <item> light </item>+ <item> 100 </item>+ <item> 200 </item>+ <item> 300 </item>+ <item> 400 </item>+ <item> 500 </item>+ <item> 600 </item>+ <item> 700 </item>+ <item> 800 </item>+ <item> 900 </item>+ <item> transparent </item>+ <item> repeat </item>+ <item> repeat-x </item>+ <item> repeat-y </item>+ <item> no-repeat </item>+ <item> baseline </item>+ <item> sub </item>+ <item> super </item>+ <item> top </item>+ <item> text-top </item>+ <item> middle </item>+ <item> bottom </item>+ <item> text-bottom </item>+ <item> left </item>+ <item> right </item>+ <item> center </item>+ <item> justify </item>+ <item> konq-center </item>+ <item> disc </item>+ <item> circle </item>+ <item> square </item>+ <item> box </item>+ <item> decimal </item>+ <item> decimal-leading-zero </item>+ <item> lower-roman </item>+ <item> upper-roman </item>+ <item> lower-greek </item>+ <item> lower-alpha </item>+ <item> lower-latin </item>+ <item> upper-alpha </item>+ <item> upper-latin </item>+ <item> hebrew </item>+ <item> armenian </item>+ <item> georgian </item>+ <item> cjk-ideographic </item>+ <item> hiragana </item>+ <item> katakana </item>+ <item> hiragana-iroha </item>+ <item> katakana-iroha </item>+ <item> inline </item>+ <item> inline-block </item>+ <item> block </item>+ <item> list-item </item>+ <item> run-in </item>+ <item> compact </item>+ <item> marker </item>+ <item> table </item>+ <item> inline-table </item>+ <item> table-row-group </item>+ <item> table-header-group </item>+ <item> table-footer-group </item>+ <item> table-row </item>+ <item> table-column-group </item>+ <item> table-column </item>+ <item> table-cell </item>+ <item> table-caption </item>+ <item> auto </item>+ <item> crosshair </item>+ <item> default </item>+ <item> pointer </item>+ <item> move </item>+ <item> e-resize </item>+ <item> ne-resize </item>+ <item> nw-resize </item>+ <item> n-resize </item>+ <item> se-resize </item>+ <item> sw-resize </item>+ <item> s-resize </item>+ <item> w-resize </item>+ <item> text </item>+ <item> wait </item>+ <item> help </item>+ <item> above </item>+ <item> absolute </item>+ <item> always </item>+ <item> avoid </item>+ <item> below </item>+ <item> bidi-override </item>+ <item> blink </item>+ <item> both </item>+ <item> capitalize </item>+ <item> caption </item>+ <item> clip </item>+ <item> close-quote </item>+ <item> collapse </item>+ <item> condensed </item>+ <item> crop </item>+ <item> cross </item>+ <item> ellipsis </item>+ <item> ellipsis-word </item>+ <item> embed </item>+ <item> expanded </item>+ <item> extra-condensed </item>+ <item> extra-expanded </item>+ <item> fixed </item>+ <item> hand </item>+ <item> hide </item>+ <item> higher </item>+ <item> icon </item>+ <item> inside </item>+ <item> invert </item>+ <item> landscape </item>+ <item> level </item>+ <item> line-through </item>+ <item> loud </item>+ <item> lower </item>+ <item> lowercase </item>+ <item> ltr </item>+ <item> menu </item>+ <item> message-box </item>+ <item> mix </item>+ <item> narrower </item>+ <item> no-close-quote </item>+ <item> no-open-quote </item>+ <item> nowrap </item>+ <item> open-quote </item>+ <item> outside </item>+ <item> overline </item>+ <item> portrait </item>+ <item> pre </item>+ <item> pre-line </item>+ <item> pre-wrap </item>+ <item> relative </item>+ <item> rtl </item>+ <item> scroll </item>+ <item> semi-condensed </item>+ <item> semi-expanded </item>+ <item> separate </item>+ <item> show </item>+ <item> small-caption </item>+ <item> static </item>+ <item> static-position </item>+ <item> status-bar </item>+ <item> thick </item>+ <item> thin </item>+ <item> ultra-condensed </item>+ <item> ultra-expanded </item>+ <item> underline </item>+ <item> uppercase </item>+ <item> visible </item>+ <item> wider </item>+ <item> break </item>+ <item> serif </item>+ <item> sans-serif </item>+ <item> cursive </item>+ <item> fantasy </item>+ <item> monospace </item>+ <item> border-box </item>+ <item> content-box </item>+ <item> -epub-hyphens </item>+ </list>+++ <list name="colors">+ <item> aqua </item>+ <item> black </item>+ <item> blue </item>+ <item> cyan </item>+ <item> fuchsia </item>+ <item> gray </item>+ <item> green </item>+ <item> lime </item>+ <item> maroon </item>+ <item> navy </item>+ <item> olive </item>+ <item> purple </item>+ <item> red </item>+ <item> silver </item>+ <item> teal </item>+ <item> white </item>+ <item> yellow </item>+ <item> ActiveBorder </item>+ <item> ActiveCaption </item>+ <item> AppWorkspace </item>+ <item> Background </item>+ <item> ButtonFace </item>+ <item> ButtonHighlight </item>+ <item> ButtonShadow </item>+ <item> ButtonText </item>+ <item> CaptionText </item>+ <item> GrayText </item>+ <item> Highlight </item>+ <item> HighlightText </item>+ <item> InactiveBorder </item>+ <item> InactiveCaption </item>+ <item> InactiveCaptionText </item>+ <item> InfoBackground </item>+ <item> InfoText </item>+ <item> Menu </item>+ <item> MenuText </item>+ <item> Scrollbar </item>+ <item> ThreeDDarkShadow </item>+ <item> ThreeDFace </item>+ <item> ThreeDHighlight </item>+ <item> ThreeDLightShadow </item>+ <item> ThreeDShadow </item>+ <item> Window </item>+ <item> WindowFrame </item>+ <item> WindowText </item>+ </list>++ <list name="paren">+ <item> url </item>+ <item> attr </item>+ <item> rect </item>+ <item> rgb </item>+ <item> rgba </item>+ <item> hsl </item>+ <item> hsla </item>+ <item> counter </item>+ <item> counters </item>++ <!-- in @font-face -->+ <item> local </item>+ <item> format </item>++ <!-- Trident (a.k.a., MSHTML) rendering engine functional notation extensions -->+ <item> expression </item>++ </list>++ <list name="mediatypes">+ <item> all </item>+ <item> aural </item>+ <item> braille </item>+ <item> embossed </item>+ <item> handheld </item>+ <item> print </item>+ <item> projection </item>+ <item> screen </item>+ <item> tty </item>+ <item> tv </item>+ </list>++ <list name="pseudoclasses">+ <item> hover </item>+ <item> link </item>+ <item> visited </item>+ <item> active </item>+ <item> focus </item>+ <item> first-child </item>+ <item> last-child </item>+ <item> only-child </item>+ <item> first-of-type </item>+ <item> last-of-type </item>+ <item> only-of-type </item>+ <item> first-letter </item>+ <item> first-line </item>+ <item> before </item>+ <item> after </item>+ <item> selection </item>+ <item> root </item>+ <item> empty </item>+ <item> target </item>+ <item> enabled </item>+ <item> disabled </item>+ <item> checked </item>+ <item> indeterminate </item>+ <item> nth-child </item>+ <item> nth-last-child </item>+ <item> nth-of-type </item>+ <item> nth-last-of-type </item>+ <item> not </item>+ </list>++ <contexts>+ <context attribute="Normal Text" lineEndContext="#stay" name="Base">+ <LineContinue/>+ <DetectSpaces/>+ <IncludeRules context="FindRuleSets" />+ </context>++ <!-- to be included -->+ <!-- finds rules and detects nesting -->+ <context attribute="Normal Text" lineEndContext="#stay" name="FindRuleSets">+ <RegExpr attribute="Media" context="Media" String="@media\b" />+ <RegExpr attribute="At Rule" context="Import" String="@import\b" />+ <RegExpr attribute="At Rule" context="#stay" String="@(font-face|charset)\b" />+ <DetectChar attribute="Property" context="RuleSet" char="{" beginRegion="ruleset" />+ <!--parse selectors-->+ <DetectChar attribute="Selector Attr" context="SelAttr" char="[" />+ <RegExpr attribute="Selector Id" context="#stay" String="#([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />+ <RegExpr attribute="Selector Class" context="#stay" String="\.([a-zA-Z0-9\-_]|[\x80-\xFF]|\\[0-9A-Fa-f]{1,6})*" />+ <RegExpr attribute="Selector Pseudo" context="#stay" String=":lang\([\w_-]+\)" />+ <DetectChar attribute="Selector Pseudo" context="SelPseudo" char=":" />+ <IncludeRules context="FindStrings" />+ <IncludeRules context="FindComments" />+ </context>++ <!-- finds arguments to properties -->+ <context attribute="Normal Text" lineEndContext="#stay" name="FindValues">+ <RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+(em|ex|ch|rem|vw|vh|vm|px|in|cm|mm|pt|pc|deg|rad|grad|turn|ms|s|Hz|kHz)\b" />+ <RegExpr attribute="Value" context="#stay" String="[-+]?[0-9.]+[%]?" />+ <RegExpr attribute="Normal Text" context="#stay" String="[\w\-]+" />+ </context>++ <!-- finds strings -->+ <context attribute="Normal Text" lineEndContext="#stay" name="FindStrings">+ <DetectChar attribute="String" context="StringDQ" char=""" />+ <DetectChar attribute="String" context="StringSQ" char="'" />+ </context>++ <!-- finds comments -->+ <context attribute="Normal Text" lineEndContext="#stay" name="FindComments">+ <RegExpr attribute="Region Marker" context="#stay" String="/\*BEGIN.*\*/" beginRegion="UserDefined" />+ <RegExpr attribute="Region Marker" context="#stay" String="/\*END.*\*/" endRegion="UserDefined" />+ <Detect2Chars attribute="Comment" context="Comment" char="/" char1="*" beginRegion="comment" />+ </context>++ <!-- other contexts -->+ <context attribute="Normal Text" lineEndContext="#stay" name="Media">+ <DetectChar attribute="Media" context="Media2" char="{" beginRegion="media" />+ <keyword attribute="Media" context="#stay" String="mediatypes" />+ <DetectChar attribute="Media" context="#stay" char="," />+ <IncludeRules context="FindComments" />+ <RegExpr attribute="Error" context="#stay" String="\S+" />+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="Media2">+ <DetectChar attribute="Media" context="#pop#pop" char="}" endRegion="media" />+ <IncludeRules context="FindRuleSets" />+ </context>++ <context attribute="Selector Attr" lineEndContext="#stay" name="SelAttr">+ <DetectChar attribute="Selector Attr" context="#pop" char="]" />+ <IncludeRules context="FindStrings" />+ </context>++ <context attribute="Selector Pseudo" lineEndContext="#pop" name="SelPseudo"+ fallthrough="true" fallthroughContext="#pop">+ <keyword attribute="Selector Pseudo" context="#pop" String="pseudoclasses" />+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="Import">+ <DetectChar attribute="At Rule" context="#pop" char=";" />+ <keyword attribute="Media" context="#stay" String="mediatypes" />+ <IncludeRules context="FindValues" />+ <IncludeRules context="FindStrings" />+ <IncludeRules context="FindComments" />+ </context>++ <context attribute="Comment" lineEndContext="#stay" name="Comment">+ <DetectSpaces/>+ <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="comment" />+ <IncludeRules context="##Alerts" />+ <DetectIdentifier/>+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="RuleSet">+ <DetectChar attribute="Property" context="#pop" char="}" endRegion="ruleset" />+ <keyword attribute="Property" context="Rule" String="properties" />+ <RegExpr attribute="Unknown Property" context="Rule" String="-?[A-Za-z_-]+(?=\s*:)" />+ <IncludeRules context="FindComments" />+ <RegExpr attribute="Error" context="#stay" String="\S" />+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="Rule">+ <DetectChar attribute="Property" context="Rule2" char=":" />+ <RegExpr attribute="Error" context="#stay" String="\S" />+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="Rule2">+ <DetectChar attribute="Property" context="#pop#pop" char=";" />+ <DetectChar attribute="Property" context="#pop#pop#pop" char="}" endRegion="ruleset" />+ <!-- parse property values -->+ <keyword attribute="Value" context="#stay" String="types" />+ <keyword attribute="Value" context="#stay" String="colors" />+ <RegExpr attribute="Value" context="#stay" String="#([0-9A-Fa-f]{3}){1,4}\b" />+ <keyword attribute="Value" context="PropParen" String="paren" />+ <RegExpr attribute="Important" context="#stay" String="!important\b" />+ <IncludeRules context="FindValues" />+ <IncludeRules context="FindStrings" />+ <IncludeRules context="FindComments" />+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="PropParen">+ <DetectChar attribute="Value" context="PropParen2" char="(" />+ <IncludeRules context="FindComments" />+ <RegExpr attribute="Error" context="#stay" String="\S" />+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="PropParen2">+ <DetectChar attribute="Value" context="#pop#pop" char=")" />+ <IncludeRules context="FindValues" />+ <IncludeRules context="FindStrings" />+ <IncludeRules context="FindComments" />+ </context>++ <!-- string contexts -->+ <context attribute="String" lineEndContext="#stay" name="StringDQ">+ <DetectChar attribute="String" context="#pop" char=""" />+ <IncludeRules context="InsideString" />+ </context>++ <context attribute="String" lineEndContext="#stay" name="StringSQ">+ <DetectChar attribute="String" context="#pop" char="'" />+ <IncludeRules context="InsideString" />+ </context>++ <context attribute="String" lineEndContext="#stay" name="InsideString">+ <RegExpr attribute="String" context="#stay" String="\\["']" />+ <DetectIdentifier/>+ </context>++ </contexts>+ <itemDatas>+ <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>+ <itemData name="Property" defStyleNum="dsKeyword" spellChecking="false"/>+ <itemData name="Unknown Property" defStyleNum="dsKeyword" italic="1" spellChecking="false"/>+ <itemData name="Media" defStyleNum="dsDecVal" bold="1" spellChecking="false"/>+ <itemData name="At Rule" defStyleNum="dsDecVal" spellChecking="false"/>+ <itemData name="String" defStyleNum="dsString"/>+ <itemData name="Value" defStyleNum="dsDataType" spellChecking="false"/>+ <itemData name="Important" defStyleNum="dsKeyword" spellChecking="false"/>+ <itemData name="Selector Attr" defStyleNum="dsChar" spellChecking="false"/>+ <itemData name="Selector Id" defStyleNum="dsFloat" bold="1" spellChecking="false"/>+ <itemData name="Selector Class" defStyleNum="dsFloat" spellChecking="false"/>+ <itemData name="Selector Pseudo" defStyleNum="dsDecVal" spellChecking="false"/>+ <itemData name="Comment" defStyleNum="dsComment" />+ <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>+ <itemData name="Alert" defStyleNum="dsAlert" spellChecking="false"/>+ <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>+ </itemDatas>+ </highlighting>+ <general>+ <keywords casesensitive="0" weakDeliminator="-%"/>+ <comments>+ <comment name="multiLine" start="/*" end="*/" />+ </comments>+ </general>+ </language>
+ xml/curry.xml view
@@ -0,0 +1,284 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE language SYSTEM "language.dtd"+[+ <!-- qualification of entities -->+ <!ENTITY qualify "([A-Z][a-zA-Z0-9_']*\.)*">+ <!-- identifier -->+ <!ENTITY ident "[a-z][a-zA-Z0-9_']*">+ <!-- Type -->+ <!ENTITY type "[A-Z][a-zA-Z0-9_']*">+ <!-- infix operator characters -->+ <!ENTITY infixchar "~!@#\$%\^&\*\+\-=<>\?\./\|\\:">+ <!-- identifier in prefix notation, e.g.: id, ($) -->+ <!ENTITY prefixIdent "(&ident;|\([&infixchar;]+\))">+]>+<language name="Curry" version="0.1" kateversion="2.3"+ section="Sources" extensions="*.curry" mimetype="text/x-curry"+ author="Björn Peemöller (bjp@informatik.uni-kiel.de)" license="LGPL"+ indenter="haskell">+ <highlighting>+ <list name="keywords">+ <item> case </item>+ <item> data </item>+ <item> do </item>+ <item> else </item>+ <item> external </item>+ <item> fcase </item>+ <item> free </item>+ <item> if </item>+<!-- Although import is a keyword, it is handled in a special context+ to highlight "qualified", "as" and "hiding" in keyword style,+ albeit these lexemes are no keywords.+ <item> import </item>+ -->+ <item> in </item>+ <item> infix </item>+ <item> infixl </item>+ <item> infixr </item>+ <item> let </item>+ <item> module </item>+ <item> of </item>+ <item> then </item>+ <item> type </item>+ <item> where </item>+ </list>+ <list name="Prelude Fun">+ <item> and </item>+ <item> all </item>+ <item> any </item>+ <item> appendFile </item>+ <item> best </item>+ <item> break </item>+ <item> browse </item>+ <item> browseList </item>+ <item> chr </item>+ <item> concat </item>+ <item> concatMap </item>+ <item> const </item>+ <item> curry </item>+ <item> div </item>+ <item> done </item>+ <item> doSolve </item>+ <item> drop </item>+ <item> dropWhile </item>+ <item> either </item>+ <item> elem </item>+ <item> ensureNotFree </item>+ <item> ensureSpine </item>+ <item> enumFrom </item>+ <item> enumFromThen </item>+ <item> enumFromTo </item>+ <item> enumFromThenTo </item>+ <item> error </item>+ <item> failed </item>+ <item> filter </item>+ <item> findall </item>+ <item> flip </item>+ <item> foldl </item>+ <item> foldl1 </item>+ <item> foldr </item>+ <item> foldr1 </item>+ <item> fst </item>+ <item> getChar </item>+ <item> getLine </item>+ <item> id </item>+ <item> if_then_else </item>+ <item> iterate </item>+ <item> head </item>+ <item> length </item>+ <item> lines </item>+ <item> lookup </item>+ <item> map </item>+ <item> mapIO </item>+ <item> mapIO_ </item>+ <item> max </item>+ <item> maybe </item>+ <item> min </item>+ <item> mod </item>+ <item> negate </item>+ <item> not </item>+ <item> notElem </item>+ <item> null </item>+ <item> once </item>+ <item> or </item>+ <item> ord </item>+ <item> otherwise </item>+ <item> print </item>+ <item> putChar </item>+ <item> putStr </item>+ <item> putStrLn </item>+ <item> readFile </item>+ <item> repeat </item>+ <item> replicate </item>+ <item> return </item>+ <item> reverse </item>+ <item> seq </item>+ <item> sequenceIO </item>+ <item> sequenceIO_ </item>+ <item> show </item>+ <item> snd </item>+ <item> solveAll </item>+ <item> span </item>+ <item> splitAt </item>+ <item> success </item>+ <item> tail </item>+ <item> take </item>+ <item> takeWhile </item>+ <item> try </item>+ <item> uncurry </item>+ <item> unknown </item>+ <item> unlines </item>+ <item> unpack </item>+ <item> until </item>+ <item> unwords </item>+ <item> unzip </item>+ <item> unzip3 </item>+ <item> writeFile </item>+ <item> words </item>+ <item> zip </item>+ <item> zip3 </item>+ <item> zipWith </item>+ <item> zipWith3 </item>+ </list>+ <list name="Prelude Type">+ <item> Bool </item>+ <item> Char </item>+ <item> Either </item>+ <item> Float </item>+ <item> Int </item>+ <item> IO </item>+ <item> Maybe </item>+ <item> Ordering </item>+ <item> String </item>+ <item> Success </item>+ </list>+ <list name="Prelude Cons">+ <item> False </item>+ <item> True </item>+ <item> Left </item>+ <item> Right </item>+ <item> Just </item>+ <item> Nothing </item>+ <item> EQ </item>+ <item> LT </item>+ <item> GT </item>+ </list>+ <contexts>+ <context attribute="Normal" lineEndContext="#stay" name="Normal">+ <!-- pragmas, currydoc, comments -->+ <StringDetect attribute="Pragma" context="Pragma" String="{-#" beginRegion="Pragma" />+ <Detect2Chars attribute="Comment" context="Multiline Comment" char="{" char1="-" beginRegion="Comment" />+ <StringDetect attribute="Currydoc" context="Currydoc" String="---" />+ <Detect2Chars attribute="Comment" context="Comment" char="-" char1="-" />++ <!-- keywords, Prelude entities -->+ <keyword attribute="Keyword" context="#stay" String="keywords" />+ <keyword attribute="Prelude" context="#stay" String="Prelude Fun" />+ <keyword attribute="Type" context="#stay" String="Prelude Type" />+ <keyword attribute="Constructor" context="#stay" String="Prelude Cons" />+ <RegExpr attribute="Keyword" context="Import" String="import\s+(qualified)?" />++ <!-- Literals -->+ <Float attribute="Float" context="#stay" />+ <RegExpr attribute="Octal" context="#stay" String="0(o|O)[0-7]+" />+ <HlCHex attribute="Hex" context="#stay" />+ <Int attribute="Decimal" context="#stay" />+ <DetectChar attribute="Char" context="Char" char="'" />+ <DetectChar attribute="String" context="String" char=""" />++ <!-- Others -->+ <RegExpr attribute="Special" context="#stay" String="(::|:=|:>|\->|<\-|\.\.)" />+ <RegExpr attribute="Signature" context="#stay" String="\s*&prefixIdent;\s*(,\s*&prefixIdent;)*\s*(?=::[^&infixchar;])" />+ <RegExpr attribute="Function" context="#stay" String="&qualify;&ident;" />+ <RegExpr attribute="Operator" context="#stay" String="&qualify;[&infixchar;]+" />+ <RegExpr attribute="Type" context="#stay" String="&qualify;&type;" />+ <DetectChar attribute="Infix" context="Infix" char="`" />+ </context>++ <!-- Pragma -->+ <context attribute="Pragma" lineEndContext="#stay" name="Pragma">+ <StringDetect attribute="Pragma" context="#pop" String="#-}" endRegion="Pragma" />+ </context>++ <!-- Multiline comment -->+ <context attribute="Comment" lineEndContext="#stay" name="Multiline Comment">+ <Detect2Chars attribute="Comment" context="#pop" char="-" char1="}" endRegion="Comment" />+ </context>++ <!-- Currydoc -->+ <context attribute="Currydoc" lineEndContext="#pop" name="Currydoc" />++ <!-- Single line comment -->+ <context attribute="Comment" lineEndContext="#pop" name="Comment" />++ <!-- Import section -->+ <context attribute="Normal" lineEndContext="#pop" name="Import">+ <RegExpr attribute="Type" context="#stay" String="&qualify;&type;" />+ <Detect2Chars attribute="Keyword" context="#stay" char="a" char1="s" />+ <StringDetect attribute="Keyword" context="#stay" String="hiding" />+ <!-- Pop context at open paren to highlight imported entities -->+ <DetectChar attribute="Normal" context="#pop" char="(" />+ <RegExpr attribute="Error" context="#stay" String="\S+" />+ </context>++ <!-- This could be more elaborate w.r.t escape sequences and restricting+ to one character, but we keep it simple for the moment -->+ <context attribute="Char" lineEndContext="#pop" name="Char">+ <RegExpr attribute="Char" context="#stay" String="\\." />+ <DetectChar attribute="Char" context="#pop" char="'" />+ </context>++ <!-- This could be more elaborate, w.r.t escape sequences,+ but we keep it simple for the moment -->+ <context attribute="String" lineEndContext="#stay" name="String">+ <RegExpr attribute="String" context="#stay" String="\\." />+ <DetectChar attribute="String" context="#pop" char=""" />+ </context>++ <!-- Infix application -->+ <context attribute="Infix" lineEndContext="#stay" name="Infix">+ <DetectChar attribute="Infix" context="#pop" char="`"/>+ </context>+ </contexts>++ <itemDatas>+ <itemData name="Normal" defStyleNum="dsNormal" spellChecking="false" />++ <!-- Comments -->+ <itemData name="Pragma" defStyleNum="dsOthers" spellChecking="false" />+ <itemData name="Comment" defStyleNum="dsComment" />+ <itemData name="Currydoc" defStyleNum="dsComment" color="#008000" selColor="#FFFFFF"/>++ <!-- Keywords, predefined entities -->+ <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" />+ <itemData name="Type" defStyleNum="dsDataType" spellChecking="false" />+ <itemData name="Prelude" defStyleNum="dsFunction" spellChecking="false" />+ <itemData name="Constructor" defStyleNum="dsKeyword" spellChecking="false" />++ <!-- Literals -->+ <itemData name="Float" defStyleNum="dsFloat" spellChecking="false" />+ <itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false" />+ <itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false" />+ <itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false" />+ <itemData name="Char" defStyleNum="dsChar" spellChecking="false" />+ <itemData name="String" defStyleNum="dsString" />++ <!-- Others -->+ <itemData name="Signature" defStyleNum="dsOthers" spellChecking="false" />+ <itemData name="Function" defStyleNum="dsNormal" spellChecking="false" />+ <itemData name="Operator" defStyleNum="dsFunction" spellChecking="false" />+ <itemData name="Type" defStyleNum="dsDataType" spellChecking="false" />+ <itemData name="Special" defStyleNum="dsOthers" spellChecking="false" />+ <itemData name="Infix" defStyleNum="dsOthers" spellChecking="false" />+ <itemData name="Error" defStyleNum="dsError" spellChecking="false" />+ </itemDatas>+ </highlighting>+ <general>+ <folding indentationsensitive="1"/>+ <comments>+ <comment name="singleLine" start="--" />+ <comment name="multiLine" start="{-" end="-}" region="Comment" />+ </comments>+ <keywords casesensitive="1" />+ </general>+</language>
xml/doxygen.xml view
@@ -474,7 +474,7 @@ <itemData name="HTML Tag" defStyleNum="dsKeyword" color="#000000" bold="1" italic="0" /> <itemData name="Entities" defStyleNum="dsOthers" color="#4086C0" bold="1" italic="1" /> <itemData name="Description" defStyleNum="dsString" color="#ff0000" />- <itemData name="Comment" defStyleNum="dsComment" color="#0000ff" italic="1" />+ <itemData name="Comment" defStyleNum="dsComment" /> <itemData name="Region" defStyleNum="dsRegionMarker" /> <itemData name="Identifier" defStyleNum="dsOthers" /> <itemData name="HTML Comment" defStyleNum="dsComment" />
xml/haskell.xml view
@@ -1,18 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Haskell" version="2.0.4" kateversion="2.3" section="Sources" extensions="*.hs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell">+<language name="Haskell" version="2.0.5" kateversion="2.3" section="Sources" extensions="*.hs" mimetype="text/x-haskell" author="Nicolas Wu (zenzike@gmail.com)" license="LGPL" indenter="haskell"> <highlighting> <list name="keywords">- <item> as </item> <item> case </item> <item> class </item> <item> data </item> <item> deriving </item> <item> do </item> <item> else </item>- <item> hiding </item> <item> if </item>- <item> import </item> <item> in </item> <item> infixl </item> <item> infixr </item>@@ -22,7 +19,6 @@ <item> newtype </item> <item> of </item> <item> primitive </item>- <item> qualified </item> <item> then </item> <item> type </item> <item> where </item>@@ -303,11 +299,17 @@ <item> Foldable </item> <item> Traversable </item> </list>+ <list name="import_keywords">+ <item> as </item>+ <item> qualified </item>+ <item> hiding </item>+ </list> <contexts> <context attribute="Normal" lineEndContext="#stay" name="code"> <RegExpr attribute="Pragma" context="#stay" String="\{-#.*#-\}"/> <RegExpr attribute="Comment" context="comments" String="\{-[^#]?" /> <RegExpr attribute="Comment" context="comment" String="--[^\-!#\$%&\*\+/<=>\?\@\^\|~\.:].*$" />+ <RegExpr attribute="Keyword" context="import" String="import" /> <keyword attribute="Keyword" context="#stay" String="keywords" /> <keyword attribute="Function Prelude" context="#stay" String="prelude function" />@@ -320,12 +322,12 @@ <AnyChar attribute="Special" context="#stay" String="∷⇒→←∀∃" /> <RegExpr attribute="Signature" context="#stay" String="\s*[a-z][a-zA-Z0-9_']*\s*(?=::[^\-!#\$%&\*\+/<=>\?\@\^\|~\.:])" /> <RegExpr attribute="Signature" context="#stay" String="\s*(\([\-!#\$%&\*\+/<=>\?\@\^\|~\.:]*\))*\s*(?=::[^\-!#\$%&\*\+/<=>\?\@\^\|~\.:])" />- <RegExpr attribute="Float" context="#stay" String="\d+\.\d+" />- <Int attribute="Decimal" context="#stay" /> <RegExpr attribute="Function" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[a-z][a-zA-Z0-9_']*" /> <RegExpr attribute="Operator" context="#stay" String="([A-Z][a-zA-Z0-0_']*\.)*[\-!#\$%&\*\+/<=>\?\@\^\|~\.:]+" /> <RegExpr attribute="Type" context="#stay" String="([A-Z][a-zA-Z0-9_']*\.)*[A-Z][a-zA-Z0-9_']*" /> + <Int attribute="Decimal" context="#stay" />+ <RegExpr attribute="Float" context="#stay" String="\d+\.\d+" /> <DetectChar attribute="Char" context="char" char="'" /> <DetectChar attribute="String" context="string" char=""" /> @@ -347,6 +349,9 @@ </context> <context attribute="Function Infix" lineEndContext="#stay" name="infix"> <DetectChar attribute="Function Infix" context="#pop" char="`"/>+ </context>+ <context attribute="Import Statement" lineEndContext="#pop" name="import">+ <keyword attribute="Keyword" context="#stay" String="import_keywords" /> </context> </contexts> <itemDatas>
xml/java.xml view
@@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="Java" version="1.20" kateversion="2.4" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)">+<language name="Java" version="1.21" kateversion="2.4" section="Sources" extensions="*.java" mimetype="text/x-java" license="LGPL" author="Alfredo Luiz Foltran Fialho (alfoltran@ig.com.br)"> <highlighting> <list name="java15"> <item> ACTIVE </item>@@ -142,7 +142,6 @@ <item> AncestorListener </item> <item> AnnotatedElement </item> <item> Annotation </item>- <item> Annotation </item> <item> AnnotationFormatError </item> <item> AnnotationTypeMismatchException </item> <item> Any </item>@@ -3783,6 +3782,7 @@ <RegExpr attribute="Keyword" context="StaticImports" String="\b(import\s+static)\b" /> <RegExpr attribute="Keyword" context="Imports" String="\b(package|import)\b" /> <RegExpr attribute="Function" context="#stay" String="\b[_\w][_\w\d]*(?=[\s]*(/\*\s*\d+\s*\*/\s*)?[(])" />+ <RegExpr attribute="Annotation" context="#stay" String="@[_\w][_\w\d]*" /> <RegExpr attribute="Symbol" context="Member" String="[.]{1,1}" /> <DetectChar attribute="Symbol" context="InFunctionCall" char="("/> <AnyChar attribute="Symbol" context="#stay" String=":!%&+,-/.*<=>?[]|~^;"/>@@ -3830,6 +3830,7 @@ <itemDatas> <itemData name="Normal Text" defStyleNum="dsNormal"/> <itemData name="Keyword" defStyleNum="dsKeyword"/>+ <itemData name="Annotation" defStyleNum="dsFunction"/> <itemData name="Function" defStyleNum="dsFunction"/> <itemData name="StaticImports" defStyleNum="dsKeyword" color="#800080" selColor="#FFFFFF" bold="0" italic="0"/> <itemData name="Imports" defStyleNum="dsKeyword" color="#808000" selColor="#FFFFFF" bold="0" italic="0"/>
xml/javascript.xml view
@@ -3,203 +3,167 @@ <!-- Author: Anders Lund <anders@alweb.dk> //--> <!-- Minor changes: Joseph Wenninger <jowenn@kde.org> //--> <!-- Full JavaScript 1.0 support by Whitehawk Stormchaser //-->-<language name="JavaScript" version="1.18" kateversion="2.4" section="Scripts" extensions="*.js"+<language name="JavaScript" version="1.20" kateversion="2.4" section="Scripts" extensions="*.js;*.kwinscript" mimetype="text/x-javascript;application/x-javascript" indenter="cstyle" author="Anders Lund (anders@alweb.dk), Joseph Wenninger (jowenn@kde.org), Whitehawk Stormchaser (zerokode@gmx.net)" license=""> <highlighting> <list name="keywords">- <item> if </item>- <item> else </item>- <item> for </item>- <item> in </item>- <item> while </item>- <item> do </item>- <item> continue </item>- <item> break </item>- <item> with </item>- <item> try </item>- <item> catch </item>- <item> finally </item>- <item> switch </item>- <item> case </item>- <item> new </item>- <item> var </item>- <item> function </item>- <item> return </item>- <item> delete </item>- <item> true </item>- <item> false </item>- <item> void </item>- <item> throw </item>- <item> typeof </item>- <item> const </item>- <item> default </item>+ <item> break </item>+ <item> case </item>+ <item> catch </item>+ <item> const </item>+ <item> continue </item>+ <item> debugger </item>+ <item> default </item>+ <item> delete </item>+ <item> do </item>+ <item> else </item>+ <item> finally </item>+ <item> for </item>+ <item> function </item>+ <item> if </item>+ <item> in </item>+ <item> instanceof </item>+ <item> new </item>+ <item> return </item>+ <item> switch </item>+ <item> this </item>+ <item> throw </item>+ <item> try </item>+ <item> typeof </item>+ <item> var </item>+ <item> void </item>+ <item> while </item>+ <item> with </item> </list>- <list name="functions">- <item> escape </item>- <item> isFinite </item>- <item> isNaN </item>- <item> Number </item>- <item> parseFloat </item>- <item> parseInt </item>- <item> reload </item>- <item> taint </item>- <item> unescape </item>- <item> untaint </item>- <item> write </item>- </list>- <list name="objects">- <item>Anchor</item>- <item>Applet</item>- <item>Area</item>- <item>Array</item>- <item>Boolean</item>- <item>Button</item>- <item>Checkbox</item>- <item>Date</item>- <item>document</item>- <item>window</item>- <item>Image</item>- <item>FileUpload</item>- <item>Form</item>- <item>Frame</item>- <item>Function</item>- <item>Hidden</item>- <item>Link</item>- <item>MimeType</item>- <item>Math</item>- <item>Max</item>- <item>Min</item>- <item>Layer</item>- <item>navigator</item>- <item>Object</item>- <item>Password</item>- <item>Plugin</item>- <item>Radio</item>- <item>RegExp</item>- <item>Reset</item>- <item>Screen</item>- <item>Select</item>- <item>String</item>- <item>Text</item>- <item>Textarea</item>- <item>this</item>- <item>Window</item>- </list>- <list name="math">- <item> abs </item>- <item> acos </item>- <item> asin </item>- <item> atan </item>- <item> atan2 </item>- <item> ceil </item>- <item> cos </item>- <item> ctg </item>- <item> E </item>- <item> exp </item>- <item> floor </item>- <item> LN2 </item>- <item> LN10 </item>- <item> log </item>- <item> LOG2E </item>- <item> LOG10E </item>- <item> PI </item>- <item> pow </item>- <item> round </item>- <item> sin </item>- <item> sqrt </item>- <item> SQRT1_2 </item>- <item> SQRT2 </item>- <item> tan </item>+ <list name="reserved">+ <item> class </item>+ <item> enum </item>+ <item> export </item>+ <item> extends </item>+ <item> import </item>+ <item> super </item>++ <!-- The following keywords are reserved only in strict-mode -->+ <item> implements </item>+ <item> interface </item>+ <item> let </item>+ <item> package </item>+ <item> private </item>+ <item> protected </item>+ <item> public </item>+ <item> static </item>+ <item> yield </item> </list>- <list name="events">- <item>onAbort</item>- <item>onBlur</item>- <item>onChange</item>- <item>onClick</item>- <item>onError</item>- <item>onFocus</item>- <item>onLoad</item>- <item>onMouseOut</item>- <item>onMouseOver</item>- <item>onReset</item>- <item>onSelect</item>- <item>onSubmit</item>- <item>onUnload</item>+ <list name="primitives">+ <item> Infinity </item>+ <item> NaN </item>+ <item> false </item>+ <item> null </item>+ <item> true </item>+ <item> undefined </item> </list> <contexts> <context attribute="Normal Text" lineEndContext="#stay" name="Normal">- <DetectSpaces/>- <StringDetect attribute="Region Marker" context="region_marker" String="//BEGIN" beginRegion="Region1"/>- <StringDetect attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1"/>- <Float attribute="Float" context="#stay" />- <Int attribute="Decimal" context="#stay" />- <RegExpr attribute="JSON" context="#stay" String="\b[\w\.]+\b\s*(?=:)" />+ <DetectSpaces/>+ <StringDetect attribute="Region Marker" context="region_marker" String="//BEGIN" beginRegion="Region1" />+ <StringDetect attribute="Region Marker" context="region_marker" String="//END" endRegion="Region1" /> - <keyword attribute="Keyword" context="#stay" String="keywords" />- <keyword attribute="Function" context="#stay" String="functions" />- <keyword attribute="Objects" context="#stay" String="objects" />- <keyword attribute="Math" context="#stay" String="math" />- <keyword attribute="Events" context="#stay" String="events" />+ <Float attribute="Float" context="NoRegExp" />+ <HlCOct attribute="Octal" context="NoRegExp" />+ <HlCHex attribute="Hex" context="NoRegExp" />+ <Int attribute="Decimal" context="NoRegExp" />+ <AnyChar context="NoRegExp" String="])" /> - <DetectChar context="ObjectMember" char="." />- <RegExpr attribute="Objects" context="ObjectMember" String="\b[\w\.]+(?=\.)" />+ <keyword attribute="Keyword" String="keywords" />+ <keyword attribute="Reserved" String="reserved" />+ <keyword attribute="Keyword" context="NoRegExp" String="primitives" /> - <DetectIdentifier/>- <DetectChar attribute="String" context="String" char="""/>- <DetectChar attribute="String Char" context="String 1" char="'"/>- <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/"/>- <Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="Comment"/>- <RegExpr attribute="Normal Text" context="(Internal regex catch)" String="[=?:]" />- <RegExpr attribute="Normal Text" context="(Internal regex catch)" String="\(" />- <DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />- <DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />- <AnyChar attribute="Symbol" context="#stay" String=":!%&+,-/.*<=>?[]|~^;"/>+ <!--DetectIdentifier-->+ <RegExpr attribute="Objects" context="Object Member" String="[a-zA-Z_$][\w$]*(?=\s*\.)" />+ <!--DetectIdentifier-->+ <RegExpr attribute="Object Member" context="NoRegExp" String="[a-zA-Z_$][\w$]*(?=\s*\()" />+ <DetectChar context="Object Member" char="." />+ <!--DetectIdentifier-->+ <RegExpr context="NoRegExp" String="[a-zA-Z_$][\w$]*" />++ <DetectChar attribute="String" context="String" char=""" />+ <DetectChar attribute="String" context="String SQ" char="'" />++ <IncludeRules context="##Doxygen" />+ <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/" />+ <Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" beginRegion="Comment" />++ <DetectChar attribute="Regular Expression" context="(regex caret first check)" char="/" />++ <DetectChar attribute="Symbol" context="Object" char="{" beginRegion="Brace" />+ <DetectChar attribute="Symbol" context="Conditional Expression" char="?" />++ <AnyChar attribute="Symbol" String=":!%&+,-/.*<=>?|~^;" /> </context> + <context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="Object Member">+ <DetectChar char="." />+ <!--DetectIdentifier-->+ <RegExpr attribute="Objects" context="Object Member" String="[a-zA-Z_$][\w$]*(?=\s*\.)" />+ <!--DetectIdentifier-->+ <RegExpr attribute="Object Member" String="[a-zA-Z_$][\w$]*" />+ <IncludeRules context="NoRegExp" />+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop" name="NoRegExp">+ <Detect2Chars context="#pop" lookAhead="true" char="/" char1="/" />+ <Detect2Chars context="#pop" lookAhead="true" char="/" char1="*" />+ <DetectChar context="#pop" char="/" />+ <DetectSpaces/>+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="Conditional Expression">+ <DetectChar context="#pop" char=":" />+ <IncludeRules context="Normal" />+ </context>++ <context attribute="Normal Text" lineEndContext="#stay" name="Object">+ <!-- Mostly required for define: in switch blocks -->+ <keyword attribute="Keyword" String="keywords" />+ <!--DetectIdentifier-->+ <RegExpr attribute="JSON" String="[a-zA-Z_$][\w$]*\s*(?=:)" />+ <DetectChar attribute="Symbol" char="}" endRegion="Brace" context="#pop" />+ <IncludeRules context="Normal" />+ </context>+ <context attribute="String" lineEndContext="#pop" name="String">- <DetectIdentifier/>- <HlCStringChar attribute="String Char" context="#stay"/>- <LineContinue attribute="String" context="#stay"/>- <DetectChar attribute="String" context="#pop" char="""/>+ <HlCStringChar attribute="Char" />+ <LineContinue/>+ <DetectChar attribute="String" context="#pop" char=""" /> </context>- <context attribute="String Char" lineEndContext="#pop" name="String 1">- <DetectIdentifier/>- <HlCStringChar attribute="String Char" context="#stay"/>- <LineContinue attribute="String" context="#stay"/>- <DetectChar attribute="String Char" context="#pop" char="'"/>+ <context attribute="String" lineEndContext="#pop" name="String SQ">+ <HlCStringChar attribute="Char" />+ <LineContinue/>+ <DetectChar attribute="String" context="#pop" char="'" /> </context> <context attribute="Comment" lineEndContext="#pop" name="Comment">- <DetectSpaces /> <IncludeRules context="##Alerts" />- <DetectIdentifier /> </context> <context attribute="Comment" lineEndContext="#stay" name="Multi/inline Comment"> <IncludeRules context="##Alerts" />- <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>+ <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment" /> </context> <context attribute="Regular Expression" lineEndContext="#stay" name="Regular Expression">- <RegExpr attribute="Regular Expression" context="#pop#pop#pop" String="/[ig]{0,2}" />- <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\{[\d, ]+\}" />- <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\[bB]" />- <RegExpr attribute="Pattern Character Class" context="#stay" String="\\[nrtvfDdSsWw]" />+ <RegExpr attribute="Regular Expression" context="#pop#pop" String="/\w*" />+ <RegExpr attribute="Pattern Internal Operator" String="\{[\d, ]+\}" />+ <RegExpr attribute="Pattern Internal Operator" String="\\[bB]" />+ <RegExpr attribute="Pattern Character Class" String="\\[nrtvfDdSsWw]" /> <DetectChar attribute="Pattern Character Class" context="(charclass caret first check)" char="[" />- <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\." />- <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\$(?=/)" />- <AnyChar attribute="Pattern Internal Operator" context="#stay" String="?+*()|" />- </context>- <context attribute="Normal Text" lineEndContext="#stay" name="(Internal regex catch)" fallthrough="true" fallthroughContext="#pop">- <DetectSpaces attribute="Normal Text" context="#stay" />- <RegExpr attribute="Regular Expression" context="#pop" String="//(?=;)" />- <Detect2Chars attribute="Comment" context="Comment" char="/" char1="/" />- <Detect2Chars attribute="Comment" context="Multi/inline Comment" char="/" char1="*" />- <DetectChar attribute="Regular Expression" context="(regex caret first check)" char="/" />+ <RegExpr attribute="Pattern Internal Operator" String="\\." />+ <RegExpr attribute="Pattern Internal Operator" String="\$(?=/)" />+ <AnyChar attribute="Pattern Internal Operator" String="?+*()|" /> </context> <context attribute="Pattern Character Class" lineEndContext="#stay" name="Regular Expression Character Class">- <RegExpr attribute="Pattern Character Class" context="#stay" String="\\[\[\]]" />- <RegExpr attribute="Pattern Internal Operator" context="#stay" String="\\." />+ <RegExpr String="\\[\[\]]" />+ <RegExpr attribute="Pattern Internal Operator" String="\\." /> <DetectChar attribute="Pattern Character Class" context="#pop#pop" char="]" /> </context> <context attribute="Pattern Internal Operator" lineEndContext="#pop" name="(regex caret first check)" fallthrough="true" fallthroughContext="Regular Expression">@@ -210,37 +174,32 @@ </context> <context name="region_marker" attribute="Region Marker" lineEndContext="#pop" >- <DetectIdentifier />- <DetectSpaces />- </context>-- <context name="ObjectMember" attribute="Normal Text" lineEndContext="#stay">- <DetectChar context="#stay" char="." />- <DetectIdentifier attribute="Object Member" />- <DetectSpaces context="#pop" />- <AnyChar lookAhead="true" context="#pop" String="(){}:!%&+,-/.*<=>?[]|~^;"/>+ <DetectIdentifier/>+ <DetectSpaces/> </context> </contexts> <itemDatas>- <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>- <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>- <itemData name="Function" defStyleNum="dsFunction" spellChecking="false"/>- <itemData name="Objects" defStyleNum="dsKeyword" color="#008000" selColor="#00ffff" bold="0" italic="0" spellChecking="false"/>- <itemData name="Object Member" defStyleNum="dsFunction" spellChecking="false"/>- <itemData name="Math" defStyleNum="dsKeyword" color="#DBA716" selColor="#00ffff" bold="0" italic="0" spellChecking="false"/>- <itemData name="Events" defStyleNum="dsKeyword" color="#F766D5" selColor="#00ffff" bold="0" italic="0" spellChecking="false"/>- <itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false"/>- <itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/>- <itemData name="Char" defStyleNum="dsChar" spellChecking="false"/>- <itemData name="String" defStyleNum="dsString"/>- <itemData name="String Char" defStyleNum="dsChar" spellChecking="false"/>- <itemData name="Comment" defStyleNum="dsComment"/>- <itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false"/>- <itemData name="Regular Expression" defStyleNum="dsOthers" spellChecking="false"/>- <itemData name="Pattern Internal Operator" defStyleNum="dsFloat" spellChecking="false"/>- <itemData name="Pattern Character Class" defStyleNum="dsBaseN" spellChecking="false"/>- <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false"/>- <itemData name="JSON" defStyleNum="dsDataType" spellChecking="false"/>+ <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />+ <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false" />+ <itemData name="Reserved" defStyleNum="dsKeyword" italic="true" spellChecking="false" />+ <itemData name="Function" defStyleNum="dsFunction" spellChecking="false" />+ <itemData name="Objects" defStyleNum="dsOthers" spellChecking="false" />+ <itemData name="Object Member" defStyleNum="dsFunction" spellChecking="false" />++ <itemData name="Decimal" defStyleNum="dsDecVal" spellChecking="false" />+ <itemData name="Octal" defStyleNum="dsBaseN" spellChecking="false" />+ <itemData name="Hex" defStyleNum="dsBaseN" spellChecking="false" />+ <itemData name="Float" defStyleNum="dsFloat" spellChecking="false" />+ <itemData name="Char" defStyleNum="dsChar" spellChecking="false" />+ <itemData name="String" defStyleNum="dsString" />++ <itemData name="Comment" defStyleNum="dsComment" />+ <itemData name="Symbol" defStyleNum="dsNormal" spellChecking="false" />+ <itemData name="Regular Expression" defStyleNum="dsOthers" spellChecking="false" />+ <itemData name="Pattern Internal Operator" defStyleNum="dsFloat" spellChecking="false" />+ <itemData name="Pattern Character Class" defStyleNum="dsBaseN" spellChecking="false" />+ <itemData name="Region Marker" defStyleNum="dsRegionMarker" spellChecking="false" />+ <itemData name="JSON" defStyleNum="dsDataType" spellChecking="false" /> </itemDatas> </highlighting> <general>
+ xml/julia.xml view
@@ -0,0 +1,296 @@+<?xml version="1.0" encoding="UTF-8"?>+<!--+ ====================================================================+ Julia syntax highlighting file for the KDE editors Kate and Kwrite+ ====================================================================++ This was adapted from the Matlab syntax highlighting file++ Most of this XML file is straightforward. Only the character ' (')+ needs nontrivial treatment, since it is both a postfix operator indicating+ complex conjugate transpose (adjoint) and a character delimiter. It is an+ adjoint operator in the following positions:+ 1) immediately after an identifier (variable, function, but not keyword)+ 2) immediately after a number literal+ 3) immediately after the closing parenthesis ), ] and }+ 4) immediately after a simple transpose operator .'+ 5) immediately after another adjoint operator '+ Otherwise it is a character delimiter.++ This is implemented using look-ahead regexps. If one of the entities in the+ above cases 1-4 (identifier, number literal, ...) matches and look-ahead+ shows that it is followed by a ', the entity is highlighted and control is+ passed to the special context _adjoint, whose sole purpose is to correctly+ highlight a series of ' (thus covering case 5 as well). _adjoint immediately+ returns to the default context _normal.++ Author: Timothy E. Holy, Washington University in St. Louis+-->++<!DOCTYPE language SYSTEM "language.dtd">++<language name="Julia" section="Sources" version="0.2" kateversion="2.2" extensions="*.jl" casesensitive="1" priority="5" license="MIT">++ <highlighting>+ <list name="block_begin">+ <item> begin </item>+ <item> do </item>+ <item> for </item>+ <item> function </item>+ <item> if </item>+ <item> let </item>+ <item> quote </item>+ <item> try </item>+ <item> type </item>+ <item> while </item>+ </list>+ <list name="block_eb">+ <item> catch </item>+ <item> finally </item>+ <item> else </item>+ <item> elseif </item>+ </list>+ <list name="block_end">+ <item> end </item>+ </list>+ <list name="keywords">+ <item> abstract </item>+ <item> bitstype </item>+ <item> break </item>+ <item> ccall </item>+ <item> const </item>+ <item> continue </item>+ <item> export </item>+ <item> global </item>+ <item> import </item>+ <item> importall </item>+ <item> in </item>+ <item> local </item>+ <item> macro </item>+ <item> module </item>+ <item> baremodule </item>+ <item> return </item>+ <item> typealias </item>+ <item> using </item>+ </list>+ <list name="types">+ <item> AbstractArray </item>+ <item> AbstractMatrix </item>+ <item> AbstractVector </item>+ <item> Any </item>+ <item> Array </item>+ <item> ASCIIString </item>+ <item> Associative </item>+ <item> Bool </item>+ <item> ByteString </item>+ <item> Char </item>+ <item> Complex </item>+ <item> Complex64 </item>+ <item> Complex128 </item>+ <item> ComplexPair </item>+ <item> DArray </item>+ <item> Dict </item>+ <item> Exception </item>+ <item> Expr </item>+ <item> Float </item>+ <item> Float32 </item>+ <item> Float64 </item>+ <item> Function </item>+ <item> ObjectIdDict </item>+ <item> Int </item>+ <item> Int8 </item>+ <item> Int16 </item>+ <item> Int32 </item>+ <item> Int64 </item>+ <item> Int128 </item>+ <item> Integer </item>+ <item> IntSet </item>+ <item> IO </item>+ <item> IOStream </item>+ <item> Matrix </item>+ <item> Nothing </item>+ <item> None </item>+ <item> NTuple </item>+ <item> Number </item>+ <item> Ptr </item>+ <item> Range </item>+ <item> Range1 </item>+ <item> Ranges </item>+ <item> Rational </item>+ <item> Real </item>+ <item> Regex </item>+ <item> RegexMatch </item>+ <item> Set </item>+ <item> Signed </item>+ <item> StridedArray </item>+ <item> StridedMatrix </item>+ <item> StridedVecOrMat </item>+ <item> StridedVector </item>+ <item> String </item>+ <item> SubArray </item>+ <item> SubString </item>+ <item> Symbol </item>+ <item> Task </item>+ <item> Tuple </item>+ <item> Type </item>+ <item> Uint </item>+ <item> Uint8 </item>+ <item> Uint16 </item>+ <item> Uint32 </item>+ <item> Uint64 </item>+ <item> Uint128 </item>+ <item> Union </item>+ <item> Unsigned </item>+ <item> UTF8String </item>+ <item> VecOrMat </item>+ <item> Vector </item>+ <item> Void </item>+ <item> WeakRef </item>+ </list>+ <contexts>++ <context name="_normal" attribute="Normal Text" lineEndContext="#stay">++ <DetectSpaces />++ <!-- Blocks -->+ <keyword context="#stay" attribute="Keyword" String="block_begin" +beginRegion="block" />+ <keyword context="#stay" attribute="Keyword" String="block_eb" +endRegion="block" beginRegion="block" />+ <keyword context="#stay" attribute="Keyword" String="block_end" +endRegion="block" />+ <StringDetect String="#BEGIN" context="region_marker" attribute="FoldingComment" beginRegion="user_region" />+ <StringDetect String="#END" context="region_marker" attribute="FoldingComment" endRegion="user_region" />++ <!-- Keywords, types, and comments -->+ <keyword context="#stay" attribute="Keyword" String="keywords" />+ <keyword context="#stay" attribute="Data Type" String="types" />+ <DetectChar char="#" context="1-comment" attribute="Comment"/>++ <!-- Lists and arrays -->+ <!-- <DetectChar char="(" context="nested" beginRegion="nested" attribute="Delimiter" />+ <DetectChar char="[" context="squared" beginRegion="squared" attribute="Delimiter" />+ <DetectChar char="{" context="curly" beginRegion="curly" attribute="Delimiter" /> -->++ <!-- Strings -->+ <DetectChar attribute="String" context="String" char="""/>++ <!-- Multi-character operators -->+ <StringDetect context="#stay" attribute="Operator" String="..."/>+ <StringDetect context="#stay" attribute="Operator" String="::"/>+ <StringDetect context="#stay" attribute="Operator" String=">>>"/>+ <StringDetect context="#stay" attribute="Operator" String=">>"/>+ <StringDetect context="#stay" attribute="Operator" String="<<"/>+ <StringDetect context="#stay" attribute="Operator" String="=="/>+ <StringDetect context="#stay" attribute="Operator" String="!="/>+ <StringDetect context="#stay" attribute="Operator" String="<="/>+ <StringDetect context="#stay" attribute="Operator" String=">="/>+ <StringDetect context="#stay" attribute="Operator" String="&&"/>+ <StringDetect context="#stay" attribute="Operator" String="||"/>+ <StringDetect context="#stay" attribute="Operator" String=".*"/>+ <StringDetect context="#stay" attribute="Operator" String=".^"/>+ <StringDetect context="#stay" attribute="Operator" String="./"/>+ <StringDetect context="#stay" attribute="Operator" String=".'"/>+ <StringDetect context="#stay" attribute="Operator" String="+="/>+ <StringDetect context="#stay" attribute="Operator" String="-="/>+ <StringDetect context="#stay" attribute="Operator" String="*="/>+ <StringDetect context="#stay" attribute="Operator" String="/="/>+ <StringDetect context="#stay" attribute="Operator" String="&="/>+ <StringDetect context="#stay" attribute="Operator" String="|="/>+ <StringDetect context="#stay" attribute="Operator" String="$="/>+ <StringDetect context="#stay" attribute="Operator" String=">>>="/>+ <StringDetect context="#stay" attribute="Operator" String=">>="/>+ <StringDetect context="#stay" attribute="Operator" String="<<="/>++ <!-- Look-ahead for adjoint ' after variable, number literal, closing braces and .' -->+ <RegExpr context="_adjoint" attribute="Variable" String="[a-zA-Z]\w*(?=')" />+ <RegExpr context="_adjoint" attribute="Float" String="(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?(im)?(?=')" />+ <RegExpr context="_adjoint" attribute="Delimiter" String="[\)\]}](?=')" />+ <RegExpr context="_adjoint" attribute="Operator" String="\.'(?=')" />++ <!-- If ' is not the adjoint operator, it starts a character or an unterminated char -->+ <RegExpr context="#stay" attribute="Char" String="'[^']*(''[^']*)*'(?=[^']|$)" />+ <RegExpr context="#stay" attribute="Incomplete Char" String="'[^']*(''[^']*)*" />++ <!-- Identifiers, numbers and braces -->+ <!-- We can't use HlCHex, Int, and Float because we need to allow the "im" at the end of complex numbers -->+ <DetectIdentifier context="#stay" attribute="Variable" />+ <RegExpr context="#stay" attribute="Hex" String="0x[0-9a-fA-F]+(im)?" />+ <RegExpr context="#stay" attribute="Float" String="(\d+(\.\d+)?|\.\d+)([eE][+-]?\d+)?(im)?" />+ <AnyChar context="#stay" attribute="Delimiter" String="()[]{}"/>++ <!-- Single-character operators -->+ <AnyChar context="#stay" attribute="Operator" String="*+-/\&|<>~$!^=,;:@"/>++ </context>++ <!-- Context for user block (#BEGIN...#END) -->+ <context name="region_marker" lineEndContext="#pop" attribute="FoldingComment" >+ <IncludeRules context="1-comment" />+ </context>++ <!-- Contexts entered after beginning a list or array -->+ <context name="nested" attribute="Normal text" lineEndContext="#stay">+ <DetectChar char=")" context="#pop" endRegion="nested" attribute="Delimiter" />+ </context>+ <context name="squared" attribute="Normal text" lineEndContext="#stay">+ <DetectChar char="]" context="#pop" endRegion="squared" attribute="Delimiter" />+ </context>+ <context name="curly" attribute="Normal text" lineEndContext="#stay">+ <DetectChar char="}" context="#pop" endRegion="curly" attribute="Delimiter" />+ </context>++ <!-- Context entered after encountering an ' adjoint operator -->+ <context name="_adjoint" attribute="Operator" lineEndContext="#pop">+ <RegExpr context="#pop" attribute="Operator" String="'+" />+ </context>++ <!-- Context entered after encountering an " (string) -->+ <context attribute="String" lineEndContext="#pop" name="String">+ <DetectSpaces />+ <DetectIdentifier />+ <LineContinue attribute="String" context="#stay"/>+ <HlCStringChar attribute="String Char" context="#stay"/>+ <DetectChar attribute="String" context="#pop" char="""/>+ </context>++ <!-- 1-line comment: #pop@EOL -->+ <context name="1-comment" lineEndContext="#pop" attribute="Comment">+ <DetectSpaces />+ <DetectIdentifier />+ </context>++ </contexts>++ <itemDatas>+ <itemData name="Normal Text" defStyleNum="dsNormal" />+ <itemData name="Variable" defStyleNum="dsNormal" />+ <itemData name="Operator" defStyleNum="dsNormal"/>+ <itemData name="Decimal" defStyleNum="dsDecVal" />+ <itemData name="Float" defStyleNum="dsFloat" />+ <itemData name="Hex" defStyleNum="dsBaseN" />+ <itemData name="Delimiter" defStyleNum="dsNormal" />+ <itemData name="String" defStyleNum="dsString"/>+ <itemData name="Char" defStyleNum="dsChar"/>+ <itemData name="Incomplete Char" defStyleNum="dsChar"/>+ <itemData name="System" defStyleNum="dsBaseN"/>+ <itemData name="Keyword" defStyleNum="dsKeyword"/>+ <itemData name="Data Type" defStyleNum="dsDataType"/>+ <itemData name="Comment" defStyleNum="dsComment"/>+ <itemData name="FoldingComment" defStyleNum="dsComment" />+ </itemDatas>++ </highlighting>++ <general>+ <comments>+ <comment name="singleLine" start="#" />+ </comments>+ <keywords casesensitive="1" weakDeliminator=""/>+ </general>++</language>++<!-- It's recommended to put the following line in the Variables field under Settings->Configure Kate->Open/Save->Modes&Filetypes -->+<!-- kate: space-indent on; indent-width 4; mixed-indent off; indent-mode cstyle; -->
xml/latex.xml view
@@ -1,15 +1,16 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd">-<language name="LaTeX" version="1.48" section="Markup" kateversion="2.3" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" >+<language name="LaTeX" version="1.52" section="Markup" kateversion="2.3" priority="10" extensions="*.tex;*.ltx;*.dtx;*.sty;*.cls;*.bbx;*.cbx;*.lbx;*.tikz" mimetype="text/x-tex" casesensitive="1" author="Jeroen Wijnhout (Jeroen.Wijnhout@kdemail.net)+Holger Danielsson (holger.danielsson@versanet.de)+Michel Ludwig (michel.ludwig@kdemail.net)+Thomas Braun (thomas.braun@virtuell-zuhause.de)" license="LGPL" > <highlighting> <contexts> <!-- Normal text --> <context name="Normal Text" attribute="Normal Text" lineEndContext="#stay"> <RegExpr String="\\begin(?=[^a-zA-Z])" attribute="Structure" context="FindBeginEnvironment" beginRegion="block" /> <RegExpr String="\\end(?=[^a-zA-Z])" attribute="Structure" context="FindEndEnvironment" />- <RegExpr String="\\(cite|parencite|autocite|Autocite|citetitle)\*(?=[^a-zA-Z])" attribute="Structure" context="Label"/>+ <RegExpr String="\\(cite|citet|citep|parencite|autocite|Autocite|citetitle)\*(?=[^a-zA-Z])" attribute="Structure" context="Label"/>+ <RegExpr String="\\(documentclass|includegraphics|include|usepackage|bibliography|bibliographystyle)(?=[^a-zA-Z])" attribute="Structure Keyword" context="FancyLabel"/> <RegExpr String="\\(cites|Cites|parencites|Parencites|autocites|Autocites|supercites|footcites|Footcites)(?=[^a-zA-Z])" attribute="Structure" context="FancyLabel"/>- <RegExpr String="\\(cite|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/>+ <RegExpr String="\\(cite|citet|citep|nocite|Cite|parencite|Parencite|footcite|Footcite|textcite|Textcite|supercite|autocite|Autocite|citeauthor|Citeauthor|citetitle|citeyear|citeurl|nocite|fullcite|footfullcite)(?=[^a-zA-Z])" attribute="Structure" context="Label"/> <RegExpr String="\\(subref\*?|cref\*?|label|pageref|autoref|ref|vpageref|vref|pagecite|eqref)(?=[^a-zA-Z])" attribute="Structure" context="Label"/> <RegExpr String="\\(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)\*?\s*(?=[\{\[])" attribute="Structure" context="Sectioning"/> <RegExpr String="\\(footnote)\*?\s*(?=[\{\[])" attribute="Keyword" context="Footnoting"/>@@ -96,7 +97,8 @@ <!-- LaTeX commands \newcommand and \renewcommand --> <context name="NewCommand" attribute="Normal Text" lineEndContext="#stay" fallthrough="true" fallthroughContext="#pop">- <RegExpr String="\s*\{\s*\\[a-zA-Z]+\s*\}(\[\d\](\[[^\]]*\])?)?\{" attribute="Normal Text" context="CommandParameterStart"/>+ <RegExpr String="\s*\{\s*" attribute="Normal Text" context="LabelParameter"/>+ <RegExpr String="\s*(\[\d\](\[[^\]]*\])?)?\{" attribute="Normal Text" context="LabelParameter"/> <DetectChar char="}" attribute="Error" context="#pop"/> </context> @@ -124,6 +126,7 @@ <context name="ContrSeq" attribute="Keyword" lineEndContext="#pop"> <StringDetect String="verb*" attribute="Keyword" context="Verb"/> <RegExpr String="(Verb|verb|lstinline)(?=[^a-zA-Z])" attribute="Keyword" context="Verb"/>+ <RegExpr String="mint(?=[^a-zA-Z])" attribute="Keyword" context="MintParam"/> <DetectChar char="×" attribute="Bullet" context="#stay"/> <RegExpr String="[a-zA-Z@]+(\+?|\*{0,3})" attribute="Keyword" context="#pop"/> <RegExpr String="[^a-zA-Z]" attribute="Keyword" context="#pop" />@@ -131,6 +134,13 @@ <context name="ToEndOfLine" attribute="Normal Text" lineEndContext="#pop"> </context> + <!-- \mint command with parameter-->+ <context name="MintParam" attribute="Normal Text" lineEndContext="#stay">+ <Detect2Chars char="}" char1="[" attribute="Normal Text" context="#stay"/>+ <DetectChar char="}" attribute="Normal Text" context="Verb"/>+ <DetectChar char="]" attribute="Normal Text" context="Verb"/>+ </context>+ <!-- verb command --> <context name="Verb" attribute="Verbatim" lineEndContext="#pop#pop" > <RegExpr String="(.)" attribute="Normal Text" dynamic="true" context="VerbEnd" />@@ -210,7 +220,9 @@ <!-- filter the environment name and check the type --> <context name="BeginEnvironment" attribute="Environment" lineEndContext="#stay">- <RegExpr String="(lstlisting|(B|L)?Verbatim)" attribute="Environment" context="VerbatimEnvParam"/>+ <StringDetect String="lstlisting" attribute="Environment" context="ListingsEnvParam"/>+ <StringDetect String="minted" attribute="Environment" context="MintedEnvParam"/>+ <RegExpr String="((B|L)?Verbatim)" attribute="Environment" context="VerbatimEnvParam"/> <RegExpr String="(verbatim|boxedverbatim)" attribute="Environment" context="VerbatimEnv"/> <RegExpr String="comment" attribute="Environment" context="CommentEnv"/> <RegExpr String="(alignat|xalignat|xxalignat)" attribute="Environment" context="MathEnvParam"/>@@ -244,16 +256,62 @@ <DetectChar char="]" attribute="Normal Text" context="Verbatim"/> </context> + <!-- environment type 4: listings environment with optional parameter and HL switching-->+ <context name="ListingsEnvParam" attribute="Normal Text" fallthrough="true" fallthroughContext="Verbatim" lineEndContext="#stay">+ <Detect2Chars char="}" char1="[" attribute="Normal Text" context="#stay" />+ <RegExpr String="language\s*=\s*(?=[^,]+)" minimal="true" attribute="Normal Text" context="HighlightningSelector"/>+ <DetectChar char="}" attribute="Normal Text" context="Verbatim"/>+ <DetectChar char="]" attribute="Normal Text" context="Verbatim"/>+ </context>++ <!-- environment type 5: minted environment with optional and HL switching -->+ <context name="MintedEnvParam" attribute="Normal Text" lineEndContext="#stay">+ <Detect2Chars char="}" char1="[" attribute="Normal Text" context="#stay" />+ <Detect2Chars char="}" char1="{" attribute="Normal Text" context="HighlightningSelector"/>+ <Detect2Chars char="]" char1="{" attribute="Normal Text" context="HighlightningSelector"/>+ <DetectChar char="}" attribute="Normal Text" context="Verbatim"/>+ </context>++ <!-- Selector for different highlightning schemes, in case the language is not implemented we pop and thus fallback to verbatim -->+ <context name="HighlightningSelector" attribute="Normal Text" lineEndContext="#stay">+ <StringDetect String="C++" insensitive="true" context="HighlightningBeginC++"/>+ <StringDetect String="Python" insensitive="true" context="HighlightningBeginPython"/>+ <RegExpr String=".*(?=\}|\])" context="#pop"/>+ </context>++ <context name="HighlightningCommon" attribute="Normal Text" lineEndContext="#stay">+ <RegExpr String="\\end\s*\{(lstlisting|minted)\*?\}" attribute="Structure" lookAhead="true" context="#pop#pop#pop#pop#pop#pop"/>+ </context>++ <context name="HighlightningBeginC++" attribute="Normal Text" lineEndContext="#stay">+ <!-- Eat the trailing characters including } or ] after the language specification -->+ <RegExpr String=".*(\}|\])" context="HighlightningC++"/>+ </context>++ <context name="HighlightningC++" attribute="Normal Text" lineEndContext="#stay">+ <IncludeRules context="HighlightningCommon"/>+ <IncludeRules context="##C++" includeAttrib="true"/>+ </context>++ <context name="HighlightningBeginPython" attribute="Normal Text" lineEndContext="#stay">+ <RegExpr String=".*(\}|\])" context="HighlightningPython"/>+ </context>++ <context name="HighlightningPython" attribute="Normal Text" lineEndContext="#stay">+ <IncludeRules context="HighlightningCommon"/>+ <IncludeRules context="##Python"/>+ </context>+ <!-- parse verbatim text --> <context name="Verbatim" attribute="Verbatim" lineEndContext="#stay"> <DetectChar char="×" attribute="Bullet" context="#stay"/>- <RegExpr String="\\end(?=\s*\{(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim)\*?\})" attribute="Structure" context="VerbFindEnd"/>+ <RegExpr String="\\end(?=\s*\{(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim|minted)\*?\})" attribute="Structure" context="VerbFindEnd"/> </context> <!-- end of verbatim environment --> <context name="VerbFindEnd" attribute="Normal Text" lineEndContext="#pop" fallthrough="true" fallthroughContext="#pop"> <RegExpr String="\s*\{" attribute="Normal Text" context="#stay"/>- <RegExpr String="(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim)\*?" attribute="Environment" context="#stay"/>+ <RegExpr String="(verbatim|lstlisting|boxedverbatim|(B|L)?Verbatim|minted)\*?" attribute="Environment" context="#stay"/> <DetectChar char="}" attribute="Normal Text" context="#pop#pop#pop#pop#pop" endRegion="block"/> </context>
+ xml/literate-curry.xml view
@@ -0,0 +1,50 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE language SYSTEM "language.dtd">+<language name="Literate Curry" version="0.1" kateversion="2.3"+ section="Sources" extensions="*.lcurry" mimetype="text/x-curry"+ author="Björn Peemöller (bjp@informatik.uni-kiel.de)" license="LGPL"+ indenter="haskell">+ <highlighting>+ <contexts>++ <context attribute="Text" lineEndContext="#stay" name="Text">+ <!-- Bird Tracks -->+ <DetectChar attribute="BirdTrack" context="Code" char=">" column="0"/>+ <DetectChar attribute="BirdTrack" context="Code" char="<" column="0"/>+ <!-- \begin{code} and \begin{spec} -->+ <StringDetect attribute="Text" context="normals" String="\begin{code}"/>+ <StringDetect attribute="Text" context="normals" String="\begin{spec}"/>+ </context>++ <context attribute="Normal" lineEndContext="#pop" name="Code">+ <RegExpr attribute="Comment" context="multiline" String="\{-[^#]" />+ <IncludeRules context="##Curry" />+ </context>++ <context attribute="Normal" lineEndContext="#stay" name="normals">+ <StringDetect attribute="Normal" context="#pop" String="\end{code}"/>+ <StringDetect attribute="Normal" context="#pop" String="\end{spec}"/>+ <IncludeRules context="##Curry" />+ </context>++ <!-- Handle comments in presence of bird tracks -->+ <context attribute="Comment" lineEndContext="lineend" name="multiline" >+ <Detect2Chars attribute="Comment" context="#pop" char="-" char1="}" />+ </context>++ <context attribute="Text" lineEndContext="#stay" name="lineend">+ <DetectChar attribute="BirdTrack" context="restart" char=">" column="0"/>+ <DetectChar attribute="BirdTrack" context="restart" char="<" column="0"/>+ </context>++ <context attribute="Comment" lineEndContext="#pop" name="restart">+ <Detect2Chars attribute="Comment" context="#pop#pop#pop" char="-" char1="}" />+ </context>+ </contexts>+ <itemDatas>+ <itemData name="Text" defStyleNum="dsNormal" spellChecking="true" />+ <itemData name="BirdTrack" defStyleNum="dsOthers" spellChecking="false" />+ <itemData name="Comment" defStyleNum="dsComment" />+ </itemDatas>+ </highlighting>+</language>
xml/lua.xml view
@@ -35,7 +35,7 @@ - improved highlighting -->-<language name="Lua" version="1.04" indenter="lua" kateversion="2.4" section="Scripts" extensions="*.lua" mimetype="text/x-lua">+<language name="Lua" version="1.06" indenter="lua" kateversion="2.4" section="Scripts" extensions="*.lua" mimetype="text/x-lua"> <highlighting> <list name="keywords"> <item> and </item>@@ -213,9 +213,6 @@ </list> <contexts>- <context name="Base" attribute="Comment" lineEndContext="Normal" fallthrough="true" fallthroughContext="Normal">- <RegExpr attribute="Comment" context="Normal" String="#!.*$" column="0" />- </context> <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> <IncludeRules context="##DoxygenLua" /> <keyword attribute="Error" context="#stay" String="deprecated" />@@ -252,7 +249,7 @@ <Detect2Chars attribute="Error" context="#stay" char="+" char1="="/> <Detect2Chars attribute="Error" context="#stay" char="+" char1="+"/> <Detect2Chars attribute="Error" context="#stay" char="." char1="="/>- <AnyChar attribute="Symbols" context="#stay" String="[]().=~+-*/^><#;" />+ <AnyChar attribute="Symbols" context="#stay" String="[]().,=~+-*/^><#;" /> </context> <context name="Comment" attribute="Comment" lineEndContext="#pop"> <Detect2Chars attribute="Alerts" context="#stay" char="-" char1="-" />@@ -279,18 +276,18 @@ </context> </contexts> <itemDatas>- <itemData name="Alerts" defStyleNum="dsAlert" />- <itemData name="BFunc" defStyleNum="dsFunction"/>+ <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/>+ <itemData name="Alerts" defStyleNum="dsAlert" spellChecking="false"/>+ <itemData name="BFunc" defStyleNum="dsFunction" spellChecking="false"/> <itemData name="Comment" defStyleNum="dsComment"/>- <itemData name="Constant" defStyleNum="dsKeyword"/>- <itemData name="Control" defStyleNum="dsKeyword" color="#A1A100" selColor="#ffffff" bold="0" italic="0"/>- <itemData name="Error" defStyleNum="dsError"/>- <itemData name="Keyword" defStyleNum="dsKeyword"/>- <itemData name="Normal Text" defStyleNum="dsNormal"/>- <itemData name="Numbers" defStyleNum="dsDecVal"/>+ <itemData name="Constant" defStyleNum="dsKeyword" spellChecking="false"/>+ <itemData name="Control" defStyleNum="dsKeyword" color="#A1A100" selColor="#ffffff" bold="0" italic="0" spellChecking="false"/>+ <itemData name="Error" defStyleNum="dsError" spellChecking="false"/>+ <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/>+ <itemData name="Numbers" defStyleNum="dsDecVal" spellChecking="false"/> <itemData name="Strings" defStyleNum="dsString"/>- <itemData name="Symbols" defStyleNum="dsOthers"/>- <itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="0" italic="0" />+ <itemData name="Symbols" defStyleNum="dsOthers" spellChecking="false"/>+ <itemData name="Variable" defStyleNum="dsKeyword" color="#5555FF" selColor="#ffffff" bold="0" italic="0" spellChecking="false"/> </itemDatas> </highlighting> <general>
xml/makefile.xml view
@@ -3,8 +3,13 @@ <!-- Makefile syntaxfile v0.9 by Per Wigren <wigren@home.se> --> <!-- Modified by Joseph Wenninger <jowenn@kde.org> --> <!-- Modified by Rui Santana <santana.rui@gmail.com> -->+<!-- v2.0 by Andreas Nordal <andreas.nordal@gmail.com> --> <!-- small priority to allow for example Makefile.cpp to be detected as cpp file -->-<language name="Makefile" version="1.12" kateversion="2.4" section="Other" extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*" mimetype="text/x-makefile" author="Per Wigren (wigren@home.se)" license="">+<language name="Makefile" section="Other"+ version="2.0" kateversion="2.4"+ extensions="GNUmakefile;Makefile;makefile;GNUmakefile.*;Makefile.*;makefile.*"+ mimetype="text/x-makefile"+ author="Per Wigren (wigren@home.se)" license=""> <highlighting> <list name = "keywords"> <item> include </item>@@ -16,128 +21,189 @@ <item> ifeq </item> <item> ifndef </item> <item> ifneq </item>+ <item> override </item> </list> <list name = "functions">- <item> call </item>- <item> subst </item>- <item> patsubst </item>- <item> strip </item>- <item> findstring </item>- <item> filter </item>- <item> filter-out </item>- <item> sort </item>- <item> word </item>- <item> wordlist </item>- <item> words </item>- <item> firstword </item>- <item> lastword </item>- <item> dir </item>- <item> notdir </item>- <item> suffix </item>- <item> basename </item>- <item> addsuffix </item>- <item> addprefix </item>- <item> join </item>- <item> wildcard </item>- <item> realpath </item>- <item> abspath </item>- <item> if </item>- <item> or </item>- <item> and </item>- <item> foreach </item>- <item> value </item>- <item> eval </item>- <item> origin </item>- <item> flavor </item>- <item> shell </item>- <item> error </item>- <item> warning </item>- <item> info </item>+ <item> call </item>+ <item> subst </item>+ <item> patsubst </item>+ <item> strip </item>+ <item> findstring </item>+ <item> filter </item>+ <item> filter-out </item>+ <item> sort </item>+ <item> word </item>+ <item> wordlist </item>+ <item> words </item>+ <item> firstword </item>+ <item> lastword </item>+ <item> dir </item>+ <item> notdir </item>+ <item> suffix </item>+ <item> basename </item>+ <item> addsuffix </item>+ <item> addprefix </item>+ <item> join </item>+ <item> wildcard </item>+ <item> realpath </item>+ <item> abspath </item>+ <item> if </item>+ <item> or </item>+ <item> and </item>+ <item> foreach </item>+ <item> value </item>+ <item> eval </item>+ <item> origin </item>+ <item> flavor </item>+ <item> shell </item>+ <item> error </item>+ <item> warning </item>+ <item> info </item> </list> <contexts>- <context name="Normal" attribute="Normal Text" lineEndContext="#stay">+ <context name="normal" attribute="Normal" lineEndContext="#stay">+ <DetectSpaces/> <keyword attribute="Keyword" context="#stay" String="keywords"/>- <RegExpr attribute="Variable" context="Value" String="[_\w\d]*\s*(?=:=|=|\+=|\?=)"/>- <RegExpr attribute="Target" context="#stay" String="[_\w\d-]*\s*:" firstNonSpace="true"/>- <RegExpr attribute="Section" context="#stay" String="^[.].*:"/>- <DetectChar attribute="String" context="String" char="""/>- <Detect2Chars attribute="Operator" context="VarFromNormal{" char="$" char1="{"/>- <Detect2Chars attribute="Operator" context="VarFromNormal(" char="$" char1="("/>+ <RegExpr attribute="Variable" context="assign" String="[^\s:+?]*\s*(?=:=|=|\+=|\?=)"/>+ <RegExpr attribute="Section" context="prereq" String="^[.].*:"/>+ <RegExpr attribute="Target" context="prereq" String="^.*:"/>+ <DetectIdentifier/>+ <DetectChar attribute="String" context="string"" char="""/>+ <DetectChar attribute="String" context="string'" char="'"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/> <Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/> <Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/>- <AnyChar attribute="Operator" context="#stay" String="+*=%$():\;"/>- <AnyChar attribute="Operator" context="Commands" String="@-" firstNonSpace="true"/>+ <AnyChar attribute="Operator" context="silent" String="@-" firstNonSpace="1"/> <RegExpr attribute="Comment" context="#stay" String="#.*$"/> </context> - <context attribute="String" lineEndContext="#pop" name="String">- <LineContinue attribute="String" context="#stay"/>+ <context name="prereq" attribute="Prereq" lineEndContext="rule">+ <DetectSpaces/>+ <DetectIdentifier/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ <Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/>+ <Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/>+ <RegExpr attribute="Comment" context="#stay" String="#.*$"/>+ </context>++ <context name="rule" attribute="Normal" lineEndContext="#stay">+ <LineContinue attribute="Operator" context="#stay"/>+ <!-- pop if there is a leading non-tab,+ and in particular, mark leading spaces as errors -->+ <RegExpr attribute="Error" context="#pop#pop#pop" String="^ +" firstNonSpace="1"/>+ <RegExpr context="#pop#pop#pop" String="^[^\t]" lookAhead="1" firstNonSpace="1"/>+ <DetectSpaces/>+ <DetectIdentifier/>+ <DetectChar attribute="String" context="string"" char="""/>+ <DetectChar attribute="String" context="string'" char="'"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ <Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/>+ <Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/>+ <AnyChar attribute="Operator" context="silent" String="@-" firstNonSpace="1"/>+ <RegExpr attribute="Comment" context="#stay" String="#.*$"/>+ </context>++ <context name="silent" attribute="Silent" lineEndContext="#pop">+ <LineContinue attribute="Operator" context="#stay"/>+ <DetectSpaces/>+ <DetectIdentifier/>+ <DetectChar attribute="String" context="string"" char="""/>+ <DetectChar attribute="String" context="string'" char="'"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ <Detect2Chars attribute="Special" context="#stay" char="\" char1="#"/>+ <Detect2Chars attribute="Special" context="#stay" char="\" char1="\"/>+ <RegExpr attribute="Comment" context="#stay" String="#.*$"/>+ </context>++ <context name="string"" attribute="String" lineEndContext="#pop">+ <LineContinue attribute="Operator" context="#stay"/> <DetectChar attribute="String" context="#pop" char="""/>+ <DetectChar attribute="Operator" context="dollar" char="$"/> </context> - <context name="Value" attribute="String" lineEndContext="#pop">+ <context name="string'" attribute="String" lineEndContext="#pop">+ <LineContinue attribute="String" context="#stay"/>+ <DetectChar attribute="String" context="#pop" char="'"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ </context>++ <context name="assign" attribute="Operator" lineEndContext="#pop">+ <DetectChar attribute="Operator" context="value" char="="/>+ </context>++ <context name="value" attribute="String" lineEndContext="#pop#pop"> <LineContinue attribute="Operator"/>- <Detect2Chars attribute="Operator" context="VarFromValue{" char="$" char1="{"/>- <Detect2Chars attribute="Operator" context="VarFromValue(" char="$" char1="("/>- <RegExpr attribute="Special" context="#pop" String="@[-_\d\w]*@" />- <DetectChar attribute="Operator" char=";" context="#pop"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ <RegExpr attribute="Special" context="#pop#pop" String="@[-_\d\w]*@"/>+ <DetectChar attribute="Operator" char=";" context="#pop#pop"/> </context> - <context name="VarFromValue(" attribute="Variable" lineEndContext="#stay">- <DetectChar attribute="Operator" char=")" context="#pop"/>+ <context name="dollar" attribute="Operator" lineEndContext="#pop">+ <DetectChar attribute="Operator" context="call(" char="("/>+ <DetectChar attribute="Operator" context="call{" char="{"/>+ <RegExpr attribute="Operator" context="#pop" String="."/> </context> - <context name="VarFromValue{" attribute="Variable" lineEndContext="#stay">- <DetectChar attribute="Operator" char="}" context="#pop"/>+ <context name="call(" attribute="Variable" lineEndContext="#stay" fallthroughContext="callVar(" fallthrough="1">+ <keyword attribute="Keyword" context="callFunc(" String="functions"/> </context> - <context name="VarFromNormal(" attribute="Variable" lineEndContext="#stay">- <keyword attribute="Keyword" context="FunctionCall(" String="functions"/>- <DetectChar attribute="Operator" char=")" context="#pop"/>+ <context name="call{" attribute="Variable" lineEndContext="#stay" fallthroughContext="callVar{" fallthrough="1">+ <keyword attribute="Keyword" context="callFunc{" String="functions"/> </context> - <context name="VarFromNormal{" attribute="Variable" lineEndContext="#stay">- <keyword attribute="Keyword" context="FunctionCall{" String="functions"/>- <DetectChar attribute="Comment" char="}" context="#pop"/>+ <context name="callVar(" attribute="Variable" lineEndContext="#stay">+ <DetectChar attribute="Operator" char=")" context="#pop#pop#pop"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ <DetectSpaces attribute="Error" context="#stay"/>+ <AnyChar attribute="Error" context="#stay" String="=#:"/> </context> - <context name="FunctionCall(" attribute="String" lineEndContext="#stay">- <Detect2Chars attribute="Operator" context="VarFromNormal{" char="$" char1="{"/>- <Detect2Chars attribute="Operator" context="VarFromNormal(" char="$" char1="("/>- <DetectChar attribute="Operator" char=")" context="#pop#pop"/>+ <context name="callVar{" attribute="Variable" lineEndContext="#stay">+ <DetectChar attribute="Operator" char="}" context="#pop#pop#pop"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ <DetectSpaces attribute="Error" context="#stay"/>+ <AnyChar attribute="Error" context="#stay" String="=#:"/> </context> - <context name="FunctionCall{" attribute="String" lineEndContext="#stay">- <Detect2Chars attribute="Operator" context="VarFromNormal{" char="$" char1="{"/>- <Detect2Chars attribute="Operator" context="VarFromNormal(" char="$" char1="("/>- <DetectChar attribute="Operator" char="}" context="#pop#pop"/>+ <context name="callFunc(" attribute="FuncParam" lineEndContext="#stay">+ <DetectChar attribute="Operator" char=")" context="#pop#pop#pop"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ <DetectChar attribute="Keyword" context="#stay" char=","/>+ <DetectChar attribute="String" context="string'" char="'"/> </context> - <context name="Commands" attribute="Normal Text" lineEndContext="#pop">- <Detect2Chars attribute="Operator" context="VarFromNormal{" char="$" char1="{"/>- <Detect2Chars attribute="Operator" context="VarFromNormal(" char="$" char1="("/>- <RegExpr attribute="Commands" context="#pop" String="[_\w-]*\b"/>+ <context name="callFunc{" attribute="FuncParam" lineEndContext="#stay">+ <DetectChar attribute="Operator" char="}" context="#pop#pop#pop"/>+ <DetectChar attribute="Operator" context="dollar" char="$"/>+ <DetectChar attribute="Keyword" context="#stay" char=","/>+ <DetectChar attribute="String" context="string'" char="'"/> </context> </contexts> <itemDatas>- <itemData name="Normal Text" defStyleNum="dsNormal"/>- <itemData name="Keyword" defStyleNum="dsKeyword"/>- <itemData name="Comment" defStyleNum="dsComment"/>- <itemData name="String" defStyleNum="dsString"/>- <itemData name="Variable" defStyleNum="dsDataType"/>- <itemData name="Target" defStyleNum="dsDecVal"/>- <itemData name="Section" defStyleNum="dsOthers"/>- <itemData name="Operator" defStyleNum="dsChar"/>- <itemData name="Commands" defStyleNum="dsBaseN"/>- <itemData name="Special" defStyleNum="dsFloat"/>+ <itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/>+ <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/>+ <itemData name="Comment" defStyleNum="dsComment"/>+ <itemData name="String" defStyleNum="dsString" spellChecking="0"/>+ <itemData name="Variable" defStyleNum="dsDataType" spellChecking="0"/>+ <itemData name="Target" defStyleNum="dsDecVal" spellChecking="0"/>+ <itemData name="Section" defStyleNum="dsOthers" spellChecking="0"/>+ <itemData name="Prereq" defStyleNum="dsDataType" spellChecking="0"/>+ <itemData name="FuncParam" defStyleNum="dsString" spellChecking="0"/>+ <itemData name="Operator" defStyleNum="dsChar" spellChecking="0"/>+ <itemData name="Silent" defStyleNum="dsFunction" spellChecking="0"/>+ <itemData name="Special" defStyleNum="dsFloat" spellChecking="0"/>+ <itemData name="Error" defStyleNum="dsError" spellChecking="0"/> </itemDatas> </highlighting> <general> <comments> <comment name = "singleLine" start = "#"/> </comments>- <keywords casesensitive = "1" />+ <!-- '-' is not a deliminator in function filter-out -->+ <keywords casesensitive="1" weakDeliminator = "-"/> </general> </language>+<!-- kate: space-indent on; indent-width 2; replace-tabs on; -->
xml/prolog.xml view
@@ -1,232 +1,1112 @@-<?xml version="1.0" encoding="UTF-8"?>-<!DOCTYPE language SYSTEM "language.dtd">-<language name="Prolog" version="1.05" kateversion="2.1" section="Sources" extensions="*.prolog" mimetype="text/x-prolog">- <highlighting>- <list name="keywordl">- <item> abstract </item>- <item> align </item>- <item> as </item>- <item> and </item>- <item> class </item>- <item> clauses </item>- <item> constants </item>- <item> database </item>- <item> determ </item>- <item> domains </item>- <item> elsedef </item>- <item> endclass </item>- <item> enddef </item>- <item> erroneous </item>- <item> facts </item>- <item> failure </item>- <item> global </item>- <item> goal </item>- <item> if </item>- <item> ifdef </item>- <item> ifndef </item>- <item> implement </item>- <item> include </item>- <item> language </item>- <item> multi </item>- <item> nocopy </item>- <item> nondeterm </item>- <item> object </item>- <item> or </item>- <item> procedure </item>- <item> protected </item>- <item> predicates </item>- <item> reference </item>- <item> single </item>- <item> static </item>- <item> struct </item>- <item> this </item>- </list>-- <list name="keywordu">- <item> ABSTRACT </item>- <item> ALIGN </item>- <item> AS </item>- <item> AND </item>- <item> CLASS </item>- <item> CLAUSES </item>- <item> CONSTANTS </item>- <item> DATABASE </item>- <item> DETERM </item>- <item> DOMAINS </item>- <item> ELSEDEF </item>- <item> ENDCLASS </item>- <item> ENDDEF </item>- <item> ERRONEOUS </item>- <item> FACTS </item>- <item> FAILURE </item>- <item> GLOBAL </item>- <item> GOAL </item>- <item> IF </item>- <item> IFDEF </item>- <item> IFNDEF </item>- <item> IMPLEMENT </item>- <item> INCLUDE </item>- <item> LANGUAGE </item>- <item> MULTI </item>- <item> NOCOPY </item>- <item> NONDETERM </item>- <item> OBJECT </item>- <item> OR </item>- <item> PROCEDURE </item>- <item> PROTECTED </item>- <item> PREDICATES </item>- <item> REFERENCE </item>- <item> SINGLE </item>- <item> STATIC </item>- <item> STRUCT </item>- <item> THIS </item>- </list>--- <list name="special">- <item> assert </item>- <item> asserta </item>- <item> assertz </item>- <item> bound </item>- <item> chain_inserta </item>- <item> chain_insertafter </item>- <item> chain_insertz </item>- <item> chain_terms </item>- <item> consult </item>- <item> db_btrees </item>- <item> db_chains </item>- <item> fail </item>- <item> findall </item>- <item> format </item>- <item> free </item>- <item> msgrecv </item>- <item> msgsend </item>- <item> nl </item>- <item> not </item>- <item> readterm </item>- <item> ref_term </item>- <item> retract </item>- <item> retractall </item>- <item> save </item>- <item> term_bin </item>- <item> term_replace </item>- <item> term_str </item>- <item> trap </item>- <item> write </item>- <item> writef </item>- </list>-- <list name="compiler">- <item> bgidriver </item>- <item> bgifont </item>- <item> check_determ </item>- <item> code </item>- <item> config </item>- <item> diagnostics </item>- <item> error </item>- <item> errorlevel </item>- <item> heap </item>- <item> gstacksize </item>- <item> nobreak </item>- <item> nowarnings </item>- <item> printermenu </item>- <item> project </item>- </list>-- <list name="arith">- <item> mod </item>- <item> div </item>- <item> abs </item>- <item> exp </item>- <item> ln </item>- <item> log </item>- <item> sqrt </item>- <item> round </item>- <item> trunc </item>- <item> val </item>- <item> cos </item>- <item> sin </item>- <item> tan </item>- <item> arctan </item>- <item> random </item>- <item> randominit </item>- </list>-- <list name="basetype">- <item> char </item>- <item> real </item>- <item> string </item>- <item> symbol </item>- <item> byte </item>- <item> sbyte </item>- <item> short </item>- <item> ushort </item>- <item> word </item>- <item> integer </item>- <item> unsigned </item>- <item> dword </item>- <item> long </item>- <item> ulong </item>- <item> binary </item>- <item> ref </item>- </list>-- <list name="keywords">- <item> true </item>- <item> false </item>- </list>-- <contexts>- <context name="normal" attribute="Symbol" lineEndContext="#stay">- <keyword attribute="Keyword" context="#stay" String="keywordl"/>- <keyword attribute="Keyword" context="#stay" String="keywordu"/>- <keyword attribute="Arithmetic" context="#stay" String="arith"/>- <keyword attribute="Keyword" context="#stay" String="compiler"/>- <keyword attribute="Keyword" context="#stay" String="special"/>- <keyword attribute="Data Type" context="#stay" String="basetype"/>- <RegExpr String = "[A-Z_][A-Za-z0-9_]*" attribute = "Variable" context="#stay"/>- <RegExpr String = "[a-z][A-Za-z0-9_]*" attribute = "Identifier" context="#stay"/>- <DetectChar attribute="Comment" context="comment" char="%"/>- <Detect2Chars attribute="Comment" context="comment region" char="/" char1="*"/>- <Int attribute="Integer" context="#stay" />- <DetectChar attribute="String" context="string" char=""" />- <DetectChar attribute="String" context="string2" char="'" />- <AnyChar attribute="Symbol" context="#stay" String="~!^*()-+=[]|\:;,./?&<>" />- </context>- <context name="comment" attribute="Comment" lineEndContext="#pop" />- <context name="string" attribute="String" lineEndContext="#stay" >- <HlCStringChar attribute="String" context="#stay" />- <DetectChar attribute="String" context="#pop" char=""" />- </context>- <context name="string2" attribute="String" lineEndContext="#stay">- <HlCChar attribute="String" context="#stay" />- <DetectChar attribute="String" context="#pop" char="'" />- </context>- <context name="comment region" attribute="Comment" lineEndContext="#stay">- <Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" />- </context>- </contexts>- <itemDatas>- <itemData name="Normal Text" defStyleNum="dsNormal" />- <itemData name="Keyword" defStyleNum="dsKeyword" />- <itemData name="Data Type" defStyleNum="dsDataType" />- <itemData name="Comment" defStyleNum="dsComment" />- <itemData name="Integer" defStyleNum="dsDecVal" />- <itemData name="Symbol" defStyleNum="dsNormal" />- <itemData name="String" defStyleNum="dsString"/>- <itemData name="Identifier" defStyleNum="dsNormal"/>- <itemData name="Variable" defStyleNum="dsOthers"/>- <itemData name="Arithmetic" defStyleNum="dsKeyword" />-- </itemDatas>- </highlighting>- <general>- <keywords casesensitive="1" />- <comments>- <comment name="singleLine" start="%" />- <comment name="multiLine" start="/*" end="*/" />- </comments>-- </general>-</language>-+<?xml version="1.0" encoding="UTF-8"?>+<!-- [Purpose & Copyright]++ Highlight ISO-Prolog texts or template/include for Prolog dialects+ based on the ISO standard.++ Includes detection of DCG since it is 'hooked' in the ISO standard.+ Uses text style "Warning/ISO-bogus" where portability is likely to+ fail.++ This file is part of KDE's kate project.++ copyright : (C) 2012 by Torsten Eichstädt++ **********************************************************************+ * This library is free software; you can redistribute it and/or *+ * modify it under the terms of the GNU Library General Public *+ * License as published by the Free Software Foundation; either *+ * version 2 of the License, or (at your option) any later version. *+ * *+ * This library 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 *+ * Library General Public License for more details. *+ * *+ * You should have received a copy of the GNU Library General Public *+ * License along with this library; if not, write to the *+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, *+ * Boston, MA 02110-1301, USA. *+ **********************************************************************+-->+<!DOCTYPE language SYSTEM "language.dtd"+[<!-- [Regular Expressions, Character Classes & Important Tokens]+E.g. the dot "." has so many different meanings (i.e. in an RegExpr 'any char',+'fullstop' of a clause, etc. pp.) that I decided it's usefull to write these out+to make the rules more expressive. -->++<!-- RegExpr for graphic tokens. Comment start "/*" is catched earlier. -->+ <!ENTITY gr_char_iso "[#$&*+\-./:<=>?@^~\\]">++<!-- RegExpr: The highlighting engine always strips newline, so this ok: -->+ <!ENTITY any_nw "[^ \t]">+ <!ENTITY any ".">++<!-- RegExpr: we want to highlight some graphic tokens: Logic & Control+ fullstop shall not be falsely detected if it is actually a list functor+ comma is catched extra to highlight it as "Normal Text" in an arg_seq+ (and the cut "!" is NOT an op) -->+ <!ENTITY fullstop_iso "\.(?!(\(|&gr_char_iso;))">+ <!ENTITY logic_control_ops_iso "(;|->|\\\+|:-|=|\\=)(?!&gr_char_iso;)">++ <!-- RegExpr: DCG (not my idea it is not reversed and named 'reduction') -->+ <!ENTITY dcg_production_iso "-->(?!&gr_char_iso;)">++ <!-- RegExpr: partitioning of arithmetic operators:+ - the 1st "arith_compare" always demand arithmetic evaluation+ => highlight as "Arithmetics".+ - the 2nd only at the right side of "is" or when an arith_compare applies.+ They are used in other contexts as well, e.g. traditionally A-B is used+ for 'a pair of something', the "^" in bagof/3 and setof/3.+ => highlight as "Arithmetics" only in an arith_expr.+ - the 3rd are true ISO bogus: it is not specified whether it is arithmetic+ or logical shift, and for bitwise AND, OR and NEG the integer format is+ unspecified => not portable, depend on Prolog implementation. -->+ <!ENTITY arith_compare_iso "(=:=|=\\=|=<|<|>=|>)(?!&gr_char_iso;)">+ <!ENTITY arith_ops_mixed_iso "(\+|-|\*|\^)(?!&gr_char_iso;)">+ <!ENTITY arith_ops_int_iso "//(?!&gr_char_iso;)">+ <!ENTITY arith_ops_float_iso "(/|\*\*)(?!&gr_char_iso;)">+ <!ENTITY arith_bogus_iso "(/\\|\\/|\\|<<|>>)(?!&gr_char_iso;)">++ <!-- RegExpr: other predefined operators -->+ <!ENTITY predefined_ops_iso "(\?-|==|\\==|@=<|@<|@>=|@>|=\.\.|@|:)(?!&gr_char_iso;)">++ <!-- We treat a number as float if it includes a decimal dot or exponent -->+ <!ENTITY float3_iso "[0-9]+E[+\-]?[0-9]+">+ <!ENTITY float2_iso "[0-9]+\.[0-9]+">+ <!ENTITY float1_iso "[0-9]+\.[0-9]+E[+\-]?[0-9]+">++<!-- RegExpr for esc'd char code in quoted 'strings' e.g. "\007\" -->+ <!ENTITY esc_oct_iso "\\[0-7]+\\">+ <!ENTITY esc_hex_iso "\\x[a-fA-F0-9]+\\">++<!-- Char classes for AnyChar, NOT RegExpr: no esc seqs, ranges, etc. pp. here!+ Used to avoid expensive RegExpr whenever possible. -->+ <!-- Not needed: any_alnum_under_iso: use "DetectIdentifier" instead -->+ <!ENTITY any_lower_iso "abcdefghijklmnopqrstuvwxyz">+ <!ENTITY any_upper_under_iso "ABCDEFGHIJKLMNOPQRSTUVWXYZ_">+ <!ENTITY any_bin_iso "01">+ <!ENTITY any_oct_iso "01234567">+ <!ENTITY any_dec_iso "0123456789">+ <!ENTITY any_hex_iso "0123456789abcdefABCDEF">+ <!ENTITY any_graphic_iso "#$&*+-./:<=>?@^~\">++ <!-- Common esc seq in quoted & char code (after "0'").+ Tab is handled extra. Esc'd newline is catched earlier. -->+ <!ENTITY any_esc_iso "abfnrtv\'`"]">++ <!ENTITY dot ".">++ <!-- Some solo chars for DetectChar -->+ <!ENTITY comma ",">+ <!ENTITY cut "!">+ <!ENTITY bar "|">+ <!ENTITY tab " ">+ <!ENTITY bs "\">+]>+<language name="Prolog" section="Sources"+ version="1.1" kateversion="2.3"+ mimetype="text/x-prolog"+ extensions="*.prolog;*.dcg;*.pro"+ author="Torsten Eichstädt (torsten.eichstaedt@web.de)"+ license="LGPL">++<!-- [Terminology & Abbreviations In The Comments]+ - Literal text is in double quotes "like this", single quotes sometimes used+ for a 'terminus technicus'.+ - "w/", "w/o", "s/t" mean 'with', 'without', and "sometimes" resp.+ - Use "brace" instead of 'bracket'/'parenthesis' for any of "()[]{}"+ - Specify "round", "list/squared", "curly", "opening" and "closing" brace.+ - "quote/quoted/string" mean any of single-, double-, or back-quote(d)+ - "seq" sequence, "nl" newline, "bs" backslash, "q" quote(d), "cc" char code+ - "KISS" Keep it simple, stupid! (be pragmatic)+ - "style" = "attribute" (the applied text style)+ - Keep comments as short as possible and as descriptive as neccessary LOL+-->+<!-- [Documentation, Bugs, Limitations & Solutions, TODOs]+################################################################################+All bugs except three by the author. !FOLD THIS AWAY if long comments annoy you.++BUG - Nobody's perfect - If I knew about the bug you found, it would have been+ fixed already.+ one- Takes a "shebang" at the start of text on other than the 1st line (Kate).+ two- Indentation-based folding is not reliable (Kate; fixed in KDE 4.9?).+ three- Folding is sometimes broken (Kate?). See SOLUTIONS below.+ 4 - An optional leading sign is not highlighted as part of the number.+ 5 - A float w/o fractional part and exponent is highlighted as an integer.+ 6 - Detection of whitespace may not be 100% correct, only space/tab/newline.+ 7 - Handling inside arithmetic expressions might not be 100%. See "AL GUSTO".+ inf- see TODOs below.++LIMITS of this parser+ - Highlighting of syntax errors is as intuitive as possible, i.e. for an+ invalid newline highlight the last token before and leading white of the+ next line - but that's not always possible. Use your built-in problem+ solver (between your ears) when you do not know what the exact error is.+ - The parser knows nothing about currently defined dynamic ops, but has to+ respect possible definitions of dynamic ops. That's why:+ - Any sequence of 'graphic chars' (_incl. those containing a dot_) is taken+ as _one_ graphic token, and not - as you might expect - your user-defined+ operator followed by fullstop (or sequence of ops).+ - A single dot in the outmost term of a clause is taken as a fullstop, even+ if it is actually a user-defined operator.+ - Else, a single dot is highlighted as "Warning" because it might be a+ user-def'd op (usually an error, but can not decide w/o current_op/3).+ - Detection of the fullstop relies upon the usual semantics of braces.+ - Axioms of folding capabilities are: the literal fullstop as stop symbol+ and the usual semantics of braces w/ pairs of opening and closing brace.+ ?- period.+uncaught exception: error(existence_error(procedure,current_op/3),highlight/2)++SOLUTIONS+ - Help the parser by puting whitespace (space/tab/nl) here and there, espc.+ after the fullstop, or use quotes; e.g. '/*' does not begin a comment,+ neither does '%', and ***'.' can be two operators.+ Functored syntax should always do, e.g. */*(X,Y) is valid (and does not+ begin a comment).+ - Folding: s/t moving the mouse slightly below the marker shows what you+ want, s/t an empty line helps (or removing an empty line), when it's+ removed regions stay ok, or break auto-folding w/ non-white @begin of+ line. Try a newer kate version.++AL GUSTO (simple changes):+ - Change classification of built-in predicates: adjust the <list> below.+ - Reminder for other changes: solo chars - DetectChar, graphic - RegExpr.+ - bar "|" (solo) is highlighted as "other built-in operator" in lists, else+ "Normal Text". You may safely remove/comment out the rules in contexts+ "term/list/curly" below if you add in in context "operator" or "atomic".+ If it shall be part of user-defined ops, it has to be added to "gr_char",+ and a few rules need adjustment. Search for "&bar;". You may then safely+ add it to "predefined_ops" above (don't forget to escape it).+ - cut "!" (solo) can be adjusted like the bar.+ - comma "," (solo) is "Normal Text" in lists, else "Logic & Control". You+ may safely remove/comment out the rules in "term/nested/list/curly" below+ and handle it in the context "operator".+ - Disable arith_expr: replace "context="arith_expr"" w/ "context="#stay""+ in the rules in contexts "atomic" and "operator" (two or three occurences).+ - Disable indentation-based folding: in the section "general"@EOF:"folding".+ - General guidelines: Be nice to slow/old hardware: avoid RegExpr (start w/+ a RegExpr, test, then find a replacement), else match a RegExpr as late as+ possible - it's expensive, a context switch is relatively cheap.+ Eat as much text as possible in one run, e.g. in comments and quoted we+ use "DetectIdentifier", else the engine would try all rules of the context+ (w/ failure) and eat only one char on each run.+ If your modification is kind of general, upload it and drop me a note.++ The simplified syntax below should highlight 99.999% of ISO-Prolog texts+correctly, as well as many non-ISO Prolog texts.+ Else modify this file. Save with new name in your HOME directory to+.kde/share/apps/katepart/syntax/prolog-xy.xml You may read the NOTE at the end+of this file. WARNING: Be careful, though: the highlighting works according to+it's program code, not neccessarily it's documentation...++DONE- Parse (m)any (!) conforming Prolog texts w/ correct highlighting (LIMITS)+ - Parse any erratic text w/o crash or endless loops and highlight errors+ - Folding for multiline comments, clauses, nested terms, and quoted (LIMITS)+ - Folding inside comments and of 1-line comments and clauses: indentation-+ based like in Python, e.g.+ my_pred(a). % w/ marker@left (western style; depends on your settings)+ my_pred(b). % you can fold+ my_pred(c). % these lines+ Inside clauses (i.e. context "term" and below) only explicit folding for+ braces and quotes applies, except comments. I did not find a better+ solution, since the engine does not provide lookahead to the next line.+ - Additionally, folding with %BEGIN ... %END (iff 1st nonwhite of the line).+ - Classify built-ins (YMMV) for different highlighting, mainly:+ - w/ side effects from 'outside world' (arithmetics, stream I/O,...)+ - w/o side effects, only depend on user's program ('internal world')+ - program logic & control constructs+ - altering the clause knowledge base or Prolog state+ - integer/float/mixed arithmetics, so one can see the type of the result+ - Iff it's an arithmetic expression; else arith ops and built-ins+ are highlighted normal.+ - Incl. Sep2012 DRAFT Technical Corrigendum 2: Prolog - Part 1: General Core+ - Incl. honourable Richard O'Keefe's remarks as warnings as "ISO bogus".+ - Detect 'shebang' shell scripts, see BUGs+ - Includes alert_indent.xml to highlight alert keywords in comments.+ - Dot "." may be an _unquoted_ user-defined operator in nested terms (but is+ highlighted as "Warning" 'cause it's more likely a typo than an user-def'd+ op) and is only taken as fullstop and highlighted as "Logic & Control" in+ the outmost term of a clause.+ - Über-correct handling of quoted, escape seqs and "0'" (char code integer):+ - detection of valid/invalid newline in quoted 'strings'.+ - highlight whitespace after esc'd newline in quoted so it differs from+ whitespace contained in the quoted 'string'.+ - Highlight esc'd tab and tab in quoted as "Warning" because some text+ editors may convert them to space and it is easy to use "\t" instead.+ - Preliminary: most names end w/ ISO; prepared to be included in syntax+ files adapted for Prolog dialects.++FIXME When katepart can supply line numbers, fix the "shebang" rule.++TODO sorted by priority+ 1 - [always] Cruise over all FIXMEs.+ 2 - Check if comma, cut & bar are really solo chars (where's the red book?).+ 3 - Check final Technical Corrigendum 2: Prolog - Part 1: General Core+ 4 - Buy ISO Prolog standard - Part 2: Modules. Likely only keywords. Need it+ anyway.+ 5 - Make this strict-ISO and a "Prolog (portable)" that includes this file.+ 6 - Likewise, adopt for GNU & SWI Prolog and others.+ 8 - keywords 'phrase', streams depricated, etc.pp. ==> Prolog (portable).+ 9 - Likewise: shebang ==> Prolog (portable).+ 10 - Check if shebang can span multiple (escaped) lines.+ 11 - Check: all KB altering preds can have side effects (via resource_error)?+ 12 - For next two TODOs: ask katepart dev to provide lookahead to the next line+ 13 - Folding for consecutive one-line comments [easy? HARD! Impossible.]+ 14 - Likewise, folding for consecutive clauses [HARD! Impossible.]+ I can live w/ indentation-based folding as a workaround. Not 100%, but ok.+ 15 - +arg_seq (and list): "," as normal text: Detect name( [no layout; easy]+ 16 - +Classify meta predicates.+ 18 - The dollar "$" is commonly used as the 1st char of (unquoted?) atoms to+ indicate 'internal mode', e.g. to declare a predicate as compile-in.+ Does this mean the dollar is used as if it were a prefix op or is it part+ of the atom? Would be easy to implement.+ 19 - Bug #4: could be partly fixed, some built-ins take only float not integer.+ 20 - Bug them to better document weakDeliminators (and rename to delimiter ;)+ 21 - Adjust doxygen syntax for Prolog (e.g. adapt doxygen-lua), and include it.+ 22 - Check if vertical tab is white/layout; are there more non-printables?+################################################################################+-->+<!-- [Facts & Implications Of The ISO Standard, as a reminder]+ - 'layout' is whitespace (space/tab/newline) and/or comments.+ - Braces (any of "(){}[]"), exclamation "!" (aka 'cut'), 'bar' "|", degree "°",+ paragraph "§" and percent "%" are NOT 'graphic' chars, but 'solo' chars.+ - The 'bar' "|" may be a predefined operator, and then a user-def'd op, too.+ - There can only be (at most) one bar "|" in a list (written inside "[]"), and+ no commata after it (after the bar).+ - Graphic tokens are atoms (and solo chars are one-char atoms?).+ - "{}" and "[]" are 'special atoms' (likewise "()"?).+ - "{}" and "[]" shall not be operators (but round or single braces may be?).+ - The fullstop "." is not a predefined postfix operator, and+ - the list functor "." is not a predefined prefix operator.+ - An unquoted graphic token shall not begin with "/*".+ - Multiline comments shall not be nested.+ - Floats are NOT written with lowercase "e" (i.e. not neccessarily an error if+ e.g. "e" is a pre- or user-defined expr or op and the whole term is valid),+ - and the fractional part and exponent of floats are optional (any and both).+ - A leading minus immediately preceding a number is optional for all numbers+ and then part of the number and not a prefix operator (currently beeing+ clarified by the standard commitee if "immediately" includes layout, only+ comments, or none of these at all ;) but+ - the minus "-" is a predefined prefix- and infix operator...+ - Terms are rewritten when read in, extendable by user-def'd rules (and these+ may be dynamic), i.e. clauses are not restricted to the standard forms+ (to the extent that the fullstop ending a clause may be omited at all) and+ - the dot "." may be (solo or part of) an user-defined operator.+ - A Prolog processor may use any character set, e.g. (multi-byte) Unicode.+ - Virtually every token may be an (user- or predefined) operator, except a few+ specifically excluded tokens (i.e. NOT just graphic and 'standard' atoms).+ - All operators except the comma are dynamic (although the standard denotes+ atoms as 'constants' ;), and+ - (the comma may appear in a user-defined operator (beeing part of it)?).+ (Now try to write syntax highlighting for Prolog w/o Prolog HAHAHA ;)+-->+ <highlighting>+ <!-- aka "guru meditation trigger" -->+ <list name="error term ISO">+ <item> error </item>+ </list>+ <list name="guru meditation terms ISO">+ <item> instantiation_error </item>+ <item> uninstantiation_error </item>+ <item> type_error </item>+ <item> domain_error </item>+ <item> existence_error </item>+ <item> permission_error </item>+ <item> representation_error </item>+ <item> evaluation_error </item>+ <item> resource_error </item>+ <item> syntax_error </item>+ <item> system_error </item>+ </list>++ <!-- These are in fact bogus, DO NOT USE them and bug the ISO standard+ commitee to abandon char_conversion/2 and to apply common sense to the+ semantics of include/1 and ensure_loaded/1, i.e. to handle recursion.+ Bomb them w/ e-mails! It's not the purpose of a standard to fixate+ errors till eternity. -->+ <list name="bogus ISO">+ <item> char_conversion </item>+ <item> current_char_conversion </item>+ <item> include </item>+ <item> ensure_loaded </item>+ <!-- Use atan2 instead -->+ <item> atan </item>+ <!-- Unspecified integer representation/format -->+ <item> xor </item>+ </list>+ <list name="directives non-ISO">+ <!-- FIXME is this a top_level goal only? (consult :- include) -->+ <item> consult </item>+ <item> built_in </item>+<!--GNU <item> foreign </item> -->+<!--GNU <item> ensure_linked </item> -->+<!--GNU <item> built_in_fd </item> -->+<!-- <item> if </item> -->+<!-- <item> else </item> -->+<!-- <item> endif </item> -->+<!-- <item> elif </item> -->+ </list>++ <!-- including directive "initialization" -->+ <list name="logic+control ISO">+ <item> initialization </item>+<!-- <item> ! </item> -->+ <item> fail </item>+ <item> repeat </item>+ <item> call </item>+ <item> catch </item>+ <item> throw </item>+ <item> true </item>+ <item> false </item>+ <item> once </item>+ </list>++ <!-- including directive "dynamic" -->+ <list name="dyn clause mgmt ISO">+ <item> dynamic </item>+ <item> asserta </item>+ <item> assertz </item>+ <item> retractall </item>+ <item> retract </item>+ <item> abolish </item>+ <item> clause </item>+<!-- <item> numbervars </item> -->+<!-- <item> current_predicate </item> -->+ </list>+ <list name="listing non-ISO">+ <!-- FIXME is this a top_level goal? -->+ <item> listing </item>+<!-- standard/compatible <item> public </item> -->+ </list>+ <list name="terms ISO">+ <!-- keep tokens with same prefix sorted by length? -->+ <item> atom_concat </item>+ <item> atom_length </item>+ <item> atom_chars </item>+ <item> atom_codes </item>+ <item> arg </item>+ <item> subsumes_term </item>+ <item> acyclic_term </item>+ <item> char_code </item>+ <item> compare </item>+ <item> copy_term </item>+ <item> functor </item>+ <item> number_chars </item>+ <item> number_codes </item>+<!--FIXME check if GNU or ISO <item> sub_atom </item> -->+ <item> term_variables </item>+ <item> unify_with_occurs_check </item>+ </list>+ <list name="terms non-ISO">+ <!-- keep tokens with same prefix sorted by length? -->+ <item> number_atom </item>+ <item> expand_term </item>+ <item> term_expansion </item>++ <!--FIXME These go to streams non-ISO: -->+ <item> display </item>+ <item> print </item>+ <item> format </item>+ <item> portray_clause </item>+ <item> portray </item>+ <item> term_expansion </item>+ </list>+ <list name="DCG non-ISO">+ <item> phrase </item>+ </list>+ <list name="lists ISO">+ <item> sort </item>+ <item> keysort </item>+ </list>+ <list name="lists non-ISO">+ <item> append </item>+ <item> delete </item>+ <item> length </item>+ <item> last </item>+ <item> map_list </item>+ <item> min_list </item>+ <item> maplist </item>+ <item> msort </item>+ <item> memberchk </item>+ <item> member </item>+ <item> nth </item>+ <item> permutation </item>+ <item> reverse </item>+ <item> select </item>+ <item> prefix </item>+ <item> suffix </item>+ <item> sublist </item>+ <item> sum_list </item>+ </list>+ <list name="streams ISO">+ <item> open </item>+<!--GNU <item> current_stream </item>-->+ <item> set_stream_position </item>+ <item> get_char </item>+ <item> get_code </item>+ <item> peek_char </item>+ <item> peek_code </item>+ <item> get_byte </item>+ <item> peek_byte </item>++ <item> put_char </item>+ <item> put_code </item>+ <item> put_byte </item>+ <item> nl </item>++ <item> read_term </item>+ <item> read </item>+ <item> write_canonical </item>+ <item> writeq </item>+ <item> write </item>+ </list>+ <list name="streams deprecated">+ <item> append </item>+ <item> seeing </item>+ <item> seen </item>+ <item> see </item>+ <item> telling </item>+ <item> tell </item>+ <item> told </item>+ <item> get0 </item>+ <item> get </item>+ <item> skip </item>+ <item> put </item>+ <item> tab </item>+ </list>+ <list name="arith eval ISO">+ <item> is </item>+ </list>+ <list name="arith ops int ISO">+ <item> rem </item>+ <item> mod </item>+ <item> div </item>+ </list>+ <list name="arith expr mixed ISO">+<!--GNU arith IF expr <item> inc </item> -->+<!--GNU arith IF expr <item> dec </item> -->+ <item> abs </item>+ <item> sign </item>+ <item> min </item>+ <item> max </item>+ </list>+ <list name="arith expr int ISO">+<!--GNU arith IF expr <item> inc </item> -->+<!--GNU arith IF expr <item> dec </item> -->+ <item> ceiling </item>+ <item> floor </item>+ <item> round </item>+ <item> truncate </item>+<!-- ISO bogus <item> xor </item> -->+ </list>+ <list name="arith expr float ISO">+ <item> pi </item>+<!--GNU (see pi) <item> e </item> -->+<!--GNU (see pi) <item> epsilon </item> -->+ <item> sqrt </item>+ <item> tan </item>+ <item> cos </item>+ <item> sin </item>+ <item> atan2 </item>+ <item> acos </item>+ <item> asin </item>+ <item> exp </item>+ <item> log </item>+ <item> float </item>+ <item> float_fractional_part </item>+ <item> float_integer_part </item>+ </list>++ <!-- including directives "op/multifile/discontigous" -->+ <list name="prolog state ISO">+ <item> multifile </item>+ <item> discontigous </item>+ <item> op </item>+ <item> set_prolog_flag </item>+ </list>+ <list name="types ISO">+ <item> var </item>+ <item> nonvar </item>+ <item> atom </item>+ <item> integer </item>+ <item> float </item>+ <item> number </item>+ <item> atomic </item>+ <item> compound </item>+ <item> callable </item>+ <item> ground </item>+ </list>+ <!-- FIXME rename to "types non-ISO"? -->+ <list name="list+is_list non-ISO">+ <item> list </item>+ <item> is_list </item>+ <!--GNU <item> partial_list </item> -->+ <!--GNU <item> list_or_partial_list </item> -->+ </list>+ <list name="built-ins ISO">+ <item> current_op </item>+ <item> current_prolog_flag </item>+ <item> current_input </item>+ <item> current_output </item>++ <!-- These act on streams, but the permission_error is only thrown+ if the programmer tries to set_input(S) when S is alread an output+ stream and vice versa; so: not affected by 'outside world' -->+ <item> set_input </item>+ <item> set_output </item>++ <!-- may throw a system_error in GNU -->+ <item> close </item>++ <item> flush_output </item>++ <!-- may throw permission_error in GNU if S is an output stream -->+ <item> at_end_of_stream </item>++ <item> stream_property </item>+ </list>++ <!-- !FOLD the <context> rules & comments for an overview, then it's no magic. -->+ <contexts>+ <!-- Catch typos: style="Syntax Error" for all rules except comments and+ quoted. This helps to catch bugs in the rules itself, too. Nice+ debuging aid. Note that (naturally) some of the syntax rules given in+ EBNF are simplified and do not describe 100% valid Prolog.++ prolog text := shebang clause_seq | clause_seq+ clause_seq := clause clause_seq | empty+ clause := layout term_seq fullstop | term_seq fullstop+ -->+ <!-- shebang: ("#!") Detect shebang and fallthrough to clause_seq -->+ <context name="shebang" lineEndContext="clause" attribute="Syntax Error" >+ <!-- no way: fallthrough="1" fallthroughContext="clause_seq" > -->+ <Detect2Chars column="0" char="#" char1="!" context="1-comment" attribute="% italic predicates: w/ side effects" />+ <!-- else fallthrough (workaround broken fallthrough) -->+ <RegExpr String="&any;" lookAhead="true" context="clause" attribute="Syntax Error" />+ </context>++ <!-- syntax error (Test & Debug Aid, too): it's enough to highlight next token -->+ <context name="syntax_error" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <DetectSpaces context="#pop" attribute="Syntax Error" />+ <DetectIdentifier context="#pop" attribute="Syntax Error" />+ <RegExpr String="&any;" context="#pop" attribute="Syntax Error" />+ </context>++ <!-- clause: Start a region for code folding and switch to term -->+<!-- <context name="clause" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" > -->+ <context name="clause" lineEndContext="#stay" attribute="Syntax Error" >+ <IncludeRules context="layout" />+ <!-- KISS: do not force term to detect an empty clause as syntax error -->+ <RegExpr String="&fullstop_iso;" context="#stay" attribute="Warning (!use background)" />+<!-- <RegExpr lookAhead="true" String="&any;" context="term" attribute="Syntax Error" /> -->+ <RegExpr lookAhead="true" String="&any;" context="term" beginRegion="clause" attribute="Syntax Error" />+ </context>++ <!--term/nested/list/curly: the master/dispatcher -->+ <!-- (abbreviated): term := var | atomic | compound | "(" term ")"++ (term_seq := term "," term_seq | term Not needed: comma is an op)+ term := layout solo layout | layout solo | solo layout | solo+ solo := var | atomic | compound | "(" term ")"+ compound := op term | term op | term op term | functored | list+ functored := atom "(" arg_seq ")" | op "(" arg_seq ")"+ list := "[" l_arg_seq "]" | double_quoted | "." "(" arg_seq ")"+ (if semantics of double_quoted not changed by set_prolog_flag/2)+ sorry I forgot curly: the DCG term but can not contain the fullstop.++ Comments in 'term' apply to the others as well.+ Note that eating layout once is enough, since we come back here.+ Only end the clause in the outmost term, which can only be term. -->+ <context name="term" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <IncludeRules context="layout" />+ <DetectChar char="(" context="nested" beginRegion="nested" attribute="( ) [ ]" />+ <DetectChar char="[" context="list" beginRegion="list" attribute="( ) [ ]" />+ <DetectChar char="{" context="curly" beginRegion="curly" attribute="{ DCG }" />+ <DetectChar char="," context="#stay" attribute="Logic & Control" />+ <DetectChar char="&cut;" context="#stay" attribute="Logic & Control" />+ <DetectChar char="&bar;" context="#stay" attribute="Normal Text" />+ <!-- lookAhead to give different style to the dot and the brace -->+ <Detect2Chars lookAhead="true" char="˙" char1="(" context="list_functor" attribute="Syntax Error" />+<!-- <RegExpr String="&fullstop_iso;" context="#pop" attribute="Logic & Control" /> -->+ <RegExpr String="&fullstop_iso;" context="#pop" endRegion="clause" attribute="Logic & Control" />+ <IncludeRules context="atomic" />+ <!-- Default: anything not eaten here is a syntax error -->+ </context>+ <context name="nested" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <IncludeRules context="layout" />+ <DetectChar char=")" context="#pop" endRegion="nested" attribute="( ) [ ]" />+ <DetectChar char="(" context="nested" beginRegion="nested" attribute="( ) [ ]" />+ <DetectChar char="[" context="list" beginRegion="list" attribute="( ) [ ]" />+ <DetectChar char="{" context="curly" beginRegion="curly" attribute="{ DCG }" />+ <DetectChar char="&cut;" context="#stay" attribute="Logic & Control" />+ <DetectChar char="," context="#stay" attribute="Logic & Control" />+ <DetectChar char="&bar;" context="#stay" attribute="Normal Text" />+ <Detect2Chars lookAhead="true" char="˙" char1="(" context="list_functor" attribute="Normal Text" />+ <RegExpr String="&fullstop_iso;" context="#stay" attribute="Warning (!use background)" />+ <IncludeRules context="atomic" />+ </context>+ <context name="list" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <IncludeRules context="layout" />+ <DetectChar char="(" context="nested" beginRegion="nested" attribute="( ) [ ]" />+ <DetectChar char="]" context="#pop" endRegion="list" attribute="( ) [ ]" />+ <DetectChar char="[" context="list" beginRegion="list" attribute="( ) [ ]" />+ <DetectChar char="{" context="curly" beginRegion="curly" attribute="( ) [ ]" />+ <DetectChar char="," context="#stay" attribute="Normal Text" />+ <DetectChar char="&cut;" context="#stay" attribute="Normal Text" />+ <DetectChar char="&bar;" context="#stay" attribute="other built-in operator" />+ <Detect2Chars lookAhead="true" char="˙" char1="(" context="list_functor" attribute="Normal Text" />+ <RegExpr String="&fullstop_iso;" context="#stay" attribute="Warning (!use background)" />+ <IncludeRules context="atomic" />+ </context>+ <context name="curly" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <IncludeRules context="layout" />+ <DetectChar char="(" context="nested" beginRegion="nested" attribute="( ) [ ]" />+ <DetectChar char="[" context="list" beginRegion="list" attribute="( ) [ ]" />+ <DetectChar char="}" context="#pop" endRegion="curly" attribute="{ DCG }" />+ <DetectChar char="{" context="curly" beginRegion="curly" attribute="{ DCG }" />+ <DetectChar char="," context="#stay" attribute="Logic & Control" />+ <DetectChar char="&cut;" context="#stay" attribute="Logic & Control" />+ <DetectChar char="&bar;" context="#stay" attribute="Normal Text" />+ <Detect2Chars lookAhead="true" char="˙" char1="(" context="list_functor" attribute="Normal Text" />+ <RegExpr String="&fullstop_iso;" context="#stay" attribute="Warning (!use background)" />+ <IncludeRules context="atomic" />+ </context>++ <!-- arith_expr := expr op expr | op expr | expr op | "(" expr ")"+ expr := number_expr | var | arith_expr++ This is only a goody to highlight arith ops and detect syntax errors.+ If it causes problems, disable it: exchange context="arith_expr" in+ "atomic" and "operator" below with context="#stay" (two or three occurences) -->+ <context name="arith_expr" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <DetectChar char="(" context="nested_expr" beginRegion="nested" attribute="( ) [ ]" />+ <DetectChar lookAhead="true" char=")" context="#pop" attribute="( ) [ ]" />+ <DetectChar lookAhead="true" char="}" context="#pop" attribute="{ DCG }" />+ <DetectChar lookAhead="true" char="]" context="#pop" attribute="( ) [ ]" />+ <!-- FIXME check if cut may be an op, else (and in any case 99.9% likely) it's a usual cut here -->+ <DetectChar lookAhead="true" char="&cut;" context="#pop" attribute="Logic & Control" />+ <DetectChar lookAhead="true" char="," context="#pop" attribute="Logic & Control" />+ <!-- bar & dot could be a user-def'd op, pre-def'd ops could be+ redef'd; but let's assume the default and just end the expr -->+ <DetectChar lookAhead="true" char="&bar;" context="#pop" attribute="other built-in operator" />+ <RegExpr lookAhead="true" String="&fullstop_iso;" context="#pop" attribute="Logic & Control" />+ <RegExpr lookAhead="true" String="&logic_control_ops_iso;" context="#pop" attribute="Logic & Control" />+ <IncludeRules context="arith_expr_common" />+ </context>+ <context name="nested_expr" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <DetectChar char="(" context="nested_expr" beginRegion="nested" attribute="( ) [ ]" />+ <DetectChar char=")" context="#pop" endRegion="nested" attribute="( ) [ ]" />+ <!-- FIXME check if cut may be an op, else it's a syntax error here -->+ <DetectChar char="&cut;" context="#stay" attribute="Normal Text" />+ <DetectChar char="," context="#stay" attribute="Syntax Error" />+ <!-- bar & dot could be a user-def'd op, pre-def'd ops could be redef'd; else these were errors -->+ <DetectChar char="&bar;" context="#stay" attribute="Normal Text" />+ <RegExpr String="&fullstop_iso;" context="#stay" attribute="Warning (!use background)" />+ <RegExpr String="&logic_control_ops_iso;" context="#stay" attribute="other built-in operator" />+ <IncludeRules context="arith_expr_common" />+ </context>++ <!-- list functor: assign style to the dot and let term/list/curly take the brace+ (We have no style "built-in term", so take "Normal text" or "built-in predicate")+ ASSERT 1st is the dot, else "Syntax Error" INTENTIONALLY -->+ <context name="list_functor" lineEndContext="syntax_error" attribute="Syntax Error" >+ <DetectChar char="˙" context="#pop" attribute="other built-in predicate" />+ </context>++ <!-- single/double/back-quoted: handle esc seq and closing quote+ Comments in single-quoted apply to the others as well.+ Entry point is single/double/back-quoted (only to handle syntax error:+ nl after opening quote), sq/dq/bq is inside the string.+ lineEndContext should be "syntax_error", but then we couldn't handle+ a valid esc'd line continuation. So we do that 'in vitro' (took me+ 2 days w/ a plethora of useless rules to solve that puzzle LOL).+ On error must not #stay, else the error isn't shown iff white or empty -->+ <context name="sq" lineEndContext="#stay" attribute="'quo Ted'" noIndentationBasedFolding="true">+<!-- <context name="single-quoted" lineEndContext="#stay" attribute="'quo Ted'" > -->+ <IncludeRules context="quoted_1st"/>+ <!-- un-esc'd nl is a syntax error; match max seq (+), else the+ error is only shown in the next line -->+ <RegExpr String="(''|&esc_oct_iso;|&esc_hex_iso;|\\&any;|[^'\\]+)$"+ context="syntax_error_sq" attribute="Syntax Error" />+ <!-- Usual handling: -->+ <Detect2Chars char="'" char1="'" context="#stay" attribute="escaped (!use background)" />+ <DetectChar char="'" context="#pop#pop" endRegion="quoted" attribute="'quo Ted'" />+ <IncludeRules context="quoted_last"/>+ <!-- Default: literal content of the quoted string, context's style applies -->+ </context>+ <context name="dq" lineEndContext="#stay" attribute=""double-quoted"" noIndentationBasedFolding="true" >+<!-- <context name="double-quoted" lineEndContext="#stay" attribute=""double-quoted"" > -->+ <IncludeRules context="quoted_1st"/>+ <RegExpr String="(""|&esc_oct_iso;|&esc_hex_iso;|\\&any;|[^"\\]+)$"+ context="syntax_error_dq" attribute="Syntax Error" />+ <Detect2Chars char=""" char1=""" context="#stay" attribute="escaped (!use background)" />+ <DetectChar char=""" context="#pop#pop" endRegion="quoted" attribute=""double-quoted"" />+ <IncludeRules context="quoted_last"/>+ </context>+ <context name="bq" lineEndContext="#stay" attribute="`back-quoted`" noIndentationBasedFolding="true" >+<!-- <context name="back-quoted" lineEndContext="#stay" attribute="`back-quoted`" > -->+ <IncludeRules context="quoted_1st"/>+ <RegExpr String="(``|&esc_oct_iso;|&esc_hex_iso;|\\&any;|[^`\\]+)$"+ context="syntax_error_bq" attribute="Syntax Error" />+ <Detect2Chars char="`" char1="`" attribute="escaped (!use background)" />+ <DetectChar char="`" context="#pop#pop" endRegion="quoted" attribute="`back-quoted`" />+ <IncludeRules context="quoted_last"/>+ </context>+ <context name="single-quoted" lineEndContext="#stay" attribute="'quo Ted'" >+ <RegExpr String="'$" context="sq" beginRegion="quoted" attribute="Syntax Error" />+ <DetectChar char="'" context="sq" beginRegion="quoted" attribute="'quo Ted'" />+ </context>+ <context name="double-quoted" lineEndContext="#stay" attribute=""double-quoted"" >+ <RegExpr String=""$" context="dq" beginRegion="quoted" attribute="Syntax Error" />+ <DetectChar char=""" context="dq" beginRegion="quoted" attribute=""double-quoted"" />+ </context>+ <context name="back-quoted" lineEndContext="#stay" attribute="`back-quoted`" >+ <RegExpr String="`$" context="bq" beginRegion="quoted" attribute="Syntax Error" />+ <DetectChar char="`" context="bq" beginRegion="quoted" attribute="`back-quoted`" />+ </context>++ <!-- syntax_error_q: highlight next token and proceed normal afterwards -->+ <context name="syntax_error_sq" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <Detect2Chars char="\" char1="'" context="#pop" attribute="Syntax Error" />+ <Detect2Chars char="'" char1="'" context="#pop" attribute="Syntax Error" />+ <DetectChar char="'" context="#pop#pop#pop" endRegion="quoted" attribute="Syntax Error" />+ <IncludeRules context="syntax_error"/>+ </context>+ <context name="syntax_error_dq" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <Detect2Chars char="\" char1=""" context="#pop" attribute="Syntax Error" />+ <Detect2Chars char=""" char1=""" context="#pop" attribute="Syntax Error" />+ <DetectChar char=""" context="#pop#pop#pop" endRegion="quoted" attribute="Syntax Error" />+ <IncludeRules context="syntax_error"/>+ </context>+ <context name="syntax_error_bq" lineEndContext="#stay" attribute="Syntax Error" noIndentationBasedFolding="true" >+ <Detect2Chars char="\" char1="`" context="#pop" attribute="Syntax Error" />+ <Detect2Chars char="`" char1="`" context="#pop" attribute="Syntax Error" />+ <DetectChar char="`" context="#pop#pop#pop" endRegion="quoted" attribute="Syntax Error" />+ <IncludeRules context="syntax_error"/>+ </context>++ <!-- char_code (after "0'"): esc seq, singleq twice, or any other -->+ <context name="char_code" lineEndContext="#pop" attribute="Syntax Error" >+ <Detect2Chars char="'" char1="'" context="#pop" attribute="escaped (!use background)" />+ <DetectChar char="'" context="#pop" attribute="Syntax Error" />+ <DetectChar char="&bs;" context="esc_seq_cc" attribute="escaped (!use background)" />+ <DetectChar char="&tab;" context="#pop" attribute="Warning (!use background)" />+ <!-- Default _AND IF_ esc_seq #pops back here; we need this to #pop out -->+ <RegExpr String="&any;" context="#pop" attribute="0'a (!use background)" />+ </context>+ <!-- "0'" or "0'\" at EOL is a syntax error, catched below. If+ possible, highlight white @next line to make clear error is the nl -->+ <context name="syntax_error_cc" lineEndContext="#stay" attribute="Syntax Error"+ fallthrough="true" fallthroughContext="#pop" >+ <DetectSpaces context="#pop" attribute="Syntax Error" />+ </context>++ <!-- esc_seq: it's not worth it to handle common for quoted and cc+ esc_seq_q: handle only cc in bs (e.g. "\007\"), else -> esc_seq_q2+ ASSERT esc'd newline is handled by the calling context+ ASSERT we get the leading bs here to highlight the whole thing -->+ <context name="esc_seq_q" lineEndContext="syntax_error" attribute="Syntax Error" >+ <RegExpr String="&esc_oct_iso;" context="#pop" attribute="0'a (!use background)" />+ <RegExpr String="&esc_hex_iso;" context="#pop" attribute="0'a (!use background)" />+ <DetectChar char="&bs;" context="esc_seq_q2" attribute="escaped (!use background)" />+ </context>+ <!-- esc_seq_cc: #pop#pop out of cc on std esc seq, else pass char back+ ASSERT we do NOT need the leading bs here anymore -->+ <context name="esc_seq_cc" fallthrough="true" fallthroughContext="#pop"+ lineEndContext="#pop#pop" attribute="Syntax Error" >+ <DetectChar char="&tab;" context="#pop#pop" attribute="Warning (!use background)" />+ <AnyChar String="&any_esc_iso;" context="#pop#pop" attribute="escaped (!use background)" />+ </context>+ <!-- esc_seq_q2: Handle standard esc seq in quoted else pass char back+ ASSERT we do NOT need the leading bs here anymore -->+ <context name="esc_seq_q2" fallthrough="true" fallthroughContext="#pop#pop"+ lineEndContext="syntax_error" attribute="Syntax Error" >+ <DetectChar char="&tab;" context="#pop#pop" attribute="Warning (!use background)" />+ <AnyChar String="&any_esc_iso;" context="#pop#pop" attribute="escaped (!use background)" />+ </context>++ <!-- id,var,graphic: ASSERT calling context ashured 1st char is ok+ ASSERT we get the 1st char for id & var -->+ <context name="id" attribute="Syntax Error" >+ <DetectIdentifier context="#pop" attribute="Normal Text" />+ </context>+ <context name="var" attribute="Syntax Error" >+ <DetectIdentifier context="#pop" attribute="_VARIABLE" />+ </context>+ <context name="graphic" lineEndContext="#pop" attribute="Syntax Error" fallthrough="true" fallthroughContext="#pop" >+ <AnyChar String="&any_graphic_iso;" context="#stay" attribute="Normal Text" />+ </context>++ <!-- numbers (after "0[box]") -->+ <context name="bin" lineEndContext="#pop" attribute="Syntax Error" fallthrough="true" fallthroughContext="#pop" >+ <AnyChar String="&any_bin_iso;" context="#stay" attribute="0b1001 0o007 0xF1" />+ </context>+ <context name="oct" lineEndContext="#pop" attribute="Syntax Error" fallthrough="true" fallthroughContext="#pop" >+ <AnyChar String="&any_oct_iso;" context="#stay" attribute="0b1001 0o007 0xF1" />+ </context>+ <context name="hex" lineEndContext="#pop" attribute="Syntax Error" fallthrough="true" fallthroughContext="#pop" >+ <AnyChar String="&any_hex_iso;" context="#stay" attribute="0b1001 0o007 0xF1" />+ </context>++ <!-- comment-iso: multi-line comment, handle closing "*/" -->+ <context name="comment-iso" lineEndContext="#stay" attribute="% italic predicates: w/ side effects" >+ <!-- Nested comments are not allowed in strict ISO-Prolog - - >+ <Detect2Chars char="/" char1="*" context="comment" beginRegion="comment"+ attribute="% italic predicates: w/ side effects" />-->+ <Detect2Chars char="*" char1="/" context="#pop" endRegion="comment"+ attribute="% italic predicates: w/ side effects" />+ <DetectSpaces />+ <IncludeRules context="##Alerts_indent" />+ <DetectIdentifier />+ </context>++ <!-- 1-line comment: #pop@EOL -->+ <!-- Folding for consecutive 1-line comments: let indentation-based auto-folding work -->+ <context name="1-comment" lineEndContext="#pop" attribute="% italic predicates: w/ side effects" >+ <DetectSpaces />+ <IncludeRules context="##Alerts_indent" />+ <DetectIdentifier />+ </context>+ <context name="region_marker" lineEndContext="#pop" attribute="%BEGIN folding region" noIndentationBasedFolding="true" >+ <IncludeRules context="1-comment" />+ </context>+ <context name="layout_fold" lineEndContext="#stay" attribute="Syntax Error"+ fallthrough="true" fallthroughContext="#pop" >+ <DetectSpaces attribute="Normal Text" />+ <StringDetect String="%BEGIN" context="region_marker" attribute="%BEGIN folding region"+ firstNonSpace="true" beginRegion="user_region" />+ <StringDetect String="%END" context="region_marker" attribute="%BEGIN folding region"+ firstNonSpace="true" endRegion="user_region" />+ <DetectChar firstNonSpace="true" char="%" context="1-comment" attribute="% italic predicates: w/ side effects" />+ </context>++<!--####### BEGIN sub rules to be included - <context> never taken -->++ <!-- Common for all quoted: Handle line continuation, esc seq, and most other input efficiently -->+ <context name="quoted_1st" lineEndContext="#stay" attribute="Syntax Error" >+ <LineContinue attribute="escaped (!use background)" />+ <DetectSpaces column="0" attribute="escaped (!use background)" />+ </context>+ <context name="quoted_last" lineEndContext="#stay" attribute="Syntax Error" >+ <DetectChar lookAhead="true" char="&bs;" context="esc_seq_q" attribute="Syntax Error" />+ <DetectChar char="&tab;" attribute="Warning (!use background)" />+ <DetectIdentifier />+ <DetectSpaces />+ </context>++ <!-- layout_seq := layout layout_seq+ layout := " " | tab | nl | comment -->+ <context name="layout" lineEndContext="#stay" attribute="Syntax Error" >+ <DetectSpaces attribute="Normal Text" />+ <Detect2Chars char="/" char1="*" context="comment-iso" attribute="% italic predicates: w/ side effects"+ beginRegion="comment" />+ <StringDetect String="%BEGIN" context="region_marker" attribute="%BEGIN folding region"+ firstNonSpace="true" beginRegion="user_region" />+ <StringDetect String="%END" context="region_marker" attribute="%BEGIN folding region"+ firstNonSpace="true" endRegion="user_region" />+ <DetectChar firstNonSpace="true" char="%" context="layout_fold" attribute="% italic predicates: w/ side effects"+ lookAhead="true" />+ <DetectChar firstNonSpace="false" char="%" context="1-comment" attribute="% italic predicates: w/ side effects" />+ </context>++ <!--atomic: the work horse -->+ <!-- (simplified) atomic := atom | number | op | var -->+ <context name="atomic" lineEndContext="#stay" attribute="Syntax Error" >+ <!-- NOTE the order of rules is important... (as always)+ Predefined 1st, unknown (user defined) last -->+ <keyword String="logic+control ISO" context="#stay" attribute="Logic & Control" />+ <keyword String="types ISO" context="#stay" attribute="Type Checking" />+ <keyword String="dyn clause mgmt ISO" context="#stay" attribute="Dynamic Clause Management" />+ <keyword String="streams ISO" context="#stay" attribute="Stream I/O" />+ <keyword String="terms ISO" context="#stay" attribute="other built-in predicate" />+ <keyword String="prolog state ISO" context="#stay" attribute="Prolog State" />+ <keyword String="DCG non-ISO" context="#stay" attribute="{ DCG }" />+ <keyword String="arith eval ISO" context="arith_expr" attribute="Arithmetics" />+ <!-- These are user predicates outside arit_expr -->+<!-- <keyword String="arith expr mixed ISO" context="#stay" attribute="other built-in predicate" /> -->+<!-- <keyword String="arith expr int ISO" context="#stay" attribute="other built-in predicate" /> -->+<!-- <keyword String="arith expr float ISO" context="#stay" attribute="other built-in predicate" /> -->+ <keyword String="built-ins ISO" context="#stay" attribute="other built-in predicate" />+ <keyword String="error term ISO" context="#stay" attribute="Guru Meditation" />+ <keyword String="guru meditation terms ISO" context="#stay" attribute="Guru Meditation Terms" />+ <keyword String="bogus ISO" context="#stay" attribute="ISO Bogus" />++ <!-- Match char code before quoted and ops... -->+ <IncludeRules context="number" />++ <!-- these depend on current_prolog_flag/2 so can all return a term i.e. a list (of char codes) -->+ <DetectChar lookAhead="true" char="'" context="single-quoted" attribute="'quo Ted'" />+ <DetectChar lookAhead="true" char="`" context="back-quoted" attribute="`back-quoted`" />+ <DetectChar lookAhead="true" char=""" context="double-quoted" attribute=""double-quoted"" />++ <!-- ...and ops before atoms, else "div", "is" etc. are usual atoms -->+ <IncludeRules context="operator" />+ <AnyChar lookAhead="true" String="&any_lower_iso;" context="id" attribute="Normal Text" />+ <AnyChar lookAhead="true" String="&any_upper_under_iso;" context="var" attribute="_VARIABLE" />+ <AnyChar String="&any_graphic_iso;" context="graphic" attribute="Normal Text" />+ </context> <!-- atomic -->++ <!-- [(mostly) "atomic" for] arith_expr := arith_op | number_expr | var+ number_expr := number | built-in | user-def++ This is only a goody to highlight arith ops and detect syntax errors.+ If it causes problems, disable it: exchange context="arith_expr" in+ contexts "atomic" and "operator" with context="#stay" -->+ <context name="arith_expr_common" lineEndContext="#stay" attribute="Syntax Error" >+ <IncludeRules context="layout" />+ <IncludeRules context="number" />+ <keyword String="arith eval ISO" context="#pop" attribute="Syntax Error" />+ <keyword String="bogus ISO" context="#stay" attribute="ISO bogus" />+ <keyword String="arith expr mixed ISO" context="#stay" attribute="Arithmetics" />+ <keyword String="arith expr int ISO" context="#stay" attribute="Integer Arithmetics" />+ <keyword String="arith expr float ISO" context="#stay" attribute="Float Arithmetics" />+ <keyword String="arith ops int ISO" context="#stay" attribute="Integer Arithmetics" />+ <RegExpr String="&arith_compare_iso;" context="#pop" attribute="Syntax Error" />+ <RegExpr String="&arith_ops_mixed_iso;" context="#stay" attribute="Arithmetics" />+ <RegExpr String="&arith_ops_int_iso;" context="#stay" attribute="Integer Arithmetics" />+ <RegExpr String="&arith_ops_float_iso;" context="#stay" attribute="Float Arithmetics" />+ <RegExpr String="&arith_bogus_iso;" context="#stay" attribute="ISO bogus" />+ <!-- do not miss user-def'd arithmetic expr and number expr-->+ <IncludeRules context="operator" />+ <AnyChar lookAhead="true" String="&any_lower_iso;" context="id" attribute="Normal Text" />+ <AnyChar lookAhead="true" String="&any_upper_under_iso;" context="var" attribute="_VARIABLE" />+ <AnyChar String="&any_graphic_iso;" context="graphic" attribute="Normal Text" />+ </context>++ <!-- number := float | integer+ integer := decimal | baseN | "0'" char_code+ baseN := "0b" [01]+ | "0o" [0-7]+ | "0x" [0-9a-fA-F]+ -->+ <context name="number" lineEndContext="#pop" attribute="Syntax Error" >+ <!-- Match integers after other numbers -->+ <!-- FIXME a minus may precede all numbers and is part of the number! -->+ <RegExpr String="0'\\?$" context="syntax_error_cc" attribute="Syntax Error" />+ <Detect2Chars char="0" char1="'" context="char_code" attribute="0'a (!use background)" />++<!-- NOT: [box] could be a postfix op <RegExpr String="0[box]$" context="#stay" attribute="Syntax Error" /> -->+ <Detect2Chars char="0" char1="b" context="bin" attribute="0b1001 0o007 0xF1" />+ <Detect2Chars char="0" char1="o" context="oct" attribute="0b1001 0o007 0xF1" />+ <Detect2Chars char="0" char1="x" context="hex" attribute="0b1001 0o007 0xF1" />++ <RegExpr String="&float1_iso;" context="#stay" attribute="2.718281E-9" />+ <RegExpr String="&float2_iso;" context="#stay" attribute="2.718281E-9" />+ <RegExpr String="&float3_iso;" context="#stay" attribute="2.718281E-9" />+ <Int context="#stay" attribute="1 2 3 42" />+ </context>++ <!-- operator := predefined_op | dynamic_op (which we can not detect)+ comma, single dot & bar are catched earlier above in term/list/curly -->+ <context name="operator" lineEndContext="#pop" attribute="Syntax Error" >+ <keyword String="arith eval ISO" context="arith_expr" attribute="Arithmetics" />+ <keyword String="arith ops int ISO" context="#stay" attribute="other built-in operator" />+ <RegExpr String="&logic_control_ops_iso;" context="#stay" attribute="Logic & Control" />+ <RegExpr String="&predefined_ops_iso;" context="#stay" attribute="other built-in operator" />+ <RegExpr String="&dcg_production_iso;" context="#stay" attribute="{ DCG }" />+ <RegExpr String="&arith_compare_iso;" context="arith_expr" attribute="Arithmetics" />+ <RegExpr String="&arith_ops_mixed_iso;" context="#stay" attribute="other built-in operator" />+ <RegExpr String="&arith_ops_int_iso;" context="#stay" attribute="other built-in operator" />+ <RegExpr String="&arith_ops_float_iso;" context="#stay" attribute="other built-in operator" />+ <RegExpr String="&arith_bogus_iso;" context="#stay" attribute="ISO bogus" />+ </context>++<!--####### END sub rules to be included - <context> never taken -->+ </contexts>++ <!-- The idea is to give all predicates that may be affected by the+ "outside world" a common style (italic). I.e. these can throw a+ permission, evaluation, representation or resource_error, even though+ the program itself is 100% correct. E.g. you get_char/2 a char code 1+ from a text stream (representation_error): not your mistake, but you+ have to deal with that, too. -->+ <itemDatas>+ <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false" />+ <itemData name="_VARIABLE" defStyleNum="dsDataType" bold="false" spellChecking="false" />+ <itemData name="'quo Ted'" defStyleNum="dsString" />+ <itemData name="`back-quoted`" defStyleNum="dsString" italic="true" />+ <!-- The standard wants double-quoted to be a list of char codes, but+ e.g. GNU Prolog allows that to be set with set_prolog_flag/2 -->+ <itemData name=""double-quoted"" defStyleNum="dsOthers" />+ <itemData name="escaped (!use background)" defStyleNum="dsChar" spellChecking="false"+ backgroundColor="#0C0C0C" selBackgroundColor="#FFFFFF" />++ <!-- Numbers -->+ <itemData name="2.718281E-9" defStyleNum="dsFloat" spellChecking="false" />+ <itemData name="1 2 3 42" defStyleNum="dsDecVal" spellChecking="false" />+ <itemData name="0b1001 0o007 0xF1" defStyleNum="dsBaseN" spellChecking="false" />+ <itemData name="0'a (!use background)" defStyleNum="dsBaseN" spellChecking="false"+ backgroundColor="#0C0C0C" selBackgroundColor="#FFFFFF" />++ <itemData name="( ) [ ]" defStyleNum="dsNormal" spellChecking="false" />+ <itemData name="{ DCG }" defStyleNum="dsKeyword" spellChecking="false" />+ <itemData name="Prolog State" defStyleNum="dsFunction" bold="true" spellChecking="false" />+ <itemData name="Type Checking" defStyleNum="dsDataType" spellChecking="false" />+ <itemData name="Logic & Control" defStyleNum="dsKeyword" spellChecking="false" />+ <itemData name="other built-in operator" defStyleNum="dsFunction" spellChecking="false" />+ <itemData name="other built-in predicate" defStyleNum="dsFunction" spellChecking="false" />++ <!-- Comments (2nd not used, just a hint) -->+ <itemData name="% italic predicates: w/ side effects" defStyleNum="dsComment" />+ <itemData name="/* !avoid leading * to have folding */" defStyleNum="dsComment" />++ <!-- Predicates affected by 'outside world' -->+ <itemData name="Dynamic Clause Management" defStyleNum="dsKeyword" italic="true" spellChecking="false" />+ <itemData name="Stream I/O" defStyleNum="dsFunction" italic="true" spellChecking="false" />++ <!-- arithmetics: get the color of ints/floats; includes ops & expressions like pi -->+ <itemData name="Arithmetics" defStyleNum="dsDataType" bold="true" italic="true" spellChecking="false" />+ <itemData name="Integer Arithmetics" defStyleNum="dsDecVal" bold="true" italic="true" spellChecking="false" />+ <itemData name="Float Arithmetics" defStyleNum="dsFloat" bold="true" italic="true" spellChecking="false" />+ <itemData name="ISO Bogus" defStyleNum="dsAlert" bold="true" italic="true" spellChecking="false" />++ <!-- no way w/ buggy kate 3.8.5: get the color of default style dsError for error and terms -->+ <itemData name="Guru Meditation" defStyleNum="dsNormal" spellChecking="false"+ bold="true" italic="false" underline="false" color="#FF0000" selColor="#00FFFF" />+ <itemData name="Guru Meditation Terms" defStyleNum="dsNormal" spellChecking="false"+ bold="false" italic="true" underline="false" color="#FF0000" selColor="#00FFFF" />+ <itemData name="Syntax Error" defStyleNum="dsError" spellChecking="false" />+ <itemData name="Warning (!use background)" defStyleNum="dsAlert" spellChecking="false"+ backgroundColor="#FC000C" selBackgroundColor="#03FFF3" />+ <itemData name="%BEGIN folding region" defStyleNum="dsRegionMarker" spellChecking="false" />+ </itemDatas>+ </highlighting>+ <general>+ <keywords casesensitive="true" additionalDeliminator="$#'"`" />+ <!-- let indentationsensitive folding provide it's magic -->+ <folding indentationsensitive="true" />+<!-- <EmptyLines> -->+<!-- <EmptyLine regexpr="^[ /t]*(?!%).*$" /> -->+<!-- </EmptyLines> -->+ <comments>+ <comment name="singleLine" start="%" position="afterwhitespace" />+ <comment name="multiLine" start="/*" end="*/" region="comment" />+ </comments>+ </general>+</language>+<!--##### NOTE [HOWTO check your syntax file, extracted from language.dtd] #####++ Copyright (c) 2001 Joseph Wenninger <jowenn@kde.org>+ modified (c) 2002 Anders Lund <anders@alweb.dk>+ modified (c) 2003 Simon Huerlimann <simon.huerlimann@access.unizh.ch>+ modified (c) 2005 Dominik Haumann <dhdev@gmx.de>+ modified (c) 2008 Wilbert Berendsen <info@wilbertberendsen.nl>++ You can validate your syntax files using checkXML from the development+ package of kdelibs [author: i.e. kdelibs-dev]:++ checkXML yourSyntax.xml [author: | grep -v 'no template matches']++ If you see any 'validity error' lines, you should fix them. If you get+ a lot of 'No template matches' lines, everything's just fine. You've+ produced a valid syntax file!++ It's also possible to use the (much faster) xmllint which comes with the+ GNOME (oops:-) XML Library libxml2:++ xmllint - -dtdvalid language.dtd yourSyntax.xml+ (don't use a space between the two - [author: dashes/minus]+ That's just because XML comments don't allow that:-(++ To use your syntax file, copy it to .kde/share/apps/katepart/syntax/ in+ your home directory. You have to open a new instance of kwrite/kate to use+ the new syntax file.+-->
xml/python.xml view
@@ -13,7 +13,7 @@ <!-- v2.06 decorator names can (and often do) contain periods --> <!-- v2.07 add support for %prog and co, see bug 142832 --> <!-- v2.08 add missing overloaders, new Python 3 statements, builtins, and keywords -->-<language name="Python" version="2.11" kateversion="2.4" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Michael Bueker" license="">+<language name="Python" version="2.13" kateversion="2.4" section="Scripts" extensions="*.py;*.pyw;SConstruct;SConscript" mimetype="application/x-python;text/x-python" casesensitive="1" author="Michael Bueker" license=""> <highlighting> <list name="prep"> <item> import </item>@@ -314,6 +314,11 @@ <StringDetect attribute="Int" String="L" insensitive="true" context="#stay"/> </Int> + <RegExpr attribute="Comment" String="u?r?'''" firstNonSpace="true" insensitive="true" context="Tripple A-comment" beginRegion="Tripple A-region"/>+ <RegExpr attribute="Comment" String="u?r?"""" firstNonSpace="true" insensitive="true" context="Tripple Q-comment" beginRegion="Tripple Q-region"/>+ <RegExpr attribute="Comment" String="u?r?'" firstNonSpace="true" insensitive="true" context="Single A-comment"/>+ <RegExpr attribute="Comment" String="u?r?"" firstNonSpace="true" insensitive="true" context="Single Q-comment"/>+ <StringDetect attribute="Raw String" String="r'''" insensitive="true" context="Raw Tripple A-string"/> <StringDetect attribute="Raw String" String="r"""" insensitive="true" context="Raw Tripple Q-string"/> @@ -321,8 +326,6 @@ <StringDetect attribute="Raw String" String="r"" insensitive="true" context="Raw Q-string"/> <DetectChar attribute="Comment" char="#" context="Hash comment"/>- <RegExpr attribute="Comment" String="u?'''" firstNonSpace="true" context="Tripple A-comment" beginRegion="Tripple A-region"/>- <RegExpr attribute="Comment" String="u?"""" firstNonSpace="true" context="Tripple Q-comment" beginRegion="Tripple Q-region"/> <!-- ''' --> <StringDetect attribute="String" String="'''" context="Tripple A-string" beginRegion="Tripple A-region"/>@@ -488,6 +491,7 @@ <comments> <comment name="singleLine" start="#" position="afterwhitespace"/> </comments>+ <indentation mode="python" /> <keywords casesensitive="1" additionalDeliminator="#'"/> </general> </language>
xml/scheme.xml view
@@ -40,7 +40,7 @@ guile procedures (cause then almost everything would be highlighted) I removed some to have a rather small but "senseful" list of highlighted words. -->-<language version="1.12" kateversion="2.4" name="Scheme" section="Scripts" extensions="*.scm;*.ss;*.scheme;*.guile" mimetype="text/x-scheme" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL">+<language version="1.13" kateversion="2.4" name="Scheme" section="Scripts" extensions="*.scm;*.ss;*.scheme;*.guile" mimetype="text/x-scheme" author="Dominik Haumann (dhdev@gmx.de)" license="LGPL" priority="9"> <highlighting> <list name="operators"> <item> <= </item>
xml/sql-mysql.xml view
@@ -5,7 +5,7 @@ original by Shane Wright (me@shanewright.co.uk) modifications by Milian Wolff (mail@milianw.de) -->-<language name="SQL (MySQL)" version="1.13" kateversion="2.5" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">+<language name="SQL (MySQL)" version="1.15" kateversion="2.5" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license=""> <highlighting> <list name="keywords"> <item> ACCESS </item>@@ -153,6 +153,7 @@ <item> VARYING </item> <item> WHEN </item> <item> WHERE </item>+ <item> WHILE </item> <item> WITH </item> <item> WRITE </item> <item> XOR </item>
xml/sql-postgresql.xml view
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> <!-- PostgreSQL SQL, syntax definition based on sql.xml by Yury Lebedev -->-<language name="SQL (PostgreSQL)" version="1.10" kateversion="2.4" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license="">+<language name="SQL (PostgreSQL)" version="1.12" kateversion="2.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license=""> <highlighting> <list name="keywords"> <item> ABORT </item>@@ -491,6 +491,7 @@ <item> WHEN </item> <item> WHENEVER </item> <item> WHERE </item>+ <item> WHILE </item> <item> WITH </item> <item> WITHOUT </item> <item> WORK </item>
xml/sql.xml view
@@ -3,7 +3,7 @@ <!-- Oracle10g SQL and PL/SQL syntax - ANSI SQL 2003 superset --> <!-- This file is maintained by Anders Lund <anders@alweb.dk> since 2005-11-06 --> <!-- kate: space-indent on; indent-width 2; replace-tabs on; -->-<language name="SQL" version="1.14" kateversion="2.4" section="Database" extensions="*.sql;*.SQL" mimetype="text/x-sql" casesensitive="0" author="Yury Lebedev (yurylebedev@mail.ru)" license="LGPL">+<language name="SQL" version="1.16" kateversion="2.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Yury Lebedev (yurylebedev@mail.ru)" license="LGPL"> <highlighting> <list name="keywords"> <item> ACCESS </item>@@ -585,6 +585,7 @@ <item> WHEN </item> <item> WHENEVER </item> <item> WHERE </item>+ <item> WHILE </item> <item> WITH </item> <item> WITHOUT </item> <item> WORK </item>