amath
1.8.5
Simple command line calculator
symbol.h
Go to the documentation of this file.
1
/*-
2
* Copyright (c) 2014-2018 Carsten Sonne Larsen <cs@innolan.net>
3
* All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without
6
* modification, are permitted provided that the following conditions
7
* are met:
8
* 1. Redistributions of source code must retain the above copyright
9
* notice, this list of conditions and the following disclaimer.
10
* 2. Redistributions in binary form must reproduce the above copyright
11
* notice, this list of conditions and the following disclaimer in the
12
* documentation and/or other materials provided with the distribution.
13
*
14
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
*
25
* Project homepage:
26
* https://amath.innolan.net
27
*
28
*/
29
30
#
ifndef
AMATH_SYMBOL_H
31
#
define
AMATH_SYMBOL_H
32
33
/**
34
* @file symbol.h
35
* @brief Symbol defitions used by other classes
36
*/
37
38
/**
39
* @brief Symbols generated by the Lexer
40
*/
41
typedef
enum
42
{
43
symunknown
,
44
symident
,
45
symqident
,
46
symnumber
,
47
symfactorial
,
48
symplus
,
49
symminus
,
50
symtimes
,
51
symslash
,
52
sympower
,
53
symabsolute
,
54
symassign
,
55
symlparen
,
56
symrparen
,
57
symfuncsqrt
,
58
symfunccbrt
,
59
symfunclog
,
60
symfuncln
,
61
symhelp
,
62
symeval
,
63
symdelete
,
64
symall
,
65
symclear
,
66
symdef
,
67
symexit
,
68
symoperator
,
69
symstatement
,
70
symfunction
,
71
symvariable
,
72
symtrigon
,
73
symhyper
,
74
symearly
,
75
symcomplex
,
76
syme
,
77
sympi
,
78
symi
,
79
symins
,
80
symdelimiter
,
81
symend
,
82
symshow
,
83
symlist
,
84
symload
,
85
symsave
,
86
symexecute
,
87
syminput
,
88
symoutput
,
89
symdigits
,
90
symdec
,
91
symhex
,
92
symbin
,
93
symoct
,
94
symmem
,
95
symprefs
,
96
symprompt
,
97
symversion
,
98
symplot
,
99
symdraw
,
100
symabout
,
101
symlicense
102
} Symbol;
103
104
#
endif
symload
Definition:
symbol.h:84
symoct
Definition:
symbol.h:93
symhyper
Definition:
symbol.h:73
symlparen
Definition:
symbol.h:55
symrparen
Definition:
symbol.h:56
symnumber
Definition:
symbol.h:46
symdec
Definition:
symbol.h:90
syme
Definition:
symbol.h:76
symshow
Definition:
symbol.h:82
symbin
Definition:
symbol.h:92
symprompt
Definition:
symbol.h:96
symstatement
Definition:
symbol.h:69
symfunction
Definition:
symbol.h:70
symins
Definition:
symbol.h:79
syminput
Definition:
symbol.h:87
symlist
Definition:
symbol.h:83
symhex
Definition:
symbol.h:91
symplot
Definition:
symbol.h:98
symassign
Definition:
symbol.h:54
symsave
Definition:
symbol.h:85
symclear
Definition:
symbol.h:65
symfuncsqrt
Definition:
symbol.h:57
symoperator
Definition:
symbol.h:68
symplus
Definition:
symbol.h:48
symexit
Definition:
symbol.h:67
symslash
Definition:
symbol.h:51
symunknown
Definition:
symbol.h:43
symearly
Definition:
symbol.h:74
symcomplex
Definition:
symbol.h:75
symfunclog
Definition:
symbol.h:59
symdraw
Definition:
symbol.h:99
symdelete
Definition:
symbol.h:63
symprefs
Definition:
symbol.h:95
symfactorial
Definition:
symbol.h:47
symfuncln
Definition:
symbol.h:60
symexecute
Definition:
symbol.h:86
symabsolute
Definition:
symbol.h:53
symlicense
Definition:
symbol.h:101
symend
Definition:
symbol.h:81
symi
Definition:
symbol.h:78
symabout
Definition:
symbol.h:100
symtimes
Definition:
symbol.h:50
sympi
Definition:
symbol.h:77
symversion
Definition:
symbol.h:97
symminus
Definition:
symbol.h:49
symeval
Definition:
symbol.h:62
symall
Definition:
symbol.h:64
symfunccbrt
Definition:
symbol.h:58
symoutput
Definition:
symbol.h:88
symdigits
Definition:
symbol.h:89
symmem
Definition:
symbol.h:94
symhelp
Definition:
symbol.h:61
sympower
Definition:
symbol.h:52
symident
Definition:
symbol.h:44
symvariable
Definition:
symbol.h:71
symdelimiter
Definition:
symbol.h:80
symdef
Definition:
symbol.h:66
symtrigon
Definition:
symbol.h:72
symqident
Definition:
symbol.h:45
src
main
symbol.h
Generated by
1.8.13