mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +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_Major :: 0
|
||||||
Version_Type_Minor :: 2
|
Version_Type_Minor :: 2
|
||||||
Version_Type_Patch :: 3
|
Version_Type_Patch :: 4
|
||||||
|
|
||||||
Version_Type :: struct {
|
Version_Type :: struct {
|
||||||
major, minor, patch: u8,
|
major, minor, patch: u8,
|
||||||
@@ -77,9 +77,15 @@ Pkg :: struct {
|
|||||||
flags: Pkg_Flags,
|
flags: Pkg_Flags,
|
||||||
docs: String,
|
docs: String,
|
||||||
files: Array(File_Index),
|
files: Array(File_Index),
|
||||||
entities: Array(Entity_Index),
|
entries: Array(Scope_Entry),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Scope_Entry :: struct {
|
||||||
|
name: String,
|
||||||
|
entity: Entity_Index,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
Entity_Kind :: enum u32le {
|
Entity_Kind :: enum u32le {
|
||||||
Invalid = 0,
|
Invalid = 0,
|
||||||
Constant = 1,
|
Constant = 1,
|
||||||
@@ -89,6 +95,7 @@ Entity_Kind :: enum u32le {
|
|||||||
Proc_Group = 5,
|
Proc_Group = 5,
|
||||||
Import_Name = 6,
|
Import_Name = 6,
|
||||||
Library_Name = 7,
|
Library_Name = 7,
|
||||||
|
Builtin = 8,
|
||||||
}
|
}
|
||||||
|
|
||||||
Entity_Flag :: enum u32le {
|
Entity_Flag :: enum u32le {
|
||||||
@@ -105,6 +112,9 @@ Entity_Flag :: enum u32le {
|
|||||||
|
|
||||||
Type_Alias = 20,
|
Type_Alias = 20,
|
||||||
|
|
||||||
|
Builtin_Pkg_Builtin = 30,
|
||||||
|
Builtin_Pkg_Intrinsics = 31,
|
||||||
|
|
||||||
Var_Thread_Local = 40,
|
Var_Thread_Local = 40,
|
||||||
Var_Static = 41,
|
Var_Static = 41,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user