Login   Register  
PHP Classes
elePHPant
Icontem

File: docs/js/prettify/lang-lua.js

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of t withers  >  Lightning IMAP  >  docs/js/prettify/lang-lua.js  >  Download  
File: docs/js/prettify/lang-lua.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Lightning IMAP
Access messages in a mailbox via IMAP protocol
Author: By
Last change:
Date: 2012-11-27 22:19
Size: 552 bytes
 

Contents

Class file image Download
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r Â\xa0"],["str",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\S\s]*?(?:]\1]|$)|[^\n\r]*)/],["str",/^\[(=*)\[[\S\s]*?(?:]\1]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i],
["pln",/^[_a-z]\w*/i],["pun",/^[^\w\t\n\r \xa0][^\w\t\n\r "'+=\xa0-]*/]]),["lua"]);