tan  0.0.1
default_value.h
1 #ifndef __TAN_SRC_AST_DEFAULT_VALUE_H__
2 #define __TAN_SRC_AST_DEFAULT_VALUE_H__
3 
4 #include "expr.h"
5 
6 namespace tanlang {
7 
8 class DefaultValue {
9 public:
10  static Literal *CreateTypeDefaultValueLiteral(TokenizedSourceFile *src, Type *type);
11 };
12 
13 } // namespace tanlang
14 
15 #endif //__TAN_SRC_AST_DEFAULT_VALUE_H__
Different from SourceFile, TokenizedSourceFile manages the tokenized text of a source file.
Type is immutable once created. The exception is StructType. Its information is updated in multiple s...
Definition: type.h:22