Graphviz
13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
exdata.c
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (c) 2011 AT&T Intellectual Property
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* https://www.eclipse.org/legal/epl-v10.html
7
*
8
* Contributors: Details at https://graphviz.org
9
*************************************************************************/
10
11
/*
12
* Glenn Fowler
13
* AT&T Research
14
*
15
* expression library readonly tables
16
*/
17
18
static
const
char
id
[] =
"\n@(#)$Id: libexpr (AT&T Research) 2011-06-30 $\0\n"
;
19
20
#include <
expr/exlib.h
>
21
22
const
char
*
exversion
=
id
+ 10;
23
24
Exid_t
exbuiltin
[] =
25
{
26
27
/* id_string references the first entry */
28
29
EX_ID
(
"string"
,
DECLARE
,
STRING
,
STRING
),
30
31
/* order not important after this point (but sorted anyway) */
32
33
EX_ID
(
"break"
,
BREAK
,
BREAK
, 0),
34
EX_ID
(
"case"
,
CASE
,
CASE
, 0),
35
EX_ID
(
"char"
,
DECLARE
,
CHARACTER
,
CHARACTER
),
36
EX_ID
(
"continue"
,
CONTINUE
,
CONTINUE
, 0),
37
EX_ID
(
"default"
,
DEFAULT
,
DEFAULT
, 0),
38
EX_ID
(
"double"
,
DECLARE
,
FLOATING
,
FLOATING
),
39
EX_ID
(
"else"
,
ELSE
,
ELSE
, 0),
40
EX_ID
(
"exit"
,
EXIT
,
EXIT
,
INTEGER
),
41
EX_ID
(
"for"
,
FOR
,
FOR
, 0),
42
EX_ID
(
"forr"
,
ITERATOR
,
ITERATOR
, 0),
43
EX_ID
(
"float"
,
DECLARE
,
FLOATING
,
FLOATING
),
44
EX_ID
(
"gsub"
,
GSUB
,
GSUB
,
STRING
),
45
EX_ID
(
"if"
,
IF
,
IF
, 0),
46
EX_ID
(
"in"
,
IN_OP
,
IN_OP
, 0),
47
EX_ID
(
"int"
,
DECLARE
,
INTEGER
,
INTEGER
),
48
EX_ID
(
"long"
,
DECLARE
,
INTEGER
,
INTEGER
),
49
EX_ID
(
"print"
,
PRINT
,
PRINT
,
INTEGER
),
50
EX_ID
(
"printf"
,
PRINTF
,
PRINTF
,
INTEGER
),
51
EX_ID
(
"query"
,
QUERY
,
QUERY
,
INTEGER
),
52
EX_ID
(
"rand"
,
RAND
,
RAND
,
FLOATING
),
53
EX_ID
(
"return"
,
RETURN
,
RETURN
, 0),
54
EX_ID
(
"scanf"
,
SCANF
,
SCANF
,
INTEGER
),
55
EX_ID
(
"sscanf"
,
SSCANF
,
SSCANF
,
INTEGER
),
56
EX_ID
(
"split"
,
SPLIT
,
SPLIT
,
INTEGER
),
57
EX_ID
(
"sprintf"
,
SPRINTF
,
SPRINTF
,
STRING
),
58
EX_ID
(
"srand"
,
SRAND
,
SRAND
,
INTEGER
),
59
EX_ID
(
"sub"
,
SUB
,
SUB
,
STRING
),
60
EX_ID
(
"substr"
,
SUBSTR
,
SUBSTR
,
STRING
),
61
EX_ID
(
"switch"
,
SWITCH
,
SWITCH
, 0),
62
EX_ID
(
"tokens"
,
TOKENS
,
TOKENS
,
INTEGER
),
63
EX_ID
(
"unset"
,
UNSET
,
UNSET
, 0),
64
EX_ID
(
"unsigned"
,
DECLARE
,
UNSIGNED
,
UNSIGNED
),
65
EX_ID
(
"void"
,
DECLARE
,
VOIDTYPE
, 0),
66
EX_ID
(
"while"
,
WHILE
,
WHILE
, 0),
67
EX_ID
(
"while"
,
WHILE
,
WHILE
, 0),
68
EX_ID
({0}, 0, 0, 0)
69
70
};
exbuiltin
Exid_t exbuiltin[]
Definition
exdata.c:24
exversion
const char * exversion
Definition
exdata.c:22
exlib.h
UNSIGNED
#define UNSIGNED
Definition
exparse.c:237
ELSE
#define ELSE
Definition
exparse.c:252
CHARACTER
#define CHARACTER
Definition
exparse.c:238
SCANF
#define SCANF
Definition
exparse.c:273
SSCANF
#define SSCANF
Definition
exparse.c:277
DEFAULT
#define DEFAULT
Definition
exparse.c:250
WHILE
#define WHILE
Definition
exparse.c:283
SRAND
#define SRAND
Definition
exparse.c:276
SUB
#define SUB
Definition
exparse.c:278
FLOATING
#define FLOATING
Definition
exparse.c:239
FOR
#define FOR
Definition
exparse.c:254
IN_OP
#define IN_OP
Definition
exparse.c:307
SUBSTR
#define SUBSTR
Definition
exparse.c:279
TOKENS
#define TOKENS
Definition
exparse.c:281
ITERATOR
#define ITERATOR
Definition
exparse.c:258
VOIDTYPE
#define VOIDTYPE
Definition
exparse.c:241
RAND
#define RAND
Definition
exparse.c:271
PRINT
#define PRINT
Definition
exparse.c:267
SPRINTF
#define SPRINTF
Definition
exparse.c:275
GSUB
#define GSUB
Definition
exparse.c:256
UNSET
#define UNSET
Definition
exparse.c:282
CONTINUE
#define CONTINUE
Definition
exparse.c:248
SPLIT
#define SPLIT
Definition
exparse.c:274
BREAK
#define BREAK
Definition
exparse.c:244
IF
#define IF
Definition
exparse.c:260
SWITCH
#define SWITCH
Definition
exparse.c:280
DECLARE
#define DECLARE
Definition
exparse.c:249
EXIT
#define EXIT
Definition
exparse.c:253
PRINTF
#define PRINTF
Definition
exparse.c:268
QUERY
#define QUERY
Definition
exparse.c:270
CASE
#define CASE
Definition
exparse.c:246
EX_ID
#define EX_ID(n, l, i, t)
Definition
expr.h:53
STRING
#define STRING
Definition
gmlparse.c:375
INTEGER
#define INTEGER
Definition
gmlparse.c:373
RETURN
#define RETURN(v)
Definition
strmatch.c:144
Exid_s
Definition
expr.h:93
lib
expr
exdata.c
Generated by
1.9.8