Gromacs
2026.0-dev-20241106-9ba7f4d
|
#include <cstddef>
#include <exception>
#include <string>
#include "gromacs/selection/selelem.h"
#include "parser.h"
#include "scanner_flex.h"
Internal header file used by the selection tokenizer.
Classes | |
struct | gmx_sel_lexer_t |
Internal data structure for the selection tokenizer state. More... | |
Typedefs | |
typedef struct gmx_sel_lexer_t | gmx_sel_lexer_t |
Internal data structure for the selection tokenizer state. More... | |
Functions | |
int | _gmx_sel_lexer_process_pending (YYSTYPE *,::gmx::SelectionLocation *, gmx_sel_lexer_t *state) |
Internal function for cases where several tokens need to be returned. More... | |
int | _gmx_sel_lexer_process_identifier (YYSTYPE *,::gmx::SelectionLocation *, char *, size_t, gmx_sel_lexer_t *state) |
Internal function that processes identifier tokens. More... | |
void | _gmx_sel_lexer_add_token (::gmx::SelectionLocation *, const char *str, int len, gmx_sel_lexer_t *state) |
Internal function to add a token to the pretty-printed selection text. More... | |
typedef struct gmx_sel_lexer_t gmx_sel_lexer_t |
Internal data structure for the selection tokenizer state.
void _gmx_sel_lexer_add_token | ( | ::gmx::SelectionLocation * | , |
const char * | str, | ||
int | len, | ||
gmx_sel_lexer_t * | state | ||
) |
Internal function to add a token to the pretty-printed selection text.
int _gmx_sel_lexer_process_identifier | ( | YYSTYPE * | , |
::gmx::SelectionLocation * | , | ||
char * | , | ||
size_t | , | ||
gmx_sel_lexer_t * | state | ||
) |
Internal function that processes identifier tokens.
int _gmx_sel_lexer_process_pending | ( | YYSTYPE * | , |
::gmx::SelectionLocation * | , | ||
gmx_sel_lexer_t * | state | ||
) |
Internal function for cases where several tokens need to be returned.