absyntax_utils/get_sizeof_datatype.hh
changeset 257 90782e241346
parent 202 da1a8186f86f
child 265 4d222f46f8cc
equal deleted inserted replaced
204:8ffa211b7f9a 257:90782e241346
    89       * numeric literal '30' must then be considered a LINT so the ADD function may be called
    89       * numeric literal '30' must then be considered a LINT so the ADD function may be called
    90       * with all inputs of the same data type.
    90       * with all inputs of the same data type.
    91       * If 'x' were a SINT, then the '30' would have to be a SINT too!
    91       * If 'x' were a SINT, then the '30' would have to be a SINT too!
    92       */
    92       */
    93     void *visit(real_c *symbol);
    93     void *visit(real_c *symbol);
       
    94     void *visit(neg_real_c *symbol);
    94     void *visit(integer_c *symbol);
    95     void *visit(integer_c *symbol);
       
    96     void *visit(neg_integer_c *symbol);
    95     void *visit(binary_integer_c *symbol);
    97     void *visit(binary_integer_c *symbol);
    96     void *visit(octal_integer_c *symbol);
    98     void *visit(octal_integer_c *symbol);
    97     void *visit(hex_integer_c *symbol);
    99     void *visit(hex_integer_c *symbol);
    98 
   100 
    99   /***********************************/
   101   /***********************************/
   126     /* "Safety Software Technical Specification,          */
   128     /* "Safety Software Technical Specification,          */
   127     /*  Part 1: Concepts and Function Blocks,             */
   129     /*  Part 1: Concepts and Function Blocks,             */
   128     /*  Version 1.0 – Official Release"                   */
   130     /*  Version 1.0 – Official Release"                   */
   129     /* by PLCopen - Technical Committee 5 - 2006-01-31    */
   131     /* by PLCopen - Technical Committee 5 - 2006-01-31    */
   130     /******************************************************/
   132     /******************************************************/
       
   133 //     void *visit(safetime_type_name_c *symbol);
   131     void *visit(safebool_type_name_c *symbol);
   134     void *visit(safebool_type_name_c *symbol);
       
   135     void *visit(safesint_type_name_c *symbol);
       
   136     void *visit(safeint_type_name_c *symbol);
       
   137     void *visit(safedint_type_name_c *symbol);
       
   138     void *visit(safelint_type_name_c *symbol);
       
   139     void *visit(safeusint_type_name_c *symbol);
       
   140     void *visit(safeuint_type_name_c *symbol);
       
   141     void *visit(safeudint_type_name_c *symbol);
       
   142     void *visit(safeulint_type_name_c *symbol);
       
   143     void *visit(safereal_type_name_c *symbol);
       
   144     void *visit(safelreal_type_name_c *symbol);
       
   145 //     void *visit(safedate_type_name_c *symbol);
       
   146 //     void *visit(safetod_type_name_c *symbol);
       
   147 //     void *visit(safedt_type_name_c *symbol)	;
       
   148     void *visit(safebyte_type_name_c *symbol);
       
   149     void *visit(safeword_type_name_c *symbol);
       
   150     void *visit(safedword_type_name_c *symbol);
       
   151     void *visit(safelword_type_name_c *symbol);
       
   152 //     void *visit(safestring_type_name_c *symbol);
       
   153 //     void *visit(safewstring_type_name_c *symbol);
   132 
   154 
   133   /********************************/
   155   /********************************/
   134   /* B 1.3.3 - Derived data types */
   156   /* B 1.3.3 - Derived data types */
   135   /********************************/
   157   /********************************/
   136 #if 0
   158 #if 0