LexLeo 0.0.0-dev+f8e5087-dirty
Technical documentation
Loading...
Searching...
No Matches
parser_types.h File Reference

Go to the source code of this file.

Data Structures

struct  context
 
struct  lexer_extra
 

Macros

#define YY_TYPEDEF_YY_SCANNER_T
 

Typedefs

typedef struct ast ast
 
typedef struct symtab symtab
 
typedef struct contextcontext
 
typedef struct input_provider input_provider
 
typedef struct lexer_extra lexer_extra_t
 
typedef void * yyscan_t
 

Enumerations

enum  parse_goal_t { PARSE_GOAL_TU , PARSE_GOAL_ONE_STATEMENT , PARSE_GOAL_READABLE }
 
enum  parse_status { PARSE_STATUS_OK , PARSE_STATUS_EOF , PARSE_STATUS_INCOMPLETE , PARSE_STATUS_ERROR }
 

Macro Definition Documentation

◆ YY_TYPEDEF_YY_SCANNER_T

#define YY_TYPEDEF_YY_SCANNER_T

Definition at line 34 of file parser_types.h.

Typedef Documentation

◆ ast

typedef struct ast ast

Definition at line 6 of file parser_types.h.

◆ context

typedef struct context * context

◆ input_provider

Definition at line 16 of file parser_types.h.

◆ lexer_extra_t

typedef struct lexer_extra lexer_extra_t

◆ symtab

typedef struct symtab symtab

Definition at line 7 of file parser_types.h.

◆ yyscan_t

typedef void* yyscan_t

Definition at line 35 of file parser_types.h.

Enumeration Type Documentation

◆ parse_goal_t

Enumerator
PARSE_GOAL_TU 
PARSE_GOAL_ONE_STATEMENT 
PARSE_GOAL_READABLE 

Definition at line 10 of file parser_types.h.

◆ parse_status

Enumerator
PARSE_STATUS_OK 
PARSE_STATUS_EOF 
PARSE_STATUS_INCOMPLETE 
PARSE_STATUS_ERROR 

Definition at line 25 of file parser_types.h.