Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpToken.h
1/*
2 * ViSP, open source Visual Servoing Platform software.
3 * Copyright (C) 2005 - 2025 by Inria. All rights reserved.
4 *
5 * This software is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 * See the file LICENSE.txt at the root directory of this source
10 * distribution for additional information about the GNU GPL.
11 *
12 * For using ViSP with software that can not be combined with the GNU
13 * GPL, please contact Inria about acquiring a ViSP Professional
14 * Edition License.
15 *
16 * See https://visp.inria.fr for more information.
17 *
18 * This software was developed at:
19 * Inria Rennes - Bretagne Atlantique
20 * Campus Universitaire de Beaulieu
21 * 35042 Rennes Cedex
22 * France
23 *
24 * If you have questions regarding the use of this file, please contact
25 * Inria at visp@inria.fr
26 *
27 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
28 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
29 *
30 * Description:
31 * Le module "token.h" contient les Macros et les Types
32 * des jetons de l'analyseur lexicale .
33 *
34 * Authors:
35 * Jean-Luc CORRE
36 */
37#ifndef vpToken_H
38#define vpToken_H
39
40#include <visp3/core/vpConfig.h>
41
42#ifndef DOXYGEN_SHOULD_SKIP_THIS
43
44#include <visp3/robot/vpWireFrameSimulatorTypes.h>
45
47typedef struct
48{
49 const char *ident; /* identifateur */
50 Index token; /* code du jeton */
51} Keyword;
52
53#define T_EOF 256
54#define T_FLOAT 257
55#define T_IDENT 258
56#define T_INT 259
57#define T_STRING 260
58
59extern float myfloat;
60extern int myint;
61extern int mylength;
62extern int mylineno;
63extern char *mytext;
64extern Keyword keyword_tbl[];
65END_VISP_NAMESPACE
66/*
67 * Jetons superieurs a 270 (voir "../mylex/token.h").
68 */
69#define T_ABOVE 270
70#define T_BACK 271
71#define T_BELOW 272
72#define T_BOUND 273
73#define T_COP 274
74#define T_DEPTH 275
75#define T_EXIT 276
76#define T_FACE_LIST 277
77#define T_FILE 278
78#define T_FRONT 279
79#define T_IMAGE 280
80#define T_LEFT 281
81#define T_NONE 282
82#define T_ORIGIN 283
83#define T_PARALLEL 284
84#define T_PERSPECTIVE 285
85#define T_POINT_LIST 286
86#define T_REMOVE 287
87#define T_RIGHT 288
88#define T_SIZE 289
89#define T_TYPE 290
90#define T_VIEW 291
91#define T_VPN 292
92#define T_VRP 293
93#define T_VUP 294
94#define T_WINDOW 295
95#define T_NULL 296
96
97#endif
98#endif