equal
deleted
inserted
replaced
58 |
58 |
59 public: |
59 public: |
60 static symbol_c *get_id (symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! Does not work for elementary datatypes!*/ |
60 static symbol_c *get_id (symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! Does not work for elementary datatypes!*/ |
61 static const char *get_id_str(symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! */ |
61 static const char *get_id_str(symbol_c *datatype); /* get the identifier (name) of the datatype); returns NULL if anonymous datatype! */ |
62 |
62 |
|
63 static symbol_c *get_struct_field_type_id (symbol_c *struct_datatype, symbol_c *struct_fieldname); |
63 static symbol_c *get_ref_to (symbol_c *type_symbol); // Defined in IEC 61131-3 v3 (returns the type that is being referenced/pointed to) |
64 static symbol_c *get_ref_to (symbol_c *type_symbol); // Defined in IEC 61131-3 v3 (returns the type that is being referenced/pointed to) |
64 |
65 |
65 /* Returns true if both datatypes are equivalent (not necessarily equal!). |
66 /* Returns true if both datatypes are equivalent (not necessarily equal!). |
66 * WARNING: May return true even though the datatypes are not the same/identicial!!! |
67 * WARNING: May return true even though the datatypes are not the same/identicial!!! |
67 * This occurs when at least one of the datatypes is of a generic |
68 * This occurs when at least one of the datatypes is of a generic |