UNPKG
propositional
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Propositional logic symbolic computation library
github.com/p2js/propositional
p2js/propositional
propositional
/
lib
/
syntax
/
token.d.ts
18 lines
(17 loc)
•
301 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export
declare
enum
TokenType
{
PAREN_L
=
0
,
PAREN_R
=
1
,
NOT
=
2
,
AND
=
3
,
OR
=
4
,
XOR
=
5
,
IF
=
6
,
IFF
=
7
,
CONSTANT
=
8
,
VARIABLE
=
9
}
export
declare
class
Token
{
type
:
TokenType
;
lexeme
:
string
;
constructor
(
type
:
TokenType
,
lexeme
:
string
); }