require "sublimetheme/version" def _write(filename, text, value) filename.puts("\t\t\t\t%s\n\t\t\t\t%s" % [text, value]) end #Module name module Sublimetheme def self.scopes() puts("Scope Name: scope") puts("=================") puts("Actionscript: source.actionscript") puts("Active4D: source.active4d") puts("Active4D_Html: text.html.strict.active4d") puts("Active4D_Ini: text.active4d-ini") puts("Active4D_Library: source.active4d.library") puts("Ada: source.ada") puts("Antlr: source.antlr") puts("Apache: source.apache-config") puts("Applescript: source.applescript") puts("Asp: source.asp") puts("Asp_Vbdotnet: source.asp.vb.net") puts("Bibtex: text.bibtex") puts("Blog_Html: text.blog.html") puts("Blog_Markdown: text.blog.markdown") puts("Blog_Text: text.blog") puts("Blog_Textile: text.blog.textile") puts("Build: source.nant-build") puts("Bulletin_Board: text.bbcode") puts("Cpp: source.c++") puts("C: source.c") puts("Cake: source.php.cake") puts("Camlp4: source.camlp4.ocaml") puts("Cm: source.cm") puts("Coldfusion: text.html.cfm") puts("Context_Free: source.context-free") puts("Cs: source.c-sharp") puts("Css: source.css") puts("Css_Experimental: source.css.beta") puts("Csv: text.tabular.csv") puts("D: source.d") puts("Diff: source.diff") puts("Dokuwiki: text.html.dokuwiki") puts("Dot: source.dot") puts("Doxygen: text.html.doxygen") puts("Dylan: source.dylan") puts("Eiffel: source.eiffel") puts("Erlang: source.erlang") puts("F_Script: source.fscript") puts("Fortran: source.fortran") puts("Fxscript: source.fxscript") puts("Greasemonkey: source.js.greasemonkey") puts("Gri: source.gri") puts("Groovy: source.groovy.groovy") puts("Gtd: text.plain.gtd") puts("Gtdalt: text.gtdalt") puts("Haml: text.haml") puts("Haskell: source.haskell") puts("Html_Asp: text.html.asp") puts("Html: text.html.basic") puts("Html_Django: text.html.django") puts("Html_For_Aspdotnet: text.html.asp.net") puts("Html_Mason: text.html.mason") puts("Html_Rails: text.html.ruby") puts("Html_Tcl: text.html.tcl") puts("Icalendar: source.icalendar") puts("Inform: source.inform") puts("Ini: source.ini") puts("Installer_Distribution_Script: text.xml.apple-dist") puts("Io: source.io") puts("Java: source.java") puts("Javaproperties: source.java-props") puts("Javascript: source.js") puts("Javascript_Plus_Prototype: source.js.prototype") puts("Javascript_Plus_Prototype_Bracketed: source.js.prototype.bracketed") puts("Jquery_Javascript: source.js.jquery") puts("Json: source.json") puts("Languagedefinition: source.plist.tm-grammar") puts("Latex: text.tex.latex") puts("Latex_Beamer: text.tex.latex.beamer") puts("Latex_Log: text.log.latex") puts("Latex_Memoir: text.tex.latex.memoir") puts("Lexflex: source.lex") puts("Lighttpd: source.lighttpd-config") puts("Lilypond: source.lilypond") puts("Lisp: source.lisp") puts("Literate_Haskell: text.tex.latex.haskell") puts("Logo: source.logo") puts("Logtalk: source.logtalk") puts("Lua: source.lua") puts("M: source.matlab") puts("Macports_Portfile: source.tcl.macports") puts("Mail: text.mail.markdown") puts("Makefile: source.makefile") puts("Man: text.man") puts("Markdown: text.html.markdown") puts("Mediawiki: text.html.mediawiki") puts("Mel: source.mel") puts("Mips: source.mips") puts("Mod_Perl: source.apache-config.mod_perl") puts("Modula_3: source.modula-3") puts("Moinmoin: text.moinmoin") puts("Mootools: source.js.mootools") puts("Movable_Type: text.html.mt") puts("Multimarkdown: text.html.markdown.multimarkdown") puts("nemerle: source.nemerle") puts("Objective_Cpp: source.objc++") puts("Objective_C: source.objc") puts("Ocaml: source.ocaml") puts("Ocamllex: source.ocamllex") puts("Ocamlyacc: source.ocamlyacc") puts("Opengl: source.open-gl") puts("Pascal: source.pascal") puts("Perl: source.perl") puts("Php: source.php") puts("Plain_Text: text.plain") puts("Pmwiki: text.pmwiki") puts("Postscript: source.postscript") puts("Processing: source.processing") puts("Prolog: source.prolog") puts("Property_List: []") puts("Python: source.python") puts("Python_Django: source.python.django") puts("Qmake_Project: source.qmake") puts("Qt_Cpp: source.c++.qt") puts("Quake3_Config: source.quake-config") puts("R: source.r") puts("R_Console: source.r-console") puts("Ragel: source.c.ragel") puts("Rd_R_Documentation: text.tex.latex.rd") puts("Regexp: source.regexp") puts("Regular_Expressions_Oniguruma: source.regexp.oniguruma") puts("Regular_Expressions_Python: source.regexp.python") puts("Release_Notes: text.plain.release-notes") puts("Remind: source.remind") puts("Restructuredtext: text.restructuredtext") puts("Rez: source.rez") puts("Ruby: source.ruby") puts("Ruby_Experimental: source.ruby.experimental") puts("Ruby_On_Rails: source.ruby.rails") puts("S5: source.s5") puts("Scheme: source.scheme") puts("Scilab: source.scilab") puts("Setext: text.setext") puts("Shell_Unix_Generic: source.shell") puts("Slate: source.slate") puts("Smarty: source.smarty") puts("Sql: source.sql") puts("Sql_Rails: source.sql.ruby") puts("Ssh_Config: source.ssh-config") puts("Standard_Ml: source.ml") puts("Strings_File: source.strings") puts("Subversion_Commit_Message: text.subversion-commit") puts("Sweave: text.tex.latex.sweave") puts("Swig: source.swig") puts("Tcl: source.tcl") puts("Template_Toolkit: text.html.tt") puts("Tex: text.tex") puts("Tex_Math: text.tex.math") puts("Textile: text.html.textile") puts("Tsv: text.tabular.tsv") puts("Twiki: text.html.twiki") puts("Txt2Tags: text.txt2tags") puts("Txt2Tags_old: source.t2t") puts("Vectorscript: source.pascal.vectorscript") puts("Xhtml_1Dot0: text.html.xhtml.1-strict") puts("Xml: text.xml") puts("Xml_Strict: text.xml.strict") puts("Xsl: text.xml.xsl") puts("Yaml: source.yaml") puts("Yaml_old: source.yaml") puts("Yui_Javascript: source.js.yui") end # Scope functions def self.actionscript() header = "ACTIONSCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.actionscript\n") puts("ActionScript") puts("comment.block.actionscript") puts("comment.line.double-slash.actionscript") puts("constant.character.escape.actionscript") puts("constant.language.actionscript") puts("constant.numeric.actionscript") puts("entity.name.function.asp") puts("entity.name.type.class.actionscript") puts("entity.other.inherited-class.actionscript") puts("keyword.control.actionscript") puts("keyword.operator.actionscript") puts("keyword.operator.symbolic.actionscript") puts("meta.class.actionscript") puts("meta.function.actionscript") puts("meta.preprocessor.actionscript") puts("punctuation.definition.comment.actionscript") puts("punctuation.definition.parameters.begin.actionscript") puts("punctuation.definition.parameters.end.actionscript") puts("punctuation.definition.preprocessor.actionscript") puts("punctuation.definition.string.begin.actionscript") puts("punctuation.definition.string.end.actionscript") puts("storage.modifier.extends.actionscript") puts("storage.type.actionscript") puts("storage.type.class.actionscript") puts("storage.type.function.asp") puts("string.quoted.double.actionscript") puts("string.quoted.single.actionscript") puts("support.class.actionscript") puts("support.constant.actionscript") puts("support.function.actionscript") puts("variable.parameter.function.asp") end def self.active4d() header = "ACTIVE4D" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.active4d\n") puts("Active4D") puts("comment.block.active4d") puts("comment.line.backtick.active4d") puts("comment.line.double-backslash.continuation.active4d") puts("comment.line.double-slash.active4d") puts("constant.character.escape.active4d") puts("constant.language.boolean.active4d") puts("constant.numeric.active4d") puts("constant.other.date.active4d") puts("constant.other.time.active4d") puts("entity.name.function.active4d") puts("keyword.control.active4d") puts("keyword.operator.active4d") puts("keyword.other.active4d") puts("meta.function.active4d") puts("punctuation.definition.comment.active4d") puts("punctuation.definition.constant.active4d") puts("punctuation.definition.entity.active4d") puts("punctuation.definition.parameters.active4d") puts("punctuation.definition.string.begin.active4d") puts("punctuation.definition.string.end.active4d") puts("punctuation.definition.variable.active4d") puts("punctuation.separator.key-value.active4d") puts("punctuation.separator.parameters.active4d") puts("source.interpolated.active4d") puts("storage.type.function.active4d") puts("string.interpolated.quoted.single.active4d") puts("string.interpolated.quoted.triple.heredoc.active4d") puts("string.quoted.double.active4d") puts("string.quoted.triple.heredoc.active4d") puts("support.class.active4d") puts("support.constant.active4d") puts("support.function.active4d") puts("support.variable.active4d") puts("text.xml") puts("variable.other.interpolated.collection-ref.active4d") puts("variable.other.interpolated.local.active4d") puts("variable.other.interpolated.table-field.active4d") puts("variable.other.interprocess.active4d") puts("variable.other.local.active4d") puts("variable.other.table-field.active4d") puts("variable.parameter.function.active4d") end def self.active4d_html() header = "ACTIVE4D_HTML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.strict.active4d\n") puts("comment.block.html") puts("constant.character.entity.html") puts("constant.other.inline-data.html") puts("entity.name.tag.block.any.html") puts("entity.name.tag.doctype.html") puts("entity.name.tag.html") puts("entity.name.tag.inline.any.html") puts("entity.name.tag.other.html") puts("entity.name.tag.script.html") puts("entity.name.tag.structure.any.html") puts("entity.name.tag.style.html") puts("entity.name.tag.xml.html") puts("entity.other.attribute-name.html") puts("entity.other.attribute-name.id.html") puts("invalid.illegal.bad-ampersand.html") puts("invalid.illegal.bad-angle-bracket.html") puts("invalid.illegal.bad-comments-or-CDATA.html") puts("invalid.illegal.incomplete.html") puts("meta.attribute-with-value.id.html") puts("meta.scope.between-tag-pair.html") puts("meta.tag.any.html") puts("meta.tag.block.any.html") puts("meta.tag.inline.any.html") puts("meta.tag.other.html") puts("meta.tag.preprocessor.xml.html") puts("meta.tag.processor.html") puts("meta.tag.sgml.doctype.html") puts("meta.tag.sgml.html") puts("meta.tag.structure.any.html") puts("punctuation.definition.comment.html") puts("punctuation.definition.entity.html") puts("punctuation.definition.string.begin.html") puts("punctuation.definition.string.begin.js") puts("punctuation.definition.string.end.html") puts("punctuation.definition.string.end.js") puts("punctuation.definition.tag.html") puts("punctuation.definition.tag.xml.html") puts("punctuation.section.embedded.active4d") puts("punctuation.separator.key-value.html") puts("punctuation.terminator.entity.html") puts("source.active4d.embedded.html") puts("source.css.embedded.html") puts("source.js.embedded.html") puts("string.quoted.double.doctype.identifiers-and-DTDs.html") puts("string.quoted.double.html") puts("string.quoted.double.js") puts("string.quoted.single.html") puts("string.quoted.single.js") end def self.active4d_ini() header = "ACTIVE4D_INI" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.active4d-ini\n") puts("comment.block.active4d-ini") puts("comment.line.backtick.active4d-ini") puts("comment.line.double-backslash.continuation.active4d-ini") puts("comment.line.double-slash.active4d-ini") puts("constant.character.escape.active4d-ini") puts("constant.language.boolean.active4d-ini") puts("keyword.operator.active4d-ini") puts("punctuation.definition.comment.active4d-ini") puts("punctuation.definition.string.begin.active4d-ini") puts("punctuation.definition.string.end.active4d-ini") puts("string.quoted.double.active4d-ini") puts("support.constant.active4d-ini") end def self.active4d_library() header = "ACTIVE4D_LIBRARY" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.active4d.library\n") puts("keyword.other.active4d") end def self.ada() header = "ADA" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ada\n") puts("Ada") puts("comment.line.double-dash.ada") puts("constant.numeric.ada") puts("invalid.illegal.lf-in-string.ada") puts("keyword.control.ada") puts("punctuation.definition.comment.ada") puts("punctuation.definition.string.begin.ada") puts("punctuation.definition.string.end.ada") puts("string.quoted.double.ada") end def self.antlr() header = "ANTLR" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.antlr\n") puts("ANTLR") puts("comment.block.antlr") puts("comment.line.double-slash.antlr") puts("constant.character.escape.antlr") puts("constant.language.boolean.antlr") puts("constant.language.java-or-c") puts("constant.numeric.antlr") puts("constant.numeric.java-or-c") puts("constant.other.token.antlr") puts("entity.name.function.rule.antlr") puts("entity.name.type.class.antlr") puts("entity.name.type.token.antlr") puts("keyword.control.antlr") puts("keyword.control.java-or-c") puts("keyword.operator.sizeof.java-or-c") puts("keyword.other.options.antlr") puts("meta.definition.class.antlr") puts("meta.definition.class.extends.antlr") puts("meta.options-block.antlr") puts("meta.options.antlr") puts("meta.rule.antlr") puts("punctuation.definition.comment.antlr") puts("punctuation.definition.string.begin.antlr") puts("punctuation.definition.string.begin.java-or-c") puts("punctuation.definition.string.end.antlr") puts("punctuation.definition.string.end.java-or-c") puts("punctuation.section.group.antlr") puts("punctuation.section.options.antlr") puts("source.embedded.java-or-c.antlr") puts("storage.modifier.antlr") puts("storage.modifier.java-or-c") puts("storage.type.antlr") puts("storage.type.java-or-c") puts("string.quoted.double.antlr") puts("string.quoted.double.java-or-c") puts("string.quoted.single.antlr") puts("string.quoted.single.java-or-c") puts("support.class.antlr") puts("support.constant.eof-char.antlr") puts("variable.other.option.antlr") end def self.apache() header = "APACHE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.apache-config\n") puts("Apache") puts("comment.line.number-sign.apache-config") puts("constant.character.escape.apostrophe.apache") puts("entity.name.tag.apache-config") puts("invalid.illegal.bad-var.apache-config") puts("meta.directory.apache-config") puts("meta.location.apache-config") puts("meta.scope.between-tag-pair.apache-config") puts("meta.tag.any.html") puts("meta.tag.apache-config") puts("meta.toc-list.directory.apache-config") puts("meta.toc-list.location.apache-config") puts("meta.toc-list.virtual-host.apache-config") puts("meta.vhost.apache-config") puts("punctuation.definition.comment.apache-config") puts("punctuation.definition.string.begin.apache-config") puts("punctuation.definition.string.end.apache-config") puts("punctuation.definition.tag.apache-config") puts("punctuation.definition.variable.apache-config") puts("string.other.rewrite-condition.apache-config") puts("string.other.rewrite-substitution.apache-config") puts("string.quoted.double.apache-config") puts("string.regexp.rewrite-operator.apache-config") puts("string.regexp.rewrite-pattern.apache-config") puts("string.regexp.rewrite-test.apache-config") puts("support.class.apache-config") puts("support.constant.apache-config") puts("support.constant.rewritecond.apache-config") puts("support.constant.rewriterule.apache-config") puts("support.variable.apache-config") end def self.applescript() header = "APPLESCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.applescript\n") puts("AppleScript") puts("comment.block.applescript") puts("comment.line.double-dash.applescript") puts("constant.character.escape.applescript") puts("constant.language.boolean.applescript") puts("constant.language.null.applescript") puts("constant.numeric.applescript") puts("constant.other.characters.applescript") puts("constant.other.considering-ignoring-attributes.applescript") puts("constant.other.date-time.applescript") puts("constant.other.key.applescript") puts("constant.other.miscellaneous.applescript") puts("constant.other.text-styles.applescript") puts("entity.name.function.handler.applescript") puts("entity.name.type.script-object.applescript") puts("keyword.control.applescript") puts("keyword.control.on.applescript") puts("keyword.control.preposition.applescript") puts("keyword.control.reference.applescript") puts("keyword.control.script.applescript") puts("keyword.operator.applescript") puts("meta.data.applescript") puts("meta.data.array.applescript") puts("meta.function.prepositional.applescript") puts("meta.function.with-parentheses.applescript") puts("meta.identifier.applescript") puts("meta.script.applescript") puts("meta.tell-block.application.finder.applescript") puts("meta.tell-block.application.generic.applescript") puts("meta.tell-block.application.itunes.applescript") puts("meta.tell-block.application.system-events.applescript") puts("meta.tell-block.application.textmate.applescript") puts("meta.tell-block.generic.applescript") puts("punctuation.definition.comment.applescript") puts("punctuation.definition.data.applescript") puts("punctuation.definition.identifier.applescript") puts("punctuation.definition.parameters.applescript") puts("punctuation.definition.string.applescript") puts("punctuation.section.array.applescript") puts("punctuation.section.group.applescript") puts("punctuation.separator.array.applescript") puts("punctuation.separator.continuation.line.applescript") puts("punctuation.separator.key-value.applescript") puts("punctuation.separator.key-value.property.applescript") puts("storage.type.utxt.applescript") puts("string.quoted.double.applescript") puts("string.quoted.double.application-name.applescript") puts("string.unquoted.data.applescript") puts("support.class.built-in.applescript") puts("support.class.finder.items.applescript") puts("support.class.finder.type-definitions.applescript") puts("support.class.finder.window-classes.applescript") puts("support.class.itunes.applescript") puts("support.class.standard-suite.applescript") puts("support.class.standardadditions.file.applescript") puts("support.class.standardadditions.internet.applescript") puts("support.class.standardadditions.miscellaneous.applescript") puts("support.class.standardadditions.user-interaction.applescript") puts("support.class.system-events.audio-file.applescript") puts("support.class.system-events.disk-folder-file.applescript") puts("support.class.system-events.folder-actions.applescript") puts("support.class.system-events.movie-file.applescript") puts("support.class.system-events.processes.applescript") puts("support.class.system-events.property-list.applescript") puts("support.class.system-events.quicktime-file.applescript") puts("support.class.system-events.xml.applescript") puts("support.class.sytem-events.other.applescript") puts("support.class.text-suite.applescript") puts("support.class.textmate.applescript") puts("support.constant.finder.applescript") puts("support.constant.itunes.applescript") puts("support.constant.standard-suite.applescript") puts("support.function.built-in.applescript") puts("support.function.finder.items.applescript") puts("support.function.itunes.applescript") puts("support.function.standard-suite.applescript") puts("support.function.standardadditions.clipboard.applescript") puts("support.function.standardadditions.file-i-o.applescript") puts("support.function.standardadditions.file.applescript") puts("support.function.standardadditions.folder-actions.applescript") puts("support.function.standardadditions.internet.applescript") puts("support.function.standardadditions.miscellaneous.applescript") puts("support.function.standardadditions.scripting.applescript") puts("support.function.standardadditions.string.applescript") puts("support.function.standardadditions.user-interaction.applescript") puts("support.function.system-events.disk-folder-file.applescript") puts("support.function.system-events.folder-actions.applescript") puts("support.function.system-events.power.applescript") puts("support.function.system-events.processes.applescript") puts("support.function.system-events.system-events.applescript") puts("support.function.textmate.applescript") puts("support.variable.finder.applescript") puts("support.variable.itunes.applescript") puts("support.variable.standard-suite.applescript") puts("variable.language.applescript") puts("variable.parameter.handler.applescript") end def self.asp() header = "ASP" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.asp\n") puts("ASP") puts("comment.line.apostrophe.asp") puts("constant.character.escape.apostrophe.asp") puts("constant.language.asp") puts("constant.numeric.asp") puts("entity.name.function.asp") puts("keyword.control.asp") puts("keyword.operator.asp") puts("meta.function.asp") puts("punctuation.definition.comment.asp") puts("punctuation.definition.parameters.asp") puts("punctuation.definition.string.begin.asp") puts("punctuation.definition.string.end.asp") puts("punctuation.definition.variable.asp") puts("storage.modifier.asp") puts("storage.type.asp") puts("storage.type.function.asp") puts("string.quoted.double.asp") puts("support.class.asp") puts("support.class.collection.asp") puts("support.constant.asp") puts("support.function.asp") puts("support.function.event.asp") puts("support.function.vb.asp") puts("support.type.vb.asp") puts("variable.other.asp") puts("variable.parameter.function.asp") end def self.asp_vbdotnet() header = "ASP_VB.NET" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.asp.vb.net\n") puts("comment.line.apostrophe.asp") puts("constant.character.escape.apostrophe.asp") puts("constant.language.asp") puts("constant.numeric.asp") puts("entity.name.function.asp") puts("keyword.control.asp") puts("keyword.operator.asp") puts("keyword.operator.js") puts("meta.ending-space") puts("meta.even-tab.spaces") puts("meta.even-tab.tabs") puts("meta.function.asp") puts("meta.leading-space") puts("meta.odd-tab.spaces") puts("meta.odd-tab.tabs") puts("meta.round-brackets") puts("meta.separator.comma.asp") puts("punctuation.definition.comment.asp") puts("punctuation.definition.parameters.asp") puts("punctuation.definition.string.begin.asp") puts("punctuation.definition.string.end.asp") puts("punctuation.definition.variable.asp") puts("punctuation.section.round-brackets.begin.asp") puts("punctuation.section.round-brackets.end.asp") puts("storage.modifier.asp") puts("storage.type.asp") puts("storage.type.function.asp") puts("string.quoted.double.asp") puts("support.class.asp") puts("support.class.collection.asp") puts("support.constant.asp") puts("support.function.asp") puts("support.function.event.asp") puts("support.function.vb.asp") puts("support.type.vb.asp") puts("variable.other.asp") puts("variable.other.bfeac.asp") puts("variable.other.dim.asp") puts("variable.parameter.function.asp") end def self.bibtex() header = "BIBTEX" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.bibtex\n") puts("BibTeX") puts("comment.block.bibtex") puts("comment.line.at-sign.bibtex") puts("constant.numeric.bibtex") puts("entity.name.type.entry-key.bibtex") puts("invalid.illegal.at-sign.bibtex") puts("keyword.other.entry-type.bibtex") puts("keyword.other.string-constant.bibtex") puts("meta.entry.braces.bibtex") puts("meta.entry.parenthesis.bibtex") puts("meta.key-assignment.bibtex") puts("meta.string-constant.braces.bibtex") puts("meta.string-constant.parenthesis.bibtex") puts("punctuation.definition.comment.bibtex") puts("punctuation.definition.group.begin.bibtex") puts("punctuation.definition.group.end.bibtex") puts("punctuation.definition.keyword.bibtex") puts("punctuation.definition.string.begin.bibtex") puts("punctuation.definition.string.end.bibtex") puts("punctuation.section.entry.begin.bibtex") puts("punctuation.section.entry.end.bibtex") puts("punctuation.section.string-constant.begin.bibtex") puts("punctuation.section.string-constant.end.bibtex") puts("punctuation.separator.key-value.bibtex") puts("string.quoted.double.bibtex") puts("string.quoted.other.braces.bibtex") puts("string.unquoted.key.bibtex") puts("variable.other.bibtex") end def self.blog_html() header = "BLOG_HTML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.blog.html\n") puts("invalid.illegal.meta.header.blog") puts("keyword.other.blog") puts("meta.header.blog") puts("meta.separator.blog") puts("punctuation.separator.key-value.blog") puts("string.unquoted.blog") puts("text.html") end def self.blog_markdown() header = "BLOG_MARKDOWN" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.blog.markdown\n") puts("invalid.illegal.meta.header.blog") puts("keyword.other.blog") puts("meta.header.blog") puts("meta.separator.blog") puts("punctuation.separator.key-value.blog") puts("string.unquoted.blog") puts("text.html.markdown") end def self.blog_text() header = "BLOG_TEXT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.blog\n") puts("invalid.illegal.meta.header.blog") puts("keyword.other.blog") puts("meta.header.blog") puts("meta.separator.blog") puts("punctuation.separator.key-value.blog") puts("string.unquoted.blog") puts("text.plain") end def self.blog_textile() header = "BLOG_TEXTILE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.blog.textile\n") puts("invalid.illegal.meta.header.blog") puts("keyword.other.blog") puts("meta.header.blog") puts("meta.separator.blog") puts("punctuation.separator.key-value.blog") puts("string.unquoted.blog") puts("text.html.textile") end def self.build() header = "BUILD" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.nant-build\n") puts("comment.block.nant") puts("constant.character.entity.nant") puts("entity.name.tag.nant") puts("entity.other.attribute-name.nant") puts("invalid.illegal.bad-ampersand.nant") puts("meta.tag.nant") puts("punctuation.definition.comment.nant") puts("punctuation.definition.constant.nant") puts("punctuation.definition.string.begin.nant") puts("punctuation.definition.string.end.nant") puts("punctuation.definition.tag.nant") puts("string.quoted.double.nant") puts("string.quoted.single.nant") end def self.bulletin_board() header = "BULLETIN_BOARD" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.bbcode\n") puts("constant.numeric.size.bbcode") puts("constant.other.alignment.bbcode") puts("constant.other.list-type.bbcode") puts("constant.other.named-color.bbcode") puts("constant.other.rgb-value.bbcode") puts("constant.other.smiley.bbcode") puts("invalid.illegal.expected-a-color.bbcode") puts("invalid.illegal.expected-a-size.bbcode") puts("invalid.illegal.expected-an-alignment.bbcode") puts("markup.underline.link.bbcode") puts("meta.link.image.bbcode") puts("meta.link.inline.bbcode") puts("meta.tag.bbcode") puts("punctuation.definition.constant.bbcode") puts("punctuation.definition.tag.bbcode") end def self.cpp() header = "C++" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.c++\n") puts("C++") puts("entity.name.function.c") puts("keyword.control.c++") puts("keyword.operator.c++") puts("keyword.operator.cast.c++") puts("meta.function.constructor.c++") puts("meta.function.destructor.c++") puts("meta.function.destructor.prototype.c++") puts("punctuation.definition.parameters.c") puts("storage.modifier.c++") puts("storage.type.c++") puts("storage.type.template.c++") puts("variable.language.c++") puts("variable.other.readwrite.member.c++") end def self.c() header = "C" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.c\n") puts("C") puts("comment.block.c") puts("comment.block.preprocessor.if-branch") puts("comment.line.double-slash.c++") puts("constant.character.escape.c") puts("constant.language.c") puts("constant.numeric.c") puts("constant.numeric.preprocessor.c") puts("constant.other.placeholder.c") puts("constant.other.variable.mac-classic.c") puts("entity.name.function.c") puts("entity.name.function.preprocessor.c") puts("invalid.illegal.placeholder.c") puts("invalid.illegal.unknown-escape.c") puts("keyword.control.c") puts("keyword.control.import.c") puts("keyword.control.import.define.c") puts("keyword.control.import.else.c") puts("keyword.control.import.error.c") puts("keyword.control.import.if.c") puts("keyword.control.import.include.c") puts("keyword.control.import.pragma.c") puts("keyword.operator.sizeof.c") puts("meta.function.c") puts("meta.function.prototype.c") puts("meta.preprocessor.c") puts("meta.preprocessor.c.include") puts("meta.preprocessor.diagnostic.c") puts("meta.preprocessor.macro.c") puts("meta.section") puts("meta.toc-list.pragma-mark.c") puts("punctuation.definition.comment.c") puts("punctuation.definition.parameters.c") puts("punctuation.definition.string.begin.c") puts("punctuation.definition.string.end.c") puts("punctuation.separator.continuation.c") puts("punctuation.separator.continuation.c++") puts("punctuation.separator.parameters.c") puts("storage.modifier.c") puts("storage.type.c") puts("string.quoted.double.c") puts("string.quoted.double.include.c") puts("string.quoted.other.lt-gt.include.c") puts("string.quoted.single.c") puts("support.constant.mac-classic.c") puts("support.function.C99.c") puts("support.type.mac-classic.c") puts("support.type.pthread.c") puts("support.type.stdint.c") puts("support.type.sys-types.c") puts("variable.other.readwrite.global.mac-classic.c") puts("variable.other.readwrite.static.mac-classic.c") puts("variable.parameter.preprocessor.c") end def self.cake() header = "CAKE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.php.cake\n") puts("Cake") puts("invalid.deprecated.helper.ajax.cake") puts("invalid.deprecated.helper.html.cake") puts("invalid.deprecated.model.cake") puts("support.constant.core.cake") puts("support.function.basics.cake") puts("support.function.component.requestHandler.cake") puts("support.function.component.sanitize.cake") puts("support.function.component.security.cake") puts("support.function.component.session.cake") puts("support.function.controller.cake") puts("support.function.file.cake") puts("support.function.helper.ajax.cake") puts("support.function.helper.cake") puts("support.function.helper.html.cake") puts("support.function.helper.javascript.cake") puts("support.function.helper.number.cake") puts("support.function.helper.text.cake") puts("support.function.helper.time.cake") puts("support.function.log.cake") puts("support.function.model.cake") puts("support.function.neatArray.cake") puts("support.function.neatString.cake") end def self.camlp4() header = "CAMLP4" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.camlp4.ocaml\n") puts("camlp4") puts("keyword.other.camlp4.ocaml") puts("meta.camlp4-stream.element.ocaml") puts("meta.camlp4-stream.ocaml") puts("punctuation.definition.camlp4-stream.ocaml") puts("punctuation.definition.camlp4.simple-element.ocaml") puts("punctuation.separator.camlp4.ocaml") end def self.cm() header = "CM" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.cm\n") puts("CM") puts("comment.block.cm") puts("constant.character.escape.cm") puts("keyword.control.import.if.cm") puts("keyword.other.cm") puts("meta.directive.cm") puts("meta.preprocessor.cm") puts("punctuation.definition.comment.cm") puts("string.quoted.double.cm") end def self.coldfusion() header = "COLDFUSION" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.cfm\n") puts("ColdFusion") puts("comment.block.cfml") puts("constant.character.entity.html") puts("entity.name.tag.cfml") puts("entity.name.tag.cfoutput.cfml") puts("entity.name.tag.cfquery.cfml") puts("entity.other.attribute-name.cfml") puts("entity.other.attribute-name.id.html") puts("invalid.illegal.bad-ampersand.html") puts("meta.attribute-with-value.id.cfml") puts("meta.scope.output.cfml") puts("meta.tag.any.cfml") puts("meta.tag.cfoutput.cfml") puts("meta.tag.cfquery.cfml") puts("source.sql.embedded") puts("string.quoted.double.cfml") puts("string.quoted.single.cfml") end def self.context_free() header = "CONTEXT_FREE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.context-free\n") puts("comment.block.cfdg") puts("comment.line.cfdg") puts("constant.language.color-adjustment.cfdg") puts("constant.language.geometry-adjustment.cfdg") puts("constant.numeric.cfdg") puts("entity.name.function.rule.cfdg") puts("entity.name.function.rule.definition.cfdg") puts("keyword.control.background.cfdg") puts("keyword.control.include.cfdg") puts("keyword.control.rule.cfdg") puts("keyword.control.startshape.cfdg") puts("keyword.operator.loop.cfdg") puts("keyword.operator.sign.cfdg") puts("punctuation.definition.comment.begin.cfdg") puts("punctuation.definition.comment.cfdg") puts("punctuation.definition.comment.end.cfdg") puts("punctuation.section.ordered-block.begin.cfdg") puts("punctuation.section.ordered-block.end.cfdg") puts("punctuation.section.rule.begin.cfdg") puts("punctuation.section.rule.end.cfdg") puts("punctuation.section.unordered-block.begin.cfdg") puts("punctuation.section.unordered-block.end.cfdg") puts("punctuation.separator.integer-float.cfdg") puts("string.unquoted.file-name.cfdg") end def self.cs() header = "CS" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.c-sharp\n") puts("C#") puts("comment.block.c#") puts("comment.line.double-slash.c#") puts("constant.character.escape.c#") puts("constant.numeric.c#") puts("keyword.control.c#") puts("keyword.control.import.c#") puts("meta.preprocessor.c#") puts("punctuation.definition.comment.c#") puts("punctuation.definition.string.begin.c#") puts("punctuation.definition.string.end.c#") puts("storage.type.c#") puts("string.quoted.double.c#") puts("string.quoted.single.c#") end def self.css() header = "CSS" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.css\n") puts("CSS") puts("comment.block.css") puts("constant.character.escape.css") puts("constant.numeric.css") puts("constant.other.color.rgb-percentage.css") puts("constant.other.color.rgb-value.css") puts("entity.name.tag.css") puts("entity.name.tag.wildcard.css") puts("entity.other.attribute-name.attribute.css") puts("entity.other.attribute-name.class.css") puts("entity.other.attribute-name.id.css") puts("entity.other.attribute-name.pseudo-class.css") puts("entity.other.attribute-name.pseudo-element.css") puts("invalid.deprecated.color.w3c-non-standard-color-name.css") puts("keyword.control.at-rule.import.css") puts("keyword.control.at-rule.media.css") puts("keyword.other.important.css") puts("keyword.other.unit.css") puts("meta.at-rule.import.css") puts("meta.at-rule.media.css") puts("meta.attribute-selector.css") puts("meta.property-list.css") puts("meta.property-name.css") puts("meta.property-value.css") puts("meta.selector.css") puts("punctuation.definition.comment.css") puts("punctuation.definition.constant.css") puts("punctuation.definition.entity.css") puts("punctuation.definition.keyword.css") puts("punctuation.definition.string.begin.css") puts("punctuation.definition.string.end.css") puts("punctuation.section.function.css") puts("punctuation.section.property-list.css") puts("punctuation.separator.key-value.css") puts("punctuation.separator.operator.css") puts("punctuation.terminator.rule.css") puts("string.quoted.double.attribute-value.css") puts("string.quoted.double.css") puts("string.quoted.single.css") puts("string.unquoted.attribute-value.css") puts("support.constant.color.w3c-standard-color-name.css") puts("support.constant.font-name.css") puts("support.constant.media.css") puts("support.constant.property-value.css") puts("support.function.misc.css") puts("support.function.url.css") puts("support.type.property-name.css") puts("variable.parameter.misc.css") puts("variable.parameter.url.css") end def self.css_experimental() header = "CSS_EXPERIMENTAL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.css.beta\n") puts("comment.block.css") puts("constant.character.escape.css") puts("constant.numeric.css") puts("constant.numeric.degree.css") puts("constant.other.color.rgb-value.css") puts("constant.other.unit.css") puts("entity.name.tag.css") puts("entity.other.attribute-name.class.css") puts("entity.other.attribute-name.css") puts("entity.other.attribute-name.id.css") puts("entity.other.attribute-name.tag.pseudo-class.css") puts("entity.other.attribute-name.universal.css") puts("invalid.illegal.bad-comma.css") puts("keyword.control.at-rule.import.css") puts("keyword.control.at-rule.media.css") puts("keyword.operator.css") puts("meta.attribute-match.css") puts("meta.constructor.css") puts("meta.preprocessor.at-rule.import.css") puts("meta.preprocessor.at-rule.media.css") puts("meta.property-group.background.css") puts("meta.property-group.border.css") puts("meta.property-group.counter.css") puts("meta.property-group.cue.css") puts("meta.property-group.font.css") puts("meta.property-group.list-style.css") puts("meta.property-group.outline.css") puts("meta.property-group.text.css") puts("meta.property-name.css") puts("meta.property-value.css") puts("meta.property.azimuth.css") puts("meta.property.background-attachment.css") puts("meta.property.background-color.css") puts("meta.property.background-image.css") puts("meta.property.background-position.css") puts("meta.property.background-repeat.css") puts("meta.property.background.css") puts("meta.property.border-collapse.css") puts("meta.property.border-color.css") puts("meta.property.border-spacing.css") puts("meta.property.border-style.css") puts("meta.property.border-width.css") puts("meta.property.border.css") puts("meta.property.caption-side.css") puts("meta.property.clear.css") puts("meta.property.clip.css") puts("meta.property.color.css") puts("meta.property.content.css") puts("meta.property.counter-increment.css") puts("meta.property.counter-reset.css") puts("meta.property.cue-after.css") puts("meta.property.cue-before.css") puts("meta.property.cue.css") puts("meta.property.cursor.css") puts("meta.property.direction.css") puts("meta.property.display.css") puts("meta.property.elem-size.css") puts("meta.property.elevation.css") puts("meta.property.empty-cells.css") puts("meta.property.float.css") puts("meta.property.font-family.css") puts("meta.property.font-size.css") puts("meta.property.font-stretch.css") puts("meta.property.font-style.css") puts("meta.property.font-variant.css") puts("meta.property.font-weight.css") puts("meta.property.font.css") puts("meta.property.letter-spacing.css") puts("meta.property.line-height.css") puts("meta.property.list-style-image.css") puts("meta.property.list-style-position.css") puts("meta.property.list-style-type.css") puts("meta.property.list-style.css") puts("meta.property.margin.css") puts("meta.property.marker-offset.css") puts("meta.property.marks.css") puts("meta.property.opacity.css") puts("meta.property.orphans.css") puts("meta.property.outline-color.css") puts("meta.property.outline-style.css") puts("meta.property.outline-width.css") puts("meta.property.outline.css") puts("meta.property.overflow.css") puts("meta.property.padding.css") puts("meta.property.page.css") puts("meta.property.pause.css") puts("meta.property.pitch.css") puts("meta.property.placement.css") puts("meta.property.play-during.css") puts("meta.property.position.css") puts("meta.property.quotes.css") puts("meta.property.richness.css") puts("meta.property.size.css") puts("meta.property.speak.css") puts("meta.property.speech-rate.css") puts("meta.property.stress.css") puts("meta.property.table-layout.css") puts("meta.property.text-align.css") puts("meta.property.text-decoration.css") puts("meta.property.text-indent.css") puts("meta.property.text-shadow.css") puts("meta.property.text-transform.css") puts("meta.property.text.css") puts("meta.property.unicode-bidi.css") puts("meta.property.vertical-align.css") puts("meta.property.visibility.css") puts("meta.property.voice-family.css") puts("meta.property.volume.css") puts("meta.property.white-space.css") puts("meta.property.widows.css") puts("meta.property.word-spacing.css") puts("meta.property.z-index.css") puts("meta.scope.property-list.css") puts("meta.selector.css") puts("punctuation.definition.attribute-name.css") puts("punctuation.definition.comment.css") puts("punctuation.definition.constant.css") puts("punctuation.definition.constructor.css") puts("punctuation.definition.entity.css") puts("punctuation.definition.keyword.css") puts("punctuation.definition.string.begin.css") puts("punctuation.definition.string.end.css") puts("punctuation.section.property-list.css") puts("punctuation.separator.key-value.css") puts("storage.type.constructor.css") puts("string.other.attribute-value.css") puts("string.quoted.double.css") puts("string.quoted.single.css") puts("support.constant.font-family.css") puts("support.constant.font-name.css") puts("support.constant.media.css") puts("support.constant.named-color.css") puts("support.constant.property-value.css") puts("support.type.property-name.css") puts("variable.parameter.css") end def self.csv() header = "CSV" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tabular.csv\n") puts("CSV") puts("constant.character.escape.straight-quote.csv") puts("meta.tabular.row.csv") puts("meta.tabular.row.header.csv") puts("meta.tabular.table.csv") puts("punctuation.definition.field.csv") puts("punctuation.separator.table.row.csv") puts("punctuation.separator.tabular.field.csv") end def self.d() header = "D" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.d\n") puts("D") puts("comment.block.d") puts("comment.block.nested.d") puts("comment.line.double-slash.d") puts("constant.character.escape.c") puts("constant.language.boolean.d") puts("constant.language.d") puts("constant.numeric.c") puts("constant.other.placeholder.c") puts("invalid.illegal.placeholder.c") puts("invalid.illegal.unknown-escape.c") puts("keyword.control.branch.d") puts("keyword.control.conditional.d") puts("keyword.control.exception.d") puts("keyword.control.pragma.d") puts("keyword.control.repeat.d") puts("keyword.control.statement.d") puts("keyword.operator.d") puts("keyword.operator.overload.d") puts("keyword.other.debug.d") puts("keyword.other.external.d") puts("punctuation.definition.comment.d") puts("punctuation.definition.string.begin.d") puts("punctuation.definition.string.end.d") puts("punctuation.section.embedded.mips") puts("punctuation.separator.continuation.d") puts("storage.modifier.d") puts("storage.type.d") puts("storage.type.structure.d") puts("storage.type.typedef.d") puts("string.quoted.double.c") puts("string.quoted.single.c") puts("support.type.pthread.c") puts("support.type.stdint.c") puts("support.type.sys-types.c") end def self.diff() header = "DIFF" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.diff\n") puts("Diff") puts("markup.changed.diff") puts("markup.deleted.diff") puts("markup.inserted.diff") puts("meta.diff.header.from-file") puts("meta.diff.header.to-file") puts("meta.diff.index") puts("meta.diff.range.context") puts("meta.diff.range.normal") puts("meta.diff.range.unified") puts("meta.separator.diff") puts("meta.toc-list.file-name.diff") puts("meta.toc-list.line-number.diff") puts("punctuation.definition.from-file.diff") puts("punctuation.definition.inserted.diff") puts("punctuation.definition.range.diff") puts("punctuation.definition.separator.diff") puts("punctuation.definition.to-file.diff") puts("punctuation.separator.key-value.diff") end def self.dokuwiki() header = "DOKUWIKI" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.dokuwiki\n") puts("DokuWiki") puts("comment.block.documentation.dokuwiki") puts("constant.character.escape.dokuwiki") puts("keyword.other.nocache.dokuwiki") puts("keyword.other.notoc.dokuwiki") puts("markup.bold.dokuwiki") puts("markup.heading.dokuwiki") puts("markup.italic.dokuwiki") puts("markup.list.numbered.dokuwiki") puts("markup.list.unnumbered.dokuwiki") puts("markup.other.dokuwiki") puts("markup.other.paragraph.dokuwiki") puts("markup.other.table.dokuwiki") puts("markup.raw.dokuwiki") puts("markup.underline.dokuwiki") puts("markup.underline.link.dokuwiki") puts("markup.underline.link.interwiki.dokuwiki") puts("meta.image.inline.dokuwiki") puts("meta.link.dokuwiki") puts("meta.link.email.dokuwiki") puts("meta.separator.dokuwiki") puts("punctuation.definition.bold.dokuwiki") puts("punctuation.definition.comment.dokuwiki") puts("punctuation.definition.heading.dokuwiki") puts("punctuation.definition.image.dokuwiki") puts("punctuation.definition.italic.dokuwiki") puts("punctuation.definition.link.dokuwiki") puts("punctuation.definition.list_item.dokuwiki") puts("punctuation.definition.raw.dokuwiki") puts("punctuation.definition.string.begin.dokuwiki") puts("punctuation.definition.string.end.dokuwiki") puts("punctuation.definition.table.dokuwiki") puts("punctuation.definition.tag.dokuwiki") puts("punctuation.definition.underline.dokuwiki") puts("source.php.embedded.dokuwiki") puts("string.quoted.double.dokuwiki") end def self.dot() header = "DOT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.dot\n") puts("comment.block.dot") puts("comment.line.double-slash.dot") puts("comment.line.number-sign.dot") puts("constant.character.escape.dot") puts("punctuation.definition.comment.dot") puts("punctuation.definition.string.begin.dot") puts("punctuation.definition.string.end.dot") puts("storage.type.dot") puts("string.quoted.double.dot") puts("support.constant.attribute.edge.dot") puts("support.constant.attribute.graph.dot") puts("support.constant.attribute.node.dot") end def self.doxygen() header = "DOXYGEN" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.doxygen\n") puts("Doxygen") puts("comment.block.doxygen") puts("comment.line.doxygen") puts("keyword.control.doxygen") puts("punctuation.definition.comment.doxygen") puts("punctuation.definition.keyword.doxygen") end def self.dylan() header = "DYLAN" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.dylan\n") puts("Dylan") puts("comment.block.dylan") puts("comment.line.double-slash.dylan") puts("constant.character.escape.dylan") puts("constant.numeric.dylan") puts("entity.name.function.dylan") puts("keyword.control.def.dylan") puts("keyword.control.dylan") puts("keyword.control.sealing-directives.dylan") puts("meta.function.dylan") puts("punctuation.definition.comment.dylan") puts("punctuation.definition.string.begin.dylan") puts("punctuation.definition.string.end.dylan") puts("punctuation.separator.continuation.dylan") puts("storage.modifier.dylan") puts("storage.type.function.dylan") puts("string.quoted.double.dylan") puts("support.class.dylan") puts("support.constant.language.dylan") puts("support.function.dylan") end def self.eiffel() header = "EIFFEL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.eiffel\n") puts("Eiffel") puts("comment.line.double-dash.eiffel") puts("constant.character.escape.eiffel") puts("constant.language.eiffel") puts("constant.numeric.eiffel") puts("keyword.control.eiffel") puts("meta.definition.class.eiffel") puts("meta.definition.class.extends.java") puts("meta.definition.class.implements.java") puts("meta.effective_routine_body.eiffel") puts("meta.features.eiffel") puts("meta.rescue.eiffel") puts("punctuation.definition.comment.eiffel") puts("punctuation.definition.string.begin.eiffel") puts("punctuation.definition.string.end.eiffel") puts("storage.modifier.eiffel") puts("storage.modifier.java") puts("string.quoted.double.eiffel") puts("variable.other.eiffel") end def self.erlang() header = "ERLANG" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.erlang\n") puts("Erlang") puts("comment.line.erlang") puts("constant.character.erlang") puts("constant.character.escape.erlang") puts("constant.numeric.float.erlang") puts("constant.numeric.integer.base-11.erlang") puts("constant.numeric.integer.base-12.erlang") puts("constant.numeric.integer.base-13.erlang") puts("constant.numeric.integer.base-14.erlang") puts("constant.numeric.integer.base-15.erlang") puts("constant.numeric.integer.base-17.erlang") puts("constant.numeric.integer.base-18.erlang") puts("constant.numeric.integer.base-19.erlang") puts("constant.numeric.integer.base-20.erlang") puts("constant.numeric.integer.base-21.erlang") puts("constant.numeric.integer.base-22.erlang") puts("constant.numeric.integer.base-23.erlang") puts("constant.numeric.integer.base-24.erlang") puts("constant.numeric.integer.base-25.erlang") puts("constant.numeric.integer.base-26.erlang") puts("constant.numeric.integer.base-27.erlang") puts("constant.numeric.integer.base-28.erlang") puts("constant.numeric.integer.base-29.erlang") puts("constant.numeric.integer.base-3.erlang") puts("constant.numeric.integer.base-30.erlang") puts("constant.numeric.integer.base-31.erlang") puts("constant.numeric.integer.base-32.erlang") puts("constant.numeric.integer.base-33.erlang") puts("constant.numeric.integer.base-34.erlang") puts("constant.numeric.integer.base-35.erlang") puts("constant.numeric.integer.base-36.erlang") puts("constant.numeric.integer.base-4.erlang") puts("constant.numeric.integer.base-5.erlang") puts("constant.numeric.integer.base-6.erlang") puts("constant.numeric.integer.base-7.erlang") puts("constant.numeric.integer.base-9.erlang") puts("constant.numeric.integer.binary.erlang") puts("constant.numeric.integer.decimal.erlang") puts("constant.numeric.integer.hexadecimal.erlang") puts("constant.numeric.integer.octal.erlang") puts("constant.other.placeholder.erlang") puts("constant.other.symbol.escape.erlang") puts("constant.other.symbol.quoted.single.erlang") puts("constant.other.symbol.unquoted.erlang") puts("entity.name.function.definition.erlang") puts("entity.name.function.erlang") puts("entity.name.function.guard.erlang") puts("entity.name.function.macro.definition.erlang") puts("entity.name.function.macro.erlang") puts("entity.name.type.class.module.definition.erlang") puts("entity.name.type.class.module.erlang") puts("entity.name.type.class.record.definition.erlang") puts("entity.name.type.class.record.erlang") puts("invalid.illegal.atom.erlang") puts("invalid.illegal.character.erlang") puts("invalid.illegal.integer.erlang") puts("invalid.illegal.string.erlang") puts("keyword.control.begin.erlang") puts("keyword.control.case.erlang") puts("keyword.control.directive.define.erlang") puts("keyword.control.directive.erlang") puts("keyword.control.directive.export.erlang") puts("keyword.control.directive.ifdef.erlang") puts("keyword.control.directive.ifndef.erlang") puts("keyword.control.directive.import.erlang") puts("keyword.control.directive.module.erlang") puts("keyword.control.directive.undef.erlang") puts("keyword.control.end.erlang") puts("keyword.control.erlang") puts("keyword.control.fun.erlang") puts("keyword.control.if.erlang") puts("keyword.control.query.erlang") puts("keyword.control.receive.erlang") puts("keyword.control.try.erlang") puts("keyword.operator.assignment.erlang") puts("keyword.operator.macro.erlang") puts("keyword.operator.record.erlang") puts("keyword.operator.symbolic.erlang") puts("keyword.operator.textual.erlang") puts("meta.directive.define.erlang") puts("meta.directive.erlang") puts("meta.directive.export.erlang") puts("meta.directive.ifdef.erlang") puts("meta.directive.ifndef.erlang") puts("meta.directive.import.erlang") puts("meta.directive.module.erlang") puts("meta.directive.record.erlang") puts("meta.directive.undef.erlang") puts("meta.expression.begin.erlang") puts("meta.expression.case.erlang") puts("meta.expression.fun.erlang") puts("meta.expression.if.erlang") puts("meta.expression.parenthesized") puts("meta.expression.query.erlang") puts("meta.expression.receive.erlang") puts("meta.expression.try.erlang") puts("meta.function-call.erlang") puts("meta.function.erlang") puts("meta.macro-usage.erlang") puts("meta.record-usage.erlang") puts("meta.structure.binary.erlang") puts("meta.structure.list.erlang") puts("meta.structure.list.function.erlang") puts("meta.structure.record.erlang") puts("meta.structure.tuple.erlang") puts("punctuation.definition.binary.begin.erlang") puts("punctuation.definition.binary.end.erlang") puts("punctuation.definition.character.erlang") puts("punctuation.definition.class.record.begin.erlang") puts("punctuation.definition.class.record.end.erlang") puts("punctuation.definition.comment.erlang") puts("punctuation.definition.escape.erlang") puts("punctuation.definition.list.begin.erlang") puts("punctuation.definition.list.end.erlang") puts("punctuation.definition.parameters.begin.erlang") puts("punctuation.definition.parameters.end.erlang") puts("punctuation.definition.placeholder.erlang") puts("punctuation.definition.string.begin.erlang") puts("punctuation.definition.string.end.erlang") puts("punctuation.definition.symbol.begin.erlang") puts("punctuation.definition.symbol.end.erlang") puts("punctuation.definition.tuple.begin.erlang") puts("punctuation.definition.tuple.end.erlang") puts("punctuation.section.directive.begin.erlang") puts("punctuation.section.directive.end.erlang") puts("punctuation.section.expression.begin.erlang") puts("punctuation.section.expression.end.erlang") puts("punctuation.separator.base-integer.erlang") puts("punctuation.separator.binary.erlang") puts("punctuation.separator.class.record.erlang") puts("punctuation.separator.clause-head-body.erlang") puts("punctuation.separator.clauses.erlang") puts("punctuation.separator.define.erlang") puts("punctuation.separator.expressions.erlang") puts("punctuation.separator.float-exponent.erlang") puts("punctuation.separator.function-arity.erlang") puts("punctuation.separator.guards.erlang") puts("punctuation.separator.integer-float.erlang") puts("punctuation.separator.list.erlang") puts("punctuation.separator.module-function.erlang") puts("punctuation.separator.parameters.erlang") puts("punctuation.separator.placeholder-parts.erlang") puts("punctuation.separator.record-field.erlang") puts("punctuation.separator.tuple.erlang") puts("punctuation.separator.type-specifiers.erlang") puts("punctuation.separator.value-size.erlang") puts("punctuation.separator.value-type.erlang") puts("punctuation.terminator.function.erlang") puts("storage.modifier.endianness.erlang") puts("storage.modifier.signedness.erlang") puts("storage.modifier.unit.erlang") puts("storage.type.erlang") puts("string.quoted.double.erlang") puts("variable.language.omitted.erlang") puts("variable.language.omitted.field.erlang") puts("variable.other.erlang") puts("variable.other.field.erlang") end def self.f_script() header = "F-SCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.fscript\n") puts("F-Script") puts("comment.block.quotes.fscript") puts("constant.character.escape.fscript") puts("constant.language.fscript") puts("constant.numeric.fscript") puts("constant.other.block.compact.fscript") puts("constant.other.symbol.fscript") puts("entity.name.function.fscript") puts("meta.block.content.fscript") puts("meta.block.empty.fscript") puts("meta.block.fscript") puts("meta.block.header.fscript") puts("meta.dummy.symbol.ignore.fscript") puts("punctuation.definition.comment.begin.fscript") puts("punctuation.definition.comment.end.fscript") puts("punctuation.definition.string.begin.fscript") puts("punctuation.definition.string.end.fscript") puts("punctuation.definition.symbol.fscript") puts("punctuation.section.block.fscript") puts("string.quoted.single.fscript") puts("variable.other.local.fscript") puts("variable.parameter.block.fscript") end def self.fortran() header = "FORTRAN" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.fortran\n") puts("Fortran") puts("comment.line.asterisk.fortran.modern") puts("comment.line.c.fortran.punchcard-style") puts("comment.line.exclamation.fortran.modern") puts("constant.character.escape.fortran") puts("constant.language.fortran") puts("constant.numeric.fortran") puts("entity.name.function.fortran") puts("keyword.control.fortran") puts("keyword.control.import.fortran") puts("keyword.operator.fortran") puts("keyword.operator.fortran.90") puts("keyword.other.fortran") puts("keyword.other.fortran.90") puts("keyword.other.non-executable.fortran") puts("meta.function.fortran") puts("meta.preprocessor.fortran") puts("meta.preprocessor.include.fortran") puts("meta.tag.preprocessor.macro.fortran") puts("punctuation.definition.comment.fortran") puts("punctuation.definition.parameters.fortran") puts("punctuation.definition.preprocessor.fortran") puts("punctuation.definition.string.begin.fortran") puts("punctuation.definition.string.end.fortran") puts("storage.modifier.fortran") puts("storage.type.fortran") puts("string.quoted.double.fortran") puts("string.quoted.double.include.fortran") puts("string.quoted.other.lt-gt.include.fortran") puts("string.quoted.single.fortran") end def self.fxscript() header = "FXSCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.fxscript\n") puts("FXScript") puts("comment.line.double-slash.fxscript") puts("constant.character.escape.fxscript") puts("constant.numeric.fxscript") puts("constant.numeric.hex.fxscript") puts("entity.name.function.color.alpha.fxscript") puts("entity.name.function.color.blue.fxscript") puts("entity.name.function.color.chroma-u.fxscript") puts("entity.name.function.color.chroma-v.fxscript") puts("entity.name.function.color.green.fxscript") puts("entity.name.function.color.luma.fxscript") puts("entity.name.function.color.red.fxscript") puts("entity.name.function.fxscript") puts("keyword.control.fxscrpt") puts("keyword.operator.arithmetic.fxscrpt") puts("keyword.other.definition-statements.fxscript") puts("keyword.other.input-control.fxscript") puts("meta.function.fxscript") puts("punctuation.definition.comment.fxscript") puts("punctuation.definition.string.begin.fxscript") puts("punctuation.definition.string.end.fxscript") puts("storage.type.fxscript") puts("string.quoted.double.fxscript") puts("support.constant.color.fxscript") puts("support.constant.colorspace.fxscript") puts("support.constant.formatting.fxscript") puts("support.constant.general.fxscript") puts("support.constant.key.fxscript") puts("support.constant.shapes.fxscript") puts("support.constant.text.fxscript") puts("support.function.blit.fxscript") puts("support.function.clip.fxscript") puts("support.function.composite.fxscript") puts("support.function.debug.fxscript") puts("support.function.distort.fxscript") puts("support.function.external.fxscript") puts("support.function.geometry.fxscript") puts("support.function.joe.fxscript") puts("support.function.key.fxscript") puts("support.function.math.fxscript") puts("support.function.parser.fxscript") puts("support.function.process.fxscript") puts("support.function.shapes.process.fxscript") puts("support.function.string.fxscript") puts("support.function.text.fxscript") puts("support.function.transform.fxscript") puts("support.function.undocumented.fxscript") puts("support.function.utility.fxscript") puts("support.type.fxscript") puts("support.variable.predeclared.fxscript") puts("variable.other.global.fxscript") puts("variable.parameter.function.fxscript") end def self.greasemonkey() header = "GREASEMONKEY" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.js.greasemonkey\n") puts("Greasemonkey") puts("keyword.other.greasemonkey") puts("meta.directive.nonstandard.greasemonkey") puts("meta.directive.standard.greasemonkey") puts("meta.header.greasemonkey") puts("string.unquoted.greasemonkey") puts("support.class.greasemonkey") puts("support.function.greasemonkey") end def self.gri() header = "GRI" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.gri\n") puts("Gri") puts("comment.line.double-slash.gri") puts("comment.line.number-sign.gri") puts("constant.numeric.gri") puts("entity.name.function.gri") puts("keyword.control.gri") puts("keyword.operator.arithmetic.gri") puts("keyword.operator.assignment.gri") puts("keyword.operator.comparison.gri") puts("meta.function.gri") puts("punctuation.definition.comment.gri") puts("punctuation.definition.function.gri") puts("punctuation.definition.heredoc.gri") puts("punctuation.definition.string.begin.gri") puts("punctuation.definition.string.end.gri") puts("punctuation.definition.variable.gri") puts("punctuation.separator.continuation.gri") puts("string.quoted.double.gri") puts("string.unquoted.heredoc.doublequote.gri") puts("variable.other.synonym.gri") puts("variable.other.variable.gri") puts("variable.other.variabledot.gri") end def self.groovy() header = "GROOVY" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.groovy.groovy\n") puts("Groovy") puts("comment.block.documentation.groovy") puts("comment.block.empty.groovy") puts("comment.block.groovy") puts("comment.line.double-slash.groovy") puts("constant.character.escape.groovy") puts("constant.language.groovy") puts("constant.numeric.groovy") puts("constant.other.groovy") puts("entity.name.function.constructor.groovy") puts("entity.name.function.groovy") puts("entity.name.function.package.groovy") puts("entity.name.type.class.groovy") puts("keyword.control.catch-exception.groovy") puts("keyword.control.groovy") puts("keyword.operator.arithmetic.groovy") puts("keyword.operator.comparison.groovy") puts("keyword.operator.groovy") puts("keyword.operator.increment-decrement.groovy") puts("keyword.operator.logical.groovy") puts("keyword.other.class-fns.groovy") puts("keyword.other.documentation.link.groovy") puts("keyword.other.documentation.params.groovy") puts("keyword.other.documentation.value.groovy") puts("meta.definition.class.extends.groovy") puts("meta.definition.class.groovy") puts("meta.definition.class.implements.groovy") puts("meta.definition.constructor.groovy") puts("meta.definition.method.groovy") puts("meta.definition.param-list.groovy") puts("meta.definition.throws.groovy") puts("meta.import.groovy") puts("meta.package.groovy") puts("storage.modifier.access-control.groovy") puts("storage.modifier.groovy") puts("storage.type.groovy") puts("string.quoted.double.groovy") puts("string.quoted.single.groovy") puts("support.type.built-ins.groovy") puts("support.type.groovy") puts("variable.language.groovy") puts("variable.parameter.documentation.groovy") end def self.gtd() header = "GTD" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.plain.gtd\n") puts("GTD") puts("comment.line.gtd") puts("constant.language.gtd") puts("entity.name.tag.gtd") puts("markup.other.pagename") puts("string.unquoted.gtd") puts("support.class.exception.gtd") puts("variable.language.gtd") end def self.gtdalt() header = "GTDALT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.gtdalt\n") puts("GTDalt") puts("comment.line.number-sign.action.completed.gtdalt") puts("comment.line.number-sign.generic.gtdalt") puts("comment.line.slash.action.archived.gtdalt") puts("constant.other.title.gtdalt") puts("entity.name.section.project.title.gtdalt") puts("keyword.control.project.begin.gtdalt") puts("keyword.control.project.end.gtdalt") puts("keyword.operator.due.gtdalt") puts("markup.underline.link.gtdalt") puts("meta.action.archived.gtdalt") puts("meta.action.completed.gtdalt") puts("meta.action.gtdalt") puts("meta.action.only-context.gtdalt") puts("meta.line.project.begin.gtdalt") puts("meta.line.project.end.gtdalt") puts("meta.note.gtdalt") puts("meta.project.archived.gtdalt") puts("meta.project.begin.gtdalt") puts("meta.project.newline.gtdalt") puts("punctuation.definition.comment.gtdalt") puts("punctuation.definition.completed.gtdalt") puts("punctuation.definition.context.action.gtdalt") puts("punctuation.definition.date.gtdalt") puts("punctuation.definition.due.gtdalt") puts("punctuation.definition.link.gtdalt") puts("punctuation.definition.note.gtdalt") puts("punctuation.definition.note.note.gtdalt") puts("punctuation.separator.archived.gtdalt") puts("punctuation.separator.key-value.due.gtdalt") puts("storage.type.context.action.archived.gtdalt") puts("storage.type.context.action.gtdalt") puts("string.quoted.other.timestamp.action.archived.gtdalt") puts("string.quoted.other.timestamp.action.completed.gtdalt") puts("string.quoted.other.timestamp.due.gtdalt") puts("string.quoted.other.timestamp.project.archived.gtdalt") puts("support.other.note.gtdalt") puts("support.other.project.action.archived.gtdalt") puts("support.other.project.archived.gtdalt") end def self.haml() header = "HAML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.haml\n") puts("Haml") puts("comment.block.haml") puts("comment.line.number-sign.ruby") puts("comment.line.slash.haml") puts("entity.name.tag.class.haml") puts("entity.name.tag.haml") puts("entity.name.tag.id.haml") puts("keyword.control.ruby.start-block") puts("meta.escape.haml") puts("meta.line.ruby.haml") puts("meta.prolog.haml") puts("meta.section.attributes.haml") puts("meta.section.object.haml") puts("meta.tag.haml") puts("punctuation.definition.prolog.haml") puts("punctuation.definition.tag.haml") puts("punctuation.section.comment.haml") puts("punctuation.separator.continuation.haml") puts("punctuation.terminator.tag.haml") puts("source.ruby.embedded.html") end def self.haskell() header = "HASKELL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.haskell\n") puts("Haskell") puts("comment.block.haskell") puts("comment.line.double-dash.haskell") puts("constant.character.escape.haskell") puts("constant.other.haskell") puts("entity.name.function.builtin.prelude.haskell") puts("entity.name.function.haskell") puts("entity.name.function.infix.haskell") puts("keyword.control.haskell") puts("keyword.operator.haskell") puts("keyword.other.haskell") puts("meta.function.type-declaration.haskell") puts("meta.preprocessor.haskell") puts("punctuation.definition.comment.haskell") puts("punctuation.definition.entity.haskell") puts("punctuation.definition.preprocessor.haskell") puts("punctuation.definition.string.begin.haskell") puts("punctuation.definition.string.end.haskell") puts("punctuation.separator.arrow.haskell") puts("punctuation.separator.big-arrow.haskell") puts("punctuation.separator.double-colon.haskell") puts("punctuation.separator.equal-sign.haskell") puts("punctuation.separator.pipe-sign.haskell") puts("string.quoted.double.haskell") puts("string.quoted.single.haskell") puts("variable.other.generic-type.haskell") end def self.html_asp() header = "HTML-ASP" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.asp\n") puts("comment.line.apostrophe.asp") puts("punctuation.definition.comment.asp") puts("punctuation.section.embedded.begin.asp") puts("punctuation.section.embedded.end.asp") puts("source.asp.embedded.html") end def self.html() header = "HTML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.basic\n") puts("HTML") puts("comment.block.erb") puts("comment.block.html") puts("comment.block.js") puts("comment.line.double-slash.js") puts("comment.line.number-sign.ruby") puts("comment.line.number-sign.ruby.nitro") puts("constant.character.entity.html") puts("constant.other.inline-data.html") puts("entity.name.tag.block.any.html") puts("entity.name.tag.doctype.html") puts("entity.name.tag.html") puts("entity.name.tag.inline.any.html") puts("entity.name.tag.other.html") puts("entity.name.tag.script.html") puts("entity.name.tag.structure.any.html") puts("entity.name.tag.style.html") puts("entity.name.tag.xml.html") puts("entity.other.attribute-name.html") puts("entity.other.attribute-name.id.html") puts("invalid.illegal.bad-ampersand.html") puts("invalid.illegal.bad-angle-bracket.html") puts("invalid.illegal.bad-comments-or-CDATA.html") puts("invalid.illegal.incomplete.html") puts("meta.attribute-with-value.id.html") puts("meta.scope.between-tag-pair.html") puts("meta.tag.any.html") puts("meta.tag.block.any.html") puts("meta.tag.inline.any.html") puts("meta.tag.other.html") puts("meta.tag.preprocessor.xml.html") puts("meta.tag.sgml.doctype.html") puts("meta.tag.sgml.html") puts("meta.tag.structure.any.html") puts("punctuation.definition.comment.erb") puts("punctuation.definition.comment.html") puts("punctuation.definition.comment.js") puts("punctuation.definition.comment.ruby") puts("punctuation.definition.comment.ruby.nitro") puts("punctuation.definition.entity.html") puts("punctuation.definition.string.begin.html") puts("punctuation.definition.string.end.html") puts("punctuation.definition.tag.html") puts("punctuation.section.embedded.ruby") puts("punctuation.section.embedded.ruby.nitro") puts("punctuation.separator.key-value.html") puts("source.css.embedded.html") puts("source.js.embedded.html") puts("source.php.embedded.block.html") puts("source.php.embedded.line.empty.html") puts("source.php.embedded.line.empty.whitespace.html") puts("source.php.embedded.line.html") puts("source.python.embedded.html") puts("source.ruby.embedded.html") puts("source.ruby.nitro.embedded.html") puts("source.smarty.embedded.html") puts("string.quoted.double.doctype.identifiers-and-DTDs.html") puts("string.quoted.double.html") puts("string.quoted.single.html") puts("support.function.built-in.smarty") end def self.html_django() header = "HTML_DJANGO" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.django\n") puts("comment.block.django.template") puts("entity.other.django.tagbraces") puts("keyword.control.django.template") puts("keyword.operator.django.template") puts("meta.scope.django.template.tag") puts("string.other.django.template.tag") puts("string.unquoted.django.template.tag") puts("support.function.filter.django") puts("variable.other.django.template") end def self.html_for_aspdotnet() header = "HTML_FOR_ASP.NET" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.asp.net\n") puts("comment.block.html") puts("comment.line.double-slash.php") puts("comment.line.number-sign.php") puts("comment.line.number-sign.ruby") puts("constant.character.entity.html") puts("constant.other.inline-data.html") puts("entity.name.tag.block.any.html") puts("entity.name.tag.doctype.html") puts("entity.name.tag.html") puts("entity.name.tag.inline.any.html") puts("entity.name.tag.other.html") puts("entity.name.tag.script.html") puts("entity.name.tag.structure.any.html") puts("entity.name.tag.style.html") puts("entity.name.tag.xml.html") puts("entity.other.attribute-name.html") puts("entity.other.attribute-name.id.html") puts("invalid.illegal.bad-ampersand.html") puts("invalid.illegal.bad-angle-bracket.html") puts("invalid.illegal.bad-comments-or-CDATA.html") puts("invalid.illegal.incomplete.html") puts("meta.attribute-with-value.id.html") puts("meta.scope.between-tag-pair.html") puts("meta.source.embedded") puts("meta.source.embedded.asp.include") puts("meta.source.embedded.bound") puts("meta.source.embedded.return-value") puts("meta.source.embedded.script-tag") puts("meta.source.embedded.single-line") puts("meta.tag.block.any.html") puts("meta.tag.html") puts("meta.tag.inline.any.html") puts("meta.tag.other.html") puts("meta.tag.preprocessor.xml.html") puts("meta.tag.sgml.doctype.html") puts("meta.tag.sgml.html") puts("meta.tag.structure.any.html") puts("punctuation.definition.comment.asp.net") puts("punctuation.definition.comment.php") puts("punctuation.definition.comment.ruby") puts("punctuation.definition.entity.html") puts("punctuation.definition.string.begin.html") puts("punctuation.definition.string.end.html") puts("punctuation.definition.tag.asp") puts("punctuation.definition.tag.asp.net") puts("punctuation.definition.tag.html") puts("punctuation.section.embedded.begin.asp") puts("punctuation.section.embedded.begin.php") puts("punctuation.section.embedded.begin.ruby") puts("punctuation.section.embedded.end.asp") puts("punctuation.section.embedded.end.php") puts("punctuation.section.embedded.end.ruby") puts("punctuation.section.embedded.php") puts("punctuation.section.embedded.smarty") puts("punctuation.separator.key-value.html") puts("source.asp.embedded.html") puts("source.css.embedded.html") puts("source.js.embedded.html") puts("source.php.embedded.html") puts("source.ruby.embedded.html") puts("source.smarty.embedded.html") puts("string.quoted.double.doctype.identifiers-and-DTDs.html") puts("string.quoted.double.html") puts("string.quoted.single.html") puts("support.function.built-in.smarty") end def self.html_mason() header = "HTML_MASON" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.mason\n") puts("comment.block") puts("entity.name.function") puts("keyword.control") puts("punctuation.section.embedded.perl.mason") puts("source.mason.args") puts("source.mason.component") puts("source.mason.component.block") puts("source.mason.methods") puts("source.mason.nesty") puts("source.mason.substitution") puts("source.perl.mason.block") puts("source.perl.mason.doc") puts("source.perl.mason.line") puts("string.quoted.single") puts("variable.other") end def self.html_rails() header = "HTML_RAILS" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.ruby\n") puts("comment.block.erb") puts("comment.line.number-sign.ruby") puts("punctuation.definition.comment.erb") puts("punctuation.definition.comment.ruby") puts("punctuation.section.embedded.ruby") puts("source.ruby.rails.embedded.html") end def self.html_tcl() header = "HTML_TCL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.tcl\n") puts("keyword.other.tcl.aolserver") puts("punctuation.section.embedded.begin.tcl") puts("punctuation.section.embedded.end.tcl") puts("source.tcl.embedded.html") end def self.icalendar() header = "ICALENDAR" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.icalendar\n") puts("constant.numeric.icalendar") puts("entity.name.section.icalendar") puts("iCalendar") puts("keyword.other.component-begin.icalendar") puts("keyword.other.component-end.icalendar") puts("punctuation.definition.string.begin.icalendar") puts("punctuation.definition.string.end.icalendar") puts("string.quoted.double.icalendar") end def self.inform() header = "INFORM" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.inform\n") puts("Inform") puts("comment.line.exclamation.inform") puts("constant.character.escape.inform") puts("constant.numeric.inform") puts("entity.name.function.inform") puts("keyword.control.inform") puts("keyword.other.directive.inform") puts("meta.function.inform") puts("punctuation.definition.comment.inform") puts("punctuation.definition.string.begin.inform") puts("punctuation.definition.string.end.inform") puts("string.quoted.double.inform") puts("string.quoted.single.inform") end def self.ini() header = "INI" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ini\n") puts("Ini") puts("comment.line.number-sign.ini") puts("comment.line.semicolon.ini") puts("constant.character.escape.ini") puts("entity.name.section.group-title.ini") puts("keyword.other.definition.ini") puts("punctuation.definition.comment.ini") puts("punctuation.definition.entity.ini") puts("punctuation.definition.string.begin.ini") puts("punctuation.definition.string.end.ini") puts("punctuation.separator.key-value.ini") puts("string.quoted.double.ini") puts("string.quoted.single.ini") end def self.installer_distribution_script() header = "INSTALLER_DISTRIBUTION_SCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.xml.apple-dist\n") puts("entity.name.tag.xml") puts("meta.tag.xml") puts("punctuation.definition.tag.xml") puts("source.js.embedded.apple-dist") puts("support.class.apple-dist") puts("support.function.apple-dist") puts("support.variable.apple-dist") end def self.io() header = "IO" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.io\n") puts("Io") puts("comment.block.io") puts("comment.line.double-slash.io") puts("comment.line.number-sign.io") puts("constant.character.escape.io") puts("constant.language.io") puts("constant.numeric.io") puts("constant.other.io") puts("keyword.control.io") puts("keyword.operator.io") puts("meta.comma-parenthesis.io") puts("meta.empty-parenthesis.io") puts("punctuation.definition.comment.io") puts("punctuation.definition.string.begin.io") puts("punctuation.definition.string.end.io") puts("string.quoted.double.io") puts("string.quoted.triple.io") puts("support.class.io") puts("support.function.io") puts("support.function.open-gl.io") puts("variable.language.io") puts("variable.other.global.io") end def self.java() header = "JAVA" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.java\n") puts("Java") puts("comment.block.documentation.java") puts("comment.block.empty.java") puts("comment.block.java") puts("comment.line.double-slash.java") puts("constant.character.escape.java") puts("constant.language.java") puts("constant.numeric.java") puts("constant.other.java") puts("entity.name.function.constructor.java") puts("entity.name.function.java") puts("entity.name.function.package.java") puts("entity.name.type.class.java") puts("entity.name.type.import.java") puts("keyword.control.catch-exception.java") puts("keyword.control.java") puts("keyword.operator.arithmetic.java") puts("keyword.operator.comparison.java") puts("keyword.operator.increment-decrement.java") puts("keyword.operator.java") puts("keyword.operator.logical.java") puts("keyword.other.class-fns.java") puts("keyword.other.documentation.javadoc.java") puts("keyword.other.documentation.javadoc.link.java") puts("meta.definition.class.extends.java") puts("meta.definition.class.implements.java") puts("meta.definition.class.java") puts("meta.definition.constructor.java") puts("meta.definition.method.java") puts("meta.definition.param-list.java") puts("meta.definition.throws.java") puts("meta.import.java") puts("meta.package.java") puts("punctuation.definition.comment.java") puts("punctuation.definition.string.begin.java") puts("punctuation.definition.string.end.java") puts("storage.modifier.access-control.java") puts("storage.modifier.java") puts("storage.type.java") puts("string.quoted.double.java") puts("string.quoted.single.java") puts("support.type.built-ins.java") puts("support.type.java") puts("variable.language.java") end def self.javaproperties() header = "JAVAPROPERTIES" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.java-props\n") puts("comment.line.number-sign.java-props") puts("keyword.other.java-props") puts("punctuation.definition.comment.java-props") puts("punctuation.separator.key-value.java-props") end def self.javascript() header = "JAVASCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.js\n") puts("JavaScript") puts("comment.block.documentation.js") puts("comment.block.html.js") puts("comment.block.js") puts("comment.line.double-slash.js") puts("constant.character.escape.js") puts("constant.language.boolean.false.js") puts("constant.language.boolean.true.js") puts("constant.language.js") puts("constant.language.null.js") puts("constant.numeric.js") puts("entity.name.function.js") puts("entity.name.type.instance.js") puts("entity.name.type.object.js.firebug") puts("keyword.control.js") puts("keyword.operator.js") puts("keyword.operator.new.js") puts("keyword.other.js") puts("meta.brace.curly.js") puts("meta.brace.round.js") puts("meta.brace.square.js") puts("meta.class.instance.constructor") puts("meta.class.js") puts("meta.delimiter.method.period.js") puts("meta.delimiter.object.comma.js") puts("meta.function.js") puts("meta.function.json.js") puts("meta.function.prototype.js") puts("punctuation.definition.comment.html.js") puts("punctuation.definition.comment.js") puts("punctuation.definition.parameters.begin.js") puts("punctuation.definition.parameters.end.js") puts("punctuation.definition.string.begin.js") puts("punctuation.definition.string.end.js") puts("punctuation.terminator.statement.js") puts("storage.modifier.js") puts("storage.type.function.js") puts("storage.type.js") puts("string.quoted.double.js") puts("string.quoted.single.js") puts("string.regexp.js") puts("support.class.js") puts("support.constant.dom.js") puts("support.constant.js") puts("support.function.dom.js") puts("support.function.event-handler.js") puts("support.function.js") puts("support.function.js.firebug") puts("variable.language.js") puts("variable.parameter.function.js") end def self.javascript_plus_prototype() header = "JAVASCRIPT_+_PROTOTYPE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.js.prototype\n") puts("meta.even-tab.group10.spaces") puts("meta.even-tab.group10.tab") puts("meta.even-tab.group2.spaces") puts("meta.even-tab.group2.tab") puts("meta.even-tab.group4.spaces") puts("meta.even-tab.group4.tab") puts("meta.even-tab.group6.spaces") puts("meta.even-tab.group6.tab") puts("meta.even-tab.group8.spaces") puts("meta.even-tab.group8.tab") puts("meta.leading-tabs") puts("meta.odd-tab.group1.spaces") puts("meta.odd-tab.group1.tab") puts("meta.odd-tab.group11.spaces") puts("meta.odd-tab.group11.tab") puts("meta.odd-tab.group3.spaces") puts("meta.odd-tab.group3.tab") puts("meta.odd-tab.group5.spaces") puts("meta.odd-tab.group5.tab") puts("meta.odd-tab.group7.spaces") puts("meta.odd-tab.group7.tab") puts("meta.odd-tab.group9.spaces") puts("meta.odd-tab.group9.tab") puts("support.class.prototype.js") puts("support.function.js.prototype") puts("variable.other.js.prototype") end def self.javascript_plus_prototype_bracketed() header = "JAVASCRIPT_+_PROTOTYPE_BRACKETED" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.js.prototype.bracketed\n") puts("comment.block.conditional.js") puts("constant.other.object.key.js.prototype") puts("invalid.illegal.delimiter.object.comma.js") puts("keyword.control.conditional.js") puts("keyword.operator.conditional.js") puts("meta.group.braces.curly") puts("meta.group.braces.curly.function.js.prototype") puts("meta.group.braces.round") puts("meta.group.braces.square") puts("meta.source.embedded") puts("meta.source.embedded.return-value") puts("punctuation.definition.comment.js") puts("punctuation.definition.keyword.js") puts("punctuation.definition.string.js.prototype") puts("punctuation.definition.variable.js") puts("punctuation.section.embedded.begin.js") puts("punctuation.section.embedded.end.js") puts("punctuation.section.function.js.prototype") puts("punctuation.section.scope.js") puts("punctuation.separator.objects.js.prototype") puts("source.ruby.rails.embedded.html") puts("string.quoted.double.js.prototype") puts("string.quoted.single.js.prototype") puts("variable.other.conditional.js") end def self.jquery_javascript() header = "JQUERY_JAVASCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.js.jquery\n") puts("entity.name.tag.css") puts("entity.name.tag.wildcard.css") puts("entity.other.attribute-name.class.css") puts("entity.other.attribute-name.id.css") puts("entity.other.attribute-name.pseudo-class.css") puts("meta.selector.css") puts("punctuation.definition.attribute-name.css") puts("punctuation.definition.selector.begin.js") puts("punctuation.definition.selector.end.js") puts("punctuation.section.class.js") puts("punctuation.section.function.js") puts("punctuation.section.scope.js") puts("support.class.js.jquery") puts("support.function.js.jquery") end def self.json() header = "JSON" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.json\n") puts("JSON") puts("constant.character.escape.json") puts("constant.language.json") puts("constant.numeric.json") puts("invalid.illegal.expected-array-separator.json") puts("invalid.illegal.expected-dictionary-separator.json") puts("invalid.illegal.unrecognized-string-escape.json") puts("meta.structure.array.json") puts("meta.structure.dictionary.json") puts("meta.structure.dictionary.value.json") puts("punctuation.definition.array.begin.json") puts("punctuation.definition.array.end.json") puts("punctuation.definition.dictionary.begin.json") puts("punctuation.definition.dictionary.end.json") puts("punctuation.definition.string.begin.json") puts("punctuation.definition.string.end.json") puts("punctuation.separator.array.json") puts("punctuation.separator.dictionary.key-value.json") puts("punctuation.separator.dictionary.pair.json") puts("string.quoted.double.json") end def self.languagedefinition() header = "LANGUAGEDEFINITION" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.plist.tm-grammar\n") puts("comment.block.tm-grammar") puts("comment.line.double-slash.tm-grammar") puts("constant.character.escape.apostrophe.tm-grammar") puts("constant.character.escape.tm-grammar") puts("constant.numeric.tm-grammar") puts("constant.other.reference.grammar.tm-grammar") puts("constant.other.reference.repository-item.tm-grammar") puts("constant.other.scope.tm-grammar") puts("entity.name.section.repository.tm-grammar") puts("invalid.deprecated.constant.tm-grammar") puts("invalid.deprecated.scope_not_allowed.tm-grammar") puts("invalid.illegal.constant.misplaced-keyword.tm-grammar") puts("invalid.illegal.constant.outdated.tm-grammar") puts("invalid.illegal.constant.unknown-keyword.tm-grammar") puts("invalid.illegal.missing-comma.tm-grammar") puts("invalid.illegal.unrecognized-character.tm-grammar") puts("meta.array.patterns.tm-grammar") puts("meta.dictionary.captures.tm-grammar") puts("meta.dictionary.repository.tm-grammar") puts("meta.dictionary.rule.tm-grammar") puts("meta.value-pair.repository-item.tm-grammar") puts("meta.value-pair.scopename.tm-grammar") puts("meta.value-pair.tm-grammar") puts("punctuation.definition..tm-grammar") puts("punctuation.definition.constant.tm-grammar") puts("punctuation.definition.string.begin.tm-grammar") puts("punctuation.definition.string.end.tm-grammar") puts("punctuation.section.array.tm-grammar") puts("punctuation.section.dictionary.tm-grammar") puts("punctuation.separator.array.tm-grammar") puts("punctuation.separator.key-value.tm-grammar") puts("punctuation.terminator.dictionary.tm-grammar") puts("string.quoted.double.include.tm-grammar") puts("string.quoted.double.scope.root.tm-grammar") puts("string.quoted.double.scope.tm-grammar") puts("string.quoted.double.tm-grammar") puts("string.quoted.single.include.tm-grammar") puts("string.quoted.single.scope.root.tm-grammar") puts("string.quoted.single.scope.tm-grammar") puts("string.quoted.single.tm-grammar") puts("string.regexp.oniguruma.double.tm-grammar") puts("string.regexp.oniguruma.single.tm-grammar") puts("string.unquoted.tm-grammar") puts("support.constant.repository.tm-grammar") puts("support.constant.tm-grammar") end def self.latex() header = "LATEX" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tex.latex\n") puts("LaTeX") puts("comment.line.percentage.latex") puts("constant.character.latex") puts("constant.other.reference.citation.latex") puts("constant.other.reference.label.latex") puts("entity.name.section.latex") puts("invalid.illegal.string.quoted.double.latex") puts("invalid.illegal.string.quoted.single.latex") puts("keyword.control.cite.latex") puts("keyword.control.include.latex") puts("keyword.control.label.latex") puts("keyword.control.preamble.latex") puts("keyword.control.ref.latex") puts("keyword.other.item.latex") puts("markup.raw.verb.latex") puts("meta.cell.environment.tabular.latex") puts("meta.citation.latex") puts("meta.column-specials.latex") puts("meta.definition.label.latex") puts("meta.escape-character.latex") puts("meta.function.begin-document.latex") puts("meta.function.embedded.java.latex") puts("meta.function.embedded.python.latex") puts("meta.function.emph.latex") puts("meta.function.end-document.latex") puts("meta.function.environment.general.latex") puts("meta.function.environment.list.latex") puts("meta.function.environment.math.latex") puts("meta.function.environment.tabular.latex") puts("meta.function.section.latex") puts("meta.function.textbf.latex") puts("meta.function.textit.latex") puts("meta.function.texttt.latex") puts("meta.function.verb.latex") puts("meta.function.verbatim.latex") puts("meta.include.latex") puts("meta.preamble.latex") puts("meta.reference.label.latex") puts("meta.row.environment.tabular.latex") puts("meta.scope.item.latex") puts("meta.space-after-command.latex") puts("punctuation.definition.arguments.begin.latex") puts("punctuation.definition.arguments.end.latex") puts("punctuation.definition.arguments.latex") puts("punctuation.definition.arguments.optional.begin.latex") puts("punctuation.definition.arguments.optional.end.latex") puts("punctuation.definition.column-specials.begin.latex") puts("punctuation.definition.column-specials.end.latex") puts("punctuation.definition.constant.latex") puts("punctuation.definition.emph.begin.latex") puts("punctuation.definition.emph.end.latex") puts("punctuation.definition.footnote.begin.latex") puts("punctuation.definition.footnote.end.latex") puts("punctuation.definition.function.latex") puts("punctuation.definition.keyword.latex") puts("punctuation.definition.marginpar.begin.latex") puts("punctuation.definition.marginpar.end.latex") puts("punctuation.definition.string.begin.latex") puts("punctuation.definition.string.end.latex") puts("punctuation.definition.table.cell.latex") puts("punctuation.definition.table.row.latex") puts("punctuation.definition.textbf.begin.latex") puts("punctuation.definition.textbf.end.latex") puts("punctuation.definition.textit.begin.latex") puts("punctuation.definition.textit.end.latex") puts("punctuation.definition.texttt.begin.latex") puts("punctuation.definition.texttt.end.latex") puts("punctuation.definition.verb.latex") puts("storage.type.function.latex") puts("string.other.math.latex") puts("string.quoted.double.european.latex") puts("string.quoted.double.guillemot.latex") puts("string.quoted.double.latex") puts("support.function.be.latex") puts("support.function.emph.latex") puts("support.function.footnote.latex") puts("support.function.marginpar.latex") puts("support.function.section.latex") puts("support.function.textbf.latex") puts("support.function.textit.latex") puts("support.function.texttt.latex") puts("support.function.verb.latex") puts("variable.parameter.definition.label.latex") puts("variable.parameter.function.latex") puts("variable.parameter.latex") end def self.latex_beamer() header = "LATEX_BEAMER" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tex.latex.beamer\n") puts("entity.name.function.frame.latex") puts("meta.function.environment.frame.latex") puts("punctuation.definition.arguments.begin.latex") puts("punctuation.definition.arguments.end.latex") puts("punctuation.definition.function.latex") puts("support.function.be.latex") puts("support.function.with-arg.latex") puts("variable.parameter.function.latex") end def self.latex_log() header = "LATEX_LOG" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.log.latex\n") puts("comment.block.documentation") puts("entity.name.function") puts("entity.name.function.filename.latex") puts("entity.name.tag.configuration") puts("entity.name.tag.definition") puts("entity.name.type.class") puts("invalid.deprecated") puts("invalid.illegal") puts("keyword.control.hyphenation.latex") puts("meta.log.latex.fixme") puts("meta.log.latex.hyphenation") puts("punctuation.definition.string.begin.log.latex") puts("punctuation.definition.string.end.log.latex") puts("string.unquoted.other.filename.log.latex") puts("support.function.with-arg.latex") puts("variable.parameter.hyphenation.latex2") end def self.latex_memoir() header = "LATEX_MEMOIR" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tex.latex.memoir\n") puts("meta.function.memoir-alltt.latex") puts("meta.function.memoir-fbox.latex") puts("meta.function.memoir-verbatim.latex") puts("punctuation.definition.arguments.begin.latex") puts("punctuation.definition.arguments.end.latex") puts("punctuation.definition.function.latex") puts("punctuation.definition.function.tex") puts("support.function.be.latex") puts("support.function.general.tex") puts("variable.parameter.function.latex") end def self.lexflex() header = "LEXFLEX" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.lex\n") puts("Lex/Flex") puts("comment.block.c.lex") puts("constant.character.escape.lex") puts("constant.other.character-class.set.lex") puts("entity.name.function.lex") puts("invalid.illegal.ignored.lex") puts("invalid.illegal.lex") puts("invalid.illegal.regexp.lex") puts("keyword.control.anchor.regexp.lex") puts("keyword.operator.eof.lex") puts("keyword.operator.negation.regexp.lex") puts("keyword.operator.quantifier.regexp.lex") puts("keyword.operator.trailing-match.regexp.lex") puts("keyword.other.option.lex") puts("keyword.other.start-condition.lex") puts("meta.definition.lex") puts("meta.embedded.source.c.lex") puts("meta.group.regexp.lex") puts("meta.options.lex") puts("meta.rule.action.lex") puts("meta.rule.lex") puts("meta.section.definitions.lex") puts("meta.section.rules.lex") puts("meta.start-condition.lex") puts("punctuation.definition.character-class.set.lex") puts("punctuation.definition.code.lex") puts("punctuation.definition.group.regexp.lex") puts("punctuation.definition.start-condition.lex") puts("punctuation.separator.sections.lex") puts("punctuation.terminator.character-class.set.lex") puts("punctuation.terminator.code.lex") puts("punctuation.terminator.group.regexp.lex") puts("string.quoted.double.regexp.lex") puts("string.regexp.lex") puts("support.function.c.lex") puts("support.other.option.lex") puts("variable.other.lex") end def self.lighttpd() header = "LIGHTTPD" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.lighttpd-config\n") puts("Lighttpd") puts("comment.line.number-sign.lighttpd-config") puts("constant.character.escape.quote.lighttpd-config") puts("constant.numeric.lighttpd-config") puts("invalid.illegal.semicolon-at-end-of-line.lighttpd-config") puts("punctuation.definition.comment.lighttpd-config") puts("punctuation.definition.string.begin.lighttpd-config") puts("punctuation.definition.string.end.lighttpd-config") puts("punctuation.definition.variable.lighttpd-config") puts("punctuation.separator.key-value.lighttpd-config") puts("string.quoted.double.lighttpd-config") puts("string.regexp.lighttpd-config") puts("support.constant.name.lighttpd-config") puts("variable.language.lighttpd-config") end def self.lilypond() header = "LILYPOND" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.lilypond\n") puts("Lilypond") puts("comment.block.lilypond") puts("comment.line.lilypond") puts("constant.character.escape.lilypond") puts("constant.language.clef-name.lilypond") puts("constant.numeric.fraction.lilypond") puts("constant.numeric.time-signature.lilypond") puts("constant.other.modifier.clef.lilypond") puts("keyword.control.lilypond") puts("keyword.operator.duration-scale.lilypond") puts("meta.element.chord.lilypond") puts("meta.element.clef.lilypond") puts("meta.element.key-signature.lilypond") puts("meta.element.markup.lilypond") puts("meta.element.note.lilypond") puts("meta.element.pause.rest.lilypond") puts("meta.element.pause.skip.lilypond") puts("meta.element.time-signature.lilypond") puts("meta.fixme.unknown-clef-name.lilypond") puts("meta.group.lilypond") puts("meta.header.lilypond") puts("meta.music-expression.lilypond") puts("meta.note-modifier.cautionary-accidental.lilypond") puts("meta.note-modifier.octave.lilypond") puts("meta.system.lilypond") puts("punctuation.definition.chord.lilypond") puts("punctuation.definition.comment.lilypond") puts("punctuation.definition.function.lilypond") puts("punctuation.definition.function.markup") puts("punctuation.definition.string.lilypond") puts("punctuation.section.embedded.scheme.lilypond") puts("punctuation.section.group.begin.lilypond") puts("punctuation.section.group.end.lilypond") puts("punctuation.section.system.begin.lilypond") puts("punctuation.section.system.end.lilypond") puts("punctuation.separator.key-value.lilypond") puts("storage.modifier.articulation.accent.lilypond") puts("storage.modifier.articulation.dynamics.lilypond") puts("storage.modifier.articulation.named.lilypond") puts("storage.modifier.beam.lilypond") puts("storage.modifier.slur.lilypond") puts("storage.type.breath-mark.lilypond") puts("storage.type.duration.lilypond") puts("storage.type.pause.rest.lilypond") puts("storage.type.pause.skip.lilypond") puts("storage.type.pitch.lilypond") puts("storage.type.tie.lilypond") puts("string.quoted.double.lilypond") puts("support.constant.header.lilypond") puts("support.constant.header.mutopia.lilypond") puts("support.function.element.lilypond") puts("support.function.element.markup.lilypond") puts("support.function.general.lilypond") puts("support.function.section.header.lilypond") puts("support.function.section.lilypond") end def self.lisp() header = "LISP" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.lisp\n") puts("Lisp") puts("comment.line.semicolon.lisp") puts("constant.character.escape.lisp") puts("constant.character.lisp") puts("constant.language.lisp") puts("constant.numeric.lisp") puts("entity.name.function.lisp") puts("keyword.control.lisp") puts("keyword.operator.lisp") puts("meta.function.lisp") puts("punctuation.definition.comment.lisp") puts("punctuation.definition.constant.lisp") puts("punctuation.definition.string.begin.lisp") puts("punctuation.definition.string.end.lisp") puts("punctuation.definition.variable.lisp") puts("storage.type.function-type.lisp") puts("string.quoted.double.lisp") puts("support.function.lisp") puts("variable.other.global.lisp") end def self.literate_haskell() header = "LITERATE_HASKELL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tex.latex.haskell\n") puts("meta.function.embedded.haskell.latex") puts("punctuation.definition.arguments.begin.latex") puts("punctuation.definition.arguments.end.latex") puts("punctuation.definition.function.latex") puts("support.function.be.latex") end def self.logo() header = "LOGO" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.logo\n") puts("Logo") puts("comment.line.semicolon.logo") puts("entity.name.function.logo") puts("keyword.control.logo") puts("keyword.other.logo") puts("punctuation.definition.comment.logo") puts("punctuation.definition.variable.logo") puts("string.other.word.logo") puts("variable.parameter.logo") end def self.logtalk() header = "LOGTALK" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.logtalk\n") puts("Logtalk") puts("comment.block.logtalk") puts("comment.line.percentage.logtalk") puts("constant.character.escape.logtalk") puts("constant.numeric.logtalk") puts("entity.name.type.logtalk") puts("keyword.operator.bitwise.logtalk") puts("keyword.operator.comparison.arithmetic.logtalk") puts("keyword.operator.comparison.term.logtalk") puts("keyword.operator.evaluable.logtalk") puts("keyword.operator.message-sending.logtalk") puts("keyword.operator.misc.logtalk") puts("keyword.operator.mode.logtalk") puts("punctuation.definition.comment.logtalk") puts("punctuation.definition.storage.modifier.logtalk") puts("punctuation.definition.storage.type.logtalk") puts("punctuation.definition.string.begin.logtalk") puts("punctuation.definition.string.end.logtalk") puts("storage.modifier.others.logtalk") puts("storage.type.closing.logtalk") puts("storage.type.opening.logtalk") puts("storage.type.relations.logtalk") puts("string.quoted.double.logtalk") puts("string.quoted.single.logtalk") puts("support.function.all-solutions.logtalk") puts("support.function.atom-term-processing.logtalk") puts("support.function.chars-and-bytes-io.logtalk") puts("support.function.compiling-and-loading.logtalk") puts("support.function.control.logtalk") puts("support.function.database.logtalk") puts("support.function.entity-creation-and-abolishing.logtalk") puts("support.function.event-handler.logtalk") puts("support.function.event-handling.logtalk") puts("support.function.execution-context.logtalk") puts("support.function.grammar-rule.logtalk") puts("support.function.implementation-defined-hooks.logtalk") puts("support.function.logtalk") puts("support.function.multi-threading.logtalk") puts("support.function.prolog-flags.logtalk") puts("support.function.reflection.logtalk") puts("support.function.stream-selection-and-control.logtalk") puts("support.function.term-creation-and-decomposition.logtalk") puts("support.function.term-io.logtalk") puts("support.function.term-testing.logtalk") puts("support.function.term-unification.logtalk") puts("variable.other.logtalk") end def self.lua() header = "LUA" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.lua\n") puts("Lua") puts("comment.block.lua") puts("comment.line.double-dash.lua") puts("constant.character.escape.lua") puts("constant.language.lua") puts("constant.numeric.lua") puts("entity.name.function.lua") puts("entity.name.function.scope.lua") puts("keyword.control.lua") puts("keyword.operator.lua") puts("meta.function.lua") puts("punctuation.definition.comment.lua") puts("punctuation.definition.parameters.begin.lua") puts("punctuation.definition.parameters.end.lua") puts("punctuation.definition.string.begin.lua") puts("punctuation.definition.string.end.lua") puts("string.quoted.double.lua") puts("string.quoted.other.multiline.lua") puts("string.quoted.single.lua") puts("support.function.library.lua") puts("support.function.lua") puts("variable.language.self.lua") puts("variable.parameter.function.lua") end def self.m() header = "M" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.matlab\n") puts("MATLAB") puts("comment.line.percentage.matlab") puts("constant.character.escape.matlab") puts("constant.language.boolean.matlab") puts("constant.language.matlab") puts("invalid.deprecated.function.matlab") puts("invalid.deprecated.obsolete.function.control.matlab") puts("keyword.control.matlab") puts("keyword.operator.logical.matlab") puts("keyword.other.commands.matlab") puts("keyword.other.matlab") puts("meta.scope.expression.matlab") puts("meta.scope.logical-expression.matlab") puts("meta.scope.parens.matlab") puts("punctuation.definition.comment.matlab") puts("punctuation.definition.string.begin.matlab") puts("punctuation.definition.string.end.matlab") puts("punctuation.section.scope.matlab") puts("storage.modifier.matlab") puts("string.quoted.double.matlab") puts("string.quoted.single.matlab") puts("support.constant.matlab") puts("support.function.audio.matlab") puts("support.function.control.base.matlab") puts("support.function.control.hinf.matlab") puts("support.function.control.system.matlab") puts("support.function.control.util.matlab") puts("support.function.elfun.matlab") puts("support.function.finance.matlab") puts("support.function.general.matlab") puts("support.function.image.matlab") puts("support.function.io.matlab") puts("support.function.linear-algebra.matlab") puts("support.function.mapper.matlab") puts("support.function.misc.matlab") puts("support.function.plot.matlab") puts("support.function.polynomial.matlab") puts("support.function.quaternion.matlab") puts("support.function.set.matlab") puts("support.function.signal.matlab") puts("support.function.specfun.matlab") puts("support.function.special-matrix.matlab") puts("support.function.statistics.base.matlab") puts("support.function.statistics.distributions.matlab") puts("support.function.statistics.models.matlab") puts("support.function.statistics.tests.matlab") puts("support.function.strings.matlab") puts("support.function.time.matlab") puts("support.variable.matlab") puts("variable.other.transpose.matlab") end def self.macports_portfile() header = "MACPORTS_PORTFILE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.tcl.macports\n") puts("constant.character.escape.tcl") puts("entity.name.function.variant.platform.tcl.macports") puts("entity.name.function.variant.tcl.macports") puts("invalid.illegal.tcl") puts("keyword.other.tcl.macports") puts("keyword.other.variant.platform.tcl.macports") puts("keyword.other.variant.tcl.macports") puts("meta.variant.platform.tcl.macports") puts("meta.variant.tcl.macports") puts("punctuation.definition.variable.tcl") puts("punctuation.section.embedded.begin.tcl") puts("punctuation.section.embedded.end.tcl") puts("punctuation.section.variant.platform.tcl.macports") puts("punctuation.section.variant.tcl.macports") puts("punctuation.terminator.variant.platform.tcl.macports") puts("punctuation.terminator.variant.tcl.macports") puts("source.tcl.embedded") puts("string.quoted.double.tcl") puts("variable.other.tcl") end def self.mail() header = "MAIL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.mail.markdown\n") puts("Mail") puts("comment.line.parentheses.mail") puts("constant.other.charset.mail") puts("constant.other.encoding.mail") puts("constant.other.escape.mail") puts("constant.other.reference.mail") puts("keyword.other.mail") puts("meta.domain-literal.mail") puts("meta.encoded-text.mail") puts("meta.group.mail") puts("meta.header.mail") puts("meta.separator.signature.mail") puts("punctuation.definition.comment.mail") puts("punctuation.definition.constant.mail") puts("punctuation.definition.string.begin.mail") puts("punctuation.definition.string.end.mail") puts("punctuation.separator.key-value.mail") puts("string.quoted.double.mail") puts("string.unquoted.atom.mail") puts("text.html.markdown") end def self.makefile() header = "MAKEFILE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.makefile\n") puts("Makefile") puts("comment.line.number-sign.makefile") puts("entity.name.function.makefile") puts("keyword.control.makefile") puts("meta.function.makefile") puts("punctuation.definition.comment.makefile") puts("punctuation.separator.continuation.makefile") puts("string.interpolated.backtick.makefile") puts("variable.other.makefile") end def self.man() header = "MAN" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.man\n") puts("Man") puts("markup.heading.man") puts("markup.underline.link.internal.man") puts("markup.underline.link.man") puts("meta.foldingStopMarker.man") end def self.markdown() header = "MARKDOWN" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.markdown\n") puts("Markdown") puts("constant.character.escape.markdown") puts("constant.other.reference.link.markdown") puts("invalid.illegal.whitespace.markdown") puts("markup.bold.markdown") puts("markup.heading.1.markdown") puts("markup.heading.2.markdown") puts("markup.heading.markdown") puts("markup.italic.markdown") puts("markup.list.numbered") puts("markup.list.unnumbered") puts("markup.quote.markdown") puts("markup.raw.block.markdown") puts("markup.raw.inline.markdown") puts("markup.underline.link.image.markdown") puts("markup.underline.link.markdown") puts("meta.block-level.markdown") puts("meta.disable-markdown") puts("meta.dummy.line-break") puts("meta.image.inline.markdown") puts("meta.image.reference.markdown") puts("meta.link.email.lt-gt.markdown") puts("meta.link.inet.markdown") puts("meta.link.inline.markdown") puts("meta.link.reference.def.markdown") puts("meta.link.reference.literal.markdown") puts("meta.link.reference.markdown") puts("meta.other.valid-ampersand.markdown") puts("meta.other.valid-bracket.markdown") puts("meta.paragraph.list.markdown") puts("meta.paragraph.markdown") puts("meta.separator.markdown") puts("punctuation.definition.blockquote.markdown") puts("punctuation.definition.bold.markdown") puts("punctuation.definition.constant.begin.markdown") puts("punctuation.definition.constant.end.markdown") puts("punctuation.definition.constant.markdown") puts("punctuation.definition.heading.markdown") puts("punctuation.definition.italic.markdown") puts("punctuation.definition.link.markdown") puts("punctuation.definition.list_item.markdown") puts("punctuation.definition.metadata.markdown") puts("punctuation.definition.raw.markdown") puts("punctuation.definition.string.begin.markdown") puts("punctuation.definition.string.end.markdown") puts("punctuation.definition.string.markdown") puts("punctuation.separator.key-value.markdown") puts("string.other.link.description.markdown") puts("string.other.link.description.title.markdown") puts("string.other.link.title.markdown") end def self.mediawiki() header = "MEDIAWIKI" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.mediawiki\n") puts("Mediawiki") puts("comment.block.html.mediawiki") puts("constant.character.entity.html.mediawiki") puts("constant.numeric.image.width.mediawiki") puts("constant.other.date-time.mediawiki") puts("constant.other.namespace.image.mediawiki") puts("constant.other.namespace.mediawiki") puts("constant.other.signature.mediawiki") puts("constant.other.unit.mediawiki") puts("constant.other.wiki-link.image.mediawiki") puts("constant.other.wiki-link.mediawiki") puts("invalid.illegal.bad-ampersand.html.mediawiki") puts("invalid.illegal.bad-comments-or-CDATA.html.mediawiki") puts("invalid.illegal.extra-equals-sign.mediawiki") puts("invalid.illegal.too-many-tildes.mediawiki") puts("invalid.illegal.whitespace.mediawiki") puts("keyword.control.image.alignment.mediawiki") puts("keyword.control.image.formatting.mediawiki") puts("keyword.control.redirect.mediawiki") puts("keyword.operator.wiki-link.suppress-image-or-category.mediawiki") puts("markup.bold.mediawiki") puts("markup.heading.mediawiki") puts("markup.italic.mediawiki") puts("markup.list.mediawiki") puts("markup.other.table.mediawiki") puts("markup.other.table.row.mediawiki") puts("markup.raw.block.mediawiki") puts("markup.underline.link.external.mediawiki") puts("meta.function-call.template.mediawiki") puts("meta.image.wiki.mediawiki") puts("meta.item.gallery.mediawiki") puts("meta.link.inline.external.mediawiki") puts("meta.link.wiki.mediawiki") puts("meta.paragraph.mediawiki") puts("meta.redirect.mediawiki") puts("meta.separator.mediawiki") puts("meta.tag.inline.any.html.mediawiki") puts("meta.tag.inline.bold.html.mediawiki") puts("meta.tag.inline.italic.html.mediawiki") puts("meta.tag.inline.math.mediawiki") puts("meta.tag.inline.raw.html.mediawiki") puts("meta.tag.inline.ref.mediawiki") puts("meta.tag.inline.strikethrough.html.mediawiki") puts("meta.tag.inline.underline.html.mediawiki") puts("meta.template-parameter.mediawiki") puts("meta.template.mediawiki") puts("meta.template.parser-function.mediawiki") puts("punctuation.fix_this_later.brackets.mediawiki") puts("punctuation.fix_this_later.brackets.mediwiki") puts("punctuation.fix_this_later.colon.mediawiki") puts("punctuation.fix_this_later.equals-sign.mediawiki") puts("punctuation.fix_this_later.pipe.mediawiki") puts("punctuation.fix_this_later.template.mediawiki") puts("string.other.title.link.wiki-link.mediawiki") puts("variable.parameter.template.mediawiki") puts("variable.parameter.template.named.mediawiki") puts("variable.parameter.template.numeric.mediawiki") end def self.mel() header = "MEL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.mel\n") puts("MEL") puts("comment.block.mel") puts("comment.line.double-slash.mel") puts("constant.character.escape.mel") puts("constant.language.mel") puts("constant.numeric.mel") puts("entity.name.function.mel") puts("keyword.control.mel") puts("keyword.operator.mel") puts("keyword.operator.symbolic.mel") puts("keyword.other.mel") puts("meta.function.mel") puts("meta.preprocessor.mel") puts("punctuation.definition.comment.mel") puts("punctuation.definition.preprocessor.mel") puts("punctuation.definition.string.begin.mel") puts("punctuation.definition.string.end.mel") puts("punctuation.definition.variable.mel") puts("punctuation.section.function.mel") puts("storage.type.mel") puts("string.quoted.double.mel") puts("string.quoted.single.mel") puts("support.constant.mel") puts("support.function.mel") puts("variable.other.mel") end def self.mips() header = "MIPS" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.mips\n") puts("comment.line.number-sign.mips") puts("constant.character.escape.mips") puts("constant.numeric.float.mips") puts("constant.numeric.integer.mips") puts("entity.name.function.label.mips") puts("meta.function.label.mips") puts("punctuation.definition.comment.mips") puts("punctuation.definition.string.begin.mips") puts("punctuation.definition.string.end.mips") puts("punctuation.definition.variable.mips") puts("storage.modifier.mips") puts("storage.type.mips") puts("string.quoted.double.mips") puts("support.function.mips") puts("support.function.pseudo.mips") puts("variable.other.register.reserved.mips") puts("variable.other.register.usable.by-name.mips") puts("variable.other.register.usable.by-number.mips") puts("variable.other.register.usable.floating-point.mips") end def self.mod_perl() header = "MOD_PERL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.apache-config.mod_perl\n") puts("comment.block.documentation.apache-config.mod_perl") puts("entity.name.tag.apache-config") puts("meta.perl-section.apache-config.mod_perl") puts("meta.tag.apache-config") puts("mod_perl") puts("punctuation.definition.comment.mod_perl") puts("punctuation.definition.tag.apache-config") puts("support.constant.apache-config.mod_perl") puts("support.constant.apache-config.mod_perl_1.mod_perl") end def self.modula_3() header = "MODULA-3" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.modula-3\n") puts("Modula-3") puts("comment.block.modula-3") puts("constant.character.escape.modula-3") puts("constant.language.modula-3") puts("constant.numeric.modula-3") puts("keyword.other.modula-3") puts("punctuation.definition.comment.modula-3") puts("punctuation.definition.string.begin.modula-3") puts("punctuation.definition.string.end.modula-3") puts("storage.type.modula-3") puts("string.quoted.double.modula-3") puts("string.quoted.single.modula-3") end def self.moinmoin() header = "MOINMOIN" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.moinmoin\n") puts("MoinMoin") puts("comment.line.double-number-sign.moimoin") puts("markup.heading.1.moinmoin") puts("markup.heading.2.moinmoin") puts("markup.heading.3.moinmoin") puts("markup.heading.4.moinmoin") puts("markup.heading.5.moinmoin") puts("markup.list.definition.term.moinmoin") puts("markup.list.numbered.moinmoin") puts("markup.list.unnumbered.moinmoin") puts("markup.raw.block.moinmoin") puts("markup.raw.inline.moinmoin") puts("markup.underline.link.moinmoin") puts("meta.macro.moinmoin") puts("meta.paragraph.moinmoin") puts("meta.pragma.moimoin") puts("meta.separator.moinmoin") puts("meta.table.column.moinmoin") puts("punctuation.definition.bold.moinmoin") puts("punctuation.definition.comment.moimoin") puts("punctuation.definition.heading.moimoin") puts("punctuation.definition.italic.moinmoin") puts("punctuation.definition.link.moinmoin") puts("punctuation.definition.list_item.moinmoin") puts("punctuation.definition.macro.moinmoin") puts("punctuation.definition.raw.moinmoin") puts("punctuation.definition.table.column.moinmoin") puts("punctuation.definition.underline.moinmoin") puts("punctuation.separator.definition.moinmoin") puts("punctuation.separator.key-value.moinmoin") end def self.mootools() header = "MOOTOOLS" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.js.mootools\n") puts("MooTools") puts("entity.name.type.instance.fx.style.js.mootools") puts("entity.name.type.instance.js.mootools") puts("keyword.operator.new.js") puts("meta.even-tab.group10.spaces") puts("meta.even-tab.group10.tab") puts("meta.even-tab.group2.spaces") puts("meta.even-tab.group2.tab") puts("meta.even-tab.group4.spaces") puts("meta.even-tab.group4.tab") puts("meta.even-tab.group6.spaces") puts("meta.even-tab.group6.tab") puts("meta.even-tab.group8.spaces") puts("meta.even-tab.group8.tab") puts("meta.function.array.js.mootools") puts("meta.function.dom.js.mootools") puts("meta.function.element.js.mootools") puts("meta.function.hash.js.mootools") puts("meta.leading-tabs") puts("meta.odd-tab.group1.spaces") puts("meta.odd-tab.group1.tab") puts("meta.odd-tab.group11.spaces") puts("meta.odd-tab.group11.tab") puts("meta.odd-tab.group3.spaces") puts("meta.odd-tab.group3.tab") puts("meta.odd-tab.group5.spaces") puts("meta.odd-tab.group5.tab") puts("meta.odd-tab.group7.spaces") puts("meta.odd-tab.group7.tab") puts("meta.odd-tab.group9.spaces") puts("meta.odd-tab.group9.tab") puts("punctuation.definition.parameters.begin.js") puts("punctuation.definition.parameters.end.js") puts("punctuation.separator.key-value.js.mootools") puts("support.class.ajax.js.mootools") puts("support.class.array.js.mootools") puts("support.class.base.fx.js.mootools") puts("support.class.base.window.js.mootools") puts("support.class.class.js.mootools") puts("support.class.color.js.mootools") puts("support.class.cookie.js.mootools") puts("support.class.dom.js.mootools") puts("support.class.element.js") puts("support.class.element.js.mootools") puts("support.class.elements.fx.js.mootools") puts("support.class.event.js.mootools") puts("support.class.function.js.mootools") puts("support.class.fx.utils.js.mootools") puts("support.class.hash.js.mootools") puts("support.class.js.mootools") puts("support.class.json.js.mootools") puts("support.class.keys.fx.options.js.mootools") puts("support.class.keys.fx.slide.options.js.mootools") puts("support.class.keys.options.transitions.fx") puts("support.class.number.js.mootools") puts("support.class.scroll.fx.js.mootools") puts("support.class.size.window.js.mootools") puts("support.class.slide.fx.js.mootools") puts("support.class.string.js.mootools") puts("support.class.styles.fx.js.mootools") puts("support.class.transitions.fx.js.mootools") puts("support.class.window.browser.js.mootools") puts("support.class.xhr.js.mootools") puts("support.function.array.js.mootools") puts("support.function.asset.js.mootools") puts("support.function.chain.js.mootools") puts("support.function.class.js.mootools") puts("support.function.color.js.mootools") puts("support.function.dom.js.mootools") puts("support.function.element.js.mootools") puts("support.function.events.js.mootools") puts("support.function.hash.js.mootools") puts("support.function.js.mootools") puts("support.function.options.js.mootools") puts("support.function.utility.js.mootools") puts("variable.parameter.function.js") end def self.movable_type() header = "MOVABLE_TYPE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.mt\n") puts("comment.line.double-slash.ruby") puts("comment.line.number-sign.ruby") puts("constant.character.entity.html") puts("entity.name.tag.mt") puts("entity.other.attribute-name.html") puts("invalid.illegal.bad-ampersand.html") puts("meta.tag.mt.container.html") puts("meta.tag.mt.variable.html") puts("punctuation.definition.comment.php") puts("punctuation.definition.comment.ruby") puts("punctuation.definition.constant.html") puts("punctuation.definition.string.begin.html") puts("punctuation.definition.string.end.html") puts("punctuation.definition.tag.mt") puts("punctuation.section.embedded.php") puts("punctuation.section.embedded.ruby") puts("punctuation.section.embedded.smarty") puts("source.php.embedded.html") puts("source.ruby.embedded.html") puts("source.smarty.embedded.html") puts("source.smarty.embedded.xhtml") puts("string.quoted.double.html") puts("string.quoted.single.html") puts("variable.other.mt") end def self.multimarkdown() header = "MULTIMARKDOWN" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.markdown.multimarkdown\n") puts("MultiMarkdown") puts("keyword.other.multimarkdown") puts("meta.content.multimarkdown") puts("meta.header.multimarkdown") puts("punctuation.separator.key-value.multimarkdown") puts("string.unquoted.multimarkdown") end def self.nemerle() header = "NEMERLE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("comment.block.nemerle") puts("comment.line.double-slash.nemerle") puts("constant.character.escape") puts("constant.character.escape.nemerle") puts("constant.language.nemerle") puts("constant.numeric.nemerle") puts("keyword.control.nemerle") puts("keyword.operator.nemerle") puts("keyword.other.nemerle") puts("punctuation.definition.comment.nemerle") puts("punctuation.definition.string.begin.nemerle") puts("punctuation.definition.string.end.nemerle") puts("storage.modifier.nemerle") puts("storage.type.nemerle") puts("string.interpolated.nemerle") puts("string.quoted.double.nemerle") puts("string.quoted.single.nemerle") puts("variable.language.nemerle") end def self.objective_cpp() header = "OBJECTIVE-C++" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.objc++\n") puts("Objective-C++") end def self.objective_c() header = "OBJECTIVE-C" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.objc\n") puts("Objective-C") puts("comment.block.objc") puts("comment.line.double-slash.c++") puts("constant.character.escape.objc") puts("constant.language.objc") puts("entity.name.function.name-of-parameter.objc") puts("entity.name.function.objc") puts("entity.name.type.objc") puts("entity.other.inherited-class.objc") puts("invalid.illegal.unknown-escape.objc") puts("keyword.control.exception.objc") puts("keyword.control.macro.objc") puts("keyword.control.synchronize.objc") puts("keyword.other.objc") puts("meta.argument-type.objc") puts("meta.bracketed.objc") puts("meta.divider.objc") puts("meta.function-call.objc") puts("meta.function.objc") puts("meta.id-type.objc") puts("meta.id-with-protocol.objc") puts("meta.implementation.objc") puts("meta.inherited-class.objc") puts("meta.interface-or-protocol.objc") puts("meta.protocol-list.objc") puts("meta.return-type.objc") puts("punctuation.definition.comment.objc") puts("punctuation.definition.entity.other.inherited-class.objc") puts("punctuation.definition.keyword.objc") puts("punctuation.definition.storage.modifier.objc") puts("punctuation.definition.storage.type.objc") puts("punctuation.definition.string.begin.objc") puts("punctuation.definition.string.end.objc") puts("punctuation.definition.type.objc") puts("punctuation.section.scope.begin.objc") puts("punctuation.section.scope.end.objc") puts("punctuation.section.scope.objc") puts("punctuation.separator.arguments.objc") puts("punctuation.separator.continuation.c++") puts("storage.modifier.objc") puts("storage.modifier.protocol.objc") puts("storage.type.objc") puts("string.quoted.double.objc") puts("support.class.cocoa") puts("support.constant.cocoa") puts("support.constant.notification.cocoa") puts("support.function.any-method.name-of-parameter.objc") puts("support.function.any-method.objc") puts("support.function.cocoa") puts("support.other.protocol.objc") puts("support.type.cocoa") puts("support.variable.foundation") puts("variable.language.objc") puts("variable.other.selector.objc") puts("variable.parameter.function.objc") end def self.ocaml() header = "OCAML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ocaml\n") puts("OCaml") puts("comment.block.empty.ocaml") puts("comment.block.ocaml") puts("comment.block.ocamlyacc") puts("comment.block.string.constant.character.escape.ocaml") puts("comment.block.string.quoted.double.ocaml") puts("constant.character.ocaml") puts("constant.character.regexp.escape.ocaml") puts("constant.character.string.escape.ocaml") puts("constant.language.boolean.ocaml") puts("constant.language.pseudo-variable.ocaml") puts("constant.language.universal-match.ocaml") puts("constant.numeric.floating-point.ocaml") puts("constant.numeric.integer.int32.ocaml") puts("constant.numeric.integer.int64.ocaml") puts("constant.numeric.integer.nativeint.ocaml") puts("constant.numeric.integer.ocaml") puts("entity.name.function.method.ocaml") puts("entity.name.function.ocaml") puts("entity.name.tag.label.ocaml") puts("entity.name.tag.label.optional.ocaml") puts("entity.name.tag.record.ocaml") puts("entity.name.type.class-type.ocaml") puts("entity.name.type.class.ocaml") puts("entity.name.type.exception.ocaml") puts("entity.name.type.external-signature.ocaml") puts("entity.name.type.module-type.ocaml") puts("entity.name.type.module.ocaml") puts("entity.name.type.self-binding.ocaml") puts("entity.name.type.value-signature.ocaml") puts("entity.name.type.variant.ocaml") puts("entity.name.type.variant.polymorphic.ocaml") puts("invalid.illegal.character.string.escape") puts("invalid.illegal.unrecognized-character.ocaml") puts("keyword.control.begin-end.ocaml") puts("keyword.control.for-loop.ocaml") puts("keyword.control.loop.ocaml") puts("keyword.control.match-condition.ocaml") puts("keyword.control.match-definition.ocaml") puts("keyword.control.object.ocaml") puts("keyword.control.ocaml") puts("keyword.control.while-loop.ocaml") puts("keyword.operator.infix.floating-point.ocaml") puts("keyword.operator.infix.ocaml") puts("keyword.operator.ocaml") puts("keyword.operator.prefix.floating-point.ocaml") puts("keyword.operator.prefix.ocaml") puts("keyword.operator.symbol.ocaml") puts("keyword.other.class-definition.ocaml") puts("keyword.other.class-type-definition.ocaml") puts("keyword.other.directive.line-number.ocaml") puts("keyword.other.directive.ocaml") puts("keyword.other.function-definition.ocaml") puts("keyword.other.funtion-definition.ocaml") puts("keyword.other.language.ocaml") puts("keyword.other.method-definition.ocaml") puts("keyword.other.method-restriction.ocaml") puts("keyword.other.module-binding.ocaml") puts("keyword.other.module-definition.ocaml") puts("keyword.other.module-type-definition.ocaml") puts("keyword.other.module.signature.ocaml") puts("keyword.other.module.structure.ocaml") puts("keyword.other.object-definition.ocaml") puts("keyword.other.ocaml") puts("keyword.other.storage.modifier.ocaml") puts("keyword.other.type-definition.ocaml") puts("meta.array.ocaml") puts("meta.begin-end-group.ocaml") puts("meta.class.ocaml") puts("meta.class.type-definition.ocaml") puts("meta.class.virtual.ocaml") puts("meta.class.virtual.type-definition.ocaml") puts("meta.empty-typing-pair.ocaml") puts("meta.empty-typing-pair.parens.ocaml") puts("meta.exception.ocaml") puts("meta.for-loop.ocaml") puts("meta.function.anonymous.definition.ocaml") puts("meta.function.anonymous.ocaml") puts("meta.function.ocaml") puts("meta.list.ocaml") puts("meta.match-option.ocaml") puts("meta.method-call.ocaml") puts("meta.method.ocaml") puts("meta.module-reference.ocaml") puts("meta.module.binding") puts("meta.module.ocaml") puts("meta.module.open.ocaml") puts("meta.module.signature.external.ocaml") puts("meta.module.signature.ocaml") puts("meta.module.signature.val.ocaml") puts("meta.module.structure.ocaml") puts("meta.module.type.ocaml") puts("meta.object.ocaml") puts("meta.object.type-constraint.ocaml") puts("meta.parameter.type-constrained.ocaml") puts("meta.paren-group.ocaml") puts("meta.paren.group") puts("meta.pattern-match.ocaml") puts("meta.polymorphic-variant.definition.ocaml") puts("meta.record.definition.ocaml") puts("meta.record.ocaml") puts("meta.recordfield.match.ocaml") puts("meta.type-constraint.ocaml") puts("meta.type-definition-group.ocaml") puts("meta.type-definition.ocaml") puts("meta.while-loop.ocaml") puts("punctuation.definition.array.begin.ocaml") puts("punctuation.definition.array.end.ocaml") puts("punctuation.definition.camlp4-stream.ocaml") puts("punctuation.definition.function.anonymous.ocaml") puts("punctuation.definition.labeled-parameter.ocaml") puts("punctuation.definition.list.begin.ocaml") puts("punctuation.definition.list.constructor.ocaml") puts("punctuation.definition.list.end.ocaml") puts("punctuation.definition.match-option.ocaml") puts("punctuation.definition.optional-parameter.ocaml") puts("punctuation.definition.polymorphic-variant.ocaml") puts("punctuation.definition.record.ocaml") puts("punctuation.definition.self-binding.ocaml") puts("punctuation.definition.string.begin.ocaml") puts("punctuation.definition.string.end.ocaml") puts("punctuation.definition.tuple.ocaml") puts("punctuation.section.type-constraint.ocaml") puts("punctuation.separator.algebraic-type.ocaml") puts("punctuation.separator.argument-label.ocaml") puts("punctuation.separator.function-definition.ocaml") puts("punctuation.separator.function-return.ocaml") puts("punctuation.separator.function.type-constraint.ocaml") puts("punctuation.separator.label.ocaml") puts("punctuation.separator.match-definition.ocaml") puts("punctuation.separator.match-option.ocaml") puts("punctuation.separator.match-pattern.ocaml") puts("punctuation.separator.method-call.ocaml") puts("punctuation.separator.module-binding.ocmal") puts("punctuation.separator.module-definition.ocaml") puts("punctuation.separator.module-reference.ocaml") puts("punctuation.separator.ocaml") puts("punctuation.separator.optional-parameter-assignment.ocaml") puts("punctuation.separator.optional-parameter.ocaml") puts("punctuation.separator.record.field-assignment.ocaml") puts("punctuation.separator.record.ocaml") puts("punctuation.separator.string.ignore-eol.ocaml") puts("punctuation.separator.tuple.ocaml") puts("punctuation.separator.type-constraint.ocaml") puts("punctuation.separator.type-definition.ocaml") puts("punctuation.separator.variant-definition.ocaml") puts("punctuation.terminator.expression.ocaml") puts("source.camlp4.embedded.ocaml") puts("source.ocaml") puts("storage.type.module.ocaml") puts("storage.type.ocaml") puts("storage.type.polymorphic-variant.ocaml") puts("storage.type.user-defined.ocaml") puts("storage.type.variant.polymorphic.ocaml") puts("string.quoted.double.ocaml") puts("support.other.module.ocaml") puts("variable.parameter.labeled.ocaml") puts("variable.parameter.ocaml") puts("variable.parameter.optional.ocaml") puts("variable.parameter.record.ocaml") puts("variable.parameter.tuple.ocaml") puts("variable.parameter.unit.ocaml") end def self.ocamllex() header = "OCAMLLEX" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ocamllex\n") puts("OCamllex") puts("comment.block.empty.ocaml") puts("comment.block.ocaml") puts("comment.block.string.constant.character.escape.ocaml") puts("comment.block.string.quoted.double.ocaml") puts("constant.character.ocamllex") puts("constant.character.regexp.escape.ocaml") puts("constant.character.string.escape.ocaml") puts("constant.language.eof.ocamllex") puts("constant.language.universal-match.ocamllex") puts("entity.name.function.entrypoint.ocamllex") puts("entity.name.type.pattern.reference.stupid-goddamn-hack.ocamllex") puts("entity.name.type.pattern.stupid-goddamn-hack.ocamllex") puts("invalid.illegal.character.string.escape") puts("invalid.illegal.unrecognized-character.ocamllex") puts("keyword.operator.ocamllex") puts("keyword.operator.pattern.alternation.ocamllex") puts("keyword.operator.pattern.modifier.ocamllex") puts("keyword.operator.symbol.ocamllex") puts("keyword.other.entry-definition.ocamllex") puts("keyword.other.ocamllex") puts("keyword.other.pattern-definition.ocamllex") puts("keyword.other.pattern.ocamllex") puts("meta.action.ocamllex") puts("meta.embedded.ocaml") puts("meta.paren-group.ocamllex") puts("meta.pattern-definition.ocaml") puts("meta.pattern-match.ocaml") puts("meta.pattern.character-class.ocamllex") puts("meta.pattern.sub-pattern.ocamllex") puts("punctuation.definition.action.begin.ocamllex") puts("punctuation.definition.action.end.ocamllex") puts("punctuation.definition.char.begin.ocamllex") puts("punctuation.definition.char.end.ocamllex") puts("punctuation.definition.character-class.begin.ocamllex") puts("punctuation.definition.character-class.end.ocamllex") puts("punctuation.definition.character-class.negation.ocamllex") puts("punctuation.definition.string.begin.ocaml") puts("punctuation.definition.string.end.ocaml") puts("punctuation.definition.sub-pattern.begin.ocamllex") puts("punctuation.definition.sub-pattern.end.ocamllex") puts("punctuation.section.embedded.ocaml.begin.ocamllex") puts("punctuation.section.embedded.ocaml.end.ocamllex") puts("punctuation.separator.character-class.range.ocamllex") puts("punctuation.separator.match-pattern.ocamllex") puts("punctuation.separator.string.ignore-eol.ocaml") puts("string.quoted.double.ocamllex") end def self.ocamlyacc() header = "OCAMLYACC" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ocamlyacc\n") puts("OCamlyacc") puts("comment.block.ocamlyacc") puts("comment.block.string.constant.character.escape.ocamlyacc") puts("comment.block.string.quoted.double.ocamlyacc") puts("entity.name.function.non-terminal.ocamlyacc") puts("entity.name.function.non-terminal.reference.ocamlyacc") puts("entity.name.type.token.ocamlyacc") puts("entity.name.type.token.reference.ocamlyacc") puts("invalid.illegal.unrecognized-character.ocaml") puts("keyword.other.decorator.precedence.ocamlyacc") puts("keyword.other.decorator.start-symbol.ocamlyacc") puts("keyword.other.decorator.symbol-type.ocamlyacc") puts("keyword.other.decorator.token.associativity.ocamlyacc") puts("keyword.other.decorator.token.ocamlyacc") puts("keyword.other.precedence.ocamlyacc") puts("keyword.other.start-symbol.ocamlyacc") puts("keyword.other.symbol-type.ocamlyacc") puts("keyword.other.token.associativity.ocamlyacc") puts("keyword.other.token.ocamlyacc") puts("meta.action.semantic.ocamlyacc") puts("meta.declarations.ocamlyacc") puts("meta.header.ocamlyacc") puts("meta.non-terminal.ocamlyacc") puts("meta.precidence.declaration") puts("meta.rule-match.ocaml") puts("meta.rules.ocamlyacc") puts("meta.start-symbol.ocamlyacc") puts("meta.symbol-type.ocamlyacc") puts("meta.token.associativity.ocamlyacc") puts("meta.token.declaration.ocamlyacc") puts("meta.token.type-declaration.ocamlyacc") puts("punctuation.definition.action.semantic.ocamlyacc") puts("punctuation.definition.type-declaration.begin.ocamlyacc") puts("punctuation.definition.type-declaration.end.ocamlyacc") puts("punctuation.section.header.begin.ocamlyacc") puts("punctuation.section.header.end.ocamlyacc") puts("punctuation.section.rules.begin.ocamlyacc") puts("punctuation.section.rules.end.ocamlyacc") puts("punctuation.separator.rule.ocamlyacc") end def self.opengl() header = "OPENGL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.open-gl\n") puts("OpenGL") puts("meta.open-gl") puts("support.constant.open-gl") puts("support.function.open-gl") puts("support.type.open-gl") end def self.pascal() header = "PASCAL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.pascal\n") puts("Pascal") puts("comment.block.pascal.one") puts("comment.block.pascal.two") puts("comment.line.double-dash.pascal.one") puts("comment.line.double-slash.pascal.two") puts("constant.character.escape.apostrophe.pascal") puts("constant.character.escape.pascal") puts("constant.numeric.pascal") puts("entity.name.function.pascal") puts("entity.name.function.prototype.pascal") puts("keyword.control.pascal") puts("meta.function.pascal") puts("meta.function.prototype.pascal") puts("punctuation.definition.comment.pascal") puts("punctuation.definition.string.begin.pascal") puts("punctuation.definition.string.end.pascal") puts("storage.type.function.pascal") puts("storage.type.prototype.pascal") puts("string.quoted.double.pascal") puts("string.quoted.single.pascal") end def self.perl() header = "PERL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.perl\n") puts("Perl") puts("comment.block.documentation.perl") puts("comment.line.number-sign.perl") puts("constant.character.escape.perl") puts("constant.character.escape.perl.perl") puts("constant.language.perl") puts("constant.other.bareword.perl") puts("constant.other.key.perl") puts("entity.name.function.format.perl") puts("entity.name.function.perl") puts("entity.name.type.class.perl") puts("keyword.control.perl") puts("keyword.control.regexp-option.perl") puts("keyword.operator.comparison.perl") puts("keyword.operator.filetest.perl") puts("keyword.operator.logical.perl") puts("meta.class.perl") puts("meta.comment.full-line.perl") puts("meta.even-tab") puts("meta.format.perl") puts("meta.function.perl") puts("meta.leading-tabs") puts("meta.odd-tab") puts("punctuation.definition.comment.perl") puts("punctuation.definition.heredoc.perl") puts("punctuation.definition.parameters.perl") puts("punctuation.definition.string.begin.perl") puts("punctuation.definition.string.end.perl") puts("punctuation.definition.string.perl") puts("punctuation.definition.variable.perl") puts("punctuation.section.scope.perl") puts("storage.modifier.perl") puts("storage.type.method.perl") puts("storage.type.sub.perl") puts("string.interpolated.perl") puts("string.interpolated.qx-brace.perl") puts("string.interpolated.qx-bracket.perl") puts("string.interpolated.qx-ltgt.perl") puts("string.interpolated.qx-paren.perl") puts("string.interpolated.qx.perl") puts("string.interpolated.qx.single-quote.perl") puts("string.quoted.double.perl") puts("string.quoted.other.q-brace.perl") puts("string.quoted.other.q-bracket.perl") puts("string.quoted.other.q-ltgt.perl") puts("string.quoted.other.q-paren.perl") puts("string.quoted.other.q.perl") puts("string.quoted.other.qq-brace.perl") puts("string.quoted.other.qq-bracket.perl") puts("string.quoted.other.qq-ltgt.perl") puts("string.quoted.other.qq-paren.perl") puts("string.quoted.other.qq.perl") puts("string.quoted.single.perl") puts("string.regexp.compile.nested_braces.perl") puts("string.regexp.compile.nested_brackets.perl") puts("string.regexp.compile.nested_ltgt.perl") puts("string.regexp.compile.nested_parens.perl") puts("string.regexp.compile.perl") puts("string.regexp.compile.simple-delimiter.perl") puts("string.regexp.compile.single-quote.perl") puts("string.regexp.find-m-brace.perl") puts("string.regexp.find-m-bracket.perl") puts("string.regexp.find-m-ltgt.perl") puts("string.regexp.find-m-paren.perl") puts("string.regexp.find-m.perl") puts("string.regexp.find.extended.perl") puts("string.regexp.find.perl") puts("string.regexp.format.nested_braces.perl") puts("string.regexp.format.nested_brackets.perl") puts("string.regexp.format.nested_ltgt.perl") puts("string.regexp.format.nested_parens.perl") puts("string.regexp.format.simple_delimiter.perl") puts("string.regexp.format.single_quote.perl") puts("string.regexp.nested_braces.perl") puts("string.regexp.nested_brackets.perl") puts("string.regexp.nested_ltgt.perl") puts("string.regexp.nested_parens.perl") puts("string.regexp.replace.extended.simple_delimiter.perl") puts("string.regexp.replace.perl") puts("string.regexp.replaceXXX.format.simple_delimiter.perl") puts("string.regexp.replaceXXX.format.single_quote.perl") puts("string.regexp.replaceXXX.simple_delimiter.perl") puts("string.unquoted.heredoc.backtick.perl") puts("string.unquoted.heredoc.doublequote.perl") puts("string.unquoted.heredoc.perl") puts("string.unquoted.heredoc.quote.perl") puts("string.unquoted.program-block.perl") puts("support.function.perl") puts("variable.other.predefined.perl") puts("variable.other.predefined.program-name.perl") puts("variable.other.readwrite.global.perl") puts("variable.other.readwrite.global.special.perl") puts("variable.other.readwrite.list-separator.perl") puts("variable.other.regexp.last-paren-match.perl") puts("variable.other.regexp.match.perl") puts("variable.other.regexp.post-match.perl") puts("variable.other.regexp.pre-match.perl") puts("variable.other.subpattern.perl") puts("variable.parameter.function.perl") end def self.php() header = "PHP" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.php\n") puts("PHP") puts("comment.block.documentation.phpdoc.php") puts("comment.block.php") puts("comment.line.double-dash.sql") puts("comment.line.double-slash.php") puts("comment.line.number-sign.php") puts("comment.line.number-sign.sql") puts("constant.character.escape.php") puts("constant.character.escape.regex.php") puts("constant.language.php") puts("constant.numeric.hex.php") puts("constant.numeric.index.php") puts("constant.numeric.octal.php") puts("constant.numeric.php") puts("constant.other.class.php") puts("constant.other.php") puts("entity.name.function.php") puts("entity.name.type.class.php") puts("entity.name.type.interface.php") puts("entity.other.inherited-class.php") puts("invalid.illegal.invalid-simple-array-index.php") puts("invalid.illegal.missing-asterisk.phpdoc.php") puts("invalid.illegal.non-null-typehinted.php") puts("invalid.illegal.php") puts("invalid.illegal.wrong-access-type.phpdoc.php") puts("keyword.control.exception.php") puts("keyword.control.import.include.php") puts("keyword.control.php") puts("keyword.operator.arithmetic.php") puts("keyword.operator.assignment.php") puts("keyword.operator.bitwise.php") puts("keyword.operator.class.php") puts("keyword.operator.comparison.php") puts("keyword.operator.error-control.php") puts("keyword.operator.heredoc.php") puts("keyword.operator.increment-decrement.php") puts("keyword.operator.index-end.php") puts("keyword.operator.index-start.php") puts("keyword.operator.key.php") puts("keyword.operator.logical.php") puts("keyword.operator.php") puts("keyword.operator.regexp.php") puts("keyword.operator.string.php") puts("keyword.operator.type.php") puts("keyword.other.new.php") puts("keyword.other.phpdoc.php") puts("markup.underline.link.php") puts("meta.array.php") puts("meta.class.php") puts("meta.consecutive-tags.php") puts("meta.embedded.html") puts("meta.embedded.sql") puts("meta.embedded.xml") puts("meta.function-call.object.php") puts("meta.function-call.php") puts("meta.function-call.static.php") puts("meta.function.argument.array.php") puts("meta.function.argument.default.php") puts("meta.function.argument.no-default.php") puts("meta.function.argument.typehinted.php") puts("meta.function.php") puts("meta.include.php") puts("meta.interface.php") puts("meta.tag.inline.phpdoc.php") puts("punctuation.definition.arbitrary-repitition.php") puts("punctuation.definition.array.begin.php") puts("punctuation.definition.array.end.php") puts("punctuation.definition.character-class.php") puts("punctuation.definition.comment.php") puts("punctuation.definition.parameters.begin.php") puts("punctuation.definition.parameters.end.php") puts("punctuation.definition.string.begin.php") puts("punctuation.definition.string.end.php") puts("punctuation.definition.string.php") puts("punctuation.definition.variable.php") puts("punctuation.section.embedded.begin.php") puts("punctuation.section.embedded.end.php") puts("punctuation.terminator.expression.php") puts("punctuation.whitespace.embedded.leading.php") puts("punctuation.whitespace.embedded.trailing.php") puts("source.php") puts("source.php.embedded.block.html") puts("source.php.embedded.line.empty.html") puts("source.php.embedded.line.html") puts("storage.modifier.abstract.php") puts("storage.modifier.extends.php") puts("storage.modifier.implements.php") puts("storage.modifier.php") puts("storage.modifier.reference.php") puts("storage.type.class.php") puts("storage.type.function.php") puts("storage.type.interface.php") puts("storage.type.php") puts("string.interpolated.php") puts("string.quoted.double.php") puts("string.quoted.double.sql") puts("string.quoted.double.sql.php") puts("string.quoted.double.unclosed.sql") puts("string.quoted.other.backtick.sql") puts("string.quoted.other.backtick.unclosed.sql") puts("string.quoted.single.php") puts("string.quoted.single.sql") puts("string.quoted.single.sql.php") puts("string.quoted.single.unclosed.sql") puts("string.regexp.arbitrary-repitition.php") puts("string.regexp.character-class.php") puts("string.regexp.double-quoted.php") puts("string.regexp.single-quoted.php") puts("string.unquoted.heredoc.php") puts("string.unquoted.index.php") puts("support.class.builtin.php") puts("support.class.implements.php") puts("support.class.php") puts("support.constant.core.php") puts("support.constant.std.php") puts("support.function.alias.php") puts("support.function.array.php") puts("support.function.assert.php") puts("support.function.attr.php") puts("support.function.base64.php") puts("support.function.basic_functions.php") puts("support.function.bcmath.php") puts("support.function.birdstep.php") puts("support.function.browscap.php") puts("support.function.builtin_functions.php") puts("support.function.bz2.php") puts("support.function.cal_unix.php") puts("support.function.calendar.php") puts("support.function.characterdata.php") puts("support.function.com_com.php") puts("support.function.com_variant.php") puts("support.function.construct.php") puts("support.function.crc32.php") puts("support.function.crypt.php") puts("support.function.ctype.php") puts("support.function.cyr_convert.php") puts("support.function.datetime.php") puts("support.function.dba.php") puts("support.function.dbase.php") puts("support.function.dir.php") puts("support.function.dl.php") puts("support.function.dns.php") puts("support.function.document.php") puts("support.function.domconfiguration.php") puts("support.function.domerrorhandler.php") puts("support.function.domimplementation.php") puts("support.function.domimplementationlist.php") puts("support.function.domimplementationsource.php") puts("support.function.domstringlist.php") puts("support.function.easter.php") puts("support.function.element.php") puts("support.function.exec.php") puts("support.function.exif.php") puts("support.function.fdf.php") puts("support.function.file.php") puts("support.function.filestat.php") puts("support.function.filter.php") puts("support.function.formatted_puts.php") puts("support.function.fsock.php") puts("support.function.ftok.php") puts("support.function.gd.php") puts("support.function.gettext.php") puts("support.function.gmp.php") puts("support.function.hash.php") puts("support.function.hash_md.php") puts("support.function.hash_sha.php") puts("support.function.head.php") puts("support.function.html.php") puts("support.function.http.php") puts("support.function.ibase_blobs.php") puts("support.function.ibase_events.php") puts("support.function.ibase_query.php") puts("support.function.ibase_service.php") puts("support.function.iconv.php") puts("support.function.image.php") puts("support.function.info.php") puts("support.function.interbase.php") puts("support.function.interface.php") puts("support.function.iptc.php") puts("support.function.json.php") puts("support.function.lcg.php") puts("support.function.ldap.php") puts("support.function.levenshtein.php") puts("support.function.libxml.php") puts("support.function.link.php") puts("support.function.magic.php") puts("support.function.mail.php") puts("support.function.main.php") puts("support.function.math.php") puts("support.function.mbstring.php") puts("support.function.mcrypt.php") puts("support.function.md5.php") puts("support.function.metaphone.php") puts("support.function.mhash.php") puts("support.function.microtime.php") puts("support.function.mime_magic.php") puts("support.function.ming.php") puts("support.function.multi.php") puts("support.function.mysqli_api.php") puts("support.function.mysqli_embedded.php") puts("support.function.mysqli_nonapi.php") puts("support.function.mysqli_repl.php") puts("support.function.mysqli_report.php") puts("support.function.namednodemap.php") puts("support.function.namelist.php") puts("support.function.ncurses_functions.php") puts("support.function.node.php") puts("support.function.nodelist.php") puts("support.function.nsapi.php") puts("support.function.oci8_interface.php") puts("support.function.openssl.php") puts("support.function.output.php") puts("support.function.pack.php") puts("support.function.pageinfo.php") puts("support.function.pcntl.php") puts("support.function.pdo.php") puts("support.function.pdo_dbh.php") puts("support.function.pgsql.php") puts("support.function.php_apache.php") puts("support.function.php_date.php") puts("support.function.php_dom.php") puts("support.function.php_fbsql.php") puts("support.function.php_ftp.php") puts("support.function.php_functions.php") puts("support.function.php_imap.php") puts("support.function.php_mbregex.php") puts("support.function.php_milter.php") puts("support.function.php_msql.php") puts("support.function.php_mssql.php") puts("support.function.php_mysql.php") puts("support.function.php_odbc.php") puts("support.function.php_pcre.php") puts("support.function.php_spl.php") puts("support.function.php_sybase_ct.php") puts("support.function.php_sybase_db.php") puts("support.function.php_xmlwriter.php") puts("support.function.php_zip.php") puts("support.function.posix.php") puts("support.function.proc_open.php") puts("support.function.pspell.php") puts("support.function.quot_puts.php") puts("support.function.rand.php") puts("support.function.readline.php") puts("support.function.recode.php") puts("support.function.reg.php") puts("support.function.session.php") puts("support.function.sha1.php") puts("support.function.shmop.php") puts("support.function.simplexml.php") puts("support.function.skeleton.php") puts("support.function.snmp.php") puts("support.function.sockets.php") puts("support.function.soundex.php") puts("support.function.spl_iterators.php") puts("support.function.sqlite.php") puts("support.function.streamsfuncs.php") puts("support.function.string.php") puts("support.function.string_extend.php") puts("support.function.syslog.php") puts("support.function.sysvmsg.php") puts("support.function.sysvsem.php") puts("support.function.sysvshm.php") puts("support.function.text.php") puts("support.function.tidy.php") puts("support.function.tokenizer.php") puts("support.function.type.php") puts("support.function.uniqid.php") puts("support.function.url.php") puts("support.function.user_filters.php") puts("support.function.userdatahandler.php") puts("support.function.userspace.php") puts("support.function.uuencode.php") puts("support.function.var.php") puts("support.function.versioning.php") puts("support.function.wddx.php") puts("support.function.xml.php") puts("support.function.xmlrpc-epi-php.php") puts("support.function.xpath.php") puts("support.function.xsltprocessor.php") puts("support.function.zlib.php") puts("variable.other.class.php") puts("variable.other.global.php") puts("variable.other.global.safer.php") puts("variable.other.index.php") puts("variable.other.php") puts("variable.other.property.php") end def self.plain_text() header = "PLAIN_TEXT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.plain\n") puts("markup.underline.link") puts("meta.bullet-point.light") puts("meta.bullet-point.star") puts("meta.bullet-point.strong") puts("punctuation.definition.item.text") end def self.pmwiki() header = "PMWIKI" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.pmwiki\n") puts("PmWiki") puts("entity.name.type.term.pmwiki") puts("keyword.control.bullet-list.pmwiki") puts("keyword.control.continue-line.pmwiki") puts("keyword.control.heading.pmwiki") puts("keyword.control.indented-paragraph.pmwiki") puts("keyword.control.line-break.pmwiki") puts("keyword.control.link.pmwiki") puts("keyword.control.number-list.pmwiki") puts("keyword.control.term-definition.pmwiki") puts("markup.bold.strong.pmwiki") puts("markup.heading.pmwiki") puts("markup.italic.emphasis.pmwiki") puts("markup.list.numbered.pmwiki") puts("markup.list.unnumbered.pmwiki") puts("markup.raw.monospace.pmwiki") puts("markup.raw.verbatim-text.pmwiki") puts("markup.underline.link.pmwiki") puts("markup.underline.pmwiki") puts("meta.indented-paragraph.pmwiki") puts("meta.link.inline.pmwiki") puts("meta.normal-word.pmwiki") puts("meta.separator.pmwiki") puts("meta.style.larger.pmwiki") puts("meta.style.smaller.pmwiki") puts("meta.term-definition.pmwiki") puts("string.other.link.title.pmwiki") puts("string.unquoted.definition.pmwiki") end def self.postscript() header = "POSTSCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.postscript\n") puts("Postscript") puts("comment.line.percentage.postscript") puts("constant.character.escape.postscript") puts("constant.numeric.octal.postscript") puts("constant.numeric.postscript") puts("constant.numeric.radix.postscript") puts("invalid.illegal.base85.char.postscript") puts("invalid.illegal.hexadecimal.char.postscript") puts("invalid.illegal.unknown-escape.postscript.ignored") puts("keyword.operator.postscript") puts("keyword.other.DSC.postscript") puts("meta.Document-Structuring-Comment.postscript") puts("meta.array.postscript") puts("meta.dictionary.postscript") puts("meta.procedure.postscript") puts("punctuation.definition.array.postscript") puts("punctuation.definition.comment.postscript") puts("punctuation.definition.dictionary.postscript") puts("punctuation.definition.procedure.postscript") puts("punctuation.definition.string.begin.postscript") puts("punctuation.definition.string.end.postscript") puts("string.other.base85.postscript") puts("string.other.hexadecimal.postscript") puts("string.other.postscript") puts("string.unquoted.DSC.postscript") puts("variable.other.immediately-evaluated.postscript") puts("variable.other.literal.postscript") puts("variable.other.name.postscript") end def self.processing() header = "PROCESSING" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.processing\n") puts("Processing") puts("comment.block.documentation.processing") puts("comment.block.empty.processing") puts("comment.block.processing") puts("comment.line.double-slash.processing") puts("constant.character.escape.processing") puts("constant.language.processing") puts("constant.numeric.processing") puts("constant.other.processing") puts("entity.name.type.class.processing") puts("entity.other.inherited-class.processing") puts("keyword.control.catch-exception.processing") puts("keyword.control.processing") puts("keyword.operator.processing") puts("keyword.other.class-fns.processing") puts("keyword.other.documentation.params.processing") puts("keyword.other.documentation.value.processing") puts("keyword.other.embedded-docs.params.processing") puts("meta.class.processing") puts("punctuation.definition.comment.processing") puts("punctuation.definition.string.begin.processing") puts("punctuation.definition.string.end.processing") puts("storage.modifier.access-control.processing") puts("storage.modifier.extends.processing") puts("storage.modifier.processing") puts("storage.type.class.processing") puts("storage.type.processing") puts("string.quoted.double.processing") puts("string.quoted.single.processing") puts("support.class.processing") puts("support.constant.processing") puts("support.function.processing") puts("variable.language.processing") end def self.prolog() header = "PROLOG" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.prolog\n") puts("Prolog") puts("comment.line.percent.prolog") puts("constant.character.escape.prolog") puts("constant.character.escape.quote.prolog") puts("constant.other.symbol.prolog") puts("keyword.operator.definition.prolog") puts("punctuation.definition.comment.prolog") puts("punctuation.definition.string.begin.prolog") puts("punctuation.definition.string.end.prolog") puts("string.quoted.single.prolog") puts("variable.other.prolog") end def self.property_list() header = "PROPERTY_LIST" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: []\n") puts("comment.block.plist") puts("comment.block.xml.plist") puts("comment.line.double-slash.plist") puts("constant.character.entity.xml.plist") puts("constant.character.escape.plist") puts("constant.numeric.base64.plist") puts("constant.numeric.base64.xml.plist") puts("constant.numeric.integer.xml.plist") puts("constant.numeric.plist") puts("constant.numeric.real.xml.plist") puts("constant.other.date.xml.plist") puts("constant.other.key.plist") puts("entity.name.tag.localname.xml.plist") puts("entity.name.tag.xml.plist") puts("entity.other.attribute-name.version.xml.plist") puts("invalid.illegal.bad-ampersand.xml.plist") puts("invalid.illegal.character-data-not-allowed-here.xml.plist") puts("invalid.illegal.character-not-allowed-here.plist") puts("invalid.illegal.double-dash-not-allowed.xml.plist") puts("invalid.illegal.invalid-character.plist") puts("invalid.illegal.invalid-character.xml.plist") puts("invalid.illegal.not-a-number.xml.plist") puts("invalid.illegal.tag-not-recognized.xml.plist") puts("meta.binary-data.plist") puts("meta.group.array.plist") puts("meta.group.dictionary.plist") puts("meta.rule.named.plist") puts("meta.scope.between-tag-pair.xml.plist") puts("meta.tag.array.xml.plist") puts("meta.tag.boolean.xml.plist") puts("meta.tag.data.xml.plist") puts("meta.tag.date.xml.plist") puts("meta.tag.dict.xml.plist") puts("meta.tag.integer.xml.plist") puts("meta.tag.key.xml.plist") puts("meta.tag.plist.xml.plist") puts("meta.tag.real.xml.plist") puts("meta.tag.string.xml.plist") puts("punctuation.definition.comment.plist") puts("punctuation.definition.comment.xml.plist") puts("punctuation.definition.constant.xml") puts("punctuation.definition.data.plist") puts("punctuation.definition.string.begin.plist") puts("punctuation.definition.string.begin.xml.plist") puts("punctuation.definition.string.end.plist") puts("punctuation.definition.string.end.xml.plist") puts("punctuation.definition.string.xml") puts("punctuation.definition.tag.xml.plist") puts("punctuation.section.array.plist") puts("punctuation.section.dictionary.plist") puts("punctuation.separator.array.plist") puts("punctuation.separator.key-value.plist") puts("punctuation.separator.key-value.xml.plist") puts("punctuation.terminator.array.plist") puts("punctuation.terminator.data.plist") puts("punctuation.terminator.dictionary.plist") puts("punctuation.terminator.rule.plist") puts("source.plist") puts("source.plist.binary") puts("string.quoted.double.plist") puts("string.quoted.double.xml.plist") puts("string.quoted.single.plist") puts("string.quoted.single.xml.plist") puts("string.unquoted.cdata.xml") puts("string.unquoted.plist") puts("text.xml.plist") end def self.python() header = "PYTHON" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.python\n") puts("Python") puts("comment.block.python") puts("comment.line.number-sign.python") puts("constant.character.escape.backlash.python") puts("constant.character.escape.backspace.python") puts("constant.character.escape.bell.python") puts("constant.character.escape.double-quote.python") puts("constant.character.escape.formfeed.python") puts("constant.character.escape.hex.python") puts("constant.character.escape.linefeed.python") puts("constant.character.escape.newline.python") puts("constant.character.escape.octal.python") puts("constant.character.escape.return.python") puts("constant.character.escape.single-quote.python") puts("constant.character.escape.tab.python") puts("constant.character.escape.unicode.16-bit-hex.python") puts("constant.character.escape.unicode.32-bit-hex.python") puts("constant.character.escape.unicode.name.python") puts("constant.character.escape.vertical-tab.python") puts("constant.language.python") puts("constant.numeric.complex.python") puts("constant.numeric.float.python") puts("constant.numeric.integer.decimal.python") puts("constant.numeric.integer.hexadecimal.python") puts("constant.numeric.integer.long.decimal.python") puts("constant.numeric.integer.long.hexadecimal.python") puts("constant.numeric.integer.long.octal.python") puts("constant.numeric.integer.octal.python") puts("constant.other.placeholder.python") puts("invalid.illegal.missing-inheritance.python") puts("invalid.illegal.missing-parameters.python") puts("invalid.illegal.missing-section-begin.python") puts("invalid.illegal.name.python") puts("invalid.illegal.unclosed-string.python") puts("invalid.illegal.unexpected-text.python") puts("keyword.control.flow.python") puts("keyword.control.import.from.python") puts("keyword.control.import.python") puts("keyword.operator.arithmetic.python") puts("keyword.operator.assignment.augmented.python") puts("keyword.operator.assignment.python") puts("keyword.operator.comparison.python") puts("keyword.operator.logical.python") puts("keyword.other.python") puts("meta.class.old-style.python") puts("meta.class.python") puts("meta.empty-dictionary.python") puts("meta.empty-list.python") puts("meta.empty-string.double.python") puts("meta.empty-string.single.python") puts("meta.empty-tuple.python") puts("meta.function-call.python") puts("meta.function.decorator.python") puts("meta.function.python") puts("meta.item-access.python") puts("meta.structure.dictionary.python") puts("meta.structure.list.python") puts("meta.structure.tuple.python") puts("punctuation.definition.arguments.begin.python") puts("punctuation.definition.arguments.end.python") puts("punctuation.definition.comment.python") puts("punctuation.definition.decorator.python") puts("punctuation.definition.dictionary.begin.python") puts("punctuation.definition.dictionary.end.python") puts("punctuation.definition.inheritance.begin.python") puts("punctuation.definition.inheritance.end.python") puts("punctuation.definition.list.begin.python") puts("punctuation.definition.list.end.python") puts("punctuation.definition.parameters.begin.python") puts("punctuation.definition.parameters.end.python") puts("punctuation.definition.string.begin.python") puts("punctuation.definition.string.end.python") puts("punctuation.definition.tuple.begin.python") puts("punctuation.definition.tuple.end.python") puts("punctuation.section.class.begin.python") puts("punctuation.section.function.begin.python") puts("punctuation.separator.continuation.line.python") puts("punctuation.separator.dictionary.python") puts("punctuation.separator.inheritance.python") puts("punctuation.separator.list.python") puts("punctuation.separator.parameters.python") puts("punctuation.separator.valuepair.dictionary.python") puts("storage.modifier.global.python") puts("storage.type.class.python") puts("storage.type.function.python") puts("storage.type.string.python") puts("string.quoted.double.block.python") puts("string.quoted.double.block.raw.python") puts("string.quoted.double.block.unicode-raw.python") puts("string.quoted.double.block.unicode.python") puts("string.quoted.double.single-line.python") puts("string.quoted.double.single-line.raw.python") puts("string.quoted.double.single-line.unicode-raw.python") puts("string.quoted.double.single-line.unicode.python") puts("string.quoted.single.block.python") puts("string.quoted.single.block.raw.python") puts("string.quoted.single.block.unicode-raw.python") puts("string.quoted.single.block.unicode.python") puts("string.quoted.single.single-line.python") puts("string.quoted.single.single-line.raw.python") puts("string.quoted.single.single-line.unicode-raw.python") puts("string.quoted.single.single-line.unicode.python") puts("support.function.builtin.python") puts("support.function.magic.python") puts("support.type.exception.python") puts("support.type.python") puts("support.variable.magic.python") puts("variable.language.python") puts("variable.parameter.function.python") end def self.python_django() header = "PYTHON_DJANGO" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.python.django\n") puts("support.function.django.model") puts("support.function.django.view") puts("support.other.django.module") puts("support.type.django.model") puts("variable.other.django.settings") end def self.qmake_project() header = "QMAKE_PROJECT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.qmake\n") puts("comment.line.number-sign.qmake") puts("constant.other.filename.qmake") puts("entity.name.function.qmake") puts("keyword.other.qmake") puts("keyword.other.scope.qmake") puts("markup.other.assignment.continuation.qmake") puts("markup.other.assignment.qmake") puts("markup.other.config.qmake") puts("markup.other.qt.qmake") puts("markup.other.template.qmake") puts("punctuation.definition.comment.qmake") puts("punctuation.definition.parameters.qmake") puts("punctuation.definition.string.begin.qmake") puts("punctuation.definition.string.end.qmake") puts("punctuation.definition.variable.qmake") puts("punctuation.separator.key-value.qmake") puts("string.interpolated.qmake") puts("string.quoted.double.qmake") puts("string.regexp.qmake") puts("variable.language.qmake") puts("variable.other.qmake") end def self.qt_cpp() header = "QT_C++" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.c++.qt\n") puts("storage.modifier.qt") puts("storage.type.qt") puts("support.class.qt") puts("support.function.qt") puts("support.other.macro.qt") end def self.quake3_config() header = "QUAKE3_CONFIG" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.quake-config\n") puts("comment.line.double-slash.quake3") puts("constant.character.escape.quake3") puts("constant.numeric.quake3") puts("keyword.other.quake3") puts("keyword.other.string-embedded.quake3") puts("punctuation.definition.comment.quake3") puts("punctuation.definition.string.begin.quake3") puts("punctuation.definition.string.end.quake3") puts("string.quoted.double.quake3") end def self.r() header = "R" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.r\n") puts("R") puts("comment.line.number-sign.r") puts("constant.character.escape.r") puts("constant.language.r") puts("constant.numeric.r") puts("entity.name.function.r") puts("keyword.control.r") puts("keyword.operator.arithmetic.r") puts("keyword.operator.assignment.r") puts("keyword.operator.comparison.r") puts("keyword.operator.logical.r") puts("keyword.other.r") puts("meta.function.r") puts("punctuation.definition.comment.r") puts("punctuation.definition.string.begin.r") puts("punctuation.definition.string.end.r") puts("storage.type.r") puts("string.quoted.double.r") puts("string.quoted.single.r") puts("support.constant.misc.r") puts("variable.other.r") puts("variable.parameter.r") end def self.r_console() header = "R_CONSOLE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.r-console\n") puts("punctuation.section.embedded.r-console") puts("source.r.embedded.r-console") end def self.ragel() header = "RAGEL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.c.ragel\n") puts("Ragel") puts("comment.line.ragel") puts("constant.character.escape.ragel") puts("constant.other.placeholder.ragel") puts("entity.name.type.action-reference.ragel") puts("entity.name.type.action.ragel") puts("entity.name.type.machine-definition.ragel") puts("entity.name.type.machine-instantiation.ragel") puts("invalid.illegal.placeholder.ragel") puts("invalid.illegal.unknown-escape.ragel") puts("keyword.operator.contatenation.ragel") puts("keyword.other.action.ragel") puts("keyword.other.ragel") puts("meta.function.action.ragel") puts("meta.machine-definition.ragel") puts("meta.machine-instantiation.ragel") puts("meta.ragel.longest-match") puts("punctuation.definition.comment.ragel") puts("punctuation.definition.entity.ragel") puts("punctuation.definition.string.begin.ragel") puts("punctuation.definition.string.end.ragel") puts("punctuation.section.embedded.c") puts("punctuation.section.embedded.ragel") puts("punctuation.section.function.ragel") puts("punctuation.separator.key-value.ragel") puts("punctuation.terminator.machine-definition.ragel") puts("punctuation.terminator.machine-instantiation.ragel") puts("source.c") puts("source.ragel") puts("string.quoted.double.ragel") puts("string.quoted.single.ragel") puts("string.regexp.character-class.ragel") puts("string.regexp.classic.ragel") puts("support.function.ragel") end def self.rd_r_documentation() header = "RD_R_DOCUMENTATION" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tex.latex.rd\n") puts("entity.name.tag.author.rd") puts("keyword.other.author.rd") puts("keyword.other.examples.rd") puts("keyword.other.section.rd") puts("keyword.other.usage.rd") puts("markup.underline.link.rd") puts("meta.author.rd") puts("meta.examples.rd") puts("meta.section.rd") puts("meta.usage.rd") puts("punctuation.definition.arguments.begin.rd") puts("punctuation.definition.arguments.end.rd") puts("punctuation.definition.function.rd") puts("punctuation.definition.link.rd") end def self.regexp() header = "REGEXP" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.regexp\n") puts("comment.line.number-sign.regexp") puts("constant.character.escape.regexp") puts("constant.other.assertion.regexp") puts("constant.other.range.regexp") puts("keyword.control.anchors.regexp") puts("keyword.control.character-class.regexp") puts("keyword.control.set.regexp") puts("keyword.operator.intersection.regexp") puts("keyword.operator.quantifier.regexp") puts("keyword.operator.regexp") puts("keyword.other.backref-and-recursion.regexp") puts("string.regexp.group") end def self.regular_expressions_oniguruma() header = "REGULAR_EXPRESSIONS_ONIGURUMA" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.regexp.oniguruma\n") puts("comment.block.regexp") puts("comment.line.number-sign.regexp") puts("constant.character.character-class.regexp") puts("constant.character.escape.backslash.regexp") puts("constant.character.numeric.regexp") puts("constant.other.character-class.posix.regexp") puts("constant.other.character-class.range.regexp") puts("constant.other.character-class.set.regexp") puts("entity.name.section.back-reference") puts("entity.name.section.group.regexp") puts("keyword.control.anchor.regexp") puts("keyword.operator.intersection.regexp") puts("keyword.operator.negation.regexp") puts("keyword.operator.or.regexp") puts("keyword.operator.quantifier.regexp") puts("keyword.other.back-reference.named.regexp") puts("keyword.other.back-reference.regexp") puts("keyword.other.group-options.regexp") puts("keyword.other.option-toggle.regexp") puts("meta.assertion.look-ahead.regexp") puts("meta.assertion.look-behind.regexp") puts("meta.assertion.negative-look-ahead.regexp") puts("meta.assertion.negative-look-behind.regexp") puts("meta.group.assertion.regexp") puts("meta.group.regexp") puts("punctuation.definition.character-class.regexp") puts("punctuation.definition.group.regexp") end def self.regular_expressions_python() header = "REGULAR_EXPRESSIONS_PYTHON" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.regexp.python\n") puts("comment.block.regexp") puts("comment.line.number-sign.regexp") puts("constant.character.character-class.regexp") puts("constant.character.escape.backslash.regexp") puts("constant.other.character-class.range.regexp") puts("constant.other.character-class.set.regexp") puts("entity.name.section.back-reference.regexp") puts("entity.name.section.group.regexp") puts("keyword.control.anchor.regexp") puts("keyword.operator.negation.regexp") puts("keyword.operator.or.regexp") puts("keyword.operator.quantifier.regexp") puts("keyword.other.back-reference.named.regexp") puts("keyword.other.back-reference.regexp") puts("keyword.other.option-toggle.regexp") puts("meta.assertion.look-ahead.regexp") puts("meta.assertion.look-behind.regexp") puts("meta.assertion.negative-look-ahead.regexp") puts("meta.assertion.negative-look-behind.regexp") puts("meta.group.assertion.conditional.regexp") puts("meta.group.assertion.regexp") puts("meta.group.regexp") puts("punctuation.definition.character-class.regexp") puts("punctuation.definition.group.assertion.conditional.regexp") puts("punctuation.definition.group.assertion.regexp") puts("punctuation.definition.group.capture.regexp") puts("punctuation.definition.group.no-capture.regexp") puts("punctuation.definition.group.regexp") end def self.release_notes() header = "RELEASE_NOTES" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.plain.release-notes\n") puts("constant.numeric.ticket.release-notes") puts("constant.other.bundle-name.release-notes") puts("constant.other.committer-name.release-notes") puts("keyword.other.release-notes") puts("markup.underline.link") puts("meta.separator.release-notes") puts("meta.ticket.release-notes") puts("meta.toc-list.release-notes") puts("meta.word.camel-case") puts("punctuation.definition.keyword.release-notes") puts("punctuation.definition.separator.release-notes") puts("storage.type.ticket.release-notes") end def self.remind() header = "REMIND" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.remind\n") puts("Remind") puts("comment.line.number-sign.remind") puts("comment.line.semicolon.remind") puts("constant.character.escape.remind") puts("constant.numeric.integer.remind") puts("constant.other.date.remind") puts("constant.other.placeholder.remind") puts("constant.other.time.remind") puts("constant.other.time.trigger.remind") puts("entity.name.function.fsetline.remind") puts("entity.name.function.remind") puts("keyword.control.command.commandline.remind") puts("keyword.control.command.trigger.remind") puts("keyword.control.else-or-endif.remind") puts("keyword.control.endline.commandline.remind") puts("keyword.control.expiry.commandline.remind") puts("keyword.control.fset.fsetline.remind") puts("keyword.control.if.remind") puts("keyword.control.iftrig.remind") puts("keyword.control.include.commandline.remind") puts("keyword.control.message.commandline.remind") puts("keyword.control.move-reminder.trigger.remind") puts("keyword.control.satisfy.commandline.remind") puts("keyword.control.set.setline.remind") puts("keyword.control.set.unsetline.remind") puts("keyword.control.single.command.remind") puts("keyword.operator.remind") puts("keyword.other.attime.trigger.remind") puts("keyword.other.duration.trigger.remind") puts("meta.attime.trigger.remind") puts("meta.commandline.remind") puts("meta.duration.trigger.remind") puts("meta.fsetline.remind") puts("meta.function.builtin.remind") puts("meta.function.user.remind") puts("meta.if.remind") puts("meta.iftrig.remind") puts("meta.includeline.remind") puts("meta.satisfy.remind") puts("meta.setline.remind") puts("meta.single.command.remind") puts("meta.unsetline.remind") puts("punctuation.definition.arguments.remind") puts("punctuation.definition.comment.remind") puts("punctuation.definition.constant.remind") puts("punctuation.definition.string.begin.remind") puts("punctuation.definition.string.end.remind") puts("punctuation.definition.variable.remind") puts("punctuation.section.scope.remind") puts("string.quoted.double.remind") puts("support.constant.day.dateitem.remind") puts("support.constant.month.dateitem.remind") puts("support.constant.weekday.dateitem.remind") puts("support.constant.year.dateitem.remind") puts("support.function.builtin.remind") puts("variable.language.system.remind") puts("variable.other.comp.trigger.remind") puts("variable.other.component.back.trigger.remind") puts("variable.other.component.delta.trigger.remind") puts("variable.other.component.repeat.trigger.remind") puts("variable.other.component.trigger.remind") puts("variable.other.setline.remind") puts("variable.other.unsetline.remind") puts("variable.parameter.fsetline.remind") puts("variable.parameter.user.remind") end def self.restructuredtext() header = "RESTRUCTUREDTEXT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.restructuredtext\n") puts("comment.line.double-dot.restructuredtext") puts("constant.other.citation.link.restructuredtext") puts("constant.other.footnote.link") puts("constant.other.footnote.link.restructuredtext") puts("entity.name.tag.restructuredtext") puts("markup.bold.restructuredtext") puts("markup.heading.restructuredtext") puts("markup.italic.restructuredtext") puts("markup.other.command.restructuredtext") puts("markup.other.table.restructuredtext") puts("markup.raw.restructuredtext") puts("markup.underline.link.restructuredtext") puts("markup.underline.substitution.restructuredtext") puts("meta.directive.restructuredtext") puts("meta.link.citation.def.restructuredtext") puts("meta.link.citation.restructuredtext") puts("meta.link.footnote.auto.restructuredtext") puts("meta.link.footnote.def.restructuredtext") puts("meta.link.footnote.numeric.restructuredtext") puts("meta.link.footnote.symbol.auto.restructuredtext") puts("meta.link.inline.restructuredtext") puts("meta.link.reference") puts("meta.link.reference.def.restructuredtext") puts("meta.other.directive.restructuredtext") puts("meta.raw.block.restructuredtext") puts("meta.startraw.restructuredtext") puts("punctuation.definition.comment.restructuredtext") puts("punctuation.definition.constant.restructuredtext") puts("punctuation.definition.directive.restructuredtext") puts("punctuation.definition.field.restructuredtext") puts("punctuation.definition.heading.restructuredtext") puts("punctuation.definition.intepreted.restructuredtext") puts("punctuation.definition.italic.restructuredtext") puts("punctuation.definition.link.restructuredtext") puts("punctuation.definition.location.restructuredtext") puts("punctuation.definition.raw.restructuredtext") puts("punctuation.definition.string.restructuredtext") puts("punctuation.definition.substitution.restructuredtext") puts("punctuation.definition.table.restructuredtext") puts("punctuation.separator.key-value.restructuredtext") puts("reStructuredText") puts("string.other.citation.restructuredtext") puts("string.other.footnote.restructuredtext") puts("string.other.link.title.restructuredtext") end def self.rez() header = "REZ" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.rez\n") puts("Rez") puts("comment.block.rez") puts("comment.line.double-slash.rez") puts("constant.character.escape.rez") puts("constant.numeric.rez") puts("keyword.control.import.rez") puts("keyword.control.rez") puts("keyword.other.attributes.rez") puts("meta.preprocessor.rez") puts("punctuation.definition.comment.rez") puts("punctuation.definition.function.rez") puts("punctuation.definition.preprocessor.rez") puts("punctuation.definition.string.begin.rez") puts("punctuation.definition.string.end.rez") puts("storage.type.rez") puts("string.quoted.double.rez") puts("string.quoted.other.hex.rez") puts("string.quoted.single.rez") puts("support.function.built-in.rez") end def self.ruby() header = "RUBY" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ruby\n") puts("Ruby") puts("comment.block.documentation.ruby") puts("comment.line.number-sign.ruby") puts("constant.character.escape.ruby") puts("constant.language.ruby") puts("constant.numeric.ruby") puts("constant.other.symbol.double-quoted.ruby") puts("constant.other.symbol.ruby") puts("constant.other.symbol.single-quoted.ruby") puts("entity.name.function.ruby") puts("entity.name.type.class.ruby") puts("entity.name.type.module.ruby") puts("entity.other.inherited-class.module.first.ruby") puts("entity.other.inherited-class.module.second.ruby") puts("entity.other.inherited-class.module.third.ruby") puts("entity.other.inherited-class.ruby") puts("invalid.deprecated.ruby") puts("keyword.control.class.ruby") puts("keyword.control.def.ruby") puts("keyword.control.module.ruby") puts("keyword.control.pseudo-method.ruby") puts("keyword.control.ruby") puts("keyword.control.ruby.start-block") puts("keyword.operator.arithmetic.ruby") puts("keyword.operator.assignment.augmented.ruby") puts("keyword.operator.assignment.ruby") puts("keyword.operator.comparison.ruby") puts("keyword.operator.logical.ruby") puts("keyword.operator.other.ruby") puts("keyword.operator.unary.ruby") puts("keyword.other.special-method.ruby") puts("meta.class.ruby") puts("meta.environment-variable.ruby") puts("meta.function-call.method.with-arguments.ruby") puts("meta.function-call.method.without-arguments.ruby") puts("meta.function-call.ruby") puts("meta.function.method.with-arguments.ruby") puts("meta.function.method.without-arguments.ruby") puts("meta.module.ruby") puts("meta.require.ruby") puts("meta.syntax.ruby.start-block") puts("punctuation.definition.arbitrary-repitition.ruby") puts("punctuation.definition.character-class.ruby") puts("punctuation.definition.comment.ruby") puts("punctuation.definition.constant.ruby") puts("punctuation.definition.group.ruby") puts("punctuation.definition.parameters.ruby") puts("punctuation.definition.string.begin.ruby") puts("punctuation.definition.string.end.ruby") puts("punctuation.definition.string.ruby") puts("punctuation.definition.variable.ruby") puts("punctuation.section.array.ruby") puts("punctuation.section.embedded.ruby") puts("punctuation.section.function.ruby") puts("punctuation.section.scope.ruby") puts("punctuation.separator.inheritance.ruby") puts("punctuation.separator.key-value") puts("punctuation.separator.method.ruby") puts("punctuation.separator.object.ruby") puts("punctuation.separator.other.ruby") puts("punctuation.separator.statement.ruby") puts("punctuation.separator.variable.ruby") puts("source.ruby.embedded.source") puts("source.ruby.embedded.source.empty") puts("string.interpolated.ruby") puts("string.quoted.double.ruby") puts("string.quoted.double.ruby.mod") puts("string.quoted.other.literal.lower.ruby") puts("string.quoted.other.literal.other.ruby") puts("string.quoted.other.literal.upper.ruby") puts("string.quoted.single.ruby") puts("string.regexp.arbitrary-repitition.ruby") puts("string.regexp.character-class.ruby") puts("string.regexp.classic.ruby") puts("string.regexp.group.ruby") puts("string.regexp.mod-r.ruby") puts("string.unquoted.embedded.c.ruby") puts("string.unquoted.embedded.cplusplus.ruby") puts("string.unquoted.embedded.css.ruby") puts("string.unquoted.embedded.html.ruby") puts("string.unquoted.embedded.js.ruby") puts("string.unquoted.embedded.ruby.ruby") puts("string.unquoted.embedded.shell.ruby") puts("string.unquoted.heredoc.ruby") puts("string.unquoted.program-block.ruby") puts("support.class.ruby") puts("text.html.embedded.ruby") puts("variable.language.ruby") puts("variable.other.block.ruby") puts("variable.other.constant.ruby") puts("variable.other.object.ruby") puts("variable.other.readwrite.class.ruby") puts("variable.other.readwrite.global.pre-defined.ruby") puts("variable.other.readwrite.global.ruby") puts("variable.other.readwrite.instance.ruby") end def self.ruby_experimental() header = "RUBY_EXPERIMENTAL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ruby.experimental\n") puts("entity.name.function.ruby") puts("meta.even-tab.group10.spaces") puts("meta.even-tab.group10.tab") puts("meta.even-tab.group2.spaces") puts("meta.even-tab.group2.tab") puts("meta.even-tab.group4.spaces") puts("meta.even-tab.group4.tab") puts("meta.even-tab.group6.spaces") puts("meta.even-tab.group6.tab") puts("meta.even-tab.group8.spaces") puts("meta.even-tab.group8.tab") puts("meta.function-call.method.with-arguments.ruby") puts("meta.function-call.method.without-arguments.ruby") puts("meta.function-call.ruby") puts("meta.leading-tabs") puts("meta.odd-tab.group1.spaces") puts("meta.odd-tab.group1.tab") puts("meta.odd-tab.group11.spaces") puts("meta.odd-tab.group11.tab") puts("meta.odd-tab.group3.spaces") puts("meta.odd-tab.group3.tab") puts("meta.odd-tab.group5.spaces") puts("meta.odd-tab.group5.tab") puts("meta.odd-tab.group7.spaces") puts("meta.odd-tab.group7.tab") puts("meta.odd-tab.group9.spaces") puts("meta.odd-tab.group9.tab") puts("punctuation.section.scope.ruby.experimental") puts("punctuation.separator.method.ruby") puts("support.function.core.ruby") puts("variable.other.ruby") end def self.ruby_on_rails() header = "RUBY_ON_RAILS" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ruby.rails\n") puts("meta.rails.controller") puts("meta.rails.functional_test") puts("meta.rails.helper") puts("meta.rails.mailer") puts("meta.rails.model") puts("meta.rails.unit_test") puts("support.function.actionpack.rails") puts("support.function.activerecord.rails") puts("support.function.activesupport.rails") end def self.s5() header = "S5" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.s5\n") puts("keyword.other.s5") puts("meta.header.s5") puts("meta.separator.handout.s5") puts("meta.separator.notes.s5") puts("meta.separator.slide.s5") puts("punctuation.separator.key-value.s5") puts("string.unquoted.s5") end def self.scheme() header = "SCHEME" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.scheme\n") puts("Scheme") puts("comment.line.semicolon.scheme") puts("constant.character.escape.scheme") puts("constant.character.hex-literal.scheme") puts("constant.character.named.scheme") puts("constant.language.boolean.scheme") puts("constant.numeric.scheme") puts("constant.other.empty-list.schem") puts("constant.other.symbol.scheme") puts("entity.name.function.scheme") puts("invalid.illegal.parenthesis.scheme") puts("keyword.control.quote.scheme") puts("keyword.control.scheme") puts("meta.after-expression.scheme") puts("meta.declaration.procedure.scheme") puts("meta.declaration.variable.scheme") puts("meta.expression.scheme") puts("punctuation.definition.comment.semicolon.scheme") puts("punctuation.definition.string.begin.scheme") puts("punctuation.definition.string.end.scheme") puts("punctuation.section.expression.begin.scheme") puts("punctuation.section.expression.end.scheme") puts("punctuation.section.quoted.empty-list.scheme") puts("punctuation.section.quoted.scheme") puts("punctuation.section.quoted.symbol.scheme") puts("punctuation.separator.cons.scheme") puts("string.other.quoted-object.scheme") puts("string.quoted.double.scheme") puts("support.function.arithmetic-operators.scheme") puts("support.function.boolean-test.scheme") puts("support.function.convert-type.scheme") puts("support.function.general.scheme") puts("support.function.with-side-effects.scheme") puts("variable.other.scheme") puts("variable.parameter.function.scheme") puts("variable.parameter.scheme") end def self.scilab() header = "SCILAB" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.scilab\n") puts("Scilab") puts("comment.line.double-slash.scilab") puts("constant.character.escape.scilab") puts("constant.numeric.scilab") puts("entity.name.function.scilab") puts("keyword.control.scilab") puts("punctuation.separator.continuation.scilab") puts("string.quoted.double.scilab") puts("string.quoted.single.scilab") puts("support.constant.scilab") end def self.setext() header = "SETEXT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.setext\n") puts("Setext") puts("comment.block.logical_end_of_text.setext") puts("comment.line.double-dot.setext") puts("constant.other.reference.link.setext") puts("constant.other.reference.note.setext") puts("keyword.other.setext") puts("markup.bold.setext") puts("markup.heading.1.setext") puts("markup.heading.2.setext") puts("markup.italic.setext") puts("markup.other.bullet.setext") puts("markup.quote.setext") puts("markup.raw.setext") puts("markup.underline.link.setext") puts("markup.underline.setext") puts("meta.header.setext") puts("meta.link.reference.def.setext") puts("meta.link.reference.setext") puts("meta.note.def.setext") puts("meta.separator.document.setext") puts("punctuation.definition.bold.setext") puts("punctuation.definition.bullet.setext") puts("punctuation.definition.comment.setext") puts("punctuation.definition.italic.setext") puts("punctuation.definition.link.setext") puts("punctuation.definition.note.setext") puts("punctuation.definition.quote.setext") puts("punctuation.definition.raw.begin.setext") puts("punctuation.definition.raw.end.setext") puts("punctuation.definition.reference.setext") puts("punctuation.definition.separator.setext") puts("punctuation.definition.string.begin.setext") puts("punctuation.definition.string.end.setext") puts("punctuation.definition.underline.setext") puts("punctuation.separator.key-value.setext") puts("string.quoted.other.note.setext") puts("string.unquoted.setext") end def self.shell_unix_generic() header = "SHELL-UNIX-GENERIC" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.shell\n") puts("comment.line.number-sign.shell") puts("constant.character.escape.ansi-c.shell") puts("constant.character.escape.control-char.shell") puts("constant.character.escape.hex.shell") puts("constant.character.escape.octal.shell") puts("constant.character.escape.shell") puts("entity.name.function.shell") puts("keyword.control.heredoc-token.shell") puts("keyword.control.shell") puts("keyword.operator.heredoc.shell") puts("keyword.operator.herestring.shell") puts("keyword.operator.list.shell") puts("keyword.operator.logical.shell") puts("keyword.operator.pipe.shell") puts("keyword.operator.redirect.shell") puts("keyword.operator.tilde.shell") puts("meta.function.shell") puts("meta.herestring.shell") puts("meta.scope.expression.shell") puts("meta.scope.group.shell") puts("meta.scope.logical-expression.shell") puts("meta.scope.subshell.shell") puts("punctuation.definition.arguments.shell") puts("punctuation.definition.comment.shell") puts("punctuation.definition.expression.shell") puts("punctuation.definition.group.shell") puts("punctuation.definition.logical-expression.shell") puts("punctuation.definition.string.begin.shell") puts("punctuation.definition.string.end.shell") puts("punctuation.definition.string.shell") puts("punctuation.definition.subshell.shell") puts("punctuation.definition.variable.shell") puts("storage.modifier.shell") puts("string.interpolated.backtick.shell") puts("string.interpolated.dollar.shell") puts("string.interpolated.process-substitution.shell") puts("string.other.math.shell") puts("string.quoted.double.herestring.shell") puts("string.quoted.double.shell") puts("string.quoted.single.dollar.shell") puts("string.quoted.single.herestring.shell") puts("string.quoted.single.shell") puts("string.unquoted.heredoc.applescript.shell") puts("string.unquoted.heredoc.html.shell") puts("string.unquoted.heredoc.markdown.shell") puts("string.unquoted.heredoc.no-indent.applescript.shell") puts("string.unquoted.heredoc.no-indent.html.shell") puts("string.unquoted.heredoc.no-indent.markdown.shell") puts("string.unquoted.heredoc.no-indent.ruby.shell") puts("string.unquoted.heredoc.no-indent.shell") puts("string.unquoted.heredoc.ruby.shell") puts("string.unquoted.heredoc.shell") puts("string.unquoted.herestring.shell") puts("support.function.shell") puts("variable.other.bracket.shell") puts("variable.other.normal.shell") puts("variable.other.positional.shell") puts("variable.other.special.shell") end def self.slate() header = "SLATE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.slate\n") puts("Slate") puts("constant.character.escape.slate") puts("constant.character.slate") puts("constant.language.slate") puts("constant.numeric.slate") puts("constant.other.slate") puts("entity.name.function.slate") puts("entity.name.type.slate") puts("invalid.deprecated.trailing-whitespace.slate") puts("keyword.control.import.slate") puts("keyword.control.slate") puts("keyword.operator.logical.slate") puts("keyword.operator.slate") puts("keyword.other.name-of-parameter.slate") puts("meta.array.literal.slate") puts("meta.array.slate") puts("meta.block.compact.slate") puts("meta.block.content.slate") puts("meta.block.header.slate") puts("meta.block.slate") puts("meta.definition.slate") puts("meta.function.unary.slate") puts("punctuation.definition.array.begin.slate") puts("punctuation.definition.array.end.slate") puts("punctuation.definition.constant.slate") puts("punctuation.definition.string.begin.slate") puts("punctuation.definition.string.end.slate") puts("punctuation.section.block.slate") puts("string.quoted.double.slate") puts("string.quoted.single.slate") puts("support.class.slate") puts("variable.language.slate") puts("variable.other.local.slate") puts("variable.other.slate") puts("variable.parameter.block.slate") puts("variable.parameter.function.slate") puts("variable.parameter.slate") end def self.smarty() header = "SMARTY" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.smarty\n") puts("Smarty") puts("comment.block.smarty") puts("constant.character.escape.smarty") puts("constant.language.smarty") puts("keyword.control.smarty") puts("keyword.operator.other.smarty") puts("keyword.operator.smarty") puts("meta.attribute.smarty") puts("punctuation.definition.comment.smarty") puts("punctuation.definition.string.begin.smarty") puts("punctuation.definition.string.end.smarty") puts("punctuation.definition.variable.smarty") puts("string.quoted.double.smarty") puts("string.quoted.single.smarty") puts("support.function.built-in.smarty") puts("support.function.variable-modifier.smarty") puts("variable.other.global.smarty") puts("variable.other.smarty") end def self.sql() header = "SQL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.sql\n") puts("SQL") puts("comment.block.c") puts("comment.line.double-dash.sql") puts("comment.line.number-sign.sql") puts("constant.character.escape.slash.sql") puts("constant.character.escape.sql") puts("constant.numeric.sql") puts("entity.name.function.sql") puts("keyword.other.DDL.create.II.sql") puts("keyword.other.DML.II.sql") puts("keyword.other.DML.sql") puts("keyword.other.LUW.sql") puts("keyword.other.authorization.sql") puts("keyword.other.cascade.sql") puts("keyword.other.create.sql") puts("keyword.other.data-integrity.sql") puts("keyword.other.object-comments.sql") puts("keyword.other.sql") puts("keyword.other.table.sql") puts("meta.alter.sql") puts("meta.create.sql") puts("meta.drop.sql") puts("punctuation.definition.comment.sql") puts("punctuation.definition.string.begin.sql") puts("punctuation.definition.string.end.sql") puts("storage.modifier.sql") puts("storage.type.sql") puts("string.interpolated.sql") puts("string.other.quoted.brackets.sql") puts("string.quoted.double.sql") puts("string.quoted.other.backtick.sql") puts("string.quoted.single.sql") puts("string.regexp.modr.sql") puts("string.regexp.sql") end def self.sql_rails() header = "SQL_RAILS" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.sql.ruby\n") puts("comment.line.number-sign.ruby") puts("source.ruby.rails.embedded.sql") end def self.ssh_config() header = "SSH-CONFIG" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ssh-config\n") puts("comment.line.double-slash.ssh-config") puts("comment.line.number-sign.ssh-config") puts("constant.numeric.ssh-config") puts("entity.name.section.ssh-config") puts("keyword.other.ssh-config") puts("meta.toc-list.ssh-config") puts("punctuation.definition.comment.ssh-config") puts("storage.type.ssh-config") end def self.standard_ml() header = "STANDARD_ML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.ml\n") puts("comment.block.ml") puts("constant.character.escape.ml") puts("constant.character.ml") puts("constant.language.ml") puts("constant.numeric.ml") puts("constant.other.type.ml") puts("entity.name.function.ml") puts("entity.name.type.module.ml") puts("keyword.control.fun.ml") puts("keyword.control.ml") puts("keyword.operator.logical.ml") puts("keyword.other.delimiter.ml") puts("keyword.other.ml") puts("keyword.other.module.ml") puts("keyword.other.typeabbrev.ml") puts("meta.definition.fun.ml") puts("meta.module.dec.ml") puts("meta.module.sigdec.ml") puts("meta.spec.ml.datatype") puts("meta.spec.ml.include") puts("meta.spec.ml.structure") puts("meta.spec.ml.type") puts("meta.spec.ml.val") puts("meta.type.ascription.ml") puts("meta.typeabbrev.ml") puts("meta.typeexp.ml") puts("punctuation.definition.comment.ml") puts("punctuation.definition.constant.ml") puts("punctuation.definition.string.begin.ml") puts("punctuation.definition.string.end.ml") puts("storage.type.module.binder.ml") puts("string.quoted.double.ml") puts("variable.other.typename.ml") end def self.strings_file() header = "STRINGS_FILE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.strings\n") puts("comment.block.strings") puts("constant.character.escape.strings") puts("constant.other.placeholder.strings") puts("invalid.illegal.placeholder.c") puts("invalid.illegal.unknown-escape.strings") puts("punctuation.definition.comment.strings") puts("punctuation.definition.string.begin.strings") puts("punctuation.definition.string.end.strings") puts("string.quoted.double.strings") end def self.subversion_commit_message() header = "SUBVERSION_COMMIT_MESSAGE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.subversion-commit\n") puts("markup.changed.svn") puts("markup.deleted.svn") puts("markup.inserted.svn") puts("meta.bullet-point.light") puts("meta.bullet-point.star") puts("meta.bullet-point.strong") puts("meta.scope.changed-files.svn") puts("meta.separator.svn") puts("punctuation.definition.item.subversion-commit") puts("svn-commit.tmp") end def self.sweave() header = "SWEAVE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tex.latex.sweave\n") puts("SWeave") puts("comment.line.other.sweave") puts("constant.language.boolean.sweave") puts("constant.language.results.sweave") puts("invalid.illegal.sweave") puts("keyword.other.name-of-parameter.sweave") puts("meta.block.code.sweave") puts("meta.block.parameters.sweave") puts("meta.block.source.r") puts("meta.parameter.sweave") puts("punctuation.definition.arguments.begin.latex") puts("punctuation.definition.arguments.end.latex") puts("punctuation.definition.parameters.begin.sweave") puts("punctuation.definition.parameters.end.sweave") puts("punctuation.section.embedded.begin.sweave") puts("punctuation.section.embedded.end.sweave") puts("punctuation.separator.key-value.sweave") puts("punctuation.separator.parameters.sweave") puts("source.r.embedded.sweave") puts("string.unquoted.label.sweave") end def self.swig() header = "SWIG" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.swig\n") puts("SWIG") puts("keyword.control.import.swig") puts("keyword.other.directive.inlinecode.swig") puts("keyword.other.directive.swig") puts("keyword.other.function-parameter.swig") puts("meta.preprocessor.macro.swig") puts("meta.preprocessor.swig") puts("punctuation.definition.keyword.swig") puts("punctuation.definition.preprocessor.swig") puts("punctuation.section.embedded.swig") puts("source.swig.codeblock") puts("storage.type.swig") puts("string.quoted.double.swig") puts("support.function.type.swig") end def self.tcl() header = "TCL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.tcl\n") puts("Tcl") puts("comment.line.number-sign.tcl") puts("constant.character.escape.tcl") puts("entity.name.function.tcl") puts("invalid.illegal.tcl") puts("keyword.control.tcl") puts("keyword.other.tcl") puts("punctuation.definition.comment.tcl") puts("punctuation.definition.string.begin.tcl") puts("punctuation.definition.string.end.tcl") puts("punctuation.definition.variable.tcl") puts("punctuation.section.embedded.begin.tcl") puts("punctuation.section.embedded.end.tcl") puts("source.tcl.embedded") puts("string.quoted.double.tcl") puts("string.regexp.tcl") puts("variable.other.tcl") end def self.template_toolkit() header = "TEMPLATE_TOOLKIT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.tt\n") puts("comment.line.number-sign.tt") puts("constant.character.entity.html") puts("entity.name.tag.tt") puts("entity.other.attribute-name.tt") puts("invalid.illegal.bad-ampersand.html") puts("keyword.control.tt") puts("keyword.operator.tt") puts("meta.tag.template.tt") puts("punctuation.definition.comment.tt") puts("punctuation.definition.constant.html") puts("punctuation.definition.string.begin.tt") puts("punctuation.definition.string.end.tt") puts("punctuation.definition.tag.tt") puts("punctuation.definition.variable.tt") puts("punctuation.separator.key-value.tt") puts("string.quoted.double.filename.tt") puts("string.quoted.double.tt") puts("string.quoted.single.tt") puts("string.unquoted.other.filename.tt") puts("string.unquoted.tt") puts("variable.other.tt") end def self.tex() header = "TEX" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tex\n") puts("TeX") puts("comment.line.percentage.semicolon.texshop.tex") puts("comment.line.percentage.tex") puts("constant.character.escape.tex") puts("constant.character.newline.tex") puts("constant.numeric.category.tex") puts("keyword.control.catcode.tex") puts("keyword.control.tex") puts("meta.catcode.tex") puts("meta.group.braces.tex") puts("meta.placeholder.greek.tex") puts("punctuation.definition.brackets.tex") puts("punctuation.definition.comment.tex") puts("punctuation.definition.function.tex") puts("punctuation.definition.keyword.tex") puts("punctuation.definition.string.begin.tex") puts("punctuation.definition.string.end.tex") puts("punctuation.section.group.tex") puts("punctuation.separator.key-value.tex") puts("string.other.math.block.tex") puts("string.other.math.tex") puts("support.function.general.tex") end def self.tex_math() header = "TEX_MATH" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tex.math\n") puts("constant.character.math.tex") puts("constant.numeric.math.tex") puts("constant.other.general.math.tex") puts("constant.other.math.tex") puts("meta.function.sexpr.math.tex") puts("meta.placeholder.greek.math.tex") puts("punctuation.definition.constant.math.tex") puts("punctuation.definition.function.math.tex") puts("punctuation.section.embedded.begin.math.tex") puts("punctuation.section.embedded.end.math.tex") puts("support.function.sexpr.math.tex") end def self.textile() header = "TEXTILE" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.textile\n") puts("Textile") puts("constant.other.reference.link.textile") puts("entity.name.section.paragraph.textile") puts("entity.name.tag.blockquote.textile") puts("entity.name.tag.footnote.textile") puts("entity.name.tag.heading.textile") puts("entity.name.tag.paragraph.textile") puts("entity.name.tag.textile") puts("entity.name.type.textile") puts("markup.bold.textile") puts("markup.deleted.textile") puts("markup.heading.textile") puts("markup.inserted.textile") puts("markup.italic.phrasemodifiers.textile") puts("markup.italic.textile") puts("markup.list.numbered.textile") puts("markup.list.unnumbered.textile") puts("markup.other.footnote.textile") puts("markup.other.table.cell.textile") puts("markup.other.table.textile") puts("markup.quote.textile") puts("markup.underline.link.image.textile") puts("markup.underline.link.textile") puts("meta.image.inline.textile") puts("meta.link.inline.textile") puts("meta.link.reference.textile") puts("meta.paragraph.textile") puts("string.other.link.description.textile") puts("string.other.link.description.title.textile") puts("string.other.link.title.textile") puts("text.html.textile") end def self.tsv() header = "TSV" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.tabular.tsv\n") puts("TSV") puts("meta.tabular.row.header.tsv") puts("meta.tabular.row.tsv") puts("meta.tabular.table.tsv") puts("punctuation.separator.table.row.tsv") puts("punctuation.separator.tabular.field.tsv") end def self.twiki() header = "TWIKI" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.twiki\n") puts("Twiki") puts("constant.character.entity.html") puts("constant.character.escape.twiki") puts("entity.name.function.twiki") puts("markup.bold.twiki") puts("markup.heading.twiki") puts("markup.italic.twiki") puts("markup.list.numbered.1.twiki") puts("markup.list.numbered.2.twiki") puts("markup.list.numbered.3.twiki") puts("markup.list.numbered.4.twiki") puts("markup.list.numbered.5.twiki") puts("markup.list.numbered.6.twiki") puts("markup.list.numbered.paragraph") puts("markup.list.unnumbered.1.twiki") puts("markup.list.unnumbered.2.twiki") puts("markup.list.unnumbered.3.twiki") puts("markup.list.unnumbered.4.twiki") puts("markup.list.unnumbered.5.twiki") puts("markup.list.unnumbered.6.twiki") puts("markup.list.unnumbered.paragraph") puts("markup.other.def.def.twiki") puts("markup.other.def.term.twiki") puts("markup.other.def.twiki") puts("markup.other.table.twiki") puts("markup.raw.fixed.twiki") puts("markup.raw.twiki") puts("markup.underline.link.twiki") puts("meta.link.inline") puts("meta.paragraph.twiki") puts("meta.separator.twiki") puts("punctuation.definition.bold.twiki") puts("punctuation.definition.constant.twiki") puts("punctuation.definition.heading.twiki") puts("punctuation.definition.italic.twiki") puts("punctuation.definition.link.twiki") puts("punctuation.definition.list_item.twiki") puts("punctuation.definition.raw.fixed.twiki") puts("punctuation.definition.string.begin.twiki") puts("punctuation.definition.string.end.twiki") puts("punctuation.definition.table.twiki") puts("punctuation.definition.tag.twiki") puts("punctuation.definition.variable.twiki") puts("string.other.link.title.twiki") puts("string.quoted.double.twiki") puts("variable.other.twiki") end def self.txt2tags() header = "TXT2TAGS" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.txt2tags\n") puts("Txt2tags") puts("comment.block.txt2tags") puts("comment.line.txt2tags") puts("constant.character.txt2tags") puts("invalid.deprecated.trailing-whitespace.txt2tags") puts("markup.bold.txt2tags") puts("markup.heading.1.txt2tags") puts("markup.heading.2.txt2tags") puts("markup.heading.3.txt2tags") puts("markup.heading.4.txt2tags") puts("markup.heading.5.txt2tags") puts("markup.italic.txt2tags") puts("markup.list.numbered.txt2tags") puts("markup.list.txt2tags") puts("markup.list.unnumbered.txt2tags") puts("markup.quote.txt2tags") puts("markup.raw.verb.block.txt2tags") puts("markup.raw.verb.inline.txt2tags") puts("markup.raw.verb.line.txt2tags") puts("markup.underline.txt2tags") puts("meta.tag.email.txt2tags") puts("meta.tag.image.txt2tags") puts("meta.tag.link.txt2tags") puts("meta.tag.url.txt2tags") puts("string.interpolated.txt2tags") puts("string.quoted.other.raw.block.txt2tags") puts("string.quoted.other.raw.inline.txt2tags") puts("string.quoted.other.raw.line.txt2tags") puts("string.unquoted.txt2tags") end def self.txt2tags_old() header = "TXT2TAGS_OLD" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.t2t\n") puts("comment.block") puts("comment.line") puts("line.blank") puts("line.list.close") puts("line.table") puts("markup.other.email") puts("markup.other.link") puts("markup.other.special") puts("markup.raw.raw.line") puts("meta.link.complex") end def self.vectorscript() header = "VECTORSCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.pascal.vectorscript\n") puts("Vectorscript") puts("comment.block.vectorscript") puts("constant.character.escape.vectorscript") puts("constant.character.parameter.vectorscript") puts("constant.language.boolean.vectorscript") puts("constant.other.vectorscript") puts("entity.name.function.vectorscript") puts("keyword.control.vectorscript") puts("meta.function.vectorscript") puts("punctuation.definition.comment.vectorscript") puts("punctuation.definition.string.begin.vectorscript") puts("punctuation.definition.string.end.vectorscript") puts("storage.type.function.vectorscript") puts("storage.type.procedure.vectorscript") puts("string.quoted.single.vectorscript") puts("support.function.vectorscript") puts("support.function.vectorscript.undocumented") puts("variable.other.readwrite.global.vectorscript") end def self.xhtml_1dot0() header = "XHTML_1.0" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.html.xhtml.1-strict\n") puts("comment.block.html") puts("constant.character.entity.html") puts("entity.name.tag.block.address.html") puts("entity.name.tag.block.bdo.html") puts("entity.name.tag.block.blockquote.html") puts("entity.name.tag.block.br.html") puts("entity.name.tag.block.caption.html") puts("entity.name.tag.block.col.html") puts("entity.name.tag.block.colgroup.html") puts("entity.name.tag.block.dd.html") puts("entity.name.tag.block.div.html") puts("entity.name.tag.block.dl.html") puts("entity.name.tag.block.dt.html") puts("entity.name.tag.block.fieldset.html") puts("entity.name.tag.block.form.html") puts("entity.name.tag.block.h1.html") puts("entity.name.tag.block.h2.html") puts("entity.name.tag.block.h3.html") puts("entity.name.tag.block.h4.html") puts("entity.name.tag.block.h5.html") puts("entity.name.tag.block.h6.html") puts("entity.name.tag.block.hr.html") puts("entity.name.tag.block.iframe.html") puts("entity.name.tag.block.legend.html") puts("entity.name.tag.block.li.html") puts("entity.name.tag.block.map.html") puts("entity.name.tag.block.noscript.html") puts("entity.name.tag.block.ol.html") puts("entity.name.tag.block.optgroup.html") puts("entity.name.tag.block.option.html") puts("entity.name.tag.block.p.html") puts("entity.name.tag.block.pre.html") puts("entity.name.tag.block.script.html") puts("entity.name.tag.block.table.html") puts("entity.name.tag.block.tbody.html") puts("entity.name.tag.block.td.html") puts("entity.name.tag.block.tfoot.html") puts("entity.name.tag.block.th.html") puts("entity.name.tag.block.thead.html") puts("entity.name.tag.block.title.html") puts("entity.name.tag.block.tr.html") puts("entity.name.tag.block.ul.html") puts("entity.name.tag.doctype.html") puts("entity.name.tag.form.button.html") puts("entity.name.tag.form.input.html") puts("entity.name.tag.form.select.html") puts("entity.name.tag.form.textarea.html") puts("entity.name.tag.inline.a.html") puts("entity.name.tag.inline.abbr.html") puts("entity.name.tag.inline.acronym.html") puts("entity.name.tag.inline.b.html") puts("entity.name.tag.inline.big.html") puts("entity.name.tag.inline.cite.html") puts("entity.name.tag.inline.code.html") puts("entity.name.tag.inline.del.html") puts("entity.name.tag.inline.dfn.html") puts("entity.name.tag.inline.em.html") puts("entity.name.tag.inline.i.html") puts("entity.name.tag.inline.ins.html") puts("entity.name.tag.inline.kbd.html") puts("entity.name.tag.inline.label.html") puts("entity.name.tag.inline.q.html") puts("entity.name.tag.inline.samp.html") puts("entity.name.tag.inline.small.html") puts("entity.name.tag.inline.span.html") puts("entity.name.tag.inline.strong.html") puts("entity.name.tag.inline.sub.html") puts("entity.name.tag.inline.sup.html") puts("entity.name.tag.inline.tt.html") puts("entity.name.tag.inline.var.html") puts("entity.name.tag.meta.area.html") puts("entity.name.tag.meta.base.html") puts("entity.name.tag.meta.link.html") puts("entity.name.tag.meta.meta.html") puts("entity.name.tag.meta.param.html") puts("entity.name.tag.meta.style.html") puts("entity.name.tag.object.img.html") puts("entity.name.tag.object.object.html") puts("entity.name.tag.segment.body.html") puts("entity.name.tag.segment.head.html") puts("entity.name.tag.segment.html.html") puts("entity.name.tag.xml.html") puts("entity.other.attribute-name.html") puts("invalid.deprecated.bad-comment-ending-token.html") puts("invalid.deprecated.invalid_placement") puts("invalid.deprecated.no_longer_valid") puts("invalid.illegal.bad-ampersand.html") puts("invalid.illegal.bad-comments-or-CDATA.html") puts("invalid.illegal.char_not_allowed") puts("invalid.illegal.character_data_not_allowed_here") puts("invalid.illegal.incorrect-value.html") puts("invalid.illegal.invalid_placement") puts("invalid.illegal.terminator.html") puts("invalid.illegal.unrecognized-character.html") puts("invalid.illegal.unrecognized_tag") puts("meta.attribute-with-value.html") puts("meta.preprocessor.server-side-includes.html") puts("meta.scope.xml-cdata.html") puts("meta.section.html.body.xhtml.1-strict") puts("meta.section.html.dl.xhtml.1-strict") puts("meta.section.html.form.xhtml.1-strict") puts("meta.section.html.head.xhtml.1-strict") puts("meta.section.html.html.xhtml.1-strict") puts("meta.section.html.ol.xhtml.1-strict") puts("meta.section.html.table.xhtml.1-strict") puts("meta.section.html.ul.xhtml.1-strict") puts("meta.tag.block.address.html") puts("meta.tag.block.bdo.html") puts("meta.tag.block.blockquote.html") puts("meta.tag.block.br.html") puts("meta.tag.block.caption.html") puts("meta.tag.block.col.html") puts("meta.tag.block.colgroup.html") puts("meta.tag.block.dd.html") puts("meta.tag.block.div.html") puts("meta.tag.block.dl.html") puts("meta.tag.block.dt.html") puts("meta.tag.block.fieldset.html") puts("meta.tag.block.form.html") puts("meta.tag.block.h1.html") puts("meta.tag.block.h2.html") puts("meta.tag.block.h3.html") puts("meta.tag.block.h4.html") puts("meta.tag.block.h5.html") puts("meta.tag.block.h6.html") puts("meta.tag.block.hr.html") puts("meta.tag.block.iframe.html") puts("meta.tag.block.legend.html") puts("meta.tag.block.li.html") puts("meta.tag.block.map.html") puts("meta.tag.block.noscript.html") puts("meta.tag.block.ol.html") puts("meta.tag.block.optgroup.html") puts("meta.tag.block.option.html") puts("meta.tag.block.p.html") puts("meta.tag.block.pre.html") puts("meta.tag.block.script.html") puts("meta.tag.block.table.html") puts("meta.tag.block.tbody.html") puts("meta.tag.block.td.html") puts("meta.tag.block.tfoot.html") puts("meta.tag.block.th.html") puts("meta.tag.block.thead.html") puts("meta.tag.block.title.html") puts("meta.tag.block.tr.html") puts("meta.tag.block.ul.html") puts("meta.tag.form.button.html") puts("meta.tag.form.input.html") puts("meta.tag.form.select.html") puts("meta.tag.form.textarea.html") puts("meta.tag.inline.a.html") puts("meta.tag.inline.abbr.html") puts("meta.tag.inline.acronym.html") puts("meta.tag.inline.b.html") puts("meta.tag.inline.big.html") puts("meta.tag.inline.cite.html") puts("meta.tag.inline.code.html") puts("meta.tag.inline.del.html") puts("meta.tag.inline.dfn.html") puts("meta.tag.inline.em.html") puts("meta.tag.inline.i.html") puts("meta.tag.inline.ins.html") puts("meta.tag.inline.kbd.html") puts("meta.tag.inline.label.html") puts("meta.tag.inline.q.html") puts("meta.tag.inline.samp.html") puts("meta.tag.inline.small.html") puts("meta.tag.inline.span.html") puts("meta.tag.inline.strong.html") puts("meta.tag.inline.sub.html") puts("meta.tag.inline.sup.html") puts("meta.tag.inline.tt.html") puts("meta.tag.inline.var.html") puts("meta.tag.meta.area.html") puts("meta.tag.meta.base.html") puts("meta.tag.meta.link.html") puts("meta.tag.meta.meta.html") puts("meta.tag.meta.param.html") puts("meta.tag.meta.style.html") puts("meta.tag.object.img.html") puts("meta.tag.object.object.html") puts("meta.tag.preprocessor.server-side-includes.html") puts("meta.tag.preprocessor.xml.html") puts("meta.tag.segment.body.html") puts("meta.tag.segment.head.html") puts("meta.tag.segment.html.html") puts("meta.tag.sgml.doctype.html") puts("meta.tag.sgml.empty.html") puts("string.quoted.double.doctype.identifiers-and-DTDs.html") puts("string.quoted.double.html") puts("string.quoted.single.html") puts("string.unquoted.html") puts("support.function.server-side-include.html") end def self.xml() header = "XML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.xml\n") puts("XML") puts("comment.block.xml") puts("constant.character.entity.xml") puts("entity.name.tag.doctype.xml") puts("entity.name.tag.entity.xml") puts("entity.name.tag.localname.xml") puts("entity.name.tag.namespace.xml") puts("entity.name.tag.xml") puts("entity.other.attribute-name.localname.xml") puts("entity.other.attribute-name.namespace.xml") puts("entity.other.attribute-name.xml") puts("invalid.illegal.bad-ampersand.xml") puts("keyword.other.page-props.xml") puts("meta.entity.xml") puts("meta.scope.between-tag-pair.xml") puts("meta.tag.no-content.xml") puts("meta.tag.preprocessor.xml") puts("meta.tag.sgml.doctype.xml") puts("meta.tag.xml") puts("punctuation.definition.comment.xml") puts("punctuation.definition.constant.xml") puts("punctuation.definition.string.begin.xml") puts("punctuation.definition.string.end.xml") puts("punctuation.definition.tag.xml") puts("punctuation.section.embedded.begin.xml") puts("punctuation.section.embedded.end.xml") puts("punctuation.separator.namespace.xml") puts("source.java-props.embedded.xml") puts("source.java.embedded.xml") puts("string.quoted.double.xml") puts("string.quoted.single.xml") puts("string.unquoted.cdata.xml") end def self.xml_strict() header = "XML_STRICT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.xml.strict\n") puts("entity.name.tag.localname.xml") puts("entity.name.tag.namespace.xml") puts("entity.name.tag.xml") puts("entity.other.attribute-name.localname.xml") puts("entity.other.attribute-name.namespace.xml") puts("entity.other.attribute-name.xml") puts("invalid.illegal.unexpected-end-tag.xml") puts("meta.tag-content.xml") puts("meta.tag.processing-instruction.xml") puts("meta.tag.sgml.xml") puts("meta.tag.xml") puts("punctuation.definition.string.begin.xml") puts("punctuation.definition.string.end.xml") puts("punctuation.definition.tag.xml") puts("punctuation.separator.namespace.xml") puts("string.quoted.double.xml") puts("string.quoted.single.xml") end def self.xsl() header = "XSL" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: text.xml.xsl\n") puts("XSL") puts("entity.name.tag.localname.xml") puts("entity.name.tag.namespace.xml") puts("entity.name.tag.xml") puts("entity.other.attribute-name.localname.xml") puts("entity.other.attribute-name.namespace.xml") puts("entity.other.attribute-name.xml") puts("meta.tag.xml.template") puts("punctuation.definition.string.begin.xml") puts("punctuation.definition.string.end.xml") puts("punctuation.definition.tag.xml") puts("punctuation.separator.namespace.xml") puts("string.quoted.double.xml") puts("string.quoted.single.xml") end def self.Yaml_old() header = "YAML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.yaml\n") puts("YAML") puts("comment.line.number-sign.ruby") puts("comment.line.number-sign.yaml") puts("constant.character.escape.yaml") puts("constant.numeric.yaml") puts("constant.other.date.yaml") puts("entity.name.tag.yaml") puts("invalid.deprecated.trailing-whitespace.yaml") puts("keyword.operator.merge-key.yaml") puts("keyword.operator.symbol") puts("keyword.other.omap.yaml") puts("meta.even-tab") puts("meta.leading-tabs.yaml") puts("meta.odd-tab") puts("meta.tag.yaml") puts("punctuation.definition.comment.ruby") puts("punctuation.definition.comment.yaml") puts("punctuation.definition.entry.yaml") puts("punctuation.definition.keyword.yaml") puts("punctuation.definition.string.begin.yaml") puts("punctuation.definition.string.end.yaml") puts("punctuation.definition.variable.yaml") puts("punctuation.section.embedded.ruby") puts("punctuation.separator.key-value.yaml") puts("source.ruby.rails.embedded.html") puts("string.interpolated.yaml") puts("string.quoted.double.yaml") puts("string.quoted.single.yaml") puts("string.unquoted.block.yaml") puts("string.unquoted.yaml") puts("variable.other.yaml") end def self.yaml() header = "YAML" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.yaml\n") puts("YAML") puts("comment.line.number-sign.ruby") puts("comment.line.number-sign.yaml") puts("constant.character.escape.yaml") puts("constant.numeric.yaml") puts("constant.other.date.yaml") puts("entity.name.tag.yaml") puts("invalid.deprecated.trailing-whitespace.yaml") puts("keyword.operator.merge-key.yaml") puts("keyword.operator.symbol") puts("keyword.other.omap.yaml") puts("meta.even-tab") puts("meta.leading-tabs.yaml") puts("meta.odd-tab") puts("meta.tag.yaml") puts("punctuation.definition.comment.ruby") puts("punctuation.definition.comment.yaml") puts("punctuation.definition.entry.yaml") puts("punctuation.definition.keyword.yaml") puts("punctuation.definition.string.begin.yaml") puts("punctuation.definition.string.end.yaml") puts("punctuation.definition.variable.yaml") puts("punctuation.section.embedded.ruby") puts("punctuation.separator.key-value.yaml") puts("source.ruby.rails.embedded.html") puts("string.interpolated.yaml") puts("string.quoted.double.yaml") puts("string.quoted.single.yaml") puts("string.unquoted.block.yaml") puts("string.unquoted.yaml") puts("variable.other.yaml") end def self.yui_javascript() header = "YUI_JAVASCRIPT" puts("%s\n%s\n\n" % [header, "="*header.length]) puts("Scope name: source.js.yui\n") puts("support.class.js.yui") puts("support.function.Anim.js.yui") puts("support.function.AnimMgr.js.yui") puts("support.function.Attribute.js.yui") puts("support.function.AttributeProvider.js.yui") puts("support.function.AutoComplete.js.yui") puts("support.function.Bezier.js.yui") puts("support.function.Button.js.yui") puts("support.function.ButtonGroup.js.yui") puts("support.function.Calendar.js.yui") puts("support.function.CalendarGroup.js.yui") puts("support.function.ColorAnim.js.yui") puts("support.function.Column.js.yui") puts("support.function.ColumnEditor.js.yui") puts("support.function.ColumnSet.js.yui") puts("support.function.Config.js.yui") puts("support.function.Connect.js.yui") puts("support.function.ContainerEffect.js.yui") puts("support.function.ContextMenu.js.yui") puts("support.function.ContextMenuItem.js.yui") puts("support.function.CustomEvent.js.yui") puts("support.function.DD.js.yui") puts("support.function.DDProxy.js.yui") puts("support.function.DDTarget.js.yui") puts("support.function.DS_JSArray.js.yui") puts("support.function.DS_JSFunction.js.yui") puts("support.function.DS_XHR.js.yui") puts("support.function.DataSource.js.yui") puts("support.function.DataTable.js.yui") puts("support.function.DateMath.js.yui") puts("support.function.Dialog.js.yui") puts("support.function.Dom.js.yui") puts("support.function.DragDrop.js.yui") puts("support.function.DragDropMgr.js.yui") puts("support.function.Easing.js.yui") puts("support.function.Element.js.yui") puts("support.function.Event.js.yui") puts("support.function.EventProvider.js.yui") puts("support.function.HTMLNode.js.yui") puts("support.function.History.js.yui") puts("support.function.KeyListener.js.yui") puts("support.function.LogMsg.js.yui") puts("support.function.LogReader.js.yui") puts("support.function.LogWriter.js.yui") puts("support.function.Logger.js.yui") puts("support.function.Menu.js.yui") puts("support.function.MenuBarItem.js.yui") puts("support.function.MenuItem.js.yui") puts("support.function.MenuManager.js.yui") puts("support.function.MenuModule.js.yui") puts("support.function.MenuModuleItem.js.yui") puts("support.function.MenuNode.js.yui") puts("support.function.Menubar.js.yui") puts("support.function.Module.js.yui") puts("support.function.Motion.js.yui") puts("support.function.Node.js.yui") puts("support.function.Overlay.js.yui") puts("support.function.OverlayManager.js.yui") puts("support.function.Panel.js.yui") puts("support.function.Record.js.yui") puts("support.function.RecordSet.js.yui") puts("support.function.Region.js.yui") puts("support.function.RootNode.js.yui") puts("support.function.Scroll.js.yui") puts("support.function.SimpleDialog.js.yui") puts("support.function.Slider.js.yui") puts("support.function.SliderThumb.js.yui") puts("support.function.Sort.js.yui") puts("support.function.Subscriber.js.yui") puts("support.function.TVAnim.js.yui") puts("support.function.TVFadeIn.js.yui") puts("support.function.TVFadeOut.js.yui") puts("support.function.Tab.js.yui") puts("support.function.TabView.js.yui") puts("support.function.TextNode.js.yui") puts("support.function.Tooltip.js.yui") puts("support.function.TreeView.js.yui") puts("support.function.WidthResizer.js.yui") puts("support.function.YAHOO.js.yui") puts("support.function.lang.js.yui") end class Make def initialize(maindir, author="") @about = "A Vibrant Sublime text 2 and 3 Color Scheme" @maindir = maindir @author = author # Directory paths @mypath = Dir.pwd() @themedir = (@mypath + "/" + @maindir) #Create folder if not present Dir.mkdir(@themedir) if not Dir.exists?(@themedir) puts (@maindir + " folder created in current working directory") @filename = @maindir + '.tmTheme' # Name of file @filepath = File.join(@themedir, @filename) @file = File.open(@filepath,'w') @file.close() puts (@maindir.to_s + "/" + @filename.to_s + " created. Feel free to rename it\n\n") puts ("TODO: call .start() on class instance\n\n") end def start() ln1 = ('%s%s') % ["\n", "\n"] ln2 = ('') ln3 = ('%s') % ["\n"] ln4 = ('%sauthor%s%s') % ["\t", "\n\t" ,@author] ln5 = ('%sname%s%s') % ["\t", "\n\t", @maindir] ln6 = ("\tsettings\n\t") ln7 = ("\t\t") ln8 = ("\t\t\tsettings") ln9 = ("\t\t\t\n") lines = [ln1, ln2, ln3, ln4, ln5, ln6, ln7, ln8, ln9] @file = File.open(@filepath,'w') lines.each{|x| @file.puts(x)} @file.close() puts ("Main xml heading written") puts ("TODO: Call .head() on class instance with any params and values") puts ("\ne.g. instance.head(fg='#F0F', bg='#0FF')") puts ("options are:\n\tag --> activeGuide") puts ("\tbg --> background") puts ("\tct --> caret") puts ("\tfg --> foreground") puts ("\tfh --> findHighlight") puts ("\tfhf --> findHighlightForeground") puts ("\tgf --> gutterForeground") puts ("\tgu --> guide") puts ("\tgut --> gutter") puts ("\tins --> inactiveSelection") puts ("\tinv --> invisibles") puts ("\tlh --> lineHighlight") puts ("\tsb --> selectionBorder") puts ("\tse --> selection") puts ("\tsg --> stackGuide\n") puts end def head(**options) @file = open(@filepath,'a') (options.sort.map).each{|x, y| _write(@file, "activeGuide", y.upcase) if x.to_s == "ag" _write(@file, "background", y.upcase) if x.to_s == "bg" _write(@file, "caret", y.upcase) if x.to_s == "ct" _write(@file, "foreground", y.upcase) if x.to_s == "fg" _write(@file, "findHighlight", y.upcase) if x.to_s == "fh" _write(@file, "findHighlightForeground", y.upcase) if x.to_s == "fhf" _write(@file, "gutterForeground", y.upcase) if x.to_s == "gf" _write(@file, "guide", y.upcase) if x.to_s == "gu" _write(@file, "gutter", y.upcase) if x.to_s == "gut" _write(@file, "inactiveSelection", y.upcase) if x.to_s == "ins" _write(@file, "invisibles", y.upcase) if x.to_s == "inv" _write(@file, "lineHighlight", y.upcase) if x.to_s == "lh" _write(@file, "selectionBorder", y.upcase) if x.to_s == "sb" _write(@file, "selection", y.upcase) if x.to_s == "se" _write(@file, "stackGuide", y.upcase) if x.to_s == "sg" } @file.puts("\t\t\t\n\t\t\n\n") self.body("Comment", "comment", fg: "#919191") self.body("String", "string", fg: "#00A33F") self.body("Number", "constant.numeric") self.body("Built-in constant", "constant.language", fg: "#A535AE") self.body("User-defined constant", "constant.character, constant.other") self.body("Variable", "variable.language, variable.other") self.body("Keyword", "keyword", fg: "#FF5600") self.body("Storage", "storage", fg: "#FF5600") self.body("Type name", "entity.name.type", fg: "#21439C") self.body("Inherited class", "entity.other.inherited-class") self.body("Function name", "entity.name.function", fg: "#21439C") self.body("Function argument", "variable.parameter") self.body("Tag name", "entity.name.tag") self.body("Tag attribute", "entity.other.attribute-name") self.body("Library function", "support.function", fg: "#A535AE") self.body("Library constant", "support.constant", fg: "#A535AE") self.body("Library class/type", "support.type, support.class", fg: "#A535AE") self.body("Library variable", "support.variable", fg: "#A535AE") self.body("Invalid", "invalid", bg: "#990000", fg: "#FFFFFF") self.body("String interpolation", "constant.other.placeholder.py", fs: "", fg: "#990000") puts("IDLE look-alike generated but you can add more customization to your file") puts("\nTODO: call .body() on your class instance with arguments:") puts("\tinstance.body('description','language scope', 'optional: text decoration')") puts("\ne.g. instance.body('Ruby: Comments', 'constant.numeric.ruby', fs='bold italic', fg='#f0f')\n\n") end def body(desc, scope, **options) desc[0] = desc[0].capitalize ln1 = "\t\t" ln2 = "\t\t\tname" ln3 = "\t\t\t%s" % (desc) ln4 = "\t\t\tscope" ln5 = "\t\t\t%s" % (scope) ln6 = "\t\t\tsettings" ln7 = "\t\t\t\n" lnend = "\t\t\t\n\t\t\n\n" if ((options).size) == 0 ln7 = "\t\t\t\n" lnend = "\t\t\n\n" end lines = [ln1, ln2, ln3, ln4, ln5, ln6, ln7] lines.each{|x| @file.puts(x)} (options.sort.map).each{|x, y| _write(@file, "background", y.upcase) if x.to_s == "bg" _write(@file, "foreground", y.upcase) if x.to_s == "fg" _write(@file, "fontStyle", y) if x.to_s == "fs" } @file.write(lnend) end def complete(uuid="c5873966-71ae-43da-8711-a22542e06922") ln1 = ("\t") ln2 = ("\tuuid\n\t%s\n" % (uuid)) ln3 = ("\n") lines = [ln1, ln2, ln3] # @file = open(@filepath,'a') lines.each{|x| @file.puts(x) } # @file.close() puts("\nCongratulations. Color Scheme completed") puts("\nTODO: call .readme() on your class instance to generate a README file\nArguments are ('repository URL', 'email address', 'screenshot image filename'). \n\nYou can leave all the arguments blank like this '' for each of them if you don't want to supply any but it's advisable to supply them.\nMake sure the image is in the safe folder as the generated README.md file\n\n") end def readme(link="", email="", screenshot="") title = "\n# %s Sublime Color Scheme\n\n" % (@maindir) img = "\n" if (screenshot).size > 4 img = "## Screenshot\n\n![%s Screenshot preview](./%s)\n\n" % [@maindir, screenshot] end about = "## About\n\n%s\n\n" % (@about) inst = "## Installation\n\nOpen `Tools -> Command Palette...`. Search for `Package Control: Install Package` and click enter. Wait for the available packages to show up and then search for `%s`. Click enter and the color scheme should be installed.\n\n" % (@maindir) # Check whether to add a contribution header. contrb = "" if (link).size >= 5 contrb = "## Contributing\nAll contributions are welcome. You can fork me on %s\n\n" % (link) else contrib = "\n" end licsn = "## License\n\nMIT (c) 2015 %s | %s\n\nThis is free software. It is licensed under the MIT License. Feel free to use this in your own work. However, if you modify and/or redistribute it, please attribute me in some way, and it would be great if you distribute your work under this or a similar license, but it's not required.\n\n"% [@author, email] ack = "## Acknowledgements\n\nCreated using Ruby's [sublimetheme](https://rubygems.org/gems/sublimetheme) package by [Taiwo Kareem](https://github.com/tushortz). Alternatively, Use Python's [SublimeScheme](https://pypi.python.org/pypi/Sublimescheme). \n\nAll glory belongs to God.\n\n" lines = [title, img, about, inst, contrb, licsn, ack] filename = 'README.md' filepath = File.join(@themedir, filename) file_ = open(filepath,'w') lines.each{|x| file_.write(x) } file_.close() puts ("\nREADME.md file created. Feel free to customize it.\n\n") end def package(repo) ln0 = "// If you intend to publish it on packagecontrol.io, then copy the following code into the forked repository and paste it in the corresponding repository folder.\n\n" ln1 = '%s %s"name": "%s",' % ['{', "\n\t", @maindir] ln2 = '%s"details": "%s",' % ["\t", repo] ln3 = '%s"labels": ["color scheme","highlighting","linting"],' % ("\t") ln4 = '%s"releases": [' % ["\t"] ln5 = '%s%s' % ["\t\t", '{'] ln6 = '%s"sublime_text": "*",' % ["\t\t\t"] ln7 = '%s"tags": true' % ["\t\t\t"] ln8 = "%s%s\n\t%s\n%s%s" % ["\t\t",'}', ']', '}', ' //,'] lines = [ln0, ln1, ln2, ln3, ln4, ln5, ln6, ln7, ln8] filename = 'packages.json' filepath = File.join(@themedir, filename) file_ = open(filepath,'w') lines.each {|x| file_.puts(x) } file_.close() puts ("Packages.json file created. Check it to make sure it contains the right data") puts ("Feel free to delete it too.\n\n") end end end