LibreOffice Module hwpfilter (master) 1
grammar.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20typedef union {
21 const char *dval;
22 const char *str;
24} YYSTYPE;
25
27{
28 ACCENT = 257,
33 ARROW = 262,
37 FUNCTION = 266,
38 ROOT = 267,
39 FRACTION = 268,
40 SUBSUP = 269,
41 EQOVER = 270,
42 DELIMETER = 271,
46 CHARACTER = 275,
47 STRING = 276,
48 OPERATOR = 277,
49 EQBEGIN = 278,
50 EQEND = 279,
51 EQLEFT = 280,
52 EQRIGHT = 281,
53 NEWLINE = 282,
56 DIGIT = 285,
57};
58
59extern YYSTYPE yylval;
60
61/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Grammar
Definition: grammar.h:27
@ RELATION_OPERATOR
Definition: grammar.h:32
@ RIGHT_DELIM
Definition: grammar.h:55
@ GENERAL_IDEN
Definition: grammar.h:34
@ DIGIT
Definition: grammar.h:56
@ DELIMETER
Definition: grammar.h:42
@ EQOVER
Definition: grammar.h:41
@ EQEND
Definition: grammar.h:50
@ CAPITAL_GREEK
Definition: grammar.h:30
@ ACCENT
Definition: grammar.h:28
@ LARGE_DELIM
Definition: grammar.h:43
@ GENERAL_OPER
Definition: grammar.h:35
@ EQLEFT
Definition: grammar.h:51
@ ARROW
Definition: grammar.h:33
@ NEWLINE
Definition: grammar.h:53
@ OPERATOR
Definition: grammar.h:48
@ CHARACTER
Definition: grammar.h:46
@ BINARY_OPERATOR
Definition: grammar.h:31
@ SUBSUP
Definition: grammar.h:40
@ SPACE_SYMBOL
Definition: grammar.h:45
@ EQRIGHT
Definition: grammar.h:52
@ EQBEGIN
Definition: grammar.h:49
@ SMALL_GREEK
Definition: grammar.h:29
@ LEFT_DELIM
Definition: grammar.h:54
@ DECORATION
Definition: grammar.h:44
@ FUNCTION
Definition: grammar.h:37
@ BIG_SYMBOL
Definition: grammar.h:36
@ FRACTION
Definition: grammar.h:39
@ ROOT
Definition: grammar.h:38
@ STRING
Definition: grammar.h:47
YYSTYPE yylval
Definition: grammar.cxx:304
Node * ptr
Definition: grammar.h:23
const char * dval
Definition: grammar.h:21
const char * str
Definition: grammar.h:22