1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 * vim: set ts=8 sts=4 et sw=4 tw=99:
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 * JS reflection package.
17 #define ASTDEF(ast, str, method) ast,
23 enum AssignmentOperator
{
29 AOP_PLUS
, AOP_MINUS
, AOP_STAR
, AOP_DIV
, AOP_MOD
,
31 AOP_LSH
, AOP_RSH
, AOP_URSH
,
33 AOP_BITOR
, AOP_BITXOR
, AOP_BITAND
,
42 BINOP_EQ
= 0, BINOP_NE
, BINOP_STRICTEQ
, BINOP_STRICTNE
,
44 BINOP_LT
, BINOP_LE
, BINOP_GT
, BINOP_GE
,
46 BINOP_LSH
, BINOP_RSH
, BINOP_URSH
,
48 BINOP_ADD
, BINOP_SUB
, BINOP_STAR
, BINOP_DIV
, BINOP_MOD
,
50 BINOP_BITOR
, BINOP_BITXOR
, BINOP_BITAND
,
52 BINOP_IN
, BINOP_INSTANCEOF
,
88 extern char const * const aopNames
[];
89 extern char const * const binopNames
[];
90 extern char const * const unopNames
[];
91 extern char const * const nodeTypeNames
[];
95 #endif /* jsreflect_h */