1 // operator.h -- Go frontend operators. -*- C++ -*-
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
16 OPERATOR_ANDAND
, // &&
30 OPERATOR_LSHIFT
, // <<
31 OPERATOR_RSHIFT
, // >>
34 OPERATOR_BITCLEAR
, // &^
35 OPERATOR_CHANOP
, // <-
38 OPERATOR_PLUSEQ
, // +=
39 OPERATOR_MINUSEQ
, // -=
42 OPERATOR_MULTEQ
, // *=
45 OPERATOR_LSHIFTEQ
, // <<=
46 OPERATOR_RSHIFTEQ
, // >>=
48 OPERATOR_BITCLEAREQ
, // &^=
49 OPERATOR_PLUSPLUS
, // ++
50 OPERATOR_MINUSMINUS
, // --
53 OPERATOR_COLONEQ
, // :=
54 OPERATOR_SEMICOLON
, // ;
56 OPERATOR_ELLIPSIS
, // ...
62 OPERATOR_LSQUARE
, // [
66 // Whether a variable expression appears in lvalue (assignment) context.
67 enum Varexpr_context
{
72 #endif // !defined(GO_OPERATOR_H)