prettify.lang
Class LangClj

java.lang.Object
  extended by prettify.lang.Lang
      extended by prettify.lang.LangClj

public class LangClj
extends Lang

This is similar to the lang-clj.js in JavaScript Prettify. All comments are adapted from the JavaScript Prettify.

Registers a language handler for Clojure. To use, include prettify.js and this file in your HTML page. Then put your code in an HTML tag like

(my lisp code)
The lang-cl class identifies the language as common lisp. This file supports the following language extensions: lang-clj - Clojure I used lang-lisp.js as the basis for this adding the clojure specific keywords and syntax. "Name" = 'Clojure' "Author" = 'Rich Hickey' "Version" = '1.2' "About" = 'Clojure is a lisp for the jvm with concurrency primitives and a richer set of types.' I used Clojure.org Reference as the basis for the reserved word list.

Author:
jwall@google.com

Field Summary
 
Fields inherited from class prettify.lang.Lang
extendedLangs, fallthroughStylePatterns, shortcutStylePatterns
 
Constructor Summary
LangClj()
           
 
Method Summary
static java.util.List<java.lang.String> getFileExtensions()
           
 
Methods inherited from class prettify.lang.Lang
getExtendedLangs, getFallthroughStylePatterns, getShortcutStylePatterns, setExtendedLangs, setFallthroughStylePatterns, setShortcutStylePatterns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LangClj

public LangClj()
Method Detail

getFileExtensions

public static java.util.List<java.lang.String> getFileExtensions()