summaryrefslogtreecommitdiff
path: root/pygments/lexers/_stan_builtins.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/_stan_builtins.py')
-rw-r--r--pygments/lexers/_stan_builtins.py53
1 files changed, 32 insertions, 21 deletions
diff --git a/pygments/lexers/_stan_builtins.py b/pygments/lexers/_stan_builtins.py
index 246cdd88..f9e331d3 100644
--- a/pygments/lexers/_stan_builtins.py
+++ b/pygments/lexers/_stan_builtins.py
@@ -4,26 +4,25 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This file contains the names of functions for Stan used by
- ``pygments.lexers.math.StanLexer. This is for Stan language version 2.4.0.
+ ``pygments.lexers.math.StanLexer. This is for Stan language version 2.5.0.
:copyright: Copyright 2006-2014 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
-KEYWORDS = (
- 'else',
+KEYWORDS = ( 'else',
'for',
'if',
'in',
'increment_log_prob',
+ 'integrate_ode',
'lp__',
'print',
+ 'reject',
'return',
- 'while',
-)
+ 'while')
-TYPES = (
- 'cholesky_factor_corr',
+TYPES = ( 'cholesky_factor_corr',
'cholesky_factor_cov',
'corr_matrix',
'cov_matrix',
@@ -36,15 +35,15 @@ TYPES = (
'simplex',
'unit_vector',
'vector',
- 'void',
-)
+ 'void')
-FUNCTIONS = (
- 'Phi',
+FUNCTIONS = ( 'Phi',
'Phi_approx',
'abs',
'acos',
'acosh',
+ 'append_col',
+ 'append_row',
'asin',
'asinh',
'atan',
@@ -144,6 +143,11 @@ FUNCTIONS = (
'fmax',
'fmin',
'fmod',
+ 'frechet_ccdf_log',
+ 'frechet_cdf',
+ 'frechet_cdf_log',
+ 'frechet_log',
+ 'frechet_rng',
'gamma_ccdf_log',
'gamma_cdf',
'gamma_cdf_log',
@@ -152,6 +156,7 @@ FUNCTIONS = (
'gamma_q',
'gamma_rng',
'gaussian_dlm_obs_log',
+ 'get_lp',
'gumbel_ccdf_log',
'gumbel_cdf',
'gumbel_cdf_log',
@@ -182,6 +187,8 @@ FUNCTIONS = (
'inv_wishart_rng',
'inverse',
'inverse_spd',
+ 'is_inf',
+ 'is_nan',
'lbeta',
'lgamma',
'lkj_corr_cholesky_log',
@@ -252,6 +259,7 @@ FUNCTIONS = (
'normal_log',
'normal_rng',
'not_a_number',
+ 'num_elements',
'ordered_logistic_log',
'ordered_logistic_rng',
'owens_t',
@@ -260,6 +268,11 @@ FUNCTIONS = (
'pareto_cdf_log',
'pareto_log',
'pareto_rng',
+ 'pareto_type_2_ccdf_log',
+ 'pareto_type_2_cdf',
+ 'pareto_type_2_cdf_log',
+ 'pareto_type_2_log',
+ 'pareto_type_2_rng',
'pi',
'poisson_ccdf_log',
'poisson_cdf',
@@ -354,11 +367,9 @@ FUNCTIONS = (
'weibull_log',
'weibull_rng',
'wishart_log',
- 'wishart_rng',
-)
+ 'wishart_rng')
-DISTRIBUTIONS = (
- 'bernoulli',
+DISTRIBUTIONS = ( 'bernoulli',
'bernoulli_logit',
'beta',
'beta_binomial',
@@ -372,6 +383,7 @@ DISTRIBUTIONS = (
'double_exponential',
'exp_mod_normal',
'exponential',
+ 'frechet',
'gamma',
'gaussian_dlm_obs',
'gumbel',
@@ -396,6 +408,7 @@ DISTRIBUTIONS = (
'normal',
'ordered_logistic',
'pareto',
+ 'pareto_type_2',
'poisson',
'poisson_log',
'rayleigh',
@@ -405,11 +418,9 @@ DISTRIBUTIONS = (
'uniform',
'von_mises',
'weibull',
- 'wishart',
-)
+ 'wishart')
-RESERVED = (
- 'alignas',
+RESERVED = ( 'alignas',
'alignof',
'and',
'and_eq',
@@ -494,5 +505,5 @@ RESERVED = (
'volatile',
'wchar_t',
'xor',
- 'xor_eq',
-)
+ 'xor_eq')
+