1 #ifndef __TAN_SRC_AST_TYPED_H__
2 #define __TAN_SRC_AST_TYPED_H__
13 virtual Type *get_type()
const;
14 virtual void set_type(
Type *type);
15 virtual ~
Typed() =
default;
18 Type *_type =
nullptr;
Type is immutable once created. The exception is StructType. Its information is updated in multiple s...
All typed AST nodes should inherit this class.