Gromacs  2026.0-dev-20241106-9ba7f4d
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
#include <cstddef>
#include <exception>
#include <string>
#include "gromacs/selection/selelem.h"
#include "parser.h"
#include "scanner_flex.h"
+ Include dependency graph for scanner_internal.h:
+ This graph shows which files directly or indirectly include this file:

Description

Internal header file used by the selection tokenizer.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

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 Documentation

Internal data structure for the selection tokenizer state.

Function Documentation

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.