blob: 17bb45a2e4fad84b39bc59b596b8052f1ffb1160 [file] [log] [blame]
{"version":3,"sources":["webpack:///./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/livecodeserver.js"],"names":["module","exports","hljs","VARIABLE","className","variants","begin","relevance","COMMENT_MODES","C_BLOCK_COMMENT_MODE","HASH_COMMENT_MODE","COMMENT","TITLE1","inherit","TITLE_MODE","TITLE2","name","case_insensitive","keywords","keyword","literal","built_in","contains","beginKeywords","end","APOS_STRING_MODE","QUOTE_STRING_MODE","BINARY_NUMBER_MODE","C_NUMBER_MODE","concat","illegal"],"mappings":"8EAuEAA,EAAOC,QA/DP,SAAwBC,GACtB,IAAIC,EAAW,CACbC,UAAW,WACXC,SAAU,CAAC,CACTC,MAAO,uDACN,CACDA,MAAO,eAETC,UAAW,GAETC,EAAgB,CAACN,EAAKO,qBAAsBP,EAAKQ,kBAAmBR,EAAKS,QAAQ,KAAM,KAAMT,EAAKS,QAAQ,SAAU,MACpHC,EAASV,EAAKW,QAAQX,EAAKY,WAAY,CACzCT,SAAU,CAAC,CACTC,MAAO,kCACN,CACDA,MAAO,uBAGPS,EAASb,EAAKW,QAAQX,EAAKY,WAAY,CACzCR,MAAO,6BAET,MAAO,CACLU,KAAM,WACNC,kBAAkB,EAClBC,SAAU,CACRC,QAAS,4/BACTC,QAAS,gfACTC,SAAU,o4KAEZC,SAAU,CAACnB,EAAU,CACnBC,UAAW,UACXE,MAAO,kBACN,CACDF,UAAW,WACXmB,cAAe,WACfC,IAAK,IACLF,SAAU,CAACnB,EAAUY,EAAQb,EAAKuB,iBAAkBvB,EAAKwB,kBAAmBxB,EAAKyB,mBAAoBzB,EAAK0B,cAAehB,IACxH,CACDR,UAAW,WACXE,MAAO,aACPkB,IAAK,IACLN,SAAU,MACVI,SAAU,CAACP,EAAQH,GACnBL,UAAW,GACV,CACDgB,cAAe,aACfC,IAAK,IACLF,SAAU,CAACnB,EAAUY,EAAQb,EAAKuB,iBAAkBvB,EAAKwB,kBAAmBxB,EAAKyB,mBAAoBzB,EAAK0B,cAAehB,IACxH,CACDR,UAAW,OACXC,SAAU,CAAC,CACTC,MAAO,wBACPC,UAAW,IACV,CACDD,MAAO,QACN,CACDA,MAAO,UAERJ,EAAKuB,iBAAkBvB,EAAKwB,kBAAmBxB,EAAKyB,mBAAoBzB,EAAK0B,cAAehB,GAAQiB,OAAOrB,GAC9GsB,QAAS","file":"react-syntax-highlighter_languages_highlight_livecodeserver-1657db8a8eba3699c164.js","sourcesContent":["/*\nLanguage: LiveCode\nAuthor: Ralf Bitter <rabit@revigniter.com>\nDescription: Language definition for LiveCode server accounting for revIgniter (a web application framework) characteristics.\nVersion: 1.1\nDate: 2019-04-17\nCategory: enterprise\n*/\nfunction livecodeserver(hljs) {\n var VARIABLE = {\n className: 'variable',\n variants: [{\n begin: '\\\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\\\[.+\\\\])?(?:\\\\s*?)'\n }, {\n begin: '\\\\$_[A-Z]+'\n }],\n relevance: 0\n };\n var COMMENT_MODES = [hljs.C_BLOCK_COMMENT_MODE, hljs.HASH_COMMENT_MODE, hljs.COMMENT('--', '$'), hljs.COMMENT('[^:]//', '$')];\n var TITLE1 = hljs.inherit(hljs.TITLE_MODE, {\n variants: [{\n begin: '\\\\b_*rig[A-Z]+[A-Za-z0-9_\\\\-]*'\n }, {\n begin: '\\\\b_[a-z0-9\\\\-]+'\n }]\n });\n var TITLE2 = hljs.inherit(hljs.TITLE_MODE, {\n begin: '\\\\b([A-Za-z0-9_\\\\-]+)\\\\b'\n });\n return {\n name: 'LiveCode',\n case_insensitive: false,\n keywords: {\n keyword: '$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER ' + 'codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph ' + 'after byte bytes english the until http forever descending using line real8 with seventh ' + 'for stdout finally element word words fourth before black ninth sixth characters chars stderr ' + 'uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid ' + 'at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 ' + 'int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat ' + 'end repeat URL in try into switch to words https token binfile each tenth as ticks tick ' + 'system real4 by dateItems without char character ascending eighth whole dateTime numeric short ' + 'first ftp integer abbreviated abbr abbrev private case while if ' + 'div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within ' + 'contains ends with begins the keys of keys',\n literal: 'SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE ' + 'QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO ' + 'six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five ' + 'quote empty one true return cr linefeed right backslash null seven tab three two ' + 'RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK ' + 'FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK',\n built_in: 'put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode ' + 'base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum ' + 'cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress ' + 'constantNames cos date dateFormat decompress difference directories ' + 'diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global ' + 'globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset ' + 'keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders ' + 'libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 ' + 'longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec ' + 'millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar ' + 'numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets ' + 'paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation ' + 'populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile ' + 'revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull ' + 'revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered ' + 'revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames ' + 'revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull ' + 'revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections ' + 'revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype ' + 'revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext ' + 'revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames ' + 'revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase ' + 'revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute ' + 'revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces ' + 'revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode ' + 'revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling ' + 'revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error ' + 'revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute ' + 'revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort ' + 'revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree ' + 'revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance ' + 'sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound ' + 'stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper ' + 'transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames ' + 'variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet ' + 'xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process ' + 'combine constant convert create new alias folder directory decrypt delete variable word line folder ' + 'directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile ' + 'libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver ' + 'libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime ' + 'libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename ' + 'replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase ' + 'revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees ' + 'revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord ' + 'revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase ' + 'revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD ' + 'revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost ' + 'revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData ' + 'revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel ' + 'revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback ' + 'revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop ' + 'subtract symmetric union unload vectorDotProduct wait write'\n },\n contains: [VARIABLE, {\n className: 'keyword',\n begin: '\\\\bend\\\\sif\\\\b'\n }, {\n className: 'function',\n beginKeywords: 'function',\n end: '$',\n contains: [VARIABLE, TITLE2, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE, TITLE1]\n }, {\n className: 'function',\n begin: '\\\\bend\\\\s+',\n end: '$',\n keywords: 'end',\n contains: [TITLE2, TITLE1],\n relevance: 0\n }, {\n beginKeywords: 'command on',\n end: '$',\n contains: [VARIABLE, TITLE2, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE, TITLE1]\n }, {\n className: 'meta',\n variants: [{\n begin: '<\\\\?(rev|lc|livecode)',\n relevance: 10\n }, {\n begin: '<\\\\?'\n }, {\n begin: '\\\\?>'\n }]\n }, hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, hljs.BINARY_NUMBER_MODE, hljs.C_NUMBER_MODE, TITLE1].concat(COMMENT_MODES),\n illegal: ';$|^\\\\[|^=|&|{'\n };\n}\n\nmodule.exports = livecodeserver;"],"sourceRoot":""}