mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 18:32:12 +00:00
Update doc_format.odin
This commit is contained in:
@@ -11,7 +11,7 @@ String :: distinct Array(byte)
|
||||
|
||||
Version_Type_Major :: 0
|
||||
Version_Type_Minor :: 2
|
||||
Version_Type_Patch :: 3
|
||||
Version_Type_Patch :: 4
|
||||
|
||||
Version_Type :: struct {
|
||||
major, minor, patch: u8,
|
||||
@@ -77,9 +77,15 @@ Pkg :: struct {
|
||||
flags: Pkg_Flags,
|
||||
docs: String,
|
||||
files: Array(File_Index),
|
||||
entities: Array(Entity_Index),
|
||||
entries: Array(Scope_Entry),
|
||||
}
|
||||
|
||||
Scope_Entry :: struct {
|
||||
name: String,
|
||||
entity: Entity_Index,
|
||||
}
|
||||
|
||||
|
||||
Entity_Kind :: enum u32le {
|
||||
Invalid = 0,
|
||||
Constant = 1,
|
||||
@@ -89,6 +95,7 @@ Entity_Kind :: enum u32le {
|
||||
Proc_Group = 5,
|
||||
Import_Name = 6,
|
||||
Library_Name = 7,
|
||||
Builtin = 8,
|
||||
}
|
||||
|
||||
Entity_Flag :: enum u32le {
|
||||
@@ -105,6 +112,9 @@ Entity_Flag :: enum u32le {
|
||||
|
||||
Type_Alias = 20,
|
||||
|
||||
Builtin_Pkg_Builtin = 30,
|
||||
Builtin_Pkg_Intrinsics = 31,
|
||||
|
||||
Var_Thread_Local = 40,
|
||||
Var_Static = 41,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user