1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/stan.js"],"names":["module","exports","hljs","contains","HASH_COMMENT_MODE","C_LINE_COMMENT_MODE","C_BLOCK_COMMENT_MODE","begin","UNDERSCORE_IDENT_RE","lexemes","keywords","name","symbol","title","literal","relevance","className"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GACxB,MAAO,CACLC,SAAU,CACRD,EAAKE,kBACLF,EAAKG,oBACLH,EAAKI,qBACL,CACEC,MAAOL,EAAKM,oBACZC,QAASP,EAAKM,oBACdE,SAAU,CAERC,KACE,yCAIFC,OACE,smBAYF,eACE,iJAIFC,MACE,mEAEFC,QACE,cAEJC,UAAW,GAGb,CAEEC,UAAW,SACXT,MAAO,4BACPQ,UAAW,GAEb,CAEEC,UAAW,SACXT,MAAO,4BACPQ,UAAW,GAEb,CAEEC,UAAW,SACXT,MAAO,+BACPQ,UAAW,GAEb,CAEEC,UAAW,SACXT,MAAO,0BACPQ,UAAW,GAEb,CAEEC,UAAW,SACXT,MAAO,4CACPQ,UAAW,GAEb,CAEEC,UAAW,SACXT,MAAO,mCACPQ,UAAW","file":"highlight/stan.js?v=8513c934ac347bda4f88","sourcesContent":["module.exports = function(hljs) {\n return {\n contains: [\n hljs.HASH_COMMENT_MODE,\n hljs.C_LINE_COMMENT_MODE,\n hljs.C_BLOCK_COMMENT_MODE,\n {\n begin: hljs.UNDERSCORE_IDENT_RE,\n lexemes: hljs.UNDERSCORE_IDENT_RE,\n keywords: {\n // Stan's keywords\n name:\n 'for in while repeat until if then else',\n // Stan's probablity distributions (less beta and gamma, as commonly\n // used for parameter names). So far, _log and _rng variants are not\n // included\n symbol:\n 'bernoulli bernoulli_logit binomial binomial_logit ' +\n 'beta_binomial hypergeometric categorical categorical_logit ' +\n 'ordered_logistic neg_binomial neg_binomial_2 ' +\n 'neg_binomial_2_log poisson poisson_log multinomial normal ' +\n 'exp_mod_normal skew_normal student_t cauchy double_exponential ' +\n 'logistic gumbel lognormal chi_square inv_chi_square ' +\n 'scaled_inv_chi_square exponential inv_gamma weibull frechet ' +\n 'rayleigh wiener pareto pareto_type_2 von_mises uniform ' +\n 'multi_normal multi_normal_prec multi_normal_cholesky multi_gp ' +\n 'multi_gp_cholesky multi_student_t gaussian_dlm_obs dirichlet ' +\n 'lkj_corr lkj_corr_cholesky wishart inv_wishart',\n // Stan's data types\n 'selector-tag':\n 'int real vector simplex unit_vector ordered positive_ordered ' +\n 'row_vector matrix cholesky_factor_corr cholesky_factor_cov ' +\n 'corr_matrix cov_matrix',\n // Stan's model blocks\n title:\n 'functions model data parameters quantities transformed ' +\n 'generated',\n literal:\n 'true false'\n },\n relevance: 0\n },\n // The below is all taken from the R language definition\n {\n // hex value\n className: 'number',\n begin: \"0[xX][0-9a-fA-F]+[Li]?\\\\b\",\n relevance: 0\n },\n {\n // hex value\n className: 'number',\n begin: \"0[xX][0-9a-fA-F]+[Li]?\\\\b\",\n relevance: 0\n },\n {\n // explicit integer\n className: 'number',\n begin: \"\\\\d+(?:[eE][+\\\\-]?\\\\d*)?L\\\\b\",\n relevance: 0\n },\n {\n // number with trailing decimal\n className: 'number',\n begin: \"\\\\d+\\\\.(?!\\\\d)(?:i\\\\b)?\",\n relevance: 0\n },\n {\n // number\n className: 'number',\n begin: \"\\\\d+(?:\\\\.\\\\d*)?(?:[eE][+\\\\-]?\\\\d*)?i?\\\\b\",\n relevance: 0\n },\n {\n // number with leading decimal\n className: 'number',\n begin: \"\\\\.\\\\d+(?:[eE][+\\\\-]?\\\\d*)?i?\\\\b\",\n relevance: 0\n }\n ]\n };\n};"],"sourceRoot":""}
|