Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) 2026 Alexander Medvednikov. All rights reserved.
|
||||
// Use of this source code is governed by an MIT license
|
||||
// that can be found in the LICENSE file.
|
||||
|
||||
module ssa
|
||||
|
||||
fn map_get_type_id(m map[string]TypeID, key string) ?TypeID {
|
||||
if key in m {
|
||||
return m[key]
|
||||
}
|
||||
return none
|
||||
}
|
||||
|
||||
fn map_get_value_id(m map[string]ValueID, key string) ?ValueID {
|
||||
if key in m {
|
||||
return m[key]
|
||||
}
|
||||
return none
|
||||
}
|
||||
Reference in new issue
Block a user