absyntax_utils/search_base_type.hh
changeset 257 90782e241346
parent 202 da1a8186f86f
child 265 4d222f46f8cc
equal deleted inserted replaced
204:8ffa211b7f9a 257:90782e241346
    69       * numeric literal '30' must then be considered a LINT so the ADD function may be called
    69       * numeric literal '30' must then be considered a LINT so the ADD function may be called
    70       * with all inputs of the same data type.
    70       * with all inputs of the same data type.
    71       * If 'x' were a SINT, then the '30' would have to be a SINT too!
    71       * If 'x' were a SINT, then the '30' would have to be a SINT too!
    72       */
    72       */
    73     void *visit(real_c *symbol);
    73     void *visit(real_c *symbol);
       
    74     void *visit(neg_real_c *symbol);
    74     void *visit(integer_c *symbol);
    75     void *visit(integer_c *symbol);
       
    76     void *visit(neg_integer_c *symbol);
    75     void *visit(binary_integer_c *symbol);
    77     void *visit(binary_integer_c *symbol);
    76     void *visit(octal_integer_c *symbol);
    78     void *visit(octal_integer_c *symbol);
    77     void *visit(hex_integer_c *symbol);
    79     void *visit(hex_integer_c *symbol);
       
    80     void *visit(boolean_true_c *symbol);
       
    81     void *visit(boolean_false_c *symbol);
    78 
    82 
    79 
    83 
    80   /***********************************/
    84   /***********************************/
    81   /* B 1.3.1 - Elementary Data Types */
    85   /* B 1.3.1 - Elementary Data Types */
    82   /***********************************/
    86   /***********************************/
   100     void *visit(dword_type_name_c *symbol);
   104     void *visit(dword_type_name_c *symbol);
   101     void *visit(lword_type_name_c *symbol);
   105     void *visit(lword_type_name_c *symbol);
   102     void *visit(string_type_name_c *symbol);
   106     void *visit(string_type_name_c *symbol);
   103     void *visit(wstring_type_name_c *symbol);
   107     void *visit(wstring_type_name_c *symbol);
   104 
   108 
   105 /*
       
   106     void *visit(constant_int_type_name_c *symbol);
       
   107     void *visit(constant_real_type_name_c *symbol);
       
   108 */
       
   109 
       
   110     /******************************************************/
   109     /******************************************************/
   111     /* Extensions to the base standard as defined in      */
   110     /* Extensions to the base standard as defined in      */
   112     /* "Safety Software Technical Specification,          */
   111     /* "Safety Software Technical Specification,          */
   113     /*  Part 1: Concepts and Function Blocks,             */
   112     /*  Part 1: Concepts and Function Blocks,             */
   114     /*  Version 1.0 – Official Release"                   */
   113     /*  Version 1.0 – Official Release"                   */
   115     /* by PLCopen - Technical Committee 5 - 2006-01-31    */
   114     /* by PLCopen - Technical Committee 5 - 2006-01-31    */
   116     /******************************************************/
   115     /******************************************************/
       
   116     void *visit(safetime_type_name_c *symbol);
   117     void *visit(safebool_type_name_c *symbol);
   117     void *visit(safebool_type_name_c *symbol);
       
   118     void *visit(safesint_type_name_c *symbol);
       
   119     void *visit(safeint_type_name_c *symbol);
       
   120     void *visit(safedint_type_name_c *symbol);
       
   121     void *visit(safelint_type_name_c *symbol);
       
   122     void *visit(safeusint_type_name_c *symbol);
       
   123     void *visit(safeuint_type_name_c *symbol);
       
   124     void *visit(safeudint_type_name_c *symbol);
       
   125     void *visit(safeulint_type_name_c *symbol);
       
   126     void *visit(safereal_type_name_c *symbol);
       
   127     void *visit(safelreal_type_name_c *symbol);
       
   128     void *visit(safedate_type_name_c *symbol);
       
   129     void *visit(safetod_type_name_c *symbol);
       
   130     void *visit(safedt_type_name_c *symbol)	;
       
   131     void *visit(safebyte_type_name_c *symbol);
       
   132     void *visit(safeword_type_name_c *symbol);
       
   133     void *visit(safedword_type_name_c *symbol);
       
   134     void *visit(safelword_type_name_c *symbol);
       
   135     void *visit(safestring_type_name_c *symbol);
       
   136     void *visit(safewstring_type_name_c *symbol);
   118 
   137 
   119   /********************************/
   138   /********************************/
   120   /* B 1.3.3 - Derived data types */
   139   /* B 1.3.3 - Derived data types */
   121   /********************************/
   140   /********************************/
   122   /*  simple_type_name ':' simple_spec_init */
   141   /*  simple_type_name ':' simple_spec_init */