aboutsummaryrefslogtreecommitdiff
path: root/src/index
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2020-11-15 01:20:26 +0100
committerDanielGavin <danielgavin5@hotmail.com>2020-11-15 01:20:26 +0100
commit4bae0e4fb64df97a28187898e606dc8dfb30c8d9 (patch)
tree880cbb035025b3a4d97e7d9379d1f47e8ed6463e /src/index
parent556e999c85ecbf9ce0a7d51305bc38c203ffcb00 (diff)
extracting more local symbols + semantic token types
Diffstat (limited to 'src/index')
-rw-r--r--src/index/symbol.odin6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/index/symbol.odin b/src/index/symbol.odin
index 46624d5..b0501b1 100644
--- a/src/index/symbol.odin
+++ b/src/index/symbol.odin
@@ -31,9 +31,15 @@ SymbolPackageValue :: struct {
};
+SymbolProcedureValue :: struct {
+ return_types: [] ^ast.Field,
+ arg_types: [] ^ast.Field,
+};
+
SymbolValue :: union {
SymbolStructValue,
SymbolPackageValue,
+ SymbolProcedureValue,
};
Symbol :: struct {