1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/* op.h */
/*
Java Decompiler
Copyright (c) 1994-2003, Pete Ryland.
Distributed under the GNU GPL Version 2.
This package is available from http://pdr.cx/hbd/
*/
#ifndef _OP_H_
#define _OP_H_
/* The operations that can go in
the op field of the Exp struct */
enum Op {
ADD, SUB, MUL, DIV,
MOD, DOT, ASSIGN, SHL,
SHR, USHR, AND, OR,
XOR, NOT, NEG, CAST,
RETURN, THROW, NEW, GOTO,
ADDASSIGN, SUBASSIGN, INC, DEC,
COND, COND_, CMP, DUMMY,
EQUAL, NOTEQUAL, LESS, GREATEROREQUAL,
GREATER, LESSOREQUAL, NOT_BOOL, AND_BOOL,
OR_BOOL, INSTANCEOF, COMMA, ID
};
/* The Java string representation of the operations */
extern char *op2str[];
/* The precedence of the ops */
extern int op_prec[];
/* The accociativity of the ops */
extern int op_assoc[];
#endif
|