api/vim: Add nvim_parse_expression function

This commit is contained in:
ZyX
2017-10-29 20:11:44 +03:00
parent 1be29dc5ac
commit 22d161a5dd
3 changed files with 70 additions and 3 deletions

View File

@@ -338,6 +338,9 @@ typedef struct {
ExprASTNode *root;
} ExprAST;
/// Array mapping ExprASTNodeType to maximum amount of children node may have
extern const uint8_t node_maxchildren[];
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "viml/parser/expressions.h.generated.h"
#endif