prettify.lang
Class LangMl

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

public class LangMl
extends Lang

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

Registers a language handler for OCaml, SML, F# and similar languages. Based on the lexical grammar at http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/manual/spec.html#_Toc270597388

Author:
mikesamuel@gmail.com

Field Summary
 
Fields inherited from class prettify.lang.Lang
extendedLangs, fallthroughStylePatterns, shortcutStylePatterns
 
Constructor Summary
LangMl()
           
 
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

LangMl

public LangMl()
Method Detail

getFileExtensions

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