Graphviz 13.0.0~dev.20250607.1528
Loading...
Searching...
No Matches
grammar.h File Reference
#include <cghdr.h>
#include <util/agxbuf.h>
Include dependency graph for grammar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  aagextra_s
 
union  AAGSTYPE
 

Macros

#define AAGDEBUG   0
 
#define AAGTOKENTYPE
 
#define AAGEMPTY   -2
 
#define AAGEOF   0
 
#define AAGerror   256
 
#define AAGUNDEF   257
 
#define T_graph   258
 
#define T_node   259
 
#define T_edge   260
 
#define T_digraph   261
 
#define T_subgraph   262
 
#define T_strict   263
 
#define T_edgeop   264
 
#define T_list   265
 
#define T_attr   266
 
#define T_atom   267
 
#define T_qatom   268
 
#define AAGSTYPE_IS_TRIVIAL   1
 
#define AAGSTYPE_IS_DECLARED   1
 

Typedefs

typedef enum aagtokentype aagtoken_kind_t
 
typedef union AAGSTYPE AAGSTYPE
 

Enumerations

enum  aagtokentype {
  AAGEMPTY = -2 , AAGEOF = 0 , AAGerror = 256 , AAGUNDEF = 257 ,
  T_graph = 258 , T_node = 259 , T_edge = 260 , T_digraph = 261 ,
  T_subgraph = 262 , T_strict = 263 , T_edgeop = 264 , T_list = 265 ,
  T_attr = 266 , T_atom = 267 , T_qatom = 268
}
 

Functions

int aagparse (aagscan_t scanner)
 
void aagerror (aagscan_t, const char *)
 
int aaglex (AAGSTYPE *, aagscan_t)
 

Macro Definition Documentation

◆ AAGDEBUG

#define AAGDEBUG   0

Definition at line 49 of file grammar.h.

◆ AAGEMPTY

#define AAGEMPTY   -2

Definition at line 108 of file grammar.h.

◆ AAGEOF

#define AAGEOF   0

Definition at line 109 of file grammar.h.

◆ AAGerror

#define AAGerror   256

Definition at line 110 of file grammar.h.

◆ AAGSTYPE_IS_DECLARED

#define AAGSTYPE_IS_DECLARED   1

Definition at line 139 of file grammar.h.

◆ AAGSTYPE_IS_TRIVIAL

#define AAGSTYPE_IS_TRIVIAL   1

Definition at line 138 of file grammar.h.

◆ AAGTOKENTYPE

#define AAGTOKENTYPE

Definition at line 86 of file grammar.h.

◆ AAGUNDEF

#define AAGUNDEF   257

Definition at line 111 of file grammar.h.

◆ T_atom

#define T_atom   267

Definition at line 121 of file grammar.h.

◆ T_attr

#define T_attr   266

Definition at line 120 of file grammar.h.

◆ T_digraph

#define T_digraph   261

Definition at line 115 of file grammar.h.

◆ T_edge

#define T_edge   260

Definition at line 114 of file grammar.h.

◆ T_edgeop

#define T_edgeop   264

Definition at line 118 of file grammar.h.

◆ T_graph

#define T_graph   258

Definition at line 112 of file grammar.h.

◆ T_list

#define T_list   265

Definition at line 119 of file grammar.h.

◆ T_node

#define T_node   259

Definition at line 113 of file grammar.h.

◆ T_qatom

#define T_qatom   268

Definition at line 122 of file grammar.h.

◆ T_strict

#define T_strict   263

Definition at line 117 of file grammar.h.

◆ T_subgraph

#define T_subgraph   262

Definition at line 116 of file grammar.h.

Typedef Documentation

◆ AAGSTYPE

typedef union AAGSTYPE AAGSTYPE

Definition at line 137 of file grammar.h.

◆ aagtoken_kind_t

Definition at line 105 of file grammar.h.

Enumeration Type Documentation

◆ aagtokentype

Enumerator
AAGEMPTY 
AAGEOF 
AAGerror 
AAGUNDEF 
T_graph 
T_node 
T_edge 
T_digraph 
T_subgraph 
T_strict 
T_edgeop 
T_list 
T_attr 
T_atom 
T_qatom 

Definition at line 87 of file grammar.h.

Function Documentation

◆ aagerror()

void aagerror ( aagscan_t  yyscanner,
const char *  str 
)

Definition at line 151 of file scan.l.

References agerrorf(), agxbfree(), agxblen(), agxbprint(), agxbputc(), agxbuse(), BEGIN, comment, hstring, INITIAL, qstring, str, YY_BUF_SIZE, yyextra, yyg, and YYSTATE.

Here is the call graph for this function:

◆ aaglex()

int aaglex ( AAGSTYPE ,
aagscan_t   
)

◆ aagparse()

int aagparse ( aagscan_t  scanner)