Data Structures | Typedefs | Functions
parser.h File Reference
#include <stdbool.h>
#include <stddef.h>
#include <assert.h>
#include "nvim/lib/kvec.h"
#include "nvim/func_attr.h"
#include "nvim/mbyte.h"
#include "nvim/memory.h"

Go to the source code of this file.

Data Structures

struct  ParserLine
 One parsed line. More...
 
struct  ParserPosition
 Parser position in the input. More...
 
struct  ParserStateItem
 Parser state item. More...
 
struct  ParserInputReader
 Structure defining input reader. More...
 
struct  ParserHighlightChunk
 
struct  ParserState
 Structure defining parser state. More...
 

Typedefs

typedef void(* ParserLineGetter) (void *cookie, ParserLine *ret_pline)
 

Functions

typedef kvec_withinit_t (ParserHighlightChunk, 16) ParserHighlight
 Highlighting defined by a parser. More...
 

Typedef Documentation

typedef void(* ParserLineGetter) (void *cookie, ParserLine *ret_pline)

Line getter type for parser

Line getter must return {NULL, 0} for EOF.

Function Documentation

typedef kvec_withinit_t ( ParserHighlightChunk  ,
16   
)

Highlighting defined by a parser.