aboutsummaryrefslogtreecommitdiff
path: root/src/server/documentation.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-30 16:26:45 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-30 16:29:57 -0400
commit27e2caa6363f9afa6910930fbaf4c00aa67dfbfb (patch)
treee1fa6e62e5f02d01e9c2894714f4fa7fea805c0f /src/server/documentation.odin
parent0e4157ebfd357e5fdb181408185cca42dcd24047 (diff)
Improve builtin proc resolution, complex and quaternion procs and add missing basic type keywords
Diffstat (limited to 'src/server/documentation.odin')
-rw-r--r--src/server/documentation.odin26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/server/documentation.odin b/src/server/documentation.odin
index 6518006..ee52cb4 100644
--- a/src/server/documentation.odin
+++ b/src/server/documentation.odin
@@ -8,23 +8,27 @@ import path "core:path/slashpath"
import "core:strings"
keywords_docs: map[string]bool = {
- "int" = true,
- "uint" = true,
+ "typeid" = true,
"string" = true,
"cstring" = true,
+ "int" = true,
+ "uint" = true,
+ "u8" = true,
+ "i8" = true,
+ "u16" = true,
+ "i16" = true,
+ "u32" = true,
+ "i32" = true,
"u64" = true,
- "f32" = true,
- "f64" = true,
"i64" = true,
+ "u128" = true,
"i128" = true,
- "i32" = true,
- "i16" = true,
- "u16" = true,
+ "f16" = true,
+ "f32" = true,
+ "f64" = true,
"bool" = true,
"rawptr" = true,
"any" = true,
- "u32" = true,
- "u128" = true,
"b8" = true,
"b16" = true,
"b32" = true,
@@ -33,8 +37,6 @@ keywords_docs: map[string]bool = {
"false" = true,
"nil" = true,
"byte" = true,
- "u8" = true,
- "i8" = true,
"rune" = true,
"f16be" = true,
"f16le" = true,
@@ -693,7 +695,7 @@ concatenate_raw_symbol_information :: proc(ast_context: ^AstContext, symbol: Sym
if symbol.signature != "" {
fmt.sbprintf(&sb, ": %v", symbol.signature)
}
- return strings.to_string(sb)
+ return strings.to_string(sb)
}
return concatenate_raw_string_information(