source: translator/CodeGen/OperatorTable.h @ 17cd4eb

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 17cd4eb was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 640 bytes
RevLine 
[51b7345]1/*
2 * This file is part of the Cforall project
3 *
4 * $Id: OperatorTable.h,v 1.4 2003/01/19 04:19:31 rcbilson Exp $
5 *
6 */
7
8#ifndef CODEGEN_OPERATORTABLE_H
9#define CODEGEN_OPERATORTABLE_H
10
11#include <string>
12
13namespace CodeGen {
14
15enum OperatorType
16{
17  OT_INDEX,
18  OT_CALL,
19  OT_PREFIX,
20  OT_POSTFIX,
21  OT_INFIX,
22  OT_PREFIXASSIGN,
23  OT_POSTFIXASSIGN,
24  OT_INFIXASSIGN,
25  OT_CONSTANT
26};
27
28struct OperatorInfo
29{
30  std::string inputName;
31  std::string symbol;
32  std::string outputName;
33  OperatorType type;
34};
35
36bool operatorLookup( std::string funcName, OperatorInfo &info );
37
38} // namespace CodeGen
39
40#endif /* #ifndef CODEGEN_OPERATORTABLE_H */
Note: See TracBrowser for help on using the repository browser.