ADT
        aaron-thesis
        arm-eh
        ast-experimental
        cleanup-dtors
        ctor
        deferred_resn
        demangler
        enum
        forall-pointer-decay
        gc_noraii
        jacob/cs343-translation
        jenkins-sandbox
        memory
        new-ast
        new-ast-unique-expr
        new-env
        no_list
        persistent-indexer
        pthread-emulation
        qualifiedEnum
        resolv-new
        string
        with_gc
      
      
        
          | Last change
 on this file since 643a2e1 was             51b73452, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago | 
        
          | 
initial commit
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            640 bytes | 
      
      
| Rev | Line |  | 
|---|
| [51b73452] | 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 |  | 
|---|
|  | 13 | namespace CodeGen { | 
|---|
|  | 14 |  | 
|---|
|  | 15 | enum 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 |  | 
|---|
|  | 28 | struct OperatorInfo | 
|---|
|  | 29 | { | 
|---|
|  | 30 | std::string inputName; | 
|---|
|  | 31 | std::string symbol; | 
|---|
|  | 32 | std::string outputName; | 
|---|
|  | 33 | OperatorType type; | 
|---|
|  | 34 | }; | 
|---|
|  | 35 |  | 
|---|
|  | 36 | bool 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.