diff options
author | ZyX <kp-pav@yandex.ru> | 2017-11-05 01:33:44 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-11-06 01:17:38 +0300 |
commit | 07ec709141886c6db4f944665e07a36ef7302eb4 (patch) | |
tree | c68ac5ccaa2b6b5e9942c89773e141c4fe54da8a /src/nvim/viml/parser/expressions.h | |
parent | b9d5aea073521f3278bea257be306b7ac2b8d83c (diff) | |
download | rneovim-07ec709141886c6db4f944665e07a36ef7302eb4.tar.gz rneovim-07ec709141886c6db4f944665e07a36ef7302eb4.tar.bz2 rneovim-07ec709141886c6db4f944665e07a36ef7302eb4.zip |
vim/api: Actually dump AST, fix some bugs in nvim_parse_expression
Diffstat (limited to 'src/nvim/viml/parser/expressions.h')
-rw-r--r-- | src/nvim/viml/parser/expressions.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/viml/parser/expressions.h b/src/nvim/viml/parser/expressions.h index 668c2a4c84..648f8cbc1f 100644 --- a/src/nvim/viml/parser/expressions.h +++ b/src/nvim/viml/parser/expressions.h @@ -341,6 +341,15 @@ typedef struct { /// Array mapping ExprASTNodeType to maximum amount of children node may have extern const uint8_t node_maxchildren[]; +/// Array mapping ExprASTNodeType values to their stringified versions +extern const char *const east_node_type_tab[]; + +/// Array mapping ExprComparisonType values to their stringified versions +extern const char *const eltkn_cmp_type_tab[]; + +/// Array mapping ExprCaseCompareStrategy values to their stringified versions +extern const char *const ccs_tab[]; + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "viml/parser/expressions.h.generated.h" #endif |