From 05fac240e4e59140d946e3ac519d126c42165f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Thu, 1 Aug 2024 20:23:44 +0200 Subject: [PATCH 01/15] Try to build all versions --- .github/workflows/go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 009a057..53e897c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,8 +20,8 @@ jobs: with: go-version: '1.21' - - name: Build - run: cd server/cmd/lsp && go build -v - - name: Test run: cd server && go test -v ./... + + - name: Build + run: make build-all \ No newline at end of file From 1cc8b6ce1ffbaeac247bfcf3e8963ef3c0c12da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Thu, 1 Aug 2024 20:44:20 +0200 Subject: [PATCH 02/15] Another build approach --- .github/workflows/go.yml | 42 ++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 53e897c..dbae4da 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,19 +9,49 @@ on: branches: [ "main" ] jobs: - - build: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.21' - name: Test run: cd server && go test -v ./... - - - name: Build - run: make build-all \ No newline at end of file + build: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v4 + + - + name: Set up Go + uses: actions/setup-go@v5 + + - + name: Build + uses: crazy-max/ghaction-xgo@v3 + with: + xgo_version: latest + go_version: 1.21 + dest: build + prefix: myapp + targets: windows/amd64,linux/amd64,linux/arm64,darwin/arm64 + v: true + x: false + race: false + ldflags: -s -w + buildmode: default + working_dir: server/cmd/lsp + trimpath: true + + - + name: Upload assets + uses: actions/upload-artifact@v3 + with: + name: myapp + path: myfolder/dist/* \ No newline at end of file From ed83554be7b722e57d09f7147b8d9ad7af6604a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Thu, 1 Aug 2024 20:46:26 +0200 Subject: [PATCH 03/15] Tweak --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index dbae4da..0e3573c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -46,7 +46,7 @@ jobs: race: false ldflags: -s -w buildmode: default - working_dir: server/cmd/lsp + working_dir: server trimpath: true - From 214b8e09bbdfc745fa6a5cafde431270c540901d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Thu, 1 Aug 2024 20:56:09 +0200 Subject: [PATCH 04/15] More tweak --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0e3573c..f25439d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -46,7 +46,7 @@ jobs: race: false ldflags: -s -w buildmode: default - working_dir: server + pkg: server/cmd/lsp trimpath: true - From 975c3f5222785fd6cf85f1f2251b6b4fae43fa3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Thu, 1 Aug 2024 20:57:54 +0200 Subject: [PATCH 05/15] Even more tweak --- .github/workflows/go.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f25439d..5fe0c0d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -46,7 +46,8 @@ jobs: race: false ldflags: -s -w buildmode: default - pkg: server/cmd/lsp + pkg: cmd/lsp + working_dir: server trimpath: true - From dd078404e15d859e9d199aadbcd5a446ac27f445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Thu, 1 Aug 2024 21:05:33 +0200 Subject: [PATCH 06/15] tweak uploading artifacts. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5fe0c0d..b7734bb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -55,4 +55,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: myapp - path: myfolder/dist/* \ No newline at end of file + path: build/dist/* \ No newline at end of file From 7706522c71f4b18dc3ee8c86b1c49eb767dc7040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Thu, 1 Aug 2024 21:09:33 +0200 Subject: [PATCH 07/15] Tweak upload artifacts. --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b7734bb..d54bd86 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -55,4 +55,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: myapp - path: build/dist/* \ No newline at end of file + path: build/* \ No newline at end of file From e10fbfb2bbc9046d9a3f9a75419a591174edfa4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Thu, 1 Aug 2024 21:19:00 +0200 Subject: [PATCH 08/15] Tweak upload artifacts. --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d54bd86..2df5348 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -38,7 +38,7 @@ jobs: with: xgo_version: latest go_version: 1.21 - dest: build + dest: /home/runner/work/repo-name/builds prefix: myapp targets: windows/amd64,linux/amd64,linux/arm64,darwin/arm64 v: true @@ -55,4 +55,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: myapp - path: build/* \ No newline at end of file + path: /home/runner/work/repo-name/builds/* \ No newline at end of file From c3528915148c2e827205f23bb857e3dbceb06105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Fri, 2 Aug 2024 16:06:50 +0200 Subject: [PATCH 09/15] Fix Windows paths in responses being wrong. Fixes #10 --- .../lsp/handlers/TextDocumentDeclaration.go | 3 ++- .../lsp/handlers/TextDocumentDefinition.go | 3 ++- server/pkg/fs/fs.go | 13 +++++++++++++ server/pkg/fs/fs_test.go | 15 +++++++++++++++ 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 server/pkg/fs/fs_test.go diff --git a/server/internal/lsp/handlers/TextDocumentDeclaration.go b/server/internal/lsp/handlers/TextDocumentDeclaration.go index be8869e..eefe217 100644 --- a/server/internal/lsp/handlers/TextDocumentDeclaration.go +++ b/server/internal/lsp/handlers/TextDocumentDeclaration.go @@ -2,6 +2,7 @@ package handlers import ( _prot "github.com/pherrymason/c3-lsp/internal/lsp/protocol" + "github.com/pherrymason/c3-lsp/pkg/fs" "github.com/pherrymason/c3-lsp/pkg/symbols" "github.com/pherrymason/c3-lsp/pkg/utils" "github.com/tliron/glsp" @@ -26,7 +27,7 @@ func (h *Handlers) TextDocumentDeclaration(context *glsp.Context, params *protoc } return protocol.Location{ - URI: symbol.GetDocumentURI(), + URI: fs.ConvertPathToURI(symbol.GetDocumentURI()), Range: _prot.Lsp_NewRangeFromRange(symbol.GetIdRange()), }, nil } diff --git a/server/internal/lsp/handlers/TextDocumentDefinition.go b/server/internal/lsp/handlers/TextDocumentDefinition.go index 812fdb1..57f9080 100644 --- a/server/internal/lsp/handlers/TextDocumentDefinition.go +++ b/server/internal/lsp/handlers/TextDocumentDefinition.go @@ -2,6 +2,7 @@ package handlers import ( _prot "github.com/pherrymason/c3-lsp/internal/lsp/protocol" + "github.com/pherrymason/c3-lsp/pkg/fs" "github.com/pherrymason/c3-lsp/pkg/symbols" "github.com/pherrymason/c3-lsp/pkg/utils" "github.com/tliron/glsp" @@ -26,7 +27,7 @@ func (h *Handlers) TextDocumentDefinition(context *glsp.Context, params *protoco } return protocol.Location{ - URI: symbol.GetDocumentURI(), + URI: fs.ConvertPathToURI(symbol.GetDocumentURI()), Range: _prot.Lsp_NewRangeFromRange(symbol.GetIdRange()), }, nil } diff --git a/server/pkg/fs/fs.go b/server/pkg/fs/fs.go index e51fb6d..7d5678f 100644 --- a/server/pkg/fs/fs.go +++ b/server/pkg/fs/fs.go @@ -136,6 +136,19 @@ func GetCanonicalPath(path string) string { return path } +func ConvertPathToURI(path string) string { + path2 := strings.ReplaceAll(path, `\`, `/`) + + // Add the file scheme and encode the path + uri := url.URL{ + Scheme: "file", + Path: path2, + } + + // Encode any special characters + return uri.String() +} + func ScanForC3(basePath string) ([]string, error) { var files []string extensions := []string{"c3", "c3i"} diff --git a/server/pkg/fs/fs_test.go b/server/pkg/fs/fs_test.go new file mode 100644 index 0000000..a087c50 --- /dev/null +++ b/server/pkg/fs/fs_test.go @@ -0,0 +1,15 @@ +package fs + +import ( + "testing" + + "github.com/stretchr/testify/assert" +) + +func TestConvertPathToURI(t *testing.T) { + path := `D:\projects\c3-lsp\assets\c3-demo\foobar\foo.c3` + + uri := ConvertPathToURI(path) + + assert.Equal(t, "file://D:/projects/c3-lsp/assets/c3-demo/foobar/foo.c3", uri) +} From de7f1d3af21a9eec7e96fb93981e7acef34015c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Fri, 2 Aug 2024 16:13:54 +0200 Subject: [PATCH 10/15] WIP CST to AST converter: convert structs. --- server/internal/lsp/ast/ast.go | 36 ++- server/internal/lsp/ast/ast_builder.go | 38 +++ server/internal/lsp/ast/convert.go | 307 +++++++++++++++++++++++- server/internal/lsp/ast/convert_test.go | 248 +++++++++++++++++-- 4 files changed, 600 insertions(+), 29 deletions(-) diff --git a/server/internal/lsp/ast/ast.go b/server/internal/lsp/ast/ast.go index 76dc01d..9055e5b 100644 --- a/server/internal/lsp/ast/ast.go +++ b/server/internal/lsp/ast/ast.go @@ -1,6 +1,9 @@ package ast -import sitter "github.com/smacker/go-tree-sitter" +import ( + "github.com/pherrymason/c3-lsp/pkg/option" + sitter "github.com/smacker/go-tree-sitter" +) type Position struct { Line, Column uint @@ -84,6 +87,30 @@ type PropertyValue struct { Value Expression } +const ( + StructTypeNormal = iota + StructTypeUnion + StructTypeBitStruct +) + +type StructType int + +type StructDecl struct { + ASTNodeBase + Name string + BackingType option.Option[TypeInfo] + Members []StructMemberDecl + StructType StructType + Implements []string +} + +type StructMemberDecl struct { + ASTNodeBase + Names []Identifier + Type TypeInfo + BitRange option.Option[[2]uint] +} + type FunctionDecl struct { ASTNodeBase Name *Identifier @@ -104,7 +131,7 @@ type FunctionCall struct { type TypeInfo struct { ASTNodeBase ResolveStatus int - Name string + Identifier Identifier Pointer uint Optional bool BuiltIn bool @@ -114,6 +141,7 @@ type TypeInfo struct { type Identifier struct { ASTNodeBase Name string + Path string } type Expression interface { @@ -124,6 +152,10 @@ type Literal struct { ASTNodeBase Value string } +type NumberLiteral struct { + ASTNodeBase + Value uint +} type BoolLiteral struct { ASTNodeBase diff --git a/server/internal/lsp/ast/ast_builder.go b/server/internal/lsp/ast/ast_builder.go index 4dc3d4f..4603ead 100644 --- a/server/internal/lsp/ast/ast_builder.go +++ b/server/internal/lsp/ast/ast_builder.go @@ -32,3 +32,41 @@ func (d *ASTBaseNodeBuilder) WithStartEnd(startRow uint, startCol uint, endRow u d.bn.EndPos = Position{endRow, endCol} return d } + +type IdentifierBuilder struct { + bi Identifier + bn ASTBaseNodeBuilder +} + +func NewIdentifierBuilder() *IdentifierBuilder { + return &IdentifierBuilder{ + bi: Identifier{}, + bn: *NewBaseNodeBuilder(), + } +} + +func (i *IdentifierBuilder) WithName(name string) *IdentifierBuilder { + i.bi.Name = name + return i +} +func (i *IdentifierBuilder) WithPath(path string) *IdentifierBuilder { + i.bi.Path = path + return i +} + +func (i *IdentifierBuilder) WithSitterPos(node *sitter.Node) *IdentifierBuilder { + i.bn.WithSitterPosRange(node.StartPoint(), node.EndPoint()) + return i +} + +func (i *IdentifierBuilder) WithStartEnd(startRow uint, startCol uint, endRow uint, endCol uint) *IdentifierBuilder { + i.bn.WithStartEnd(startRow, startCol, endRow, endCol) + return i +} + +func (i *IdentifierBuilder) Build() Identifier { + ident := i.bi + ident.ASTNodeBase = i.bn.Build() + + return ident +} diff --git a/server/internal/lsp/ast/convert.go b/server/internal/lsp/ast/convert.go index 07d2920..e1c7f19 100644 --- a/server/internal/lsp/ast/convert.go +++ b/server/internal/lsp/ast/convert.go @@ -3,7 +3,12 @@ package ast import "C" import ( + "fmt" + "strconv" + "strings" + "github.com/pherrymason/c3-lsp/internal/lsp/cst" + "github.com/pherrymason/c3-lsp/pkg/option" sitter "github.com/smacker/go-tree-sitter" ) @@ -39,6 +44,11 @@ func ConvertToAST(cstNode *sitter.Node, sourceCode string) File { case "enum_declaration": lastMod.Declarations = append(lastMod.Declarations, convert_enum_declaration(node, source)) + + case "struct_declaration": + lastMod.Declarations = append(lastMod.Declarations, convert_struct_declaration(node, source)) + case "bitstruct_declaration": + lastMod.Declarations = append(lastMod.Declarations, convert_bitstruct_declaration(node, source)) } } @@ -238,18 +248,291 @@ func convert_enum_declaration(node *sitter.Node, sourceCode []byte) EnumDecl { return enumDecl } +func convert_struct_declaration(node *sitter.Node, sourceCode []byte) StructDecl { + structDecl := StructDecl{ + ASTNodeBase: NewBaseNodeBuilder(). + WithSitterPosRange(node.StartPoint(), node.EndPoint()). + Build(), + StructType: StructTypeNormal, + } + + structDecl.Name = node.ChildByFieldName("name").Content(sourceCode) + isUnion := false + //membersNeedingSubtypingResolve := []string{} + + for i := 0; i < int(node.ChildCount()); i++ { + child := node.Child(i) + switch child.Type() { + case "union": + structDecl.StructType = StructTypeUnion + case "interface_impl": + for x := 0; x < int(child.ChildCount()); x++ { + n := child.Child(x) + if n.Type() == "interface" { + structDecl.Implements = append(structDecl.Implements, n.Content(sourceCode)) + } + } + case "attributes": + // TODO attributes + } + } + + // TODO parse attributes + bodyNode := node.ChildByFieldName("body") + inlinedSubTyping := []string{} + + // Search Struct members + for i := 0; i < int(bodyNode.ChildCount()); i++ { + memberNode := bodyNode.Child(i) + isInline := false + + //fmt.Println("body child:", memberNode.Type()) + if memberNode.Type() != "struct_member_declaration" { + continue + } + fmt.Printf("%d - %s\n", i, memberNode.Content(sourceCode)) + + fieldType := TypeInfo{} + member := StructMemberDecl{ + ASTNodeBase: NewBaseNodeBuilder(). + WithSitterPosRange(memberNode.StartPoint(), memberNode.EndPoint()). + Build(), + } + + for x := 0; x < int(memberNode.ChildCount()); x++ { + n := memberNode.Child(x) + + switch n.Type() { + case "type": + fieldType = typeNodeToType(n, sourceCode) + member.Type = fieldType + //fmt.Println(fieldType, n.Content(sourceCode)) + + //fieldType = n.Content(sourceCode) + if isInline { + // identifier = "dummy-subtyping" + } + case "identifier_list": + for j := 0; j < int(n.ChildCount()); j++ { + member.Names = append(member.Names, + Identifier{ + ASTNodeBase: NewBaseNodeBuilder().WithSitterPosRange(n.Child(j).StartPoint(), n.Child(j).EndPoint()).Build(), + Name: n.Child(j).Content(sourceCode), + }, + ) /* + identifiers = append(identifiers, n.Child(j).Content(sourceCode)) + identifiersRange = append(identifiersRange, + idx.NewRangeFromTreeSitterPositions(n.StartPoint(), n.EndPoint()), + )*/ + } + case "attributes": + // TODO + case "bitstruct_body": + bitStructsMembers := convert_bitstruct_members(n, sourceCode) + structDecl.Members = append(structDecl.Members, bitStructsMembers...) + //structFields = append(structFields, bitStructsMembers...) + + case "inline": + isInline = true + //fmt.Println("inline!: ", n.Content(sourceCode)) + inlinedSubTyping = append(inlinedSubTyping, "1") + + case "ident": + member.Names = append(member.Names, + Identifier{ + ASTNodeBase: NewBaseNodeBuilder().WithSitterPosRange(n.StartPoint(), n.EndPoint()).Build(), + Name: n.Content(sourceCode), + }, + ) /* + identifier = n.Content(sourceCode) + identifiersRange = append(identifiersRange, + idx.NewRangeFromTreeSitterPositions(n.StartPoint(), n.EndPoint()), + )*/ + } + } + + /* + if len(identifiers) > 0 { + for y := 0; y < len(identifiers); y++ { + structMember := idx.NewStructMember( + identifiers[y], + fieldType, // TODO <--- this type parsing is too simple + option.None[[2]uint](), + currentModule.GetModuleString(), + docId, + identifiersRange[y], + ) + structFields = append(structFields, &structMember) + } + } else if isInline { + var structMember idx.StructMember + membersNeedingSubtypingResolve = append(membersNeedingSubtypingResolve, fieldType) + structMember = idx.NewInlineSubtype( + identifier, + fieldType, + currentModule.GetModuleString(), + docId, + identifiersRange[0], + ) + structFields = append(structFields, &structMember) + } else if len(identifier) > 0 { + structMember := idx.NewStructMember( + identifier, + fieldType, + option.None[[2]uint](), + currentModule.GetModuleString(), + docId, + identifiersRange[0], + ) + + structFields = append(structFields, &structMember) + }*/ + + if len(member.Names) > 0 { + structDecl.Members = append(structDecl.Members, member) + } + } + + if isUnion { + /* + _struct = idx.NewUnion( + name, + structFields, + currentModule.GetModuleString(), + docId, + idx.NewRangeFromTreeSitterPositions(nameNode.StartPoint(), nameNode.EndPoint()), + idx.NewRangeFromTreeSitterPositions(node.StartPoint(), node.EndPoint()), + )*/ + } else { + /* + _struct = idx.NewStruct( + name, + interfaces, + structFields, + currentModule.GetModuleString(), + docId, + idx.NewRangeFromTreeSitterPositions(nameNode.StartPoint(), nameNode.EndPoint()), + idx.NewRangeFromTreeSitterPositions(node.StartPoint(), node.EndPoint()), + )*/ + } + + return structDecl +} + +func convert_bitstruct_declaration(node *sitter.Node, sourceCode []byte) StructDecl { + structDecl := StructDecl{ + ASTNodeBase: NewBaseNodeBuilder().WithSitterPosRange(node.StartPoint(), node.EndPoint()).Build(), + StructType: StructTypeBitStruct, + } + + for i := 0; i < int(node.ChildCount()); i++ { + child := node.Child(i) + //fmt.Println("type:", child.Type(), child.Content(sourceCode)) + + switch child.Type() { + case "interface_impl": + // TODO + for x := 0; x < int(child.ChildCount()); x++ { + n := child.Child(x) + if n.Type() == "interface" { + structDecl.Implements = append(structDecl.Implements, n.Content(sourceCode)) + } + } + + case "attributes": + // TODO attributes + + case "type": + structDecl.BackingType = option.Some(typeNodeToType(child, sourceCode)) + + case "bitstruct_body": + structDecl.Members = convert_bitstruct_members(child, sourceCode) + } + } + + return structDecl +} + +func convert_bitstruct_members(node *sitter.Node, sourceCode []byte) []StructMemberDecl { + members := []StructMemberDecl{} + for i := 0; i < int(node.ChildCount()); i++ { + bdefnode := node.Child(i) + bType := bdefnode.Type() + member := StructMemberDecl{ + ASTNodeBase: NewBaseNodeBuilder(). + WithSitterPosRange(bdefnode.StartPoint(), bdefnode.EndPoint()). + Build(), + } + + if bType == "bitstruct_def" { + for x := 0; x < int(bdefnode.ChildCount()); x++ { + xNode := bdefnode.Child(x) + //fmt.Println(xNode.Type()) + switch xNode.Type() { + case "base_type": + // Note: here we consciously pass bdefnode because typeNodeToType expects a child node of base_type. If we send xNode it will not find it. + member.Type = typeNodeToType(bdefnode, sourceCode) + case "ident": + member.Names = append( + member.Names, + NewIdentifierBuilder(). + WithName(xNode.Content(sourceCode)). + WithSitterPos(xNode). + Build(), + ) + } + } + + bitRanges := [2]uint{} + lowBit, _ := strconv.ParseInt(bdefnode.Child(3).Content(sourceCode), 10, 32) + bitRanges[0] = uint(lowBit) + + if bdefnode.ChildCount() >= 6 { + highBit, _ := strconv.ParseInt(bdefnode.Child(5).Content(sourceCode), 10, 32) + bitRanges[1] = uint(highBit) + } + member.BitRange = option.Some(bitRanges) + + /*member := idx.NewStructMember( + identity, + memberType, + option.Some(bitRanges), + currentModule.GetModuleString(), + docId, + idx.NewRangeFromTreeSitterPositions(bdefnode.Child(1).StartPoint(), bdefnode.Child(1).EndPoint()), + )*/ + members = append(members, member) + } else if bType == "_bitstruct_simple_defs" { + // Could not make examples with these to parse. + } + } + + return members +} + func convert_literal(node *sitter.Node, sourceCode []byte) Expression { var literal Expression switch node.Type() { case "string_literal", "char_literal": literal = Literal{Value: node.Child(1).Content(sourceCode)} + case "integer_literal", "real_literal": + /* + for i := 0; i < int(node.ChildCount()); i++ { + fmt.Printf("Literal type not supported: %s\n", node.Child(i).Type()) + } + fmt.Printf("Literal value: %s\n", node.Content(sourceCode))*/ + literal = Literal{ + Value: node.Content(sourceCode), + } case "false": literal = BoolLiteral{Value: false} case "true": literal = BoolLiteral{Value: true} + default: + panic(fmt.Sprintf("Literal type not supported: %s\n", node.Type())) } return literal @@ -287,15 +570,26 @@ func extTypeNodeToType( //fmt.Println(n.Type(), n.Content(sourceCode)) switch n.Type() { case "base_type": + typeInfo.ASTNodeBase = NewBaseNodeBuilder(). + WithSitterPosRange(n.StartPoint(), n.EndPoint()). + Build() + for b := 0; b < int(n.ChildCount()); b++ { bn := n.Child(b) - //fmt.Println("---"+bn.Type(), bn.Content(sourceCode)) + fmt.Println("---"+bn.Type(), bn.Content(sourceCode)) + switch bn.Type() { case "base_type_name": - typeInfo.Name = bn.Content(sourceCode) + typeInfo.Identifier = NewIdentifierBuilder(). + WithName(bn.Content(sourceCode)). + WithSitterPos(bn). + Build() typeInfo.BuiltIn = true case "type_ident": - typeInfo.Name = bn.Content(sourceCode) + typeInfo.Identifier = NewIdentifierBuilder(). + WithName(bn.Content(sourceCode)). + WithSitterPos(bn). + Build() case "generic_arguments": for g := 0; g < int(bn.ChildCount()); g++ { gn := bn.Child(g) @@ -307,8 +601,11 @@ func extTypeNodeToType( case "module_type_ident": //fmt.Println(bn) - //modulePath = strings.Trim(bn.Child(0).Content(sourceCode), ":") - //baseType = bn.Child(1).Content(sourceCode) + typeInfo.Identifier = NewIdentifierBuilder(). + WithPath(strings.Trim(bn.Child(0).Content(sourceCode), ":")). + WithName(bn.Child(1).Content(sourceCode)). + WithSitterPos(bn). + Build() } } diff --git a/server/internal/lsp/ast/convert_test.go b/server/internal/lsp/ast/convert_test.go index e772dad..fd29c46 100644 --- a/server/internal/lsp/ast/convert_test.go +++ b/server/internal/lsp/ast/convert_test.go @@ -3,6 +3,7 @@ package ast import ( "testing" + "github.com/pherrymason/c3-lsp/pkg/option" "github.com/stretchr/testify/assert" ) @@ -14,9 +15,8 @@ func aWithPos(startRow uint, startCol uint, endRow uint, endCol uint) ASTNodeBas func TestConvertToAST_module(t *testing.T) { source := `module foo;` - cst := GetCST(source) - ast := ConvertToAST(cst, source) + ast := ConvertToAST(GetCST(source), source) expectedAst := File{ Modules: []Module{ @@ -41,9 +41,8 @@ func TestConvertToAST_module(t *testing.T) { func TestConvertToAST_module_with_generics(t *testing.T) { source := `module foo();` - cst := GetCST(source) - ast := ConvertToAST(cst, source) + ast := ConvertToAST(GetCST(source), source) expectedAst := File{ Modules: []Module{ @@ -69,9 +68,8 @@ func TestConvertToAST_module_with_generics(t *testing.T) { func TestConvertToAST_module_with_attributes(t *testing.T) { source := `module foo @private;` - cst := GetCST(source) - ast := ConvertToAST(cst, source) + ast := ConvertToAST(GetCST(source), source) expectedAst := File{ Modules: []Module{ @@ -99,9 +97,8 @@ func TestConvertToAST_module_with_imports(t *testing.T) { source := `module foo; import foo; import foo2;` - cst := GetCST(source) - ast := ConvertToAST(cst, source) + ast := ConvertToAST(GetCST(source), source) assert.Equal(t, []string{"foo", "foo2"}, ast.Modules[0].Imports) } @@ -110,9 +107,8 @@ func TestConvertToAST_global_variables(t *testing.T) { source := `module foo; int hello = 3; int dog, cat, elephant;` - cst := GetCST(source) - ast := ConvertToAST(cst, source) + ast := ConvertToAST(GetCST(source), source) expectedHello := VariableDecl{ ASTNodeBase: NewBaseNodeBuilder(). @@ -127,8 +123,8 @@ func TestConvertToAST_global_variables(t *testing.T) { }, }, Type: TypeInfo{ - Name: "int", - BuiltIn: true, + Identifier: NewIdentifierBuilder().WithName("int").WithStartEnd(1, 1, 1, 4).Build(), + BuiltIn: true, ASTNodeBase: NewBaseNodeBuilder(). WithStartEnd(1, 1, 1, 4). Build(), @@ -153,7 +149,7 @@ func TestConvertToAST_global_variables(t *testing.T) { }, }, Type: TypeInfo{ - Name: "int", + Identifier: NewIdentifierBuilder().WithName("int").WithStartEnd(2, 1, 2, 4).Build(), BuiltIn: true, ASTNodeBase: aWithPos(2, 1, 2, 4), }, @@ -165,9 +161,8 @@ func TestConvertToAST_enum_decl(t *testing.T) { source := `module foo; enum Colors { RED, BLUE, GREEN } enum TypedColors:int { RED, BLUE, GREEN } // Typed enums` - cst := GetCST(source) - ast := ConvertToAST(cst, source) + ast := ConvertToAST(GetCST(source), source) // Test basic enum declaration row := uint(1) @@ -219,7 +214,7 @@ func TestConvertToAST_enum_decl(t *testing.T) { expected = EnumDecl{ Name: "TypedColors", BaseType: TypeInfo{ - Name: "int", + Identifier: NewIdentifierBuilder().WithName("int").WithStartEnd(2, 18, 2, 21).Build(), BuiltIn: true, Optional: false, ASTNodeBase: aWithPos(row, 18, row, 21), @@ -258,16 +253,15 @@ func TestConvertToAST_enum_decl_with_associated_params(t *testing.T) { PENDING = {"pending start", false, 'c'}, RUNNING = {"running", true, 'e'}, }` - cst := GetCST(source) - ast := ConvertToAST(cst, source) + ast := ConvertToAST(GetCST(source), source) // Test enum with associated parameters declaration row := uint(1) expected := EnumDecl{ Name: "State", BaseType: TypeInfo{ - Name: "int", + Identifier: NewIdentifierBuilder().WithName("int").WithStartEnd(1, 14, 1, 17).Build(), BuiltIn: true, Optional: false, ASTNodeBase: aWithPos(row, 14, row, 17), @@ -279,7 +273,7 @@ func TestConvertToAST_enum_decl_with_associated_params(t *testing.T) { ASTNodeBase: aWithPos(row, 26, row, 30), }, Type: TypeInfo{ - Name: "String", + Identifier: NewIdentifierBuilder().WithName("String").WithStartEnd(1, 19, 1, 25).Build(), BuiltIn: false, Optional: false, ASTNodeBase: aWithPos(row, 19, row, 25), @@ -292,7 +286,7 @@ func TestConvertToAST_enum_decl_with_associated_params(t *testing.T) { ASTNodeBase: aWithPos(row, 37, row, 43), }, Type: TypeInfo{ - Name: "bool", + Identifier: NewIdentifierBuilder().WithName("bool").WithStartEnd(1, 32, 1, 36).Build(), BuiltIn: true, Optional: false, ASTNodeBase: aWithPos(row, 32, row, 36), @@ -305,7 +299,7 @@ func TestConvertToAST_enum_decl_with_associated_params(t *testing.T) { ASTNodeBase: aWithPos(row, 50, row, 52), }, Type: TypeInfo{ - Name: "char", + Identifier: NewIdentifierBuilder().WithName("char").WithStartEnd(1, 45, 1, 49).Build(), BuiltIn: true, Optional: false, ASTNodeBase: aWithPos(row, 45, row, 49), @@ -347,3 +341,213 @@ func TestConvertToAST_enum_decl_with_associated_params(t *testing.T) { } assert.Equal(t, expected, ast.Modules[0].Declarations[0]) } + +func TestConvertToAST_struct_decl(t *testing.T) { + source := `module foo; + struct MyStruct { + int data; + char key; + raylib::Camera camera; + }` + + ast := ConvertToAST(GetCST(source), source) + + expected := StructDecl{ + ASTNodeBase: aWithPos(1, 1, 5, 2), + Name: "MyStruct", + StructType: StructTypeNormal, + Members: []StructMemberDecl{ + { + ASTNodeBase: aWithPos(2, 2, 2, 11), + Names: []Identifier{ + { + ASTNodeBase: aWithPos(2, 6, 2, 10), + Name: "data", + }, + }, + Type: TypeInfo{ + ASTNodeBase: aWithPos(2, 2, 2, 5), + Identifier: NewIdentifierBuilder().WithName("int").WithStartEnd(2, 2, 2, 5).Build(), + BuiltIn: true, + }, + }, + { + ASTNodeBase: aWithPos(3, 2, 3, 11), + Names: []Identifier{ + { + ASTNodeBase: aWithPos(3, 7, 3, 10), + Name: "key", + }, + }, + Type: TypeInfo{ + ASTNodeBase: aWithPos(3, 2, 3, 6), + Identifier: NewIdentifierBuilder().WithName("char").WithStartEnd(3, 2, 3, 6).Build(), + BuiltIn: true, + }, + }, + { + ASTNodeBase: aWithPos(4, 2, 4, 24), + Names: []Identifier{ + { + ASTNodeBase: aWithPos(4, 17, 4, 23), + Name: "camera", + }, + }, + Type: TypeInfo{ + ASTNodeBase: aWithPos(4, 2, 4, 16), + Identifier: Identifier{ + Path: "raylib", + Name: "Camera", + ASTNodeBase: aWithPos(4, 2, 4, 16), + }, + BuiltIn: false, + }, + }, + }, + } + + assert.Equal(t, expected, ast.Modules[0].Declarations[0]) +} + +func TestConvertToAST_struct_decl_with_interface(t *testing.T) { + source := `module foo; + struct MyStruct (MyInterface, MySecondInterface) { + int data; + char key; + raylib::Camera camera; + }` + + ast := ConvertToAST(GetCST(source), source) + + expected := []string{"MyInterface", "MySecondInterface"} + + structDecl := ast.Modules[0].Declarations[0].(StructDecl) + assert.Equal(t, expected, structDecl.Implements) +} + +func TestConvertToAST_struct_decl_with_anonymous_bitstructs(t *testing.T) { + source := `module x; + def Register16 = UInt16; + struct Registers { + bitstruct : Register16 @overlap { + Register16 bc : 0..15; + Register b : 8..15; + Register c : 0..7; + } + Register16 sp; + Register16 pc; + }` + + ast := ConvertToAST(GetCST(source), source) + structDecl := ast.Modules[0].Declarations[0].(StructDecl) + + assert.Equal(t, 5, len(structDecl.Members)) + + assert.Equal( + t, + StructMemberDecl{ + ASTNodeBase: aWithPos(4, 3, 4, 25), + Names: []Identifier{ + NewIdentifierBuilder(). + WithName("bc"). + WithStartEnd(4, 14, 4, 16). + Build(), + }, + Type: TypeInfo{ + ASTNodeBase: aWithPos(4, 3, 4, 13), + Identifier: NewIdentifierBuilder(). + WithName("Register16"). + WithStartEnd(4, 3, 4, 13). + Build(), + }, + BitRange: option.Some([2]uint{0, 15}), + }, + structDecl.Members[0], + ) + + assert.Equal( + t, + StructMemberDecl{ + ASTNodeBase: aWithPos(5, 3, 5, 22), + Names: []Identifier{ + NewIdentifierBuilder(). + WithName("b"). + WithStartEnd(5, 12, 5, 13). + Build(), + }, + Type: TypeInfo{ + ASTNodeBase: aWithPos(5, 3, 5, 11), + Identifier: NewIdentifierBuilder(). + WithName("Register"). + WithStartEnd(5, 3, 5, 11). + Build(), + }, + BitRange: option.Some([2]uint{8, 15}), + }, + structDecl.Members[1], + ) + + assert.Equal( + t, + StructMemberDecl{ + ASTNodeBase: aWithPos(6, 3, 6, 21), + Names: []Identifier{ + NewIdentifierBuilder(). + WithName("c"). + WithStartEnd(6, 12, 6, 13). + Build(), + }, + Type: TypeInfo{ + ASTNodeBase: aWithPos(6, 3, 6, 11), + Identifier: NewIdentifierBuilder(). + WithName("Register"). + WithStartEnd(6, 3, 6, 11). + Build(), + }, + BitRange: option.Some([2]uint{0, 7}), + }, + structDecl.Members[2], + ) + + assert.Equal( + t, + StructMemberDecl{ + ASTNodeBase: aWithPos(8, 2, 8, 16), + Names: []Identifier{ + NewIdentifierBuilder(). + WithName("sp"). + WithStartEnd(8, 13, 8, 15). + Build(), + }, + Type: TypeInfo{ + ASTNodeBase: aWithPos(8, 2, 8, 12), + Identifier: NewIdentifierBuilder(). + WithName("Register16"). + WithStartEnd(8, 2, 8, 12). + Build(), + }, + }, + structDecl.Members[3], + ) + + assert.Equal( + t, + StructMemberDecl{ + ASTNodeBase: aWithPos(9, 2, 9, 16), + Names: []Identifier{ + NewIdentifierBuilder(). + WithName("pc"). + WithStartEnd(9, 13, 9, 15). + Build(), + }, + Type: TypeInfo{ + ASTNodeBase: aWithPos(9, 2, 9, 12), + Identifier: NewIdentifierBuilder(). + WithName("Register16"). + WithStartEnd(9, 2, 9, 12). + Build(), + }, + }, + structDecl.Members[4], + ) +} From 3df5e7ccba4031a4978974b9f17ada9b324a7536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Fri, 2 Aug 2024 16:58:40 +0200 Subject: [PATCH 11/15] Include stdlib 0.6.1 symbols. --- server/internal/lsp/stdlib/v061.go | 873 +++++++++++++++++++++++++++++ 1 file changed, 873 insertions(+) create mode 100644 server/internal/lsp/stdlib/v061.go diff --git a/server/internal/lsp/stdlib/v061.go b/server/internal/lsp/stdlib/v061.go new file mode 100644 index 0000000..b839ec6 --- /dev/null +++ b/server/internal/lsp/stdlib/v061.go @@ -0,0 +1,873 @@ +package stdlib + +import ( + symbols "github.com/pherrymason/c3-lsp/pkg/symbols" + symbolstable "github.com/pherrymason/c3-lsp/pkg/symbols_table" +) + +func Load_v061_stdlib() symbolstable.UnitModules { + docId := "_stdlib" + moduleCollection := map[string]*symbols.Module{ + "libc": symbols.NewModuleBuilder("libc", &docId).WithoutSourceCode().Build(), + "libc::errno": symbols.NewModuleBuilder("libc::errno", &docId).WithoutSourceCode().Build(), + "libc::os": symbols.NewModuleBuilder("libc::os", &docId).WithoutSourceCode().Build(), + "std::ascii": symbols.NewModuleBuilder("std::ascii", &docId).WithoutSourceCode().Build(), + "std::atomic": symbols.NewModuleBuilder("std::atomic", &docId).WithoutSourceCode().Build(), + "std::atomic::types": symbols.NewModuleBuilder("std::atomic::types", &docId).WithoutSourceCode().Build(), + "std::bits": symbols.NewModuleBuilder("std::bits", &docId).WithoutSourceCode().Build(), + "std::collections::anylist": symbols.NewModuleBuilder("std::collections::anylist", &docId).WithoutSourceCode().Build(), + "std::collections::bitset": symbols.NewModuleBuilder("std::collections::bitset", &docId).WithoutSourceCode().Build(), + "std::collections::enummap": symbols.NewModuleBuilder("std::collections::enummap", &docId).WithoutSourceCode().Build(), + "std::collections::enumset": symbols.NewModuleBuilder("std::collections::enumset", &docId).WithoutSourceCode().Build(), + "std::collections::enumset::private": symbols.NewModuleBuilder("std::collections::enumset::private", &docId).WithoutSourceCode().Build(), + "std::collections::growablebitset": symbols.NewModuleBuilder("std::collections::growablebitset", &docId).WithoutSourceCode().Build(), + "std::collections::linkedlist": symbols.NewModuleBuilder("std::collections::linkedlist", &docId).WithoutSourceCode().Build(), + "std::collections::list": symbols.NewModuleBuilder("std::collections::list", &docId).WithoutSourceCode().Build(), + "std::collections::map": symbols.NewModuleBuilder("std::collections::map", &docId).WithoutSourceCode().Build(), + "std::collections::maybe": symbols.NewModuleBuilder("std::collections::maybe", &docId).WithoutSourceCode().Build(), + "std::collections::object": symbols.NewModuleBuilder("std::collections::object", &docId).WithoutSourceCode().Build(), + "std::collections::priorityqueue": symbols.NewModuleBuilder("std::collections::priorityqueue", &docId).WithoutSourceCode().Build(), + "std::collections::priorityqueue::private": symbols.NewModuleBuilder("std::collections::priorityqueue::private", &docId).WithoutSourceCode().Build(), + "std::collections::range": symbols.NewModuleBuilder("std::collections::range", &docId).WithoutSourceCode().Build(), + "std::collections::ringbuffer": symbols.NewModuleBuilder("std::collections::ringbuffer", &docId).WithoutSourceCode().Build(), + "std::collections::triple": symbols.NewModuleBuilder("std::collections::triple", &docId).WithoutSourceCode().Build(), + "std::collections::tuple": symbols.NewModuleBuilder("std::collections::tuple", &docId).WithoutSourceCode().Build(), + "std::core::array": symbols.NewModuleBuilder("std::core::array", &docId).WithoutSourceCode().Build(), + "std::core::array::slice": symbols.NewModuleBuilder("std::core::array::slice", &docId).WithoutSourceCode().Build(), + "std::core::bitorder": symbols.NewModuleBuilder("std::core::bitorder", &docId).WithoutSourceCode().Build(), + "std::core::builtin": symbols.NewModuleBuilder("std::core::builtin", &docId).WithoutSourceCode().Build(), + "std::core::cinterop": symbols.NewModuleBuilder("std::core::cinterop", &docId).WithoutSourceCode().Build(), + "std::core::cpudetect": symbols.NewModuleBuilder("std::core::cpudetect", &docId).WithoutSourceCode().Build(), + "std::core::dstring": symbols.NewModuleBuilder("std::core::dstring", &docId).WithoutSourceCode().Build(), + "std::core::env": symbols.NewModuleBuilder("std::core::env", &docId).WithoutSourceCode().Build(), + "std::core::main_stub": symbols.NewModuleBuilder("std::core::main_stub", &docId).WithoutSourceCode().Build(), + "std::core::mem": symbols.NewModuleBuilder("std::core::mem", &docId).WithoutSourceCode().Build(), + "std::core::mem::allocator": symbols.NewModuleBuilder("std::core::mem::allocator", &docId).WithoutSourceCode().Build(), + "std::core::runtime": symbols.NewModuleBuilder("std::core::runtime", &docId).WithoutSourceCode().Build(), + "std::core::string": symbols.NewModuleBuilder("std::core::string", &docId).WithoutSourceCode().Build(), + "std::core::string::conv": symbols.NewModuleBuilder("std::core::string::conv", &docId).WithoutSourceCode().Build(), + "std::core::string::iterator": symbols.NewModuleBuilder("std::core::string::iterator", &docId).WithoutSourceCode().Build(), + "std::core::types": symbols.NewModuleBuilder("std::core::types", &docId).WithoutSourceCode().Build(), + "std::core::values": symbols.NewModuleBuilder("std::core::values", &docId).WithoutSourceCode().Build(), + "std::crypto": symbols.NewModuleBuilder("std::crypto", &docId).WithoutSourceCode().Build(), + "std::crypto::rc4": symbols.NewModuleBuilder("std::crypto::rc4", &docId).WithoutSourceCode().Build(), + "std::encoding::base64": symbols.NewModuleBuilder("std::encoding::base64", &docId).WithoutSourceCode().Build(), + "std::encoding::csv": symbols.NewModuleBuilder("std::encoding::csv", &docId).WithoutSourceCode().Build(), + "std::encoding::json": symbols.NewModuleBuilder("std::encoding::json", &docId).WithoutSourceCode().Build(), + "std::hash::adler32": symbols.NewModuleBuilder("std::hash::adler32", &docId).WithoutSourceCode().Build(), + "std::hash::crc32": symbols.NewModuleBuilder("std::hash::crc32", &docId).WithoutSourceCode().Build(), + "std::hash::crc64": symbols.NewModuleBuilder("std::hash::crc64", &docId).WithoutSourceCode().Build(), + "std::hash::fnv32a": symbols.NewModuleBuilder("std::hash::fnv32a", &docId).WithoutSourceCode().Build(), + "std::hash::fnv64a": symbols.NewModuleBuilder("std::hash::fnv64a", &docId).WithoutSourceCode().Build(), + "std::hash::sha1": symbols.NewModuleBuilder("std::hash::sha1", &docId).WithoutSourceCode().Build(), + "std::io": symbols.NewModuleBuilder("std::io", &docId).WithoutSourceCode().Build(), + "std::io::file": symbols.NewModuleBuilder("std::io::file", &docId).WithoutSourceCode().Build(), + "std::io::os": symbols.NewModuleBuilder("std::io::os", &docId).WithoutSourceCode().Build(), + "std::io::path": symbols.NewModuleBuilder("std::io::path", &docId).WithoutSourceCode().Build(), + "std::math": symbols.NewModuleBuilder("std::math", &docId).WithoutSourceCode().Build(), + "std::math::complex": symbols.NewModuleBuilder("std::math::complex", &docId).WithoutSourceCode().Build(), + "std::math::easing": symbols.NewModuleBuilder("std::math::easing", &docId).WithoutSourceCode().Build(), + "std::math::matrix": symbols.NewModuleBuilder("std::math::matrix", &docId).WithoutSourceCode().Build(), + "std::math::nolibc": symbols.NewModuleBuilder("std::math::nolibc", &docId).WithoutSourceCode().Build(), + "std::math::quaternion": symbols.NewModuleBuilder("std::math::quaternion", &docId).WithoutSourceCode().Build(), + "std::math::random": symbols.NewModuleBuilder("std::math::random", &docId).WithoutSourceCode().Build(), + "std::math::vector": symbols.NewModuleBuilder("std::math::vector", &docId).WithoutSourceCode().Build(), + "std::net": symbols.NewModuleBuilder("std::net", &docId).WithoutSourceCode().Build(), + "std::net::os": symbols.NewModuleBuilder("std::net::os", &docId).WithoutSourceCode().Build(), + "std::net::tcp": symbols.NewModuleBuilder("std::net::tcp", &docId).WithoutSourceCode().Build(), + "std::net::udp": symbols.NewModuleBuilder("std::net::udp", &docId).WithoutSourceCode().Build(), + "std::os": symbols.NewModuleBuilder("std::os", &docId).WithoutSourceCode().Build(), + "std::os::backtrace": symbols.NewModuleBuilder("std::os::backtrace", &docId).WithoutSourceCode().Build(), + "std::os::darwin": symbols.NewModuleBuilder("std::os::darwin", &docId).WithoutSourceCode().Build(), + "std::os::env": symbols.NewModuleBuilder("std::os::env", &docId).WithoutSourceCode().Build(), + "std::os::linux": symbols.NewModuleBuilder("std::os::linux", &docId).WithoutSourceCode().Build(), + "std::os::macos::cf": symbols.NewModuleBuilder("std::os::macos::cf", &docId).WithoutSourceCode().Build(), + "std::os::macos::objc": symbols.NewModuleBuilder("std::os::macos::objc", &docId).WithoutSourceCode().Build(), + "std::os::posix": symbols.NewModuleBuilder("std::os::posix", &docId).WithoutSourceCode().Build(), + "std::os::process": symbols.NewModuleBuilder("std::os::process", &docId).WithoutSourceCode().Build(), + "std::os::win32": symbols.NewModuleBuilder("std::os::win32", &docId).WithoutSourceCode().Build(), + "std::os::win32::wsa": symbols.NewModuleBuilder("std::os::win32::wsa", &docId).WithoutSourceCode().Build(), + "std::sort": symbols.NewModuleBuilder("std::sort", &docId).WithoutSourceCode().Build(), + "std::sort::cs": symbols.NewModuleBuilder("std::sort::cs", &docId).WithoutSourceCode().Build(), + "std::sort::is": symbols.NewModuleBuilder("std::sort::is", &docId).WithoutSourceCode().Build(), + "std::sort::qs": symbols.NewModuleBuilder("std::sort::qs", &docId).WithoutSourceCode().Build(), + "std::thread": symbols.NewModuleBuilder("std::thread", &docId).WithoutSourceCode().Build(), + "std::thread::cpu": symbols.NewModuleBuilder("std::thread::cpu", &docId).WithoutSourceCode().Build(), + "std::thread::os": symbols.NewModuleBuilder("std::thread::os", &docId).WithoutSourceCode().Build(), + "std::thread::pool": symbols.NewModuleBuilder("std::thread::pool", &docId).WithoutSourceCode().Build(), + "std::time": symbols.NewModuleBuilder("std::time", &docId).WithoutSourceCode().Build(), + "std::time::clock": symbols.NewModuleBuilder("std::time::clock", &docId).WithoutSourceCode().Build(), + "std::time::datetime": symbols.NewModuleBuilder("std::time::datetime", &docId).WithoutSourceCode().Build(), + "std::time::os": symbols.NewModuleBuilder("std::time::os", &docId).WithoutSourceCode().Build(), + } + parsedModules := symbolstable.NewParsedModules(&docId) + for _, mod := range moduleCollection { + parsedModules.RegisterModule(mod) + } + var module *symbols.Module + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddFunction(symbols.NewFunctionBuilder("createSolidBrush", symbols.NewTypeFromString("Win32_HBRUSH", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_COLORREF", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setTextColor", symbols.NewTypeFromString("Win32_COLORREF", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_COLORREF", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_COLORREF", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setBkMode", symbols.NewTypeFromString("CInt", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("textOut", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem + module = moduleCollection["std::core::mem"] + module.AddVariable(symbols.NewVariableBuilder("wasm_allocator", "SimpleHeapAllocator", "std::core::mem", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__heap_base", "int", "std::core::mem", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MAX_MEMORY_ALIGNMENT", "", "std::core::mem", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DEFAULT_MEM_ALIGNMENT", "", "std::core::mem", &docId).Build()).AddStruct(symbols.NewStructBuilder("TempState", "std::core::mem", &docId).WithStructMember("old", "TempAllocator", "std::core::mem", &docId).WithStructMember("current", "TempAllocator", "std::core::mem", &docId).WithStructMember("mark", "usz", "std::core::mem", &docId).WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("AtomicOrdering", "int", "std::core::mem", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("NOT_ATOMIC", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("UNORDERED", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RELAXED", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ACQUIRE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RELEASE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ACQUIRE_RELEASE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SEQ_CONSISTENT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("@constant_is_power_of_2", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("masked_load", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("passthru", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@masked_load_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("passthru", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("gather", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptrvec", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("passthru", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@gather_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptrvec", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("passthru", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("masked_store", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@masked_store_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("scatter", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptrvec", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@scatter_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptrvec", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@unaligned_load", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@unaligned_store", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@volatile_load", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@volatile_store", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@atomic_load", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@atomic_store", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("compare_exchange", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("compare", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("compare_exchange_volatile", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("compare", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "AtomicOrdering", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "AtomicOrdering", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("aligned_offset", symbols.NewTypeFromString("usz", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("offset", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("aligned_pointer", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ptr_is_aligned", symbols.NewTypeFromString("bool", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("dst", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear_inline", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("dst", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("dst", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy_inline", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("dst", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("move", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("dst", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("dst", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("val", "char", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_inline", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("dst", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("val", "char", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "isz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("type_alloc_must_be_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@scoped", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@report_heap_allocs_in_scope", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@stack_mem", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@stack_pool", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_push", symbols.NewTypeFromString("TempState", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("other", "TempAllocator", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_pop", symbols.NewTypeFromString("void", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("old_state", "TempState", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@pool", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "TempAllocator", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("initialize_wasm_mem", symbols.NewTypeFromString("void", "std::core::mem"), "std::core::mem", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_tracking_env", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@clone", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@tclone", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc_aligned", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tmalloc", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_new", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_alloc", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_array", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_array_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_array", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_array_aligned", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_alloc_array", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_new_array", symbols.NewTypeFromString("", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("calloc", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("calloc_aligned", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tcalloc", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("realloc", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_size", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("realloc_aligned", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_size", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free_aligned", symbols.NewTypeFromString("void", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trealloc", symbols.NewTypeFromString("void*", "std::core::mem"), "std::core::mem", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::types + module = moduleCollection["std::core::types"] + module.AddStruct(symbols.NewStructBuilder("TypeEnum", "std::core::types", &docId).WithStructMember("type", "TypeKind", "std::core::types", &docId).WithStructMember("elements", "usz", "std::core::types", &docId).WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("TypeKind", "char", "std::core::types", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("VOID", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("BOOL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SIGNED_INT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("UNSIGNED_INT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FLOAT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TYPEID", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ANYFAULT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ANY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ENUM", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FAULT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("STRUCT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("UNION", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("BITSTRUCT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FUNC", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("OPTIONAL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ARRAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SLICE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("VECTOR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("DISTINCT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("POINTER", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("INTERFACE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFault(symbols.NewFaultBuilder("ConversionResult", "", "std::core::types", &docId).WithConstant(symbols.NewFaultConstantBuilder("VALUE_OUT_OF_RANGE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("VALUE_OUT_OF_UNSIGNED_RANGE", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("any_to_int", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("v", "any", "std::core::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_subtype_of", symbols.NewTypeFromString("bool", "std::core::types"), "std::core::types", &docId).WithTypeIdentifier("typeid").WithArgument(symbols.NewVariableBuilder("self", "typeid", "std::core::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "typeid", "std::core::types", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_subtype_of", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_numerical", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_int", symbols.NewTypeFromString("bool", "std::core::types"), "std::core::types", &docId).WithTypeIdentifier("TypeKind").WithArgument(symbols.NewVariableBuilder("kind", "", "std::core::types", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_slice_convertable", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_bool", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_int", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_indexable", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_ref_indexable", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_intlike", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_underlying_int", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_float", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_floatlike", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_vector", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("inner_kind", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_same", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@has_same", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("may_load_atomic", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lower_to_atomic_compatible_type", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_promotable_to_floatlike", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_promotable_to_float", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_same_vector_type", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_equatable_type", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("implements_copy", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_equatable_value", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_comparable_value", symbols.NewTypeFromString("", "std::core::types"), "std::core::types", &docId).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::core::values + module = moduleCollection["std::core::values"] + module.AddFunction(symbols.NewFunctionBuilder("@typeid", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@typekind", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@typeis", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_same_type", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_bool", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_int", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_floatlike", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_float", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_promotable_to_floatlike", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_promotable_to_float", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_vector", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_same_vector_type", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@assign_to", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("promote_int", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("promote_int_same", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::values", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@inner_kind", symbols.NewTypeFromString("", "std::core::values"), "std::core::values", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::values", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("_round", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_roundf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::macos::objc + module = moduleCollection["std::os::macos::objc"] + module.AddFault(symbols.NewFaultBuilder("ObjcFailure", "", "std::os::macos::objc", &docId).WithConstant(symbols.NewFaultConstantBuilder("CLASS_NOT_FOUND", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("name", symbols.NewTypeFromString("", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("cls", "Class", "std::os::macos::objc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("superclass", symbols.NewTypeFromString("", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("cls", "Class", "std::os::macos::objc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("responds_to", symbols.NewTypeFromString("", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("cls", "Class", "std::os::macos::objc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sel", "Selector", "std::os::macos::objc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("method", symbols.NewTypeFromString("", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("cls", "Class", "std::os::macos::objc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("name", "Selector", "std::os::macos::objc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("a", "Selector", "std::os::macos::objc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Selector", "std::os::macos::objc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("a", "Class", "std::os::macos::objc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Class", "std::os::macos::objc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("class_by_name", symbols.NewTypeFromString("", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("c", "ZString", "std::os::macos::objc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("class_get_list", symbols.NewTypeFromString("", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::macos::objc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_objc_getClass", symbols.NewTypeFromString("Class", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("name", "ZString", "std::os::macos::objc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_objc_getClassList", symbols.NewTypeFromString("int", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "Class", "std::os::macos::objc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer_count", "int", "std::os::macos::objc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_class_getName", symbols.NewTypeFromString("ZString", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("cls", "Class", "std::os::macos::objc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_class_getSuperclass", symbols.NewTypeFromString("Class", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("cls", "Class", "std::os::macos::objc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_class_getClassMethod", symbols.NewTypeFromString("Method", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("cls", "Class", "std::os::macos::objc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("name", "Selector", "std::os::macos::objc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_class_respondsToSelector", symbols.NewTypeFromString("bool", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("cls", "Class", "std::os::macos::objc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("name", "Selector", "std::os::macos::objc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_sel_registerName", symbols.NewTypeFromString("Selector", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "std::os::macos::objc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_objc_lookUpClass", symbols.NewTypeFromString("Class", "std::os::macos::objc"), "std::os::macos::objc", &docId).WithArgument(symbols.NewVariableBuilder("name", "ZString", "std::os::macos::objc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddVariable(symbols.NewVariableBuilder("WASM_BLOCK_SIZE", "usz", "std::core::mem::allocator", &docId).Build()).AddVariable(symbols.NewVariableBuilder("wasm_memory", "WasmMemory", "std::core::mem::allocator", &docId).Build()).AddStruct(symbols.NewStructBuilder("WasmMemory", "std::core::mem::allocator", &docId).WithStructMember("allocation", "usz", "std::core::mem::allocator", &docId).WithStructMember("use", "uptr", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("allocate_block", symbols.NewTypeFromString("char!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("WasmMemory").WithArgument(symbols.NewVariableBuilder("self", "WasmMemory", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddVariable(symbols.NewVariableBuilder("PRINTF_NTOA_BUFFER_SIZE", "int", "std::io", &docId).Build()).AddStruct(symbols.NewStructBuilder("Formatter", "std::io", &docId).WithStructMember("data", "void", "std::io", &docId).WithStructMember("out_fn", "OutputFn", "std::io", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("PrintFlags", "uint", "std::io", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("OutputFn", "std::io", &docId).WithResolvesTo("fn void!(void* buffer, char c)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("FloatType", "std::io", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFault(symbols.NewFaultBuilder("PrintFault", "", "std::io", &docId).WithConstant(symbols.NewFaultConstantBuilder("BUFFER_EXCEEDED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INTERNAL_BUFFER_EXCEEDED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_FORMAT_STRING", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("MISSING_ARG", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_ARGUMENT_TYPE", &docId).Build()).Build()).AddFault(symbols.NewFaultBuilder("FormattingFault", "", "std::io", &docId).WithConstant(symbols.NewFaultConstantBuilder("UNTERMINATED_FORMAT", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("MISSING_ARG", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_WIDTH_ARG", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_FORMAT_TYPE", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("printf", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("out_fn", "OutputFn", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "void", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("print_with_function", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg", "Printable", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_str", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg", "any", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_null_fn", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("data", "void", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("vprintf", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("anys", "any", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("print", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str", "String", "std::io", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddVariable(symbols.NewVariableBuilder("TAN_T", "double[*]", "std::math::nolibc", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("__tan", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("odd", "int", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::hash::sha1 + module = moduleCollection["std::hash::sha1"] + module.AddStruct(symbols.NewStructBuilder("Sha1", "std::hash::sha1", &docId).WithStructMember("state", "uint", "std::hash::sha1", &docId).WithStructMember("count", "uint", "std::hash::sha1", &docId).WithStructMember("buffer", "char", "std::hash::sha1", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Long16", "std::hash::sha1", &docId).WithStructMember("c", "char", "std::hash::sha1", &docId).WithStructMember("l", "uint", "std::hash::sha1", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::hash::sha1"), "std::hash::sha1", &docId).WithTypeIdentifier("Sha1").WithArgument(symbols.NewVariableBuilder("self", "Sha1", "std::hash::sha1", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("update", symbols.NewTypeFromString("void", "std::hash::sha1"), "std::hash::sha1", &docId).WithTypeIdentifier("Sha1").WithArgument(symbols.NewVariableBuilder("self", "Sha1", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::sha1", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("final", symbols.NewTypeFromString("char", "std::hash::sha1"), "std::hash::sha1", &docId).WithTypeIdentifier("Sha1").WithArgument(symbols.NewVariableBuilder("self", "Sha1", "std::hash::sha1", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@blk", symbols.NewTypeFromString("", "std::hash::sha1"), "std::hash::sha1", &docId).WithArgument(symbols.NewVariableBuilder("block", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "", "std::hash::sha1", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@blk0", symbols.NewTypeFromString("", "std::hash::sha1"), "std::hash::sha1", &docId).WithArgument(symbols.NewVariableBuilder("block", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "", "std::hash::sha1", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@r0", symbols.NewTypeFromString("", "std::hash::sha1"), "std::hash::sha1", &docId).WithArgument(symbols.NewVariableBuilder("block", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wref", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("z", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "", "std::hash::sha1", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@r1", symbols.NewTypeFromString("", "std::hash::sha1"), "std::hash::sha1", &docId).WithArgument(symbols.NewVariableBuilder("block", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wref", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("z", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "", "std::hash::sha1", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@r2", symbols.NewTypeFromString("", "std::hash::sha1"), "std::hash::sha1", &docId).WithArgument(symbols.NewVariableBuilder("block", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wref", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("z", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "", "std::hash::sha1", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@r3", symbols.NewTypeFromString("", "std::hash::sha1"), "std::hash::sha1", &docId).WithArgument(symbols.NewVariableBuilder("block", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wref", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("z", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "", "std::hash::sha1", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@r4", symbols.NewTypeFromString("", "std::hash::sha1"), "std::hash::sha1", &docId).WithArgument(symbols.NewVariableBuilder("block", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wref", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("z", "", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "", "std::hash::sha1", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sha1_transform", symbols.NewTypeFromString("void", "std::hash::sha1"), "std::hash::sha1", &docId).WithArgument(symbols.NewVariableBuilder("state", "uint", "std::hash::sha1", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::hash::sha1", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("native_mkdir", symbols.NewTypeFromString("", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("permissions", "MkdirPermissions", "std::io::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::easing + module = moduleCollection["std::math::easing"] + module.AddFunction(symbols.NewFunctionBuilder("linear_none", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("linear_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("linear_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("linear_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sine_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sine_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sine_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("circ_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("circ_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("circ_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cubic_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cubic_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cubic_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("quad_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("quad_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("quad_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("expo_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("expo_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("expo_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("back_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("back_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("back_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bounce_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bounce_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bounce_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("elastic_in", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("elastic_out", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("elastic_inout", symbols.NewTypeFromString("float", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("t", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math::easing", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math::easing", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sq", symbols.NewTypeFromString("", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math::easing", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cube", symbols.NewTypeFromString("", "std::math::easing"), "std::math::easing", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math::easing", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::random + module = moduleCollection["std::math::random"] + module.AddFunction(symbols.NewFunctionBuilder("is_random", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("random", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("seed", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("random", "", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("seed_entropy", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("random", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("random", "", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "int", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rand", symbols.NewTypeFromString("int", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("max", "int", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bool", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("random", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_float", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("random", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_double", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("random", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@long_to_int128", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@int_to_long", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@short_to_int", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@char_to_short", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@random_value_to_bytes", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::net::tcp + module = moduleCollection["std::net::tcp"] + module.AddFunction(symbols.NewFunctionBuilder("connect", symbols.NewTypeFromString("TcpSocket!", "std::net::tcp"), "std::net::tcp", &docId).WithArgument(symbols.NewVariableBuilder("host", "String", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("port", "uint", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timeout", "Duration", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ip_protocol", "IpProtocol", "std::net::tcp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_async", symbols.NewTypeFromString("TcpSocket!", "std::net::tcp"), "std::net::tcp", &docId).WithArgument(symbols.NewVariableBuilder("host", "String", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("port", "uint", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ip_protocol", "IpProtocol", "std::net::tcp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_to", symbols.NewTypeFromString("TcpSocket!", "std::net::tcp"), "std::net::tcp", &docId).WithArgument(symbols.NewVariableBuilder("ai", "AddrInfo", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::tcp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_async_to", symbols.NewTypeFromString("TcpSocket!", "std::net::tcp"), "std::net::tcp", &docId).WithArgument(symbols.NewVariableBuilder("ai", "AddrInfo", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::tcp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("listen", symbols.NewTypeFromString("TcpServerSocket!", "std::net::tcp"), "std::net::tcp", &docId).WithArgument(symbols.NewVariableBuilder("host", "String", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("port", "uint", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("backlog", "uint", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ip_protocol", "IpProtocol", "std::net::tcp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("accept", symbols.NewTypeFromString("TcpSocket!", "std::net::tcp"), "std::net::tcp", &docId).WithArgument(symbols.NewVariableBuilder("server_socket", "TcpServerSocket", "std::net::tcp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("listen_to", symbols.NewTypeFromString("TcpServerSocket!", "std::net::tcp"), "std::net::tcp", &docId).WithArgument(symbols.NewVariableBuilder("ai", "AddrInfo", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("backlog", "uint", "std::net::tcp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::tcp", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::bits + module = moduleCollection["std::bits"] + module.AddFunction(symbols.NewFunctionBuilder("reverse", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("i", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bswap", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("i", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "int", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "int", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ushort", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ushort", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ushort", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ushort", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ushort", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ushort", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "short", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "short", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "short", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "short", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "short", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "short", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "char", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "char", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "char", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "char", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "char", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "char", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ichar", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ichar", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ichar", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ichar", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ichar", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ichar", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ulong", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ulong", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ulong", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ulong", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ulong", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ulong", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "long", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "long", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "long", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "long", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "long", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "long", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint128", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint128", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "int128", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "int128", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "int", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "int", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ushort", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ushort", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ushort", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ushort", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ushort", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ushort", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "short", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "short", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "short", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "short", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "short", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "short", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "char", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "char", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "char", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "char", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "char", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "char", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ichar", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ichar", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ichar", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ichar", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ichar", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ichar", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ulong", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ulong", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "ulong", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ulong", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ulong", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "ulong", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "long", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "long", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "long", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "long", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "long", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "long", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint128", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint128", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "uint128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("popcount", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clz", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "int128", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fshr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("hi", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "int128", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotl", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotr", symbols.NewTypeFromString("", "std::bits"), "std::bits", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::bits", &docId).Build()).WithArgument(symbols.NewVariableBuilder("shift", "int128", "std::bits", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::collections::ringbuffer + module = moduleCollection["std::collections::ringbuffer"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::collections::ringbuffer", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddStruct(symbols.NewStructBuilder("RingBuffer", "std::collections::ringbuffer", &docId).WithStructMember("buf", "Type", "std::collections::ringbuffer", &docId).WithStructMember("written", "usz", "std::collections::ringbuffer", &docId).WithStructMember("head", "usz", "std::collections::ringbuffer", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::collections::ringbuffer"), "std::collections::ringbuffer", &docId).WithTypeIdentifier("RingBuffer").WithArgument(symbols.NewVariableBuilder("self", "RingBuffer", "std::collections::ringbuffer", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push", symbols.NewTypeFromString("void", "std::collections::ringbuffer"), "std::collections::ringbuffer", &docId).WithTypeIdentifier("RingBuffer").WithArgument(symbols.NewVariableBuilder("self", "RingBuffer", "std::collections::ringbuffer", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "Type", "std::collections::ringbuffer", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("Type", "std::collections::ringbuffer"), "std::collections::ringbuffer", &docId).WithTypeIdentifier("RingBuffer").WithArgument(symbols.NewVariableBuilder("self", "RingBuffer", "std::collections::ringbuffer", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::ringbuffer", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop", symbols.NewTypeFromString("Type!", "std::collections::ringbuffer"), "std::collections::ringbuffer", &docId).WithTypeIdentifier("RingBuffer").WithArgument(symbols.NewVariableBuilder("self", "RingBuffer", "std::collections::ringbuffer", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("usz", "std::collections::ringbuffer"), "std::collections::ringbuffer", &docId).WithTypeIdentifier("RingBuffer").WithArgument(symbols.NewVariableBuilder("self", "RingBuffer", "std::collections::ringbuffer", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::ringbuffer", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "Type", "std::collections::ringbuffer", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("void", "std::collections::ringbuffer"), "std::collections::ringbuffer", &docId).WithTypeIdentifier("RingBuffer").WithArgument(symbols.NewVariableBuilder("self", "RingBuffer", "std::collections::ringbuffer", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "Type", "std::collections::ringbuffer", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::bitorder + module = moduleCollection["std::core::bitorder"] + module.AddBitstruct(symbols.NewBitstructBuilder("UIntBE", "int", "std::core::bitorder", &docId).WithStructMember("val", "uint", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("ULongBE", "ulong", "std::core::bitorder", &docId).WithStructMember("val", "ulong", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("ShortLE", "short", "std::core::bitorder", &docId).WithStructMember("val", "short", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("ULongLE", "ulong", "std::core::bitorder", &docId).WithStructMember("val", "ulong", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("ShortBE", "short", "std::core::bitorder", &docId).WithStructMember("val", "short", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("IntBE", "int", "std::core::bitorder", &docId).WithStructMember("val", "int", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("UShortLE", "ushort", "std::core::bitorder", &docId).WithStructMember("val", "ushort", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("IntLE", "int", "std::core::bitorder", &docId).WithStructMember("val", "int", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("UIntLE", "int", "std::core::bitorder", &docId).WithStructMember("val", "uint", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("Int128LE", "int128", "std::core::bitorder", &docId).WithStructMember("val", "int128", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("UShortBE", "ushort", "std::core::bitorder", &docId).WithStructMember("val", "ushort", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("LongBE", "long", "std::core::bitorder", &docId).WithStructMember("val", "long", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("Int128BE", "int128", "std::core::bitorder", &docId).WithStructMember("val", "int128", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("UInt128BE", "uint128", "std::core::bitorder", &docId).WithStructMember("val", "uint128", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("LongLE", "long", "std::core::bitorder", &docId).WithStructMember("val", "long", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("UInt128LE", "uint128", "std::core::bitorder", &docId).WithStructMember("val", "uint128", "std::core::bitorder", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("", "std::core::bitorder"), "std::core::bitorder", &docId).WithArgument(symbols.NewVariableBuilder("bytes", "", "std::core::bitorder", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::bitorder", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("", "std::core::bitorder"), "std::core::bitorder", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::bitorder", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "", "std::core::bitorder", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::bitorder", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_bitorder", symbols.NewTypeFromString("", "std::core::bitorder"), "std::core::bitorder", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::bitorder", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_array_or_slice_of_char", symbols.NewTypeFromString("", "std::core::bitorder"), "std::core::bitorder", &docId).WithArgument(symbols.NewVariableBuilder("bytes", "", "std::core::bitorder", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_arrayptr_or_slice_of_char", symbols.NewTypeFromString("", "std::core::bitorder"), "std::core::bitorder", &docId).WithArgument(symbols.NewVariableBuilder("bytes", "", "std::core::bitorder", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::os::linux + module = moduleCollection["std::os::linux"] + module.AddFunction(symbols.NewFunctionBuilder("malloc_usable_size", symbols.NewTypeFromString("usz", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddVariable(symbols.NewVariableBuilder("PIPE_READMODE_BYTE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYMOPT_CASE_INSENSITIVE", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYMOPT_DEFERRED_LOADS", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYMOPT_IGNORE_CVREC", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CREATE_NO_WINDOW", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WAIT_OBJECT_0", "uint", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HANDLE_FLAG_INHERIT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_TYPE_BYTE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_WAIT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYMOPT_LOAD_LINES", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IMAGE_FILE_MACHINE_IA64", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("STARTF_USESTDHANDLES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_ACCESS_DUPLEX", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IMAGE_FILE_MACHINE_UNKNOWN", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("UNDNAME_COMPLETE", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CREATE_UNICODE_ENVIRONMENT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HANDLE_FLAG_PROTECT_FROM_CLOSE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("INFINITE", "uint", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_FLAG_WRITE_THROUGH", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WRITE_DAC", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYMOPT_OMAP_FIND_NEAREST", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IMAGE_FILE_MACHINE_AMD64", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ACCESS_SYSTEM_SECURITY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_TYPE_MESSAGE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CREATE_PROTECTED_PROCESS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WAIT_ABANDONED", "uint", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WAIT_IO_COMPLETION", "uint", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_ACCESS_OUTBOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_FLAG_OVERLAPPED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYMOPT_UNDNAME", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYMOPT_NO_CPP", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IMAGE_FILE_MACHINE_TARGET_HOST", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("displacement", "Win32_DWORD64", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WAIT_FAILED", "uint", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_ACCESS_INBOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_FLAG_FIRST_PIPE_INSTANCE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_READMODE_MESSAGE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_REJECT_REMOTE_CLIENTS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IMAGE_FILE_MACHINE_I386", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WRITE_OWNER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_NOWAIT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIPE_ACCEPT_REMOTE_CLIENTS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYMOPT_LOAD_ANYTHING", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IMAGE_FILE_MACHINE_ARM64", "", "std::os::win32", &docId).Build()).AddStruct(symbols.NewStructBuilder("Symbol", "std::os::win32", &docId).WithStructMember("sym", "Win32_SYMBOL_INFO", "std::os::win32", &docId).WithStructMember("buffer", "char", "std::os::win32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("initializeCriticalSection", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("section", "Win32_CRITICAL_SECTION", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("deleteCriticalSection", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("section", "Win32_CRITICAL_SECTION", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createMutex", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("releaseMutex", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("enterCriticalSection", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("section", "Win32_CRITICAL_SECTION", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("leaveCriticalSection", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("section", "Win32_CRITICAL_SECTION", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tryEnterCriticalSection", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("section", "Win32_CRITICAL_SECTION", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("waitForSingleObject", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hHandle", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwMilliseconds", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("waitForSingleObjectEx", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hHandle", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwMilliseconds", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bAlertable", "Win32_BOOL", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("waitForMultipleObjects", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("nCount", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpHandles", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bWaitAll", "Win32_BOOL", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwMilliseconds", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("waitForMultipleObjectsEx", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("nCount", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpHandles", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bWaitAll", "Win32_BOOL", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwMilliseconds", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bAlertable", "Win32_BOOL", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sleep", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("ms", "uint", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resetEvent", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("event", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setEvent", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("handle", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("interlockedCompareExchange", symbols.NewTypeFromString("long", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("dest", "int", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("exchange", "int", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("comperand", "int", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sleepEx", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("ms", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alertable", "Win32_BOOL", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createThread", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("attributes", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stack", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func", "ThreadFn", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("flags", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("thread_id", "Win32_LPDWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getExitCodeThread", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("handle", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("exit_code", "Win32_LPDWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getExitCodeProcess", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpExitCode", "Win32_LPDWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getThreadId", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("exitThread", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("dwExitCode", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getCurrentThread", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("terminateProcess", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("uExitCode", "Win32_UINT", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getCurrentProcessId", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getCurrentProcess", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getCurrentThreadId", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setHandleInformation", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hObject", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwMask", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwFlags", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createEventA", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpEventAttributes", "Win32_LPSECURITY_ATTRIBUTES", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bManualReset", "Win32_BOOL", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bInitialState", "Win32_BOOL", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpName", "Win32_LPCSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createProcessW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpApplicationName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpCommandLine", "Win32_LPWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpProcessAttributes", "Win32_LPSECURITY_ATTRIBUTES", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpThreadAttributes", "Win32_LPSECURITY_ATTRIBUTES", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bInheritHandles", "Win32_BOOL", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwCreationFlags", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpEnvironment", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpCurrentDirectory", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpStartupInfo", "Win32_LPSTARTUPINFOW", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpProcessInformation", "Win32_LPPROCESS_INFORMATION", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createNamedPipeA", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpName", "Win32_LPCSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwOpenMode", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwPipeMode", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nMaxInstances", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nOutBufferSize", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nInBufferSize", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nDefaultTimeOut", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpSecurityAttributes", "Win32_LPSECURITY_ATTRIBUTES", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getOverlappedResult", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hFile", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpOverlapped", "Win32_LPOVERLAPPED", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpNumberOfBytesTransferred", "Win32_LPDWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bWait", "Win32_BOOL", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getEnvironmentVariableW", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpBuffer", "Win32_LPWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nSize", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setEnvironmentVariableW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpValue", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getSystemInfo", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpSystemInfo", "Win32_LPSYSTEM_INFO", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("enumProcessModules", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lphModule", "Win32_HMODULE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cb", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpcbNeeded", "Win32_LPDWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getModuleInformation", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hModule", "Win32_HMODULE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpmodinfo", "Win32_LPMODULEINFO", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cb", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symAddrIncludeInlineTrace", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symQueryInlineTrace", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("startAddress", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("startContext", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("startRetAddress", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("curAddress", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("curContext", "Win32_LPDWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("curFrameIndex", "Win32_LPDWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symFromInlineContext", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("inlineContext", "Win32_ULONG", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("displacement", "Win32_PDWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("symbol", "Win32_PSYMBOL_INFO", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symGetLineFromInlineContext", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("qwAddr", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("inlineContext", "Win32_ULONG", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("qwModuleBaseAddress", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("pdwDisplacement", "Win32_PDWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("line64", "Win32_PIMAGEHLP_LINE64", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rtlWalkFrameChain", symbols.NewTypeFromString("Win32_ULONG", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_ULONG", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_ULONG", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_ULONG", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symInitialize", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("userSearchPath", "Win32_PCSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("fInvadeProcess", "Win32_BOOL", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symCleanup", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getModuleFileNameA", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hModule", "Win32_HMODULE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpFilename", "Win32_LPSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nSize", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getModuleFileNameExA", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hModule", "Win32_HMODULE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpFilename", "Win32_LPSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nSize", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symLoadModuleEx", symbols.NewTypeFromString("Win32_DWORD64", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hFile", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("imageName", "Win32_PCSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("moduleName", "Win32_PCSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("baseOfDll", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dllSize", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "Win32_PMODLOAD_DATA", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("flags", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stackWalk64", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("machineType", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hThread", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stackFrame", "Win32_LPSTACKFRAME64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("contextRecord", "Win32_PVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("readMemoryRoutine", "Win32_PREAD_PROCESS_MEMORY_ROUTINE64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("functionTableAccessRoutine", "Win32_PFUNCTION_TABLE_ACCESS_ROUTINE64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("getModuleBaseRoutine", "Win32_PGET_MODULE_BASE_ROUTINE64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("translateAddress", "Win32_PTRANSLATE_ADDRESS_ROUTINE64", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rtlCaptureContext", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("contextRecord", "Win32_PCONTEXT", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symFunctionTableAccess64", symbols.NewTypeFromString("void*", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("addrBase", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symGetModuleBase64", symbols.NewTypeFromString("Win32_DWORD64", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("qwAddr", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getModuleBaseNameA", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hModule", "Win32_HMODULE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpBaseName", "Win32_LPSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nSize", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symGetOptions", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symSetOptions", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("symOptions", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("imageNtHeader", symbols.NewTypeFromString("Win32_PIMAGE_NT_HEADERS", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("base", "Win32_PVOID", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unDecorateSymbolName", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("name", "Win32_PCSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("outputString", "Win32_PSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("maxStringLength", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("flags", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symFromAddr", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("displacement", "Win32_PDWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("symbol", "Win32_PSYMBOL_INFO", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symGetLineFromAddr64", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwAddr", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("pdwDisplacement", "Win32_PDWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("line", "Win32_PIMAGEHLP_LINE64", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rtlCaptureStackBackTrace", symbols.NewTypeFromString("Win32_WORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("framesToSkip", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("framesToCapture", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("backTrace", "Win32_PVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("backTraceHash", "Win32_PDWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symGetModuleInfo64", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hProcess", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("qwAddr", "Win32_DWORD64", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("moduleInfo", "Win32_PIMAGEHLP_MODULE64", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getModuleHandleA", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpModuleName", "Win32_LPCSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getModuleHandleW", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpModuleName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("load_modules", symbols.NewTypeFromString("Win32_DWORD!", "std::os::win32"), "std::os::win32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symbolize_backtrace", symbols.NewTypeFromString("BacktraceList!", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("backtrace", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resolve_backtrace", symbols.NewTypeFromString("Backtrace!", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("addr", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("process", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::time::os + module = moduleCollection["std::time::os"] + module.AddStruct(symbols.NewStructBuilder("Darwin_mach_timebase_info", "std::time::os", &docId).WithStructMember("numer", "uint", "std::time::os", &docId).WithStructMember("denom", "uint", "std::time::os", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Darwin_mach_timebase_info_t", "std::time::os", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Darwin_mach_timebase_info_data_t", "std::time::os", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mach_timebase_info", symbols.NewTypeFromString("void", "std::time::os"), "std::time::os", &docId).WithArgument(symbols.NewVariableBuilder("timebase", "Darwin_mach_timebase_info_data_t", "std::time::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mach_absolute_time", symbols.NewTypeFromString("ulong", "std::time::os"), "std::time::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_clock", symbols.NewTypeFromString("Clock", "std::time::os"), "std::time::os", &docId).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddVariable(symbols.NewVariableBuilder("MAX_VARS", "char[*]", "std::io", &docId).Build()).AddDef(symbols.NewDefBuilder("ReadByteFn", "std::io", &docId).WithResolvesTo("fn char!()").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("available", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("s", "InStream", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_instream", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_outstream", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_any", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("stream", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ref", "any", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_any", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("stream", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ref", "any", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_all", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("stream", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_all", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("stream", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@read_using_read_byte", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("s", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@write_byte_using_write", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("s", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@read_byte_using_read", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("s", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@write_using_write_byte", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("s", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@pushback_using_seek", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("s", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy_to", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("in", "InStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dst", "OutStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy_through_buffer", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("in", "InStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dst", "OutStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_varint", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("stream", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x_ptr", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_varint", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("stream", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::net + module = moduleCollection["std::net"] + module.AddFault(symbols.NewFaultBuilder("NetError", "", "std::net", &docId).WithConstant(symbols.NewFaultConstantBuilder("INVALID_URL", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("URL_TOO_LONG", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_SOCKET", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("GENERAL_ERROR", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_IP_STRING", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("ADDRINFO_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("CONNECT_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("LISTEN_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("ACCEPT_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("WRITE_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("READ_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("SOCKOPT_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("SOCKETS_NOT_INITIALIZED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("STILL_PROCESSING_CALLBACK", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("BAD_SOCKET_DESCRIPTOR", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("NOT_A_SOCKET", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("CONNECTION_REFUSED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("CONNECTION_TIMED_OUT", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("ADDRESS_IN_USE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("CONNECTION_ALREADY_IN_PROGRESS", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("ALREADY_CONNECTED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("NETWORK_UNREACHABLE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("OPERATION_NOT_SUPPORTED_ON_SOCKET", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("ipv4toint", symbols.NewTypeFromString("uint!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("s", "String", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("int_to_new_ipv4", symbols.NewTypeFromString("String!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("val", "uint", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("int_to_temp_ipv4", symbols.NewTypeFromString("String!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("val", "uint", "std::net", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::backtrace + module = moduleCollection["std::os::backtrace"] + module.AddVariable(symbols.NewVariableBuilder("BACKTRACE_UNKNOWN", "Backtrace", "std::os::backtrace", &docId).Build()).AddStruct(symbols.NewStructBuilder("Backtrace", "std::os::backtrace", &docId).WithStructMember("offset", "uptr", "std::os::backtrace", &docId).WithStructMember("function", "String", "std::os::backtrace", &docId).WithStructMember("object_file", "String", "std::os::backtrace", &docId).WithStructMember("file", "String", "std::os::backtrace", &docId).WithStructMember("line", "uint", "std::os::backtrace", &docId).WithStructMember("allocator", "Allocator", "std::os::backtrace", &docId).WithStructMember("is_inline", "bool", "std::os::backtrace", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("BacktraceList", "std::os::backtrace", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("symbolize_backtrace = linux::symbolize_backtrace", "std::os::backtrace", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("symbolize_backtrace = win32::symbolize_backtrace", "std::os::backtrace", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("symbolize_backtrace = darwin::symbolize_backtrace", "std::os::backtrace", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFault(symbols.NewFaultBuilder("BacktraceFault", "", "std::os::backtrace", &docId).WithConstant(symbols.NewFaultConstantBuilder("SEGMENT_NOT_FOUND", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("EXECUTABLE_PATH_NOT_FOUND", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("IMAGE_NOT_FOUND", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("NO_BACKTRACE_SYMBOLS", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("RESOLUTION_FAILED", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("has_file", symbols.NewTypeFromString("bool", "std::os::backtrace"), "std::os::backtrace", &docId).WithTypeIdentifier("Backtrace").WithArgument(symbols.NewVariableBuilder("self", "Backtrace", "std::os::backtrace", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_unknown", symbols.NewTypeFromString("bool", "std::os::backtrace"), "std::os::backtrace", &docId).WithTypeIdentifier("Backtrace").WithArgument(symbols.NewVariableBuilder("self", "Backtrace", "std::os::backtrace", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::os::backtrace"), "std::os::backtrace", &docId).WithTypeIdentifier("Backtrace").WithArgument(symbols.NewVariableBuilder("self", "Backtrace", "std::os::backtrace", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::os::backtrace", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::os::backtrace"), "std::os::backtrace", &docId).WithTypeIdentifier("Backtrace").WithArgument(symbols.NewVariableBuilder("self", "Backtrace", "std::os::backtrace", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("Backtrace*", "std::os::backtrace"), "std::os::backtrace", &docId).WithTypeIdentifier("Backtrace").WithArgument(symbols.NewVariableBuilder("self", "Backtrace", "std::os::backtrace", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "uptr", "std::os::backtrace", &docId).Build()).WithArgument(symbols.NewVariableBuilder("function", "String", "std::os::backtrace", &docId).Build()).WithArgument(symbols.NewVariableBuilder("object_file", "String", "std::os::backtrace", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file", "String", "std::os::backtrace", &docId).Build()).WithArgument(symbols.NewVariableBuilder("line", "uint", "std::os::backtrace", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::backtrace", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("capture_current", symbols.NewTypeFromString("void*", "std::os::backtrace"), "std::os::backtrace", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "void", "std::os::backtrace", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symbolize_backtrace", symbols.NewTypeFromString("BacktraceList!", "std::os::backtrace"), "std::os::backtrace", &docId).WithArgument(symbols.NewVariableBuilder("backtrace", "void", "std::os::backtrace", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::backtrace", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("_sinf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sin", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::random + module = moduleCollection["std::math::random"] + module.AddVariable(symbols.NewVariableBuilder("ODD_PHI64", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_MCG64", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_LCG64", "", "std::math::random", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("make_seed", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("seeder", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("out_buffer", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::math::random"), "std::math::random", &docId).WithArgument(symbols.NewVariableBuilder("value", "", "std::math::random", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("entropy", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithoutSourceCode().Build()) + + // Define module std::os::macos::cf + module = moduleCollection["std::os::macos::cf"] + module.AddStruct(symbols.NewStructBuilder("CFRange", "std::os::macos::cf", &docId).WithStructMember("location", "CFIndex", "std::os::macos::cf", &docId).WithStructMember("length", "CFIndex", "std::os::macos::cf", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CFIndex", "std::os::macos::cf", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFRetain", symbols.NewTypeFromString("CFTypeRef", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("cf", "CFTypeRef", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFRelease", symbols.NewTypeFromString("void", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("cf", "CFTypeRef", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::posix + module = moduleCollection["std::os::posix"] + module.AddVariable(symbols.NewVariableBuilder("DT_BLK", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DT_REG", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DT_LNK", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DT_SOCK", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("USE_DARWIN_INODE64", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DT_FIFO", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DT_DIR", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DT_WHT", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DT_UNKNOWN", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DT_CHR", "", "std::os::posix", &docId).Build()).AddStruct(symbols.NewStructBuilder("Posix_dirent", "std::os::posix", &docId).WithStructMember("d_fileno", "Ino_t", "std::os::posix", &docId).WithStructMember("d_off", "Off_t", "std::os::posix", &docId).WithStructMember("d_reclen", "ushort", "std::os::posix", &docId).WithStructMember("d_namelen", "ushort", "std::os::posix", &docId).WithStructMember("d_type", "char", "std::os::posix", &docId).WithStructMember("d_namelen", "char", "std::os::posix", &docId).WithStructMember("d_pad0", "uint", "std::os::posix", &docId).WithStructMember("d_pad0", "char", "std::os::posix", &docId).WithStructMember("name", "char", "std::os::posix", &docId).WithStructMember("name", "char", "std::os::posix", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Mode_t", "std::os::posix", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rmdir", symbols.NewTypeFromString("int", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "ZString", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mkdir", symbols.NewTypeFromString("int", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "ZString", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode_t", "ushort", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("chdir", symbols.NewTypeFromString("int", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "ZString", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getcwd", symbols.NewTypeFromString("ZString", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("pwd", "char", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pipe", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("pipes", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fdopen", symbols.NewTypeFromString("CFile", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("fd", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("access", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("path", "ZString", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("readdir", symbols.NewTypeFromString("Posix_dirent*", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "DIRPtr", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("opendir", symbols.NewTypeFromString("DIRPtr", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "ZString", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("closedir", symbols.NewTypeFromString("void", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "DIRPtr", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("readdir", symbols.NewTypeFromString("Posix_dirent*", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "DIRPtr", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::process + module = moduleCollection["std::os::process"] + module.AddVariable(symbols.NewVariableBuilder("EMPTY_ENVIRONMENT", "ZString[1]", "std::os::process", &docId).Build()).AddStruct(symbols.NewStructBuilder("SubProcess", "std::os::process", &docId).WithStructMember("stdin_file", "CFile", "std::os::process", &docId).WithStructMember("stdout_file", "CFile", "std::os::process", &docId).WithStructMember("stderr_file", "CFile", "std::os::process", &docId).WithStructMember("hProcess", "Win32_HANDLE", "std::os::process", &docId).WithStructMember("hStdInput", "Win32_HANDLE", "std::os::process", &docId).WithStructMember("hEventOutput", "Win32_HANDLE", "std::os::process", &docId).WithStructMember("hEventError", "Win32_HANDLE", "std::os::process", &docId).WithStructMember("child", "Pid_t", "std::os::process", &docId).WithStructMember("return_status", "int", "std::os::process", &docId).WithStructMember("is_alive", "bool", "std::os::process", &docId).WithoutSourceCode().Build()).AddBitstruct(symbols.NewBitstructBuilder("SubProcessOptions", "int", "std::os::process", &docId).WithoutSourceCode().Build()).AddFault(symbols.NewFaultBuilder("SubProcessResult", "", "std::os::process", &docId).WithConstant(symbols.NewFaultConstantBuilder("FAILED_TO_CREATE_PIPE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FAILED_TO_OPEN_STDIN", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FAILED_TO_OPEN_STDOUT", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FAILED_TO_OPEN_STDERR", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FAILED_TO_START_PROCESS", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FAILED_TO_INITIALIZE_ACTIONS", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("PROCESS_JOIN_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("PROCESS_TERMINATION_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("READ_FAILED", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("create_named_pipe_helper", symbols.NewTypeFromString("void!", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("rd", "void", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wr", "void", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("convert_command_line_win32", symbols.NewTypeFromString("WString", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("command_line", "String", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("create", symbols.NewTypeFromString("SubProcess!", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("command_line", "String", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SubProcessOptions", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("environment", "String", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tcopy_command_line", symbols.NewTypeFromString("ZString*", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("command_line", "String", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tcopy_env", symbols.NewTypeFromString("ZString*", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("environment", "String", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("execute_stdout_to_buffer", symbols.NewTypeFromString("String!", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("command_line", "String", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SubProcessOptions", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("environment", "String", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("create", symbols.NewTypeFromString("SubProcess!", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("command_line", "String", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SubProcessOptions", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("environment", "String", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("join", symbols.NewTypeFromString("CInt!", "std::os::process"), "std::os::process", &docId).WithTypeIdentifier("SubProcess").WithArgument(symbols.NewVariableBuilder("self", "SubProcess", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdout", symbols.NewTypeFromString("File", "std::os::process"), "std::os::process", &docId).WithTypeIdentifier("SubProcess").WithArgument(symbols.NewVariableBuilder("self", "SubProcess", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("join", symbols.NewTypeFromString("CInt!", "std::os::process"), "std::os::process", &docId).WithTypeIdentifier("SubProcess").WithArgument(symbols.NewVariableBuilder("self", "SubProcess", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("bool", "std::os::process"), "std::os::process", &docId).WithTypeIdentifier("SubProcess").WithArgument(symbols.NewVariableBuilder("self", "SubProcess", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("terminate", symbols.NewTypeFromString("void!", "std::os::process"), "std::os::process", &docId).WithTypeIdentifier("SubProcess").WithArgument(symbols.NewVariableBuilder("self", "SubProcess", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_from_file_win32", symbols.NewTypeFromString("usz!", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("event_handle", "Win32_HANDLE", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_from_file_posix", symbols.NewTypeFromString("usz!", "std::os::process"), "std::os::process", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_stdout", symbols.NewTypeFromString("usz!", "std::os::process"), "std::os::process", &docId).WithTypeIdentifier("SubProcess").WithArgument(symbols.NewVariableBuilder("self", "SubProcess", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_stderr", symbols.NewTypeFromString("usz!", "std::os::process"), "std::os::process", &docId).WithTypeIdentifier("SubProcess").WithArgument(symbols.NewVariableBuilder("self", "SubProcess", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::os::process", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::process", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_running", symbols.NewTypeFromString("bool!", "std::os::process"), "std::os::process", &docId).WithTypeIdentifier("SubProcess").WithArgument(symbols.NewVariableBuilder("self", "SubProcess", "std::os::process", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddStruct(symbols.NewStructBuilder("OnStackAllocatorHeader", "std::core::mem::allocator", &docId).WithStructMember("size", "usz", "std::core::mem::allocator", &docId).WithStructMember("data", "char", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("OnStackAllocator", "std::core::mem::allocator", &docId).WithStructMember("backing_allocator", "Allocator", "std::core::mem::allocator", &docId).WithStructMember("data", "char", "std::core::mem::allocator", &docId).WithStructMember("used", "usz", "std::core::mem::allocator", &docId).WithStructMember("chunk", "OnStackAllocatorExtraChunk", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("OnStackAllocatorExtraChunk", "std::core::mem::allocator", &docId).WithStructMember("is_aligned", "bool", "std::core::mem::allocator", &docId).WithStructMember("prev", "OnStackAllocatorExtraChunk", "std::core::mem::allocator", &docId).WithStructMember("data", "void", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("OnStackAllocator").WithArgument(symbols.NewVariableBuilder("self", "OnStackAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("OnStackAllocator").WithArgument(symbols.NewVariableBuilder("self", "OnStackAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("OnStackAllocator").WithArgument(symbols.NewVariableBuilder("self", "OnStackAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("aligned", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("allocation_in_stack_mem", symbols.NewTypeFromString("bool", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("a", "OnStackAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("on_stack_allocator_remove_chunk", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("a", "OnStackAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("on_stack_allocator_find_chunk", symbols.NewTypeFromString("OnStackAllocatorExtraChunk*", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("a", "OnStackAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("OnStackAllocator").WithArgument(symbols.NewVariableBuilder("self", "OnStackAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("OnStackAllocator").WithArgument(symbols.NewVariableBuilder("self", "OnStackAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("native_rmdir", symbols.NewTypeFromString("", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("native_rmtree", symbols.NewTypeFromString("void!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("dir", "Path", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_rmtree", symbols.NewTypeFromString("void!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::os", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::time::clock + module = moduleCollection["std::time::clock"] + module.AddFunction(symbols.NewFunctionBuilder("now", symbols.NewTypeFromString("Clock", "std::time::clock"), "std::time::clock", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mark", symbols.NewTypeFromString("NanoDuration", "std::time::clock"), "std::time::clock", &docId).WithTypeIdentifier("Clock").WithArgument(symbols.NewVariableBuilder("self", "Clock", "std::time::clock", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_now", symbols.NewTypeFromString("NanoDuration", "std::time::clock"), "std::time::clock", &docId).WithTypeIdentifier("Clock").WithArgument(symbols.NewVariableBuilder("self", "Clock", "std::time::clock", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::time::os + module = moduleCollection["std::time::os"] + module.AddVariable(symbols.NewVariableBuilder("CLOCK_MONOTONIC", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_TAI", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_REALTIME", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_UPTIME_PRECISE", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_REALTIME_FAST", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_MONOTONIC_RAW_APPROX", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_MONOTONIC_COARSE", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_REALTIME_ALARM", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_BOOTTIME_ALARM", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_PROF", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_REALTIME_PRECISE", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_MONOTONIC_PRECISE", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_MONOTONIC_FAST", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_SECOND", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_MONOTONIC_RAW", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_UPTIME_RAW", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_UPTIME_RAW_APPROX", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_THREAD_CPUTIME_ID", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_REALTIME_COARSE", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_UPTIME", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_BOOTTIME", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_VIRTUAL", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_UPTIME_FAST", "", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCK_PROCESS_CPUTIME_ID", "", "std::time::os", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("clock_gettime", symbols.NewTypeFromString("void", "std::time::os"), "std::time::os", &docId).WithArgument(symbols.NewVariableBuilder("type", "int", "std::time::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("time", "TimeSpec", "std::time::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_timestamp", symbols.NewTypeFromString("Time", "std::time::os"), "std::time::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_clock", symbols.NewTypeFromString("Clock", "std::time::os"), "std::time::os", &docId).WithoutSourceCode().Build()) + + // Define module std::thread::pool + module = moduleCollection["std::thread::pool"] + module.AddStruct(symbols.NewStructBuilder("ThreadPool", "std::thread::pool", &docId).WithStructMember("mu", "Mutex", "std::thread::pool", &docId).WithStructMember("queue", "QueueItem", "std::thread::pool", &docId).WithStructMember("qindex", "usz", "std::thread::pool", &docId).WithStructMember("num_threads", "usz", "std::thread::pool", &docId).WithStructMember("pool", "Thread", "std::thread::pool", &docId).WithStructMember("notify", "ConditionVariable", "std::thread::pool", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("QueueItem", "std::thread::pool", &docId).WithStructMember("func", "ThreadFn", "std::thread::pool", &docId).WithStructMember("arg", "void", "std::thread::pool", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void!", "std::thread::pool"), "std::thread::pool", &docId).WithTypeIdentifier("ThreadPool").WithArgument(symbols.NewVariableBuilder("self", "ThreadPool", "std::thread::pool", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("void!", "std::thread::pool"), "std::thread::pool", &docId).WithTypeIdentifier("ThreadPool").WithArgument(symbols.NewVariableBuilder("self", "ThreadPool", "std::thread::pool", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stop_and_destroy", symbols.NewTypeFromString("void!", "std::thread::pool"), "std::thread::pool", &docId).WithTypeIdentifier("ThreadPool").WithArgument(symbols.NewVariableBuilder("self", "ThreadPool", "std::thread::pool", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@shutdown", symbols.NewTypeFromString("", "std::thread::pool"), "std::thread::pool", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::thread::pool", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::thread::pool", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push", symbols.NewTypeFromString("void!", "std::thread::pool"), "std::thread::pool", &docId).WithTypeIdentifier("ThreadPool").WithArgument(symbols.NewVariableBuilder("self", "ThreadPool", "std::thread::pool", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func", "ThreadFn", "std::thread::pool", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg", "void", "std::thread::pool", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("process_work", symbols.NewTypeFromString("int", "std::thread::pool"), "std::thread::pool", &docId).WithArgument(symbols.NewVariableBuilder("arg", "void", "std::thread::pool", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::time::os + module = moduleCollection["std::time::os"] + module.AddVariable(symbols.NewVariableBuilder("WIN_TO_UNIX_EPOCH_US", "ulong", "std::time::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WINDOWS_TICK_US", "ulong", "std::time::os", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("win32_GetSystemTimeAsFileTime", symbols.NewTypeFromString("void", "std::time::os"), "std::time::os", &docId).WithArgument(symbols.NewVariableBuilder("time", "Win32_FILETIME", "std::time::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("win32_QueryPerformanceFrequency", symbols.NewTypeFromString("Win32_BOOL", "std::time::os"), "std::time::os", &docId).WithArgument(symbols.NewVariableBuilder("lpFrequency", "Win32_LARGE_INTEGER", "std::time::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("win32_QueryPerformanceCounter", symbols.NewTypeFromString("Win32_BOOL", "std::time::os"), "std::time::os", &docId).WithArgument(symbols.NewVariableBuilder("lpPerformanceCount", "Win32_LARGE_INTEGER", "std::time::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_clock", symbols.NewTypeFromString("Clock", "std::time::os"), "std::time::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_timestamp", symbols.NewTypeFromString("Time", "std::time::os"), "std::time::os", &docId).WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("native_chdir", symbols.NewTypeFromString("", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::random + module = moduleCollection["std::math::random"] + module.AddVariable(symbols.NewVariableBuilder("SIMPLE_RANDOM_ADDEND", "long", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIMPLE_RANDOM_MASK", "long", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIMPLE_RANDOM_MULTIPLIER", "long", "std::math::random", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("SimpleRandom").WithArgument(symbols.NewVariableBuilder("self", "SimpleRandom", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("SimpleRandom").WithArgument(symbols.NewVariableBuilder("self", "SimpleRandom", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("SimpleRandom").WithArgument(symbols.NewVariableBuilder("self", "SimpleRandom", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("SimpleRandom").WithArgument(symbols.NewVariableBuilder("self", "SimpleRandom", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("SimpleRandom").WithArgument(symbols.NewVariableBuilder("self", "SimpleRandom", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("SimpleRandom").WithArgument(symbols.NewVariableBuilder("self", "SimpleRandom", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("SimpleRandom").WithArgument(symbols.NewVariableBuilder("self", "SimpleRandom", "std::math::random", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::macos::cf + module = moduleCollection["std::os::macos::cf"] + module.AddDef(symbols.NewDefBuilder("CFOptionFlags", "std::os::macos::cf", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("default_allocator", symbols.NewTypeFromString("", "std::os::macos::cf"), "std::os::macos::cf", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dealloc", symbols.NewTypeFromString("", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::os::macos::cf", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc", symbols.NewTypeFromString("", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::macos::cf", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_preferred_size", symbols.NewTypeFromString("", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("req_size", "usz", "std::os::macos::cf", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_default", symbols.NewTypeFromString("", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFAllocatorCreate", symbols.NewTypeFromString("CFAllocatorRef", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "CFAllocatorContextRef", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFAllocatorDeallocate", symbols.NewTypeFromString("void", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFAllocatorGetDefault", symbols.NewTypeFromString("CFAllocatorRef", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFAllocatorSetDefault", symbols.NewTypeFromString("void", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFAllocatorAllocate", symbols.NewTypeFromString("void*", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "CFIndex", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hint", "CFOptionFlags", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFAllocatorGetPreferredSizeForSize", symbols.NewTypeFromString("CFIndex", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "CFIndex", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hint", "CFOptionFlags", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::random + module = moduleCollection["std::math::random"] + module.AddVariable(symbols.NewVariableBuilder("ODD_PHI128", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI64", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI32", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI16", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI8", "", "std::math::random", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc128Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc128Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc128Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc128Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc128Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc128Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc128Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc64Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc64Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc64Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc64Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc64Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc64Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc64Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc32Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc32Random").WithArgument(symbols.NewVariableBuilder("sfc", "", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc32Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc32Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc32Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc32Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc32Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc16Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc16Random").WithArgument(symbols.NewVariableBuilder("seed", "", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc16Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc16Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc16Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc16Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc16Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc8Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc8Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc8Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc8Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc8Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc8Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc8Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc8Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Sfc8Random").WithArgument(symbols.NewVariableBuilder("self", "Sfc8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::collections::enumset + module = moduleCollection["std::collections::enumset"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Enum": symbols.NewGenericParameter("Enum", "std::collections::enumset", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddVariable(symbols.NewVariableBuilder("IS_CHAR_ARRAY", "", "std::collections::enumset", &docId).Build()).AddDef(symbols.NewDefBuilder("EnumSetType", "std::collections::enumset", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add", symbols.NewTypeFromString("void", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "Enum", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove", symbols.NewTypeFromString("bool", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "Enum", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("has", symbols.NewTypeFromString("bool", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "Enum", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_all", symbols.NewTypeFromString("void", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "EnumSet", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("retain_all", symbols.NewTypeFromString("void", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "EnumSet", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_all", symbols.NewTypeFromString("void", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "EnumSet", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and_of", symbols.NewTypeFromString("EnumSet", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "EnumSet", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or_of", symbols.NewTypeFromString("EnumSet", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "EnumSet", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_of", symbols.NewTypeFromString("EnumSet", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "EnumSet", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor_of", symbols.NewTypeFromString("EnumSet", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("self", "EnumSet", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "EnumSet", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("set", "", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("set", "", "std::collections::enumset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_tstring", symbols.NewTypeFromString("String", "std::collections::enumset"), "std::collections::enumset", &docId).WithTypeIdentifier("EnumSet").WithArgument(symbols.NewVariableBuilder("set", "", "std::collections::enumset", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::collections::enumset::private + module = moduleCollection["std::collections::enumset::private"] + module.AddFunction(symbols.NewFunctionBuilder("type_for_enum_elements", symbols.NewTypeFromString("", "std::collections::enumset::private"), "std::collections::enumset::private", &docId).WithArgument(symbols.NewVariableBuilder("", "usz", "std::collections::enumset::private", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module libc + module = moduleCollection["libc"] + module.AddVariable(symbols.NewVariableBuilder("RTLD_GLOBAL", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SA_ONSTACK", "CUInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SA_RESTART", "CUInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SA_RESETHAND", "CUInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SA_SIGINFO", "CUInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("RTLD_LAZY", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("RTLD_NOW", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("RTLD_LOCAL", "int", "libc", &docId).Build()).AddStruct(symbols.NewStructBuilder("Sigaction", "libc", &docId).WithStructMember("sa_flags", "CInt", "libc", &docId).WithStructMember("sa_mask", "Sigset_t", "libc", &docId).WithStructMember("sa_flags", "CInt", "libc", &docId).WithStructMember("sa_restorer", "void", "libc", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Stack_t", "libc", &docId).WithStructMember("ss_sp", "void", "libc", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Pid_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Uid_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Gid_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Sigset_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("SigActionFunction", "libc", &docId).WithResolvesTo("fn void(CInt, void*, void*)").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dlopen", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("path", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("flags", "int", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dlclose", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "void", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dlsym", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("handle", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("symbol", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sigaltstack", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ss", "Stack_t", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_ss", "Stack_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sigaction", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("signum", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("action", "Sigaction", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("oldaction", "Sigaction", "libc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("_cosf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_cos", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::net::udp + module = moduleCollection["std::net::udp"] + module.AddFunction(symbols.NewFunctionBuilder("connect", symbols.NewTypeFromString("UdpSocket!", "std::net::udp"), "std::net::udp", &docId).WithArgument(symbols.NewVariableBuilder("host", "String", "std::net::udp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("port", "uint", "std::net::udp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::udp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ip_protocol", "IpProtocol", "std::net::udp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_to", symbols.NewTypeFromString("UdpSocket!", "std::net::udp"), "std::net::udp", &docId).WithArgument(symbols.NewVariableBuilder("ai", "AddrInfo", "std::net::udp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::udp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_async", symbols.NewTypeFromString("UdpSocket!", "std::net::udp"), "std::net::udp", &docId).WithArgument(symbols.NewVariableBuilder("host", "String", "std::net::udp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("port", "uint", "std::net::udp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::udp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ip_protocol", "IpProtocol", "std::net::udp", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_async_to", symbols.NewTypeFromString("UdpSocket!", "std::net::udp"), "std::net::udp", &docId).WithArgument(symbols.NewVariableBuilder("ai", "AddrInfo", "std::net::udp", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net::udp", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddVariable(symbols.NewVariableBuilder("WS_VSCROLL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_OK", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_ABORTRETRYIGNORE", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_RETRYCANCEL", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_CHILDWINDOW", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_DISABLED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_ICONIC", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_TILEDWINDOW", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWL_WNDPROC", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWL_EXSTYLE", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWL_USERDATA", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWLP_HWNDPARENT", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_BORDER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_MAXIMIZE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_MAXIMIZEBOX", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_THICKFRAME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWLP_USERDATA", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_ICONEXCLAMATION", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWLP_ID", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_CLIPCHILDREN", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_DLGFRAME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_TILED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_ICONQUESTION", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_POPUPWINDOW", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_VISIBLE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_CANCELTRYCONTINUE", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_USERICON", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_CAPTION", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_CHILD", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_MINIMIZEBOX", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_OVERLAPPED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_YESNO", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWL_HINSTANCE", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWL_STYLE", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWLP_HINSTANCE", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWL_ID", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_CLIPSIBLINGS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_HSCROLL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_POPUP", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_ICONASTERISK", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWLP_WNDPROC", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_GROUP", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_SIZEBOX", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_YESNOCANCEL", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GWL_HWNDPARENT", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_OKCANCEL", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MB_ICONHAND", "Win32_UINT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_MINIMIZE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_OVERLAPPEDWINDOW", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_SYSMENU", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WS_TABSTOP", "Win32_DWORD", "std::os::win32", &docId).Build()).AddStruct(symbols.NewStructBuilder("Win32_WNDCLASSEXW", "std::os::win32", &docId).WithStructMember("cbSize", "Win32_UINT", "std::os::win32", &docId).WithStructMember("style", "Win32_UINT", "std::os::win32", &docId).WithStructMember("lpfnWndProc", "Win32_WNDPROC", "std::os::win32", &docId).WithStructMember("cbClsExtra", "CInt", "std::os::win32", &docId).WithStructMember("cbWndExtra", "CInt", "std::os::win32", &docId).WithStructMember("hInstance", "Win32_HINSTANCE", "std::os::win32", &docId).WithStructMember("hIcon", "Win32_HICON", "std::os::win32", &docId).WithStructMember("hCursor", "Win32_HCURSOR", "std::os::win32", &docId).WithStructMember("hbrBackground", "Win32_HBRUSH", "std::os::win32", &docId).WithStructMember("lpszMenuName", "Win32_LPCWSTR", "std::os::win32", &docId).WithStructMember("lpszClassName", "Win32_LPCWSTR", "std::os::win32", &docId).WithStructMember("hIconSm", "Win32_HICON", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_MSG", "std::os::win32", &docId).WithStructMember("hwnd", "Win32_HWND", "std::os::win32", &docId).WithStructMember("message", "Win32_UINT", "std::os::win32", &docId).WithStructMember("wParam", "Win32_WPARAM", "std::os::win32", &docId).WithStructMember("lParam", "Win32_LPARAM", "std::os::win32", &docId).WithStructMember("time", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("pt", "Win32_POINT", "std::os::win32", &docId).WithStructMember("lPrivate", "Win32_DWORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_PAINTSTRUCT", "std::os::win32", &docId).WithStructMember("hdc", "Win32_HDC", "std::os::win32", &docId).WithStructMember("fErase", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("rcPaint", "Win32_RECT", "std::os::win32", &docId).WithStructMember("fRestore", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("fIncUpdate", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("rgbReserved", "Win32_BYTE", "std::os::win32", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPMSG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPWNDCLASSEXW", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_NPWNDCLASSEXW", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PPAINTSTRUCT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPPAINTSTRUCT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_NPPAINTSTRUCT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PMSG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_NPMSG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_ATOM", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_WNDPROC", "std::os::win32", &docId).WithResolvesTo("fn Win32_LRESULT(Win32_HWND, Win32_UINT, Win32_WPARAM, Win32_LPARAM)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PWNDCLASSEXW", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("beginPaint", symbols.NewTypeFromString("Win32_HDC", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_LPPAINTSTRUCT", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPPAINTSTRUCT", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("callWindowProcW", symbols.NewTypeFromString("Win32_LRESULT", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpPrevWndFunc", "Win32_WNDPROC", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("msg", "Win32_UINT", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wParam", "Win32_WPARAM", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lParam", "Win32_LPARAM", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createWindowExW", symbols.NewTypeFromString("Win32_HWND", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("defWindowProcW", symbols.NewTypeFromString("Win32_LRESULT", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_LPARAM", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPARAM", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPARAM", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPARAM", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dispatchMessage", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpMsg", "Win32_MSG", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("endPaint", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_LPPAINTSTRUCT", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPPAINTSTRUCT", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getMessageW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_UINT", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_UINT", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_UINT", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_UINT", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getUpdateRect", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpRect", "Win32_LPRECT", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bErase", "Win32_BOOL", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getWindowLongPtrW", symbols.NewTypeFromString("Win32_LONG_PTR", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nIndex", "CInt", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getWindowLongW", symbols.NewTypeFromString("Win32_LONG", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nIndex", "CInt", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("loadCursorW", symbols.NewTypeFromString("Win32_HCURSOR", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("instance", "Win32_HINSTANCE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cursorName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("loadIconW", symbols.NewTypeFromString("Win32_HICON", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("instance", "Win32_HINSTANCE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("iconName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("messageBoxW", symbols.NewTypeFromString("int", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpText", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpCaption", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("uType", "Win32_UINT", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("postQuitMessage", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("registerClassExW", symbols.NewTypeFromString("Win32_ATOM", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_WNDCLASSEXW", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setWindowLongPtrW", symbols.NewTypeFromString("Win32_LONG_PTR", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nIndex", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwNewLong", "Win32_LONG_PTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setWindowLongW", symbols.NewTypeFromString("Win32_LONG", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nIndex", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwNewLong", "Win32_LONG", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("showWindow", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("translateMessage", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpMsg", "Win32_MSG", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("updateWindow", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_HWND", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getWindowLongPtr", symbols.NewTypeFromString("", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nIndex", "CInt", "std::os::win32", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setWindowLongPtr", symbols.NewTypeFromString("", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hWnd", "Win32_HWND", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nIndex", "CInt", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwNewLong", "", "std::os::win32", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::collections::tuple + module = moduleCollection["std::collections::tuple"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{ + "Type1": symbols.NewGenericParameter("Type1", "std::collections::tuple", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Type2": symbols.NewGenericParameter("Type2", "std::collections::tuple", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + }).AddStruct(symbols.NewStructBuilder("Tuple", "std::collections::tuple", &docId).WithStructMember("first", "Type1", "std::collections::tuple", &docId).WithStructMember("second", "Type2", "std::collections::tuple", &docId).WithoutSourceCode().Build()) + + // Define module std::collections::triple + module = moduleCollection["std::collections::triple"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{ + "Type1": symbols.NewGenericParameter("Type1", "std::collections::triple", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Type2": symbols.NewGenericParameter("Type2", "std::collections::triple", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Type3": symbols.NewGenericParameter("Type3", "std::collections::triple", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + }).AddStruct(symbols.NewStructBuilder("Triple", "std::collections::triple", &docId).WithStructMember("first", "Type1", "std::collections::triple", &docId).WithStructMember("second", "Type2", "std::collections::triple", &docId).WithStructMember("third", "Type3", "std::collections::triple", &docId).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("__sin", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("iy", "int", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("_ceil", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_ceilf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module libc + module = moduleCollection["libc"] + module.AddFunction(symbols.NewFunctionBuilder("to_timespec", symbols.NewTypeFromString("TimeSpec", "libc"), "libc", &docId).WithTypeIdentifier("NanoDuration").WithArgument(symbols.NewVariableBuilder("self", "NanoDuration", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_timespec", symbols.NewTypeFromString("TimeSpec", "libc"), "libc", &docId).WithTypeIdentifier("Duration").WithArgument(symbols.NewVariableBuilder("self", "Duration", "libc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::net::os + module = moduleCollection["std::net::os"] + module.AddVariable(symbols.NewVariableBuilder("POLLERR", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLHUP", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLNVAL", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("F_GETFL", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("F_SETFL", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLIN", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLPRI", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLOUT", "CUShort", "std::net::os", &docId).Build()).AddStruct(symbols.NewStructBuilder("Posix_pollfd", "std::net::os", &docId).WithStructMember("fd", "CInt", "std::net::os", &docId).WithStructMember("events", "CUShort", "std::net::os", &docId).WithStructMember("revents", "CUShort", "std::net::os", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Posix_nfds_t", "std::net::os", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect", symbols.NewTypeFromString("CInt", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("socket", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "SockAddrPtr", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address_len", "Socklen_t", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("socket", symbols.NewTypeFromString("NativeSocket", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("af", "AIFamily", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "AISockType", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ip_protocol", "AIProtocol", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fcntl", symbols.NewTypeFromString("int", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("socket", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd", "int", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bind", symbols.NewTypeFromString("CInt", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("socket", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "SockAddrPtr", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address_len", "Socklen_t", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("listen", symbols.NewTypeFromString("CInt", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("socket", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("backlog", "CInt", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("accept", symbols.NewTypeFromString("NativeSocket", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("socket", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "SockAddrPtr", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address_len", "Socklen_t", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("poll", symbols.NewTypeFromString("CInt", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("fds", "Posix_pollfd", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nfds", "Posix_nfds_t", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timeout", "CInt", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("convert_error", symbols.NewTypeFromString("anyfault", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("error", "Errno", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("socket_error", symbols.NewTypeFromString("anyfault", "std::net::os"), "std::net::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("close", symbols.NewTypeFromString("", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::net::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_non_blocking", symbols.NewTypeFromString("", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("non_blocking", "bool", "std::net::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_non_blocking", symbols.NewTypeFromString("", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::net::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::os::posix + module = moduleCollection["std::os::posix"] + module.AddVariable(symbols.NewVariableBuilder("environ", "ZString", "std::os::posix", &docId).Build()) + + // Define module std::collections::maybe + module = moduleCollection["std::collections::maybe"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::collections::maybe", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddVariable(symbols.NewVariableBuilder("EMPTY", "Maybe", "std::collections::maybe", &docId).Build()).AddStruct(symbols.NewStructBuilder("Maybe", "std::collections::maybe", &docId).WithStructMember("value", "Type", "std::collections::maybe", &docId).WithStructMember("has_value", "bool", "std::collections::maybe", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("value", symbols.NewTypeFromString("Maybe", "std::collections::maybe"), "std::collections::maybe", &docId).WithArgument(symbols.NewVariableBuilder("val", "Type", "std::collections::maybe", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("", "std::collections::maybe"), "std::collections::maybe", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::maybe", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddVariable(symbols.NewVariableBuilder("XDIGITS_H", "char[16]", "std::io", &docId).Build()).AddVariable(symbols.NewVariableBuilder("XDIGITS_L", "char[16]", "std::io", &docId).Build()).AddEnum(symbols.NewEnumBuilder("FloatFormatting", "", "std::io", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("FLOAT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("EXPONENTIAL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ADAPTIVE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("HEX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("adjust", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("int_from_any", symbols.NewTypeFromString("uint128!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("arg", "any", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("is_neg", "bool", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("float_from_any", symbols.NewTypeFromString("FloatType!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("arg", "any", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("simple_atoi", symbols.NewTypeFromString("uint", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("buf", "char", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("maxlen", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len_ptr", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_substr", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str", "String", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pad", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("width", "isz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "isz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fmt_u", symbols.NewTypeFromString("char*", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_chars", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("etoa", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ftoa", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("gtoa", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("atoa", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("floatformat", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatting", "FloatFormatting", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ntoa", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "uint128", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("negative", "bool", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "uint", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ntoa_format", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("negative", "bool", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "uint", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ntoa_any", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg", "any", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "uint", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_char", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg", "any", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_reverse", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Formatter").WithArgument(symbols.NewVariableBuilder("self", "Formatter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("printf_advance_format", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("format_len", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index_ptr", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_any", symbols.NewTypeFromString("any!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("args_ptr", "any", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args_len", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg_index_ptr", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("printf_parse_format_field", symbols.NewTypeFromString("int!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("args_ptr", "any", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args_len", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args_index_ptr", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format_ptr", "char", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format_len", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index_ptr", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("native_temp_directory", symbols.NewTypeFromString("Path!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_temp_directory", symbols.NewTypeFromString("Path!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_temp_directory", symbols.NewTypeFromString("", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::os + module = moduleCollection["std::os"] + module.AddFunction(symbols.NewFunctionBuilder("num_cpu", symbols.NewTypeFromString("uint", "std::os"), "std::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("num_cpu", symbols.NewTypeFromString("uint", "std::os"), "std::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("num_cpu", symbols.NewTypeFromString("uint", "std::os"), "std::os", &docId).WithoutSourceCode().Build()) + + // Define module std::collections::range + module = moduleCollection["std::collections::range"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::collections::range", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddStruct(symbols.NewStructBuilder("ExclusiveRange", "std::collections::range", &docId).WithStructMember("start", "Type", "std::collections::range", &docId).WithStructMember("end", "Type", "std::collections::range", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Range", "std::collections::range", &docId).WithStructMember("start", "Type", "std::collections::range", &docId).WithStructMember("end", "Type", "std::collections::range", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("Range").WithArgument(symbols.NewVariableBuilder("self", "Range", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("contains", symbols.NewTypeFromString("bool", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("Range").WithArgument(symbols.NewVariableBuilder("self", "Range", "std::collections::range", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("Type", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("Range").WithArgument(symbols.NewVariableBuilder("self", "Range", "std::collections::range", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("Range").WithArgument(symbols.NewVariableBuilder("self", "Range", "std::collections::range", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_tstring", symbols.NewTypeFromString("String", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("Range").WithArgument(symbols.NewVariableBuilder("self", "Range", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("Range").WithArgument(symbols.NewVariableBuilder("self", "Range", "std::collections::range", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("ExclusiveRange").WithArgument(symbols.NewVariableBuilder("self", "ExclusiveRange", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("contains", symbols.NewTypeFromString("bool", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("ExclusiveRange").WithArgument(symbols.NewVariableBuilder("self", "ExclusiveRange", "std::collections::range", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("ExclusiveRange").WithArgument(symbols.NewVariableBuilder("self", "ExclusiveRange", "std::collections::range", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("ExclusiveRange").WithArgument(symbols.NewVariableBuilder("self", "ExclusiveRange", "std::collections::range", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_tstring", symbols.NewTypeFromString("String", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("ExclusiveRange").WithArgument(symbols.NewVariableBuilder("self", "ExclusiveRange", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("Type", "std::collections::range"), "std::collections::range", &docId).WithTypeIdentifier("ExclusiveRange").WithArgument(symbols.NewVariableBuilder("self", "ExclusiveRange", "std::collections::range", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::range", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::cpudetect + module = moduleCollection["std::core::cpudetect"] + module.AddVariable(symbols.NewVariableBuilder("x86_features", "uint128", "std::core::cpudetect", &docId).Build()).AddStruct(symbols.NewStructBuilder("CpuId", "std::core::cpudetect", &docId).WithStructMember("eax", "uint", "std::core::cpudetect", &docId).WithStructMember(",", "uint", "std::core::cpudetect", &docId).WithStructMember("ebx", "uint", "std::core::cpudetect", &docId).WithStructMember(",", "uint", "std::core::cpudetect", &docId).WithStructMember("ecx", "uint", "std::core::cpudetect", &docId).WithStructMember(",", "uint", "std::core::cpudetect", &docId).WithStructMember("edx", "uint", "std::core::cpudetect", &docId).WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("X86Feature", "", "std::core::cpudetect", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("ADX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AES", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMX_BF16", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMX_COMPLEX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMX_FP16", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMX_INT8", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMX_TILE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX10_1_256", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX10_1_512", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX2", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX5124FMAPS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX5124VNNIW", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512BF16", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512BITALG", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512BW", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512CD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512DQ", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512ER", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512F", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512FP16", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512IFMA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512PF", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512VBMI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512VBMI2", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512VL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512VNNI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512VP2INTERSECT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVX512VPOPCNTDQ", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVXIFMA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVXNECONVERT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVXVNNI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVXVNNIINT16", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVXVNNIINT8", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("BMI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("BMI2", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CLDEMOTE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CLFLUSHOPT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CLWB", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CLZERO", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CMOV", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CMPCCXADD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CMPXCHG16B", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CX8", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ENQCMD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("F16C", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FMA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FMA4", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FSGSBASE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FXSR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("GFNI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("HRESET", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("INVPCID", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("KL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("LWP", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("LZCNT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MMX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MOVBE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MOVDIR64B", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MOVDIRI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MWAITX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PCLMUL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PCONFIG", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PKU", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("POPCNT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PREFETCHI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PREFETCHWT1", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PRFCHW", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PTWRITE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RAOINT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RDPID", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RDPRU", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RDRND", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RDSEED", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RTM", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SAHF", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SERIALIZE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SGX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SHA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SHA512", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SHSTK", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SM3", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SM4", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SSE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SSE2", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SSE3", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SSE4_1", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SSE4_2", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SSE4_A", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SSSE3", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TBM", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TSXLDTRK", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("UINTR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("USERMSR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("VAES", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("VPCLMULQDQ", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WAITPKG", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WBNOINVD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WIDEKL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("X87", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("XOP", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("XSAVE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("XSAVEC", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("XSAVEOPT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("XSAVES", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("x86_cpuid", symbols.NewTypeFromString("CpuId", "std::core::cpudetect"), "std::core::cpudetect", &docId).WithArgument(symbols.NewVariableBuilder("eax", "uint", "std::core::cpudetect", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ecx", "uint", "std::core::cpudetect", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_feature_if_bit", symbols.NewTypeFromString("void", "std::core::cpudetect"), "std::core::cpudetect", &docId).WithArgument(symbols.NewVariableBuilder("feature", "X86Feature", "std::core::cpudetect", &docId).Build()).WithArgument(symbols.NewVariableBuilder("register", "uint", "std::core::cpudetect", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bit", "int", "std::core::cpudetect", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("x86_initialize_cpu_features", symbols.NewTypeFromString("void", "std::core::cpudetect"), "std::core::cpudetect", &docId).WithoutSourceCode().Build()) + + // Define module std::math + module = moduleCollection["std::math"] + module.AddVariable(symbols.NewVariableBuilder("DIV_2_PI", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PI_4", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DIV_2_SQRTPI", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DIV_1_SQRT2", "double", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_MIN", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_DENORM_MIN", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_DENORM_MIN", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_EPSILON", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PI_2", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_MANT_DIG", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_MAX", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_DIG", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_MAX_10_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_DIG", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_MIN_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("LN2", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_MAX", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_EPSILON", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_MANT_DIG", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_MAX_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_MIN_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PI", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_MIN", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_DIG", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_DEC_DIGITS", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_EPSILON", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_MAX", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_DEC_DIGITS", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_MANT_DIG", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("LN10", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_MAX_10_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_MIN_10_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_MAX_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("LOG2E", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("LOG10E", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_MAX_10_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_MAX_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_MIN", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("E", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SQRT2", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_DENORM_MIN", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HALF_MIN_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_DEC_DIGITS", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FLOAT_MIN_10_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DOUBLE_MIN_10_EXP", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QUAD_MANT_DIG", "", "std::math", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DIV_PI", "", "std::math", &docId).Build()).AddDef(symbols.NewDefBuilder("MATRIX3F_IDENTITY = matrix::IDENTITY3()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Complexf", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("QUATERNION_IDENTITY = quaternion::IDENTITY()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Matrix4f", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("matrix4_perspective = matrix::perspective()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("MATRIX3_IDENTITY = matrix::IDENTITY3()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("MATRIX4F_IDENTITY = matrix::IDENTITY4()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Quaternion", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("QUATERNIONF_IDENTITY = quaternion::IDENTITY()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Matrix2", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Matrix3f", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Matrix3", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("MATRIX2F_IDENTITY = matrix::IDENTITY2()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("COMPLEXF_IDENTITY = complex::IDENTITY()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Quaternionf", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Matrix2f", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Matrix4", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("matrix4_ortho = matrix::ortho()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("MATRIX4_IDENTITY = matrix::IDENTITY4()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Complex", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("COMPLEX_IDENTITY = complex::IDENTITY()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("matrix4f_ortho = matrix::ortho()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("matrix4f_perspective = matrix::perspective()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("MATRIX2_IDENTITY = matrix::IDENTITY2()", "std::math", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("RoundingMode", "int", "std::math", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("TOWARD_ZERO", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TO_NEAREST", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TOWARD_INFINITY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TOWARD_NEG_INFINITY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFault(symbols.NewFaultBuilder("MathError", "", "std::math", &docId).WithConstant(symbols.NewFaultConstantBuilder("OVERFLOW", &docId).Build()).Build()).AddFault(symbols.NewFaultBuilder("MatrixError", "", "std::math", &docId).WithConstant(symbols.NewFaultConstantBuilder("MATRIX_INVERSE_DOESNT_EXIST", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("deg_to_rad", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("abs", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sign", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("atan2", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sincos", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("atan", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("atanh", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acos", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acosh", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("asin", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("asinh", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ceil", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lower", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("upper", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copysign", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("mag", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sgn", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cos", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cosec", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cosech", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cosh", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cotan", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cotanh", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("exp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("exp2", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("floor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fma", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hypot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ln", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("log", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("log2", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("log10", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("muladd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("nearbyint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pow", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("exp", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("frexp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("e", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("signbit", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("round", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("round_to_decimals", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("decimal_places", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("roundeven", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sec", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sech", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sin", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sinh", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sqr", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sqrt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tan", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_finite", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_nan", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_inf", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tanh", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trunc", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lerp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("amount", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reflect", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("normalize", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("select", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("mask", "bool", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("then_value", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("else_value", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ceil", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lower", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("upper", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copysign", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("mag", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sgn", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("floor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fma", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("muladd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("nearbyint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pow", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("exp", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("round", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("roundeven", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trunc", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ceil", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lower", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("upper", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copysign", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("mag", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sgn", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fma", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("floor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("nearbyint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pow", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("exp", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("round", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("roundeven", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trunc", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("distance", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("normalize", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lerp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("amount", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reflect", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ceil", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lower", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("upper", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copysign", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("mag", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sgn", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("floor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fma", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("muladd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("nearbyint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pow", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("exp", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("round", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("roundeven", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trunc", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ceil", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lower", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("upper", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copysign", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("mag", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sgn", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("floor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fma", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("nearbyint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pow", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("exp", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("round", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("roundeven", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trunc", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("distance", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("normalize", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reflect", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lerp", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("amount", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "bool", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_lt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_le", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_eq", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_gt", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ge", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("comp_ne", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sum", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("product", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dot", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sat_shl", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "char", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ichar", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ushort", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "short", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "ulong", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "long", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "uint128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_even", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odd", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "int128", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_power_of_2", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_power_of_2", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals_vec", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("v1", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("high_word", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("d", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("low_word", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("d", "double", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("word", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("d", "float", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("scalbn", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "int", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atan", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atanf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atan2", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atan2f", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_sincos", symbols.NewTypeFromString("void", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_sincosf", symbols.NewTypeFromString("void", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_tan", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_tanf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_scalbn", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "int", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_acos", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_asin", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_acosh", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_asinh", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atanh", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_acosf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_asinf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_acoshf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_asinhf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atanhf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_frexp", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("e", "int", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_frexpf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("e", "int", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_add_helper", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_sub_helper", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("overflow_mul_helper", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::core::runtime + module = moduleCollection["std::core::runtime"] + module.AddVariable(symbols.NewVariableBuilder("benchmark_warmup_iterations", "uint", "std::core::runtime", &docId).Build()).AddVariable(symbols.NewVariableBuilder("benchmark_max_iterations", "uint", "std::core::runtime", &docId).Build()).AddVariable(symbols.NewVariableBuilder("test_context", "TestContext", "std::core::runtime", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DEFAULT_BENCHMARK_WARMUP_ITERATIONS", "", "std::core::runtime", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DEFAULT_BENCHMARK_MAX_ITERATIONS", "", "std::core::runtime", &docId).Build()).AddStruct(symbols.NewStructBuilder("BenchmarkUnit", "std::core::runtime", &docId).WithStructMember("name", "String", "std::core::runtime", &docId).WithStructMember("func", "BenchmarkFn", "std::core::runtime", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("TestUnit", "std::core::runtime", &docId).WithStructMember("name", "String", "std::core::runtime", &docId).WithStructMember("func", "TestFn", "std::core::runtime", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("TestContext", "std::core::runtime", &docId).WithStructMember("buf", "JmpBuf", "std::core::runtime", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("AnyRaw", "std::core::runtime", &docId).WithStructMember("ptr", "void", "std::core::runtime", &docId).WithStructMember("type", "typeid", "std::core::runtime", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("SliceRaw", "std::core::runtime", &docId).WithStructMember("ptr", "void", "std::core::runtime", &docId).WithStructMember("len", "usz", "std::core::runtime", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("BenchmarkFn", "std::core::runtime", &docId).WithResolvesTo("fn void!()").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("TestFn", "std::core::runtime", &docId).WithResolvesTo("fn void!()").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("benchmark_collection_create", symbols.NewTypeFromString("BenchmarkUnit", "std::core::runtime"), "std::core::runtime", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::runtime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_benchmark_warmup_iterations", symbols.NewTypeFromString("void", "std::core::runtime"), "std::core::runtime", &docId).WithArgument(symbols.NewVariableBuilder("value", "uint", "std::core::runtime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_benchmark_max_iterations", symbols.NewTypeFromString("void", "std::core::runtime"), "std::core::runtime", &docId).WithArgument(symbols.NewVariableBuilder("value", "uint", "std::core::runtime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("run_benchmarks", symbols.NewTypeFromString("bool", "std::core::runtime"), "std::core::runtime", &docId).WithArgument(symbols.NewVariableBuilder("benchmarks", "BenchmarkUnit", "std::core::runtime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("default_benchmark_runner", symbols.NewTypeFromString("bool", "std::core::runtime"), "std::core::runtime", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("test_collection_create", symbols.NewTypeFromString("TestUnit", "std::core::runtime"), "std::core::runtime", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::runtime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cmp_test_unit", symbols.NewTypeFromString("int", "std::core::runtime"), "std::core::runtime", &docId).WithArgument(symbols.NewVariableBuilder("a", "TestUnit", "std::core::runtime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "TestUnit", "std::core::runtime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("test_panic", symbols.NewTypeFromString("void", "std::core::runtime"), "std::core::runtime", &docId).WithArgument(symbols.NewVariableBuilder("message", "String", "std::core::runtime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file", "String", "std::core::runtime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("function", "String", "std::core::runtime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("line", "uint", "std::core::runtime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("run_tests", symbols.NewTypeFromString("bool", "std::core::runtime"), "std::core::runtime", &docId).WithArgument(symbols.NewVariableBuilder("tests", "TestUnit", "std::core::runtime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("default_test_runner", symbols.NewTypeFromString("bool", "std::core::runtime"), "std::core::runtime", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__wasm_call_ctors", symbols.NewTypeFromString("void", "std::core::runtime"), "std::core::runtime", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wasm_initialize", symbols.NewTypeFromString("void", "std::core::runtime"), "std::core::runtime", &docId).WithoutSourceCode().Build()) + + // Define module std::hash::crc32 + module = moduleCollection["std::hash::crc32"] + module.AddVariable(symbols.NewVariableBuilder("CRC32_TABLE", "uint[256]", "std::hash::crc32", &docId).Build()).AddStruct(symbols.NewStructBuilder("Crc32", "std::hash::crc32", &docId).WithStructMember("result", "uint", "std::hash::crc32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::hash::crc32"), "std::hash::crc32", &docId).WithTypeIdentifier("Crc32").WithArgument(symbols.NewVariableBuilder("self", "Crc32", "std::hash::crc32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "uint", "std::hash::crc32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("updatec", symbols.NewTypeFromString("void", "std::hash::crc32"), "std::hash::crc32", &docId).WithTypeIdentifier("Crc32").WithArgument(symbols.NewVariableBuilder("self", "Crc32", "std::hash::crc32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::hash::crc32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("update", symbols.NewTypeFromString("void", "std::hash::crc32"), "std::hash::crc32", &docId).WithTypeIdentifier("Crc32").WithArgument(symbols.NewVariableBuilder("self", "Crc32", "std::hash::crc32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::crc32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("final", symbols.NewTypeFromString("uint", "std::hash::crc32"), "std::hash::crc32", &docId).WithTypeIdentifier("Crc32").WithArgument(symbols.NewVariableBuilder("self", "Crc32", "std::hash::crc32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("encode", symbols.NewTypeFromString("uint", "std::hash::crc32"), "std::hash::crc32", &docId).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::crc32", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::hash::crc64 + module = moduleCollection["std::hash::crc64"] + module.AddVariable(symbols.NewVariableBuilder("CRC64_TABLE", "ulong[256]", "std::hash::crc64", &docId).Build()).AddStruct(symbols.NewStructBuilder("Crc64", "std::hash::crc64", &docId).WithStructMember("result", "ulong", "std::hash::crc64", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::hash::crc64"), "std::hash::crc64", &docId).WithTypeIdentifier("Crc64").WithArgument(symbols.NewVariableBuilder("self", "Crc64", "std::hash::crc64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "uint", "std::hash::crc64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("updatec", symbols.NewTypeFromString("void", "std::hash::crc64"), "std::hash::crc64", &docId).WithTypeIdentifier("Crc64").WithArgument(symbols.NewVariableBuilder("self", "Crc64", "std::hash::crc64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::hash::crc64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("update", symbols.NewTypeFromString("void", "std::hash::crc64"), "std::hash::crc64", &docId).WithTypeIdentifier("Crc64").WithArgument(symbols.NewVariableBuilder("self", "Crc64", "std::hash::crc64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::crc64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("final", symbols.NewTypeFromString("ulong", "std::hash::crc64"), "std::hash::crc64", &docId).WithTypeIdentifier("Crc64").WithArgument(symbols.NewVariableBuilder("self", "Crc64", "std::hash::crc64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("encode", symbols.NewTypeFromString("ulong", "std::hash::crc64"), "std::hash::crc64", &docId).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::crc64", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("_scalbn", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "int", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::env + module = moduleCollection["std::os::env"] + module.AddFunction(symbols.NewFunctionBuilder("get_var", symbols.NewTypeFromString("String!", "std::os::env"), "std::os::env", &docId).WithArgument(symbols.NewVariableBuilder("name", "String", "std::os::env", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::env", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_var_temp", symbols.NewTypeFromString("String!", "std::os::env"), "std::os::env", &docId).WithArgument(symbols.NewVariableBuilder("name", "String", "std::os::env", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_var", symbols.NewTypeFromString("bool", "std::os::env"), "std::os::env", &docId).WithArgument(symbols.NewVariableBuilder("name", "String", "std::os::env", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "String", "std::os::env", &docId).Build()).WithArgument(symbols.NewVariableBuilder("overwrite", "bool", "std::os::env", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_home_dir", symbols.NewTypeFromString("String!", "std::os::env"), "std::os::env", &docId).WithArgument(symbols.NewVariableBuilder("using", "Allocator", "std::os::env", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_config_dir", symbols.NewTypeFromString("Path!", "std::os::env"), "std::os::env", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::env", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear_var", symbols.NewTypeFromString("bool", "std::os::env"), "std::os::env", &docId).WithArgument(symbols.NewVariableBuilder("name", "String", "std::os::env", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("executable_path", symbols.NewTypeFromString("String!", "std::os::env"), "std::os::env", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::env", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::atomic::types + module = moduleCollection["std::atomic::types"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::atomic::types", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddStruct(symbols.NewStructBuilder("Atomic", "std::atomic::types", &docId).WithStructMember("data", "Type", "std::atomic::types", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("load", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("store", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sub", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mul", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("div", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("or", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "uint", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("xor", symbols.NewTypeFromString("Type", "std::atomic::types"), "std::atomic::types", &docId).WithTypeIdentifier("Atomic").WithArgument(symbols.NewVariableBuilder("self", "Atomic", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "uint", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("and", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "uint", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("shift_right", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("amount", "uint", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("shift_left", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("amount", "uint", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "AtomicOrdering", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@atomic_exec", symbols.NewTypeFromString("", "std::atomic::types"), "std::atomic::types", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::atomic::types", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ordering", "", "std::atomic::types", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::atomic + module = moduleCollection["std::atomic"] + module.AddFunction(symbols.NewFunctionBuilder("fetch_add", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_sub", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_mul", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "AtomicOrdering", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_div", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "AtomicOrdering", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_or", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_xor", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_and", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_shift_right", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "AtomicOrdering", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_shift_left", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "AtomicOrdering", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("flag_set", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "AtomicOrdering", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("flag_clear", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "AtomicOrdering", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_max", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fetch_min", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::collections::priorityqueue + module = moduleCollection["std::collections::priorityqueue"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::collections::priorityqueue", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}) + + // Define module std::collections::priorityqueue::private + module = moduleCollection["std::collections::priorityqueue::private"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::collections::priorityqueue::private", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddStruct(symbols.NewStructBuilder("PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).WithStructMember("heap", "Heap", "std::collections::priorityqueue::private", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Heap", "std::collections::priorityqueue::private", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("void", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::collections::priorityqueue::private", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("void", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push", symbols.NewTypeFromString("void", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "Type", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop", symbols.NewTypeFromString("Type!", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("first", symbols.NewTypeFromString("Type!", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_empty", symbols.NewTypeFromString("bool", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("Type", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::collections::priorityqueue::private"), "std::collections::priorityqueue::private", &docId).WithTypeIdentifier("PrivatePriorityQueue").WithArgument(symbols.NewVariableBuilder("self", "PrivatePriorityQueue", "std::collections::priorityqueue::private", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::priorityqueue::private", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::string::conv + module = moduleCollection["std::core::string::conv"] + module.AddVariable(symbols.NewVariableBuilder("UTF16_SURROGATE_OFFSET", "uint", "std::core::string::conv", &docId).Build()).AddVariable(symbols.NewVariableBuilder("UTF16_SURROGATE_GENERIC_MASK", "uint", "std::core::string::conv", &docId).Build()).AddVariable(symbols.NewVariableBuilder("UTF16_SURROGATE_GENERIC_VALUE", "uint", "std::core::string::conv", &docId).Build()).AddVariable(symbols.NewVariableBuilder("UTF16_SURROGATE_MASK", "uint", "std::core::string::conv", &docId).Build()).AddVariable(symbols.NewVariableBuilder("UTF16_SURROGATE_CODEPOINT_MASK", "uint", "std::core::string::conv", &docId).Build()).AddVariable(symbols.NewVariableBuilder("UTF16_SURROGATE_BITS", "uint", "std::core::string::conv", &docId).Build()).AddVariable(symbols.NewVariableBuilder("UTF16_SURROGATE_LOW_VALUE", "uint", "std::core::string::conv", &docId).Build()).AddVariable(symbols.NewVariableBuilder("UTF16_SURROGATE_HIGH_VALUE", "uint", "std::core::string::conv", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("char32_to_utf8", symbols.NewTypeFromString("usz!", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("c", "Char32", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("output", "char", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("char32_to_utf16_unsafe", symbols.NewTypeFromString("void", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("c", "Char32", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("output", "Char16", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("char16_to_utf8_unsafe", symbols.NewTypeFromString("void!", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "Char16", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("available", "usz", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("output", "char", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("char32_to_utf8_unsafe", symbols.NewTypeFromString("usz", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("c", "Char32", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("output", "char", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf8_to_char32", symbols.NewTypeFromString("Char32!", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "char", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf8_codepoints", symbols.NewTypeFromString("usz", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf8", "String", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf8len_for_utf32", symbols.NewTypeFromString("usz", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf32", "Char32", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf8len_for_utf16", symbols.NewTypeFromString("usz", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf16", "Char16", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf16len_for_utf8", symbols.NewTypeFromString("usz", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf8", "String", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf16len_for_utf32", symbols.NewTypeFromString("usz", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf32", "Char32", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf32to8", symbols.NewTypeFromString("usz!", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf32", "Char32", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("utf8_buffer", "char", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf8to32", symbols.NewTypeFromString("usz!", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf8", "String", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("utf32_buffer", "Char32", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf16to8_unsafe", symbols.NewTypeFromString("void!", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf16", "Char16", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("utf8_buffer", "char", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf8to32_unsafe", symbols.NewTypeFromString("void!", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf8", "String", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("utf32_buffer", "Char32", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf8to16_unsafe", symbols.NewTypeFromString("void!", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf8", "String", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("utf16_buffer", "Char16", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf32to8_unsafe", symbols.NewTypeFromString("void", "std::core::string::conv"), "std::core::string::conv", &docId).WithArgument(symbols.NewVariableBuilder("utf32", "Char32", "std::core::string::conv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("utf8_buffer", "char", "std::core::string::conv", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::posix + module = moduleCollection["std::os::posix"] + module.AddVariable(symbols.NewVariableBuilder("PTHREAD_MUTEX_NORMAL", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PTHREAD_MUTEX_ERRORCHECK", "", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PTHREAD_MUTEX_RECURSIVE", "", "std::os::posix", &docId).Build()).AddDef(symbols.NewDefBuilder("PosixThreadFn", "std::os::posix", &docId).WithResolvesTo("fn void*(void*)").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_create", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cancel", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_detach", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_equal", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("this", "Pthread_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "Pthread_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_exit", symbols.NewTypeFromString("void", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("value_ptr", "void", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_join", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value_ptr", "void", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_kill", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sig", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_once", symbols.NewTypeFromString("void", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "OnceFn", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "OnceFn", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_self", symbols.NewTypeFromString("Pthread_t", "std::os::posix"), "std::os::posix", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_setcancelstate", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("state", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("oldstate", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_setcanceltype", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("type", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("oldtype", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_testcancel", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_destroy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_attr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_getinheritsched", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_getschedparam", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_sched_param", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Pthread_sched_param", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_getschedpolicy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_getscope", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_getstacksize", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "usz", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_getstackaddr", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_getdetachstate", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_init", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_attr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_setinheritsched", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_setschedparam", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_sched_param", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Pthread_sched_param", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_setschedpolicy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_setscope", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_setstacksize", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "usz", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "usz", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_setstackaddr", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_attr_setdetachstate", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutexattr_destroy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutexattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutexattr_getprioceiling", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutexattr_getprotocol", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutexattr_gettype", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutexattr_init", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutexattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutexattr_setprioceiling", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutexattr_setprotocol", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutexattr_settype", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutex_destroy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutex_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutex_init", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutexattr_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutexattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutex_lock", symbols.NewTypeFromString("Errno", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutex_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutex_trylock", symbols.NewTypeFromString("Errno", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutex_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_mutex_unlock", symbols.NewTypeFromString("Errno", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutex_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_condattr_destroy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_condattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_condattr_init", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_condattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cond_broadcast", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_cond_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cond_destroy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_cond_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cond_init", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_condattr_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Pthread_condattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cond_signal", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_cond_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cond_timedwait", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "TimeSpec", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "TimeSpec", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "TimeSpec", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cond_wait", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutex_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Pthread_mutex_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlock_destroy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlock_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlock_init", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlockattr_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlockattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlock_rdlock", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlock_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlock_tryrdlock", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlock_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlock_trywrlock", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlock_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlock_unlock", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlock_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlock_wrlock", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlock_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlockattr_destroy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlockattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlockattr_getpshared", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlockattr_init", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_rwlockattr_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_rwlockattr_setpshared", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_key_create", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_key_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("routine", "PosixThreadFn", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_key_delete", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_key_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_getspecific", symbols.NewTypeFromString("void*", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_key_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_setspecific", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("", "Pthread_key_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value_ptr", "void", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_atfork", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("prepare", "OnceFn", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("parent", "OnceFn", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("child", "OnceFn", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cleanup_pop", symbols.NewTypeFromString("void", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("execute", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pthread_cleanup_push", symbols.NewTypeFromString("void", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("routine", "PosixThreadFn", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("routine_arg", "void", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sched_yield", symbols.NewTypeFromString("int", "std::os::posix"), "std::os::posix", &docId).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddStruct(symbols.NewStructBuilder("ReadBuffer", "std::io", &docId).WithStructMember("wrapped_stream", "InStream", "std::io", &docId).WithStructMember("bytes", "char", "std::io", &docId).WithStructMember("read_idx", "usz", "std::io", &docId).WithStructMember("write_idx", "usz", "std::io", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("WriteBuffer", "std::io", &docId).WithStructMember("wrapped_stream", "OutStream", "std::io", &docId).WithStructMember("bytes", "char", "std::io", &docId).WithStructMember("index", "usz", "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("ReadBuffer*", "std::io"), "std::io", &docId).WithTypeIdentifier("ReadBuffer").WithArgument(symbols.NewVariableBuilder("self", "ReadBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wrapped_stream", "InStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("str_view", symbols.NewTypeFromString("String", "std::io"), "std::io", &docId).WithTypeIdentifier("ReadBuffer").WithArgument(symbols.NewVariableBuilder("self", "ReadBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("close", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ReadBuffer").WithArgument(symbols.NewVariableBuilder("self", "ReadBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ReadBuffer").WithArgument(symbols.NewVariableBuilder("self", "ReadBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_byte", symbols.NewTypeFromString("char!", "std::io"), "std::io", &docId).WithTypeIdentifier("ReadBuffer").WithArgument(symbols.NewVariableBuilder("self", "ReadBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("refill", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ReadBuffer").WithArgument(symbols.NewVariableBuilder("self", "ReadBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("WriteBuffer*", "std::io"), "std::io", &docId).WithTypeIdentifier("WriteBuffer").WithArgument(symbols.NewVariableBuilder("self", "WriteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wrapped_stream", "OutStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("str_view", symbols.NewTypeFromString("String", "std::io"), "std::io", &docId).WithTypeIdentifier("WriteBuffer").WithArgument(symbols.NewVariableBuilder("self", "WriteBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("close", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("WriteBuffer").WithArgument(symbols.NewVariableBuilder("self", "WriteBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("flush", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("WriteBuffer").WithArgument(symbols.NewVariableBuilder("self", "WriteBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("WriteBuffer").WithArgument(symbols.NewVariableBuilder("self", "WriteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_byte", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("WriteBuffer").WithArgument(symbols.NewVariableBuilder("self", "WriteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_pending", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("WriteBuffer").WithArgument(symbols.NewVariableBuilder("self", "WriteBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::thread::os + module = moduleCollection["std::thread::os"] + module.AddVariable(symbols.NewVariableBuilder("CONDITION_EVENT_ONE", "int", "std::thread::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CONDITION_EVENT_ALL", "int", "std::thread::os", &docId).Build()).AddStruct(symbols.NewStructBuilder("NativeMutex", "std::thread::os", &docId).WithStructMember("already_locked", "bool", "std::thread::os", &docId).WithStructMember("recursive", "bool", "std::thread::os", &docId).WithStructMember("timed", "bool", "std::thread::os", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("NativeOnceFlag", "std::thread::os", &docId).WithStructMember("status", "int", "std::thread::os", &docId).WithStructMember("lock", "Win32_CRITICAL_SECTION", "std::thread::os", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("NativeConditionVariable", "std::thread::os", &docId).WithStructMember("waiters_count", "uint", "std::thread::os", &docId).WithStructMember("waiters_count_lock", "Win32_CRITICAL_SECTION", "std::thread::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("mtx", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "MutexType", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("mtx", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lock", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("mtx", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lock_timeout", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("mtx", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ms", "ulong", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("try_lock", symbols.NewTypeFromString("bool", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("mtx", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unlock", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("mtx", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("signal", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("broadcast", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("timedwait", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithArgument(symbols.NewVariableBuilder("cond", "NativeConditionVariable", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mtx", "NativeMutex", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timeout", "uint", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wait", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mtx", "NativeMutex", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wait_timeout", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mtx", "NativeMutex", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ms", "ulong", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("create", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeThread").WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func", "ThreadFn", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "void", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("detach", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeThread").WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_thread_exit", symbols.NewTypeFromString("void", "std::thread::os"), "std::thread::os", &docId).WithArgument(symbols.NewVariableBuilder("result", "int", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_thread_yield", symbols.NewTypeFromString("void", "std::thread::os"), "std::thread::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("call_once", symbols.NewTypeFromString("void", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeOnceFlag").WithArgument(symbols.NewVariableBuilder("flag", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func", "OnceFn", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("join", symbols.NewTypeFromString("int!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeThread").WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_thread_current", symbols.NewTypeFromString("NativeThread", "std::thread::os"), "std::thread::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("bool", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeThread").WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "NativeThread", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_sleep_nano", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithArgument(symbols.NewVariableBuilder("ns", "NanoDuration", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::thread + module = moduleCollection["std::thread"] + module.AddVariable(symbols.NewVariableBuilder("MUTEX_TIMED", "MutexType", "std::thread", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUTEX_RECURSIVE", "MutexType", "std::thread", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUTEX_PLAIN", "MutexType", "std::thread", &docId).Build()).AddDef(symbols.NewDefBuilder("OnceFn", "std::thread", &docId).WithResolvesTo("fn void()").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ThreadFn", "std::thread", &docId).WithResolvesTo("fn int(void* arg)").WithoutSourceCode().Build()).AddFault(symbols.NewFaultBuilder("ThreadFault", "", "std::thread", &docId).WithConstant(symbols.NewFaultConstantBuilder("INIT_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("DESTROY_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("LOCK_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("LOCK_TIMEOUT", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("UNLOCK_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("SIGNAL_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("WAIT_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("WAIT_TIMEOUT", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("DETACH_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("JOIN_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INTERRUPTED", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lock", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lock_timeout", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ms", "ulong", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lock_timeout", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ms", "ulong", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("try_lock", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unlock", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("mutex", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("signal", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("broadcast", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wait", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mutex", "Mutex", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wait_timeout", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mutex", "Mutex", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ms", "ulong", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("create", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("thread_fn", "ThreadFn", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg", "void", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("detach", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("join", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "Thread", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("call", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("flag", "", "std::thread", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func", "OnceFn", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("yield", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("current", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("exit", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("result", "int", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sleep", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("d", "Duration", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sleep_ms", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("ms", "ulong", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sleep_ns", symbols.NewTypeFromString("", "std::thread"), "std::thread", &docId).WithArgument(symbols.NewVariableBuilder("ns", "NanoDuration", "std::thread", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::core::builtin + module = moduleCollection["std::core::builtin"] + module.AddFunction(symbols.NewFunctionBuilder("less", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("less_eq", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("greater", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("compare_to", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("greater_eq", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("max", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::core::main_stub + module = moduleCollection["std::core::main_stub"] + module.AddFunction(symbols.NewFunctionBuilder("_strlen", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@main_to_err_main", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@main_to_int_main", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@main_to_void_main", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "char", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("args_to_strings", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("argc", "int", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "char", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@main_to_err_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argc", "int", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "char", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@main_to_int_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argc", "int", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "char", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@main_to_void_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argc", "int", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "char", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_win_command_line_to_argv_w", symbols.NewTypeFromString("Char16*", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("cmd_line", "ushort", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argc_ptr", "int", "std::core::main_stub", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("win_command_line_to_strings", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("cmd_line", "ushort", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wargs_strings", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("argc", "int", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "Char16", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release_wargs", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("list", "String", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_err_main_noargs", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_int_main_noargs", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_void_main_noargs", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_err_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_int_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_void_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_err_main", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_int_main", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@win_to_void_main", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("handle", "void", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd_line", "Char16", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("show_cmd", "int", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@wmain_to_err_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argc", "int", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "Char16", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@wmain_to_int_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argc", "int", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "Char16", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@wmain_to_void_main_args", symbols.NewTypeFromString("", "std::core::main_stub"), "std::core::main_stub", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argc", "int", "std::core::main_stub", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "Char16", "std::core::main_stub", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("native_stat", symbols.NewTypeFromString("void!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("stat", "Stat", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_file_size", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_file_size", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_file_size", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_file_or_dir_exists", symbols.NewTypeFromString("bool", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_is_file", symbols.NewTypeFromString("bool", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_is_dir", symbols.NewTypeFromString("bool", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddStruct(symbols.NewStructBuilder("ByteReader", "std::io", &docId).WithStructMember("bytes", "char", "std::io", &docId).WithStructMember("index", "usz", "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteReader").WithArgument(symbols.NewVariableBuilder("self", "ByteReader", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("ByteReader*", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteReader").WithArgument(symbols.NewVariableBuilder("self", "ByteReader", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteReader").WithArgument(symbols.NewVariableBuilder("self", "ByteReader", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_byte", symbols.NewTypeFromString("char!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteReader").WithArgument(symbols.NewVariableBuilder("self", "ByteReader", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pushback_byte", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteReader").WithArgument(symbols.NewVariableBuilder("self", "ByteReader", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("seek", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteReader").WithArgument(symbols.NewVariableBuilder("self", "ByteReader", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "isz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seek", "Seek", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_to", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteReader").WithArgument(symbols.NewVariableBuilder("self", "ByteReader", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("writer", "OutStream", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("available", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteReader").WithArgument(symbols.NewVariableBuilder("self", "ByteReader", "std::io", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddVariable(symbols.NewVariableBuilder("CONTEXT_AMD64_DEBUG_REGISTERS", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CONTEXT_AMD64_CONTROL", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CONTEXT_AMD64_SEGMENTS", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CONTEXT_AMD64_FLOATING_POINT", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CONTEXT_AMD64", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CONTEXT_AMD64_INTEGER", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CONTEXT_AMD64_FULL", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CONTEXT_AMD64_ALL", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("INVALID_HANDLE_VALUE", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ARM64_MAX_BREAKPOINTS", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ARM64_MAX_WATCHPOINTS", "", "std::os::win32", &docId).Build()).AddStruct(symbols.NewStructBuilder("Win32_FILETIME", "std::os::win32", &docId).WithStructMember("dwLowDateTime", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwHighDateTime", "Win32_DWORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_PROCESS_INFORMATION", "std::os::win32", &docId).WithStructMember("hProcess", "Win32_HANDLE", "std::os::win32", &docId).WithStructMember("hThread", "Win32_HANDLE", "std::os::win32", &docId).WithStructMember("dwProcessId", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwThreadId", "Win32_DWORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_IMAGEHLP_MODULE64", "std::os::win32", &docId).WithStructMember("sizeOfStruct", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("baseOfImage", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("imageSize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("timeDateStamp", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("checkSum", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("numSyms", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("symType", "Win32_SYM_TYPE", "std::os::win32", &docId).WithStructMember("moduleName", "Win32_CHAR", "std::os::win32", &docId).WithStructMember("imageName", "Win32_CHAR", "std::os::win32", &docId).WithStructMember("loadedImageName", "Win32_CHAR", "std::os::win32", &docId).WithStructMember("loadedPdbName", "Win32_CHAR", "std::os::win32", &docId).WithStructMember("cVSig", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("cVData", "Win32_CHAR", "std::os::win32", &docId).WithStructMember("pdbSig", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("pdbSig70", "Win32_GUID", "std::os::win32", &docId).WithStructMember("pdbAge", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("pdbUnmatched", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("dbgUnmatched", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("lineNumbers", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("globalSymbols", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("typeInfo", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("sourceIndexed", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("publics", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("machineType", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("reserved", "Win32_DWORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_ARM64_NT_CONTEXT", "std::os::win32", &docId).WithStructMember("contextFlags", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("cpsr", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("sp", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("pc", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("v", "Win32_ARM64_NT_NEON128", "std::os::win32", &docId).WithStructMember("fpcr", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("fpsr", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("bcr", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("bvr", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("wcr", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("wvr", "Win32_DWORD64", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_MODLOAD_DATA", "std::os::win32", &docId).WithStructMember("ssize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("ssig", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("data", "Win32_PVOID", "std::os::win32", &docId).WithStructMember("size", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("flags", "Win32_DWORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_STACKFRAME64", "std::os::win32", &docId).WithStructMember("addrPC", "Win32_ADDRESS64", "std::os::win32", &docId).WithStructMember("addrReturn", "Win32_ADDRESS64", "std::os::win32", &docId).WithStructMember("addrFrame", "Win32_ADDRESS64", "std::os::win32", &docId).WithStructMember("addrStack", "Win32_ADDRESS64", "std::os::win32", &docId).WithStructMember("addrBStore", "Win32_ADDRESS64", "std::os::win32", &docId).WithStructMember("funcTableEntry", "Win32_PVOID", "std::os::win32", &docId).WithStructMember("params", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("far", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("virtual", "Win32_BOOL", "std::os::win32", &docId).WithStructMember("reserved", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("kdHelp", "Win32_KDHELP64", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_STARTUPINFOEXW", "std::os::win32", &docId).WithStructMember("win32_StartupInfo", "Win32_STARTUPINFOW", "std::os::win32", &docId).WithStructMember("lpAttributeList", "Win32_LPPROC_THREAD_ATTRIBUTE_LIST", "std::os::win32", &docId).WithStructMember("cb", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("lpReserved", "Win32_LPWSTR", "std::os::win32", &docId).WithStructMember("lpDesktop", "Win32_LPWSTR", "std::os::win32", &docId).WithStructMember("lpTitle", "Win32_LPWSTR", "std::os::win32", &docId).WithStructMember("dwX", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwY", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwXSize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwYSize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwXCountChars", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwYCountChars", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwFillAttribute", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwFlags", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("wShowWindow", "Win32_WORD", "std::os::win32", &docId).WithStructMember("cbReserved2", "Win32_WORD", "std::os::win32", &docId).WithStructMember("lpReserved2", "Win32_LPBYTE", "std::os::win32", &docId).WithStructMember("hStdInput", "Win32_HANDLE", "std::os::win32", &docId).WithStructMember("hStdOutput", "Win32_HANDLE", "std::os::win32", &docId).WithStructMember("hStdError", "Win32_HANDLE", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_SYMBOL_INFO", "std::os::win32", &docId).WithStructMember("sizeOfStruct", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("typeIndex", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("reserved", "Win32_ULONG64", "std::os::win32", &docId).WithStructMember("index", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("size", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("modBase", "Win32_ULONG64", "std::os::win32", &docId).WithStructMember("flags", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("value", "Win32_ULONG64", "std::os::win32", &docId).WithStructMember("address", "Win32_ULONG64", "std::os::win32", &docId).WithStructMember("register", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("scope", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("tag", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("nameLen", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("maxNameLen", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("name", "Win32_CHAR", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_ADDRESS64", "std::os::win32", &docId).WithStructMember("offset", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("segment", "Win32_WORD", "std::os::win32", &docId).WithStructMember("mode", "Win32_ADDRESS_MODE", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_SECURITY_ATTRIBUTES", "std::os::win32", &docId).WithStructMember("nLength", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("lpSecurityDescriptor", "Win32_LPVOID", "std::os::win32", &docId).WithStructMember("bInheritHandle", "Win32_BOOL", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_UNICODE_STRING", "std::os::win32", &docId).WithStructMember("length", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("maximum_length", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("buffer", "Win32_PWSTR", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_SYSTEM_INFO", "std::os::win32", &docId).WithStructMember("dwPageSize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("lpMinimumApplicationAddress", "Win32_LPVOID", "std::os::win32", &docId).WithStructMember("lpMaximumApplicationAddress", "Win32_LPVOID", "std::os::win32", &docId).WithStructMember("dwActiveProcessorMask", "Win32_DWORD_PTR", "std::os::win32", &docId).WithStructMember("dwNumberOfProcessors", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwProcessorType", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwAllocationGranularity", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("wProcessorLevel", "Win32_WORD", "std::os::win32", &docId).WithStructMember("wProcessorRevision", "Win32_WORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_MODULEINFO", "std::os::win32", &docId).WithStructMember("lpBaseOfDll", "Win32_LPVOID", "std::os::win32", &docId).WithStructMember("sizeOfImage", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("entryPoint", "Win32_LPVOID", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_IMAGEHLP_LINE64", "std::os::win32", &docId).WithStructMember("sizeOfStruct", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("key", "Win32_PVOID", "std::os::win32", &docId).WithStructMember("lineNumber", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("fileName", "Win32_PCHAR", "std::os::win32", &docId).WithStructMember("address", "Win32_DWORD64", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_M128A", "std::os::win32", &docId).WithStructMember("low", "Win32_ULONGLONG", "std::os::win32", &docId).WithStructMember("high", "Win32_LONGLONG", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_IMAGE_OPTIONAL_HEADER64", "std::os::win32", &docId).WithStructMember("magic", "Win32_WORD", "std::os::win32", &docId).WithStructMember("majorLinkerVersion", "Win32_BYTE", "std::os::win32", &docId).WithStructMember("minorLinkerVersion", "Win32_BYTE", "std::os::win32", &docId).WithStructMember("sizeOfCode", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("sizeOfInitializedData", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("sizeOfUninitializedData", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("addressOfEntryPoint", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("baseOfCode", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("imageBase", "Win32_ULONGLONG", "std::os::win32", &docId).WithStructMember("sectionAlignment", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("fileAlignment", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("majorOperatingSystemVersion", "Win32_WORD", "std::os::win32", &docId).WithStructMember("minorOperatingSystemVersion", "Win32_WORD", "std::os::win32", &docId).WithStructMember("majorImageVersion", "Win32_WORD", "std::os::win32", &docId).WithStructMember("minorImageVersion", "Win32_WORD", "std::os::win32", &docId).WithStructMember("majorSubsystemVersion", "Win32_WORD", "std::os::win32", &docId).WithStructMember("minorSubsystemVersion", "Win32_WORD", "std::os::win32", &docId).WithStructMember("win32VersionValue", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("sizeOfImage", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("sizeOfHeaders", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("checkSum", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("subsystem", "Win32_WORD", "std::os::win32", &docId).WithStructMember("dllCharacteristics", "Win32_WORD", "std::os::win32", &docId).WithStructMember("sizeOfStackReserve", "Win32_ULONGLONG", "std::os::win32", &docId).WithStructMember("sizeOfStackCommit", "Win32_ULONGLONG", "std::os::win32", &docId).WithStructMember("sizeOfHeapReserve", "Win32_ULONGLONG", "std::os::win32", &docId).WithStructMember("sizeOfHeapCommit", "Win32_ULONGLONG", "std::os::win32", &docId).WithStructMember("loaderFlags", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("numberOfRvaAndSizes", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dataDirectory", "Win32_IMAGE_DATA_DIRECTORY", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_LARGE_INTEGER", "std::os::win32", &docId).WithStructMember("quadPart", "ulong", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_GUID", "std::os::win32", &docId).WithStructMember("data1", "CULong", "std::os::win32", &docId).WithStructMember("data2", "CUShort", "std::os::win32", &docId).WithStructMember("data3", "CUShort", "std::os::win32", &docId).WithStructMember("data4", "char", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_ARM64_NT_NEON128", "std::os::win32", &docId).WithStructMember("low", "Win32_ULONGLONG", "std::os::win32", &docId).WithStructMember("high", "Win32_LONGLONG", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_XMM_SAVE_AREA32", "std::os::win32", &docId).WithStructMember("controlWord", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("statusWord", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("tagWord", "Win32_UCHAR", "std::os::win32", &docId).WithStructMember("reserved1", "Win32_UCHAR", "std::os::win32", &docId).WithStructMember("errorOpcode", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("errrorOffset", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("errorSelector", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("reserved2", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("dataOffset", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("dataSelector", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("reserved3", "Win32_USHORT", "std::os::win32", &docId).WithStructMember("mxCsr", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("mxCsr_Mask", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("floatRegisters", "Win32_M128A", "std::os::win32", &docId).WithStructMember("xmmRegisters", "Win32_M128A", "std::os::win32", &docId).WithStructMember("reserved4", "Win32_UCHAR", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_AMD64_CONTEXT", "std::os::win32", &docId).WithStructMember("p1Home", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("p2Home", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("p3Home", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("p4Home", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("p5Home", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("p6Home", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("contextFlags", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("mxCsr", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("segCs", "Win32_WORD", "std::os::win32", &docId).WithStructMember("segDs", "Win32_WORD", "std::os::win32", &docId).WithStructMember("segEs", "Win32_WORD", "std::os::win32", &docId).WithStructMember("segFs", "Win32_WORD", "std::os::win32", &docId).WithStructMember("segGs", "Win32_WORD", "std::os::win32", &docId).WithStructMember("segSs", "Win32_WORD", "std::os::win32", &docId).WithStructMember("eFlags", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dr0", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("dr1", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("dr2", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("dr3", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("dr6", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("dr7", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rax", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rcx", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rdx", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rbx", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rsp", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rbp", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rsi", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rdi", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("r8", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("r9", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("r10", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("r11", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("r12", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("r13", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("r14", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("r15", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("rip", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("vectorRegister", "Win32_M128A", "std::os::win32", &docId).WithStructMember("vectorControl", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("debugControl", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("lastBranchToRip", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("lastBranchFromRip", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("lastExceptionToRip", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("lastExceptionFromRip", "Win32_DWORD64", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_IMAGE_DATA_DIRECTORY", "std::os::win32", &docId).WithStructMember("virtualAddress", "Win32_ULONG", "std::os::win32", &docId).WithStructMember("size", "Win32_ULONG", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_STARTUPINFOW", "std::os::win32", &docId).WithStructMember("cb", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("lpReserved", "Win32_LPWSTR", "std::os::win32", &docId).WithStructMember("lpDesktop", "Win32_LPWSTR", "std::os::win32", &docId).WithStructMember("lpTitle", "Win32_LPWSTR", "std::os::win32", &docId).WithStructMember("dwX", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwY", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwXSize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwYSize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwXCountChars", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwYCountChars", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwFillAttribute", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwFlags", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("wShowWindow", "Win32_WORD", "std::os::win32", &docId).WithStructMember("cbReserved2", "Win32_WORD", "std::os::win32", &docId).WithStructMember("lpReserved2", "Win32_LPBYTE", "std::os::win32", &docId).WithStructMember("hStdInput", "Win32_HANDLE", "std::os::win32", &docId).WithStructMember("hStdOutput", "Win32_HANDLE", "std::os::win32", &docId).WithStructMember("hStdError", "Win32_HANDLE", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_OVERLAPPED", "std::os::win32", &docId).WithStructMember("internal", "Win32_ULONG_PTR", "std::os::win32", &docId).WithStructMember("internalHigh", "Win32_ULONG_PTR", "std::os::win32", &docId).WithStructMember("hEvent", "Win32_HANDLE", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_IMAGE_FILE_HEADER", "std::os::win32", &docId).WithStructMember("machine", "Win32_WORD", "std::os::win32", &docId).WithStructMember("numberOfSections", "Win32_WORD", "std::os::win32", &docId).WithStructMember("timeDateStamp", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("pointerToSymbolTable", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("numberOfSymbols", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("sizeOfOptionalHeader", "Win32_WORD", "std::os::win32", &docId).WithStructMember("characteristics", "Win32_WORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_IMAGE_NT_HEADERS", "std::os::win32", &docId).WithStructMember("signature", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("fileHeader", "Win32_IMAGE_FILE_HEADER", "std::os::win32", &docId).WithStructMember("optionalHeader", "Win32_IMAGE_OPTIONAL_HEADER64", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_KDHELP64", "std::os::win32", &docId).WithStructMember("thread", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("thCallbackStack", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("thCallbackBStore", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("nextCallback", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("framePointer", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("kiCallUserMode", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("keUserCallbackDispatcher", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("systemRangeStart", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("kiUserExceptionDispatcher", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("stackBase", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("stackLimit", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("buildVersion", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("retpolineStubFunctionTableSize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("retpolineStubFunctionTable", "Win32_DWORD64", "std::os::win32", &docId).WithStructMember("retpolineStubOffset", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("retpolineStubSize", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("reserved0", "Win32_DWORD64", "std::os::win32", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_SC_HANDLE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_UINT32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PCTSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUNICODE_STRING", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PDWORD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PDWORD32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PLCID", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PLONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PIMAGE_NT_HEADERS", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_CCHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPINT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HFONT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PHALFPTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PINTPTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PLONG64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_DWORD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HALF_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPCVOID", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PDWORDLONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PULONG_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_TCHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_UCHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HBRUSH", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HPALETTE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HDROP", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HPEN", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_INT16", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_INT64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PCSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_POINTER_32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_DWORD64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HBITMAP", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PKDHELP64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPMODULEINFO", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_WPARAM", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPADDRESS64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPCWSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PTSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HWINSTA", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PINT64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_POINTER_UNSIGNED", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PWORD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PWSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_UINT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_DWORDLONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HGLOBAL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_INT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPBYTE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PINT16", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_TBYTE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_WCHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PPROCESS_INFORMATION", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HDWP", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HWND", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PREAD_PROCESS_MEMORY_ROUTINE64", "std::os::win32", &docId).WithResolvesTo("fn Win32_BOOL(Win32_HANDLE hProcess, Win32_DWORD64 qwBaseAddress, Win32_PVOID lpBuffer, Win32_DWORD nSize, Win32_LPDWORD lpNumberOfBytesRead)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HRESULT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPCOLORREF", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PDWORD64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PULONG64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_WORD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPOVERLAPPED", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_COLORREF", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HCONV", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HKEY", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HRSRC", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LONGLONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPARAM", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PBOOLEAN", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUHALFPTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_CHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HHOOK", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_ULONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CONTEXT_FULL = CONTEXT_AMD64_FULL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PCHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PINT32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LONG64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PHANDLE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PHKEY", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PLONG32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PVOID", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_SHORT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HACCEL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_INT8", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPSTACKFRAME64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PIMAGEHLP_LINE64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPSTARTUPINFOEXW", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPPROCESS_INFORMATION", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HRGN", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPVOID", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PSHORT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PSECURITY_ATTRIBUTES", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_DWORD_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HGDIOBJ", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUINT32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HFILE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HSZ", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HLOCAL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HMONITOR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LANGID", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUINT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HICON", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HINSTANCE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PCUNICODE_STRING", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_ULONG32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPSECURITY_ATTRIBUTES", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PIMAGE_FILE_HEADER", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HDESK", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPWSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_SC_LOCK", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_CONTEXT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HKL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LONG32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HMETAFILE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_INT_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_INT32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPHANDLE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PSIZE_T", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_SOCKET", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_BOOLEAN", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HCONVLIST", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUINTPTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_ULONG_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPSYSTEM_INFO", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PCONTEXT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PFUNCTION_TABLE_ACCESS_ROUTINE64", "std::os::win32", &docId).WithResolvesTo("fn Win32_PVOID(Win32_HANDLE ahProcess, Win32_DWORD64 addrBase)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HMENU", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LONG_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_ULONGLONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PMODLOAD_DATA", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_FLOAT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_UINT64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPCTSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PINT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_UHALF_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PSYMBOL_INFO", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PGET_MODULE_BASE_ROUTINE64", "std::os::win32", &docId).WithResolvesTo("fn Win32_DWORD64(Win32_HANDLE hProcess, Win32_DWORD64 address)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HMODULE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LGRPID", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PULONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PIMAGEHLP_MODULE64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PBOOL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUCHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUINT8", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_ULONG64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LCTYPE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_POINTER_64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HDDEDATA", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPCSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PFLOAT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PTCHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_QWORD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_UINT_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_BOOL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HANDLE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUINT64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_UINT8", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HCURSOR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_POINTER_SIGNED", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPWORD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PBYTE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CONTEXT_ALL = CONTEXT_AMD64_ALL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPDWORD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPTSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PSSIZE_T", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPPROC_THREAD_ATTRIBUTE_LIST", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PIMAGE_OPTIONAL_HEADER64", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_DWORD32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LCID", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PTBYTE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUINT16", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PULONG32", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_USHORT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPSTARTUPINFOW", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_BYTE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PLONGLONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PWCHAR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_SIZE_T", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_UINT16", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PTRANSLATE_ADDRESS_ROUTINE64", "std::os::win32", &docId).WithResolvesTo("fn Win32_DWORD64(Win32_HANDLE hProcess, Win32_HANDLE hThread, Win32_LPADDRESS64 lpaddr)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PINT8", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PULONGLONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PCWSTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_SERVICE_STATUS_HANDLE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_SSIZE_T", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HDC", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPLONG", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LRESULT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PDWORDPTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PLONG_PTR", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PUSHORT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_USN", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CONTEXT_CONTROL = CONTEXT_AMD64_CONTROL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_HCOLORSPACE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPBOOL", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("Win32_SYM_TYPE", "", "std::os::win32", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_NONE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_COFF", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_CV", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_PDB", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_EXPORT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_DEFERRED", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_SYM", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_DIA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYM_VIRTUAL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddEnum(symbols.NewEnumBuilder("Win32_ADDRESS_MODE", "", "std::os::win32", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("ADDR_MODE_1616", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ADDR_MODE_1632", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ADDR_MODE_REAL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ADDR_MODE_FLAT", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()) + + // Define module std::sort + module = moduleCollection["std::sort"] + module.AddFunction(symbols.NewFunctionBuilder("binarysearch", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("list", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmp", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::collections::enummap + module = moduleCollection["std::collections::enummap"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{ + "Enum": symbols.NewGenericParameter("Enum", "std::collections::enummap", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "ValueType": symbols.NewGenericParameter("ValueType", "std::collections::enummap", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + }).AddStruct(symbols.NewStructBuilder("EnumMap", "std::collections::enummap", &docId).WithStructMember("values", "ValueType", "std::collections::enummap", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::collections::enummap"), "std::collections::enummap", &docId).WithTypeIdentifier("EnumMap").WithArgument(symbols.NewVariableBuilder("self", "EnumMap", "std::collections::enummap", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_value", "ValueType", "std::collections::enummap", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::collections::enummap"), "std::collections::enummap", &docId).WithTypeIdentifier("EnumMap").WithArgument(symbols.NewVariableBuilder("self", "EnumMap", "std::collections::enummap", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::collections::enummap", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::collections::enummap"), "std::collections::enummap", &docId).WithTypeIdentifier("EnumMap").WithArgument(symbols.NewVariableBuilder("self", "EnumMap", "std::collections::enummap", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::enummap", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_tstring", symbols.NewTypeFromString("String", "std::collections::enummap"), "std::collections::enummap", &docId).WithTypeIdentifier("EnumMap").WithArgument(symbols.NewVariableBuilder("self", "EnumMap", "std::collections::enummap", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::enummap"), "std::collections::enummap", &docId).WithTypeIdentifier("EnumMap").WithArgument(symbols.NewVariableBuilder("self", "EnumMap", "std::collections::enummap", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("ValueType", "std::collections::enummap"), "std::collections::enummap", &docId).WithTypeIdentifier("EnumMap").WithArgument(symbols.NewVariableBuilder("self", "EnumMap", "std::collections::enummap", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Enum", "std::collections::enummap", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ref", symbols.NewTypeFromString("ValueType*", "std::collections::enummap"), "std::collections::enummap", &docId).WithTypeIdentifier("EnumMap").WithArgument(symbols.NewVariableBuilder("self", "EnumMap", "std::collections::enummap", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Enum", "std::collections::enummap", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("void", "std::collections::enummap"), "std::collections::enummap", &docId).WithTypeIdentifier("EnumMap").WithArgument(symbols.NewVariableBuilder("self", "EnumMap", "std::collections::enummap", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Enum", "std::collections::enummap", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "ValueType", "std::collections::enummap", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::random + module = moduleCollection["std::math::random"] + module.AddVariable(symbols.NewVariableBuilder("ODD_PHI32", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI16", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_LCG128", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_LCG64", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_LCG32", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_LCG16", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI128", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI64", "", "std::math::random", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Lcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Lcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::encoding::csv + module = moduleCollection["std::encoding::csv"] + module.AddStruct(symbols.NewStructBuilder("CsvReader", "std::encoding::csv", &docId).WithStructMember("stream", "InStream", "std::encoding::csv", &docId).WithStructMember("separator", "String", "std::encoding::csv", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::encoding::csv"), "std::encoding::csv", &docId).WithTypeIdentifier("CsvReader").WithArgument(symbols.NewVariableBuilder("self", "CsvReader", "std::encoding::csv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "InStream", "std::encoding::csv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("separator", "String", "std::encoding::csv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_new_row", symbols.NewTypeFromString("String!", "std::encoding::csv"), "std::encoding::csv", &docId).WithTypeIdentifier("CsvReader").WithArgument(symbols.NewVariableBuilder("self", "CsvReader", "std::encoding::csv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::encoding::csv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_new_row_with_allocator", symbols.NewTypeFromString("String!", "std::encoding::csv"), "std::encoding::csv", &docId).WithTypeIdentifier("CsvReader").WithArgument(symbols.NewVariableBuilder("self", "CsvReader", "std::encoding::csv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::encoding::csv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_temp_row", symbols.NewTypeFromString("String!", "std::encoding::csv"), "std::encoding::csv", &docId).WithTypeIdentifier("CsvReader").WithArgument(symbols.NewVariableBuilder("self", "CsvReader", "std::encoding::csv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("skip_row", symbols.NewTypeFromString("void!", "std::encoding::csv"), "std::encoding::csv", &docId).WithTypeIdentifier("CsvReader").WithArgument(symbols.NewVariableBuilder("self", "CsvReader", "std::encoding::csv", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@each_row", symbols.NewTypeFromString("", "std::encoding::csv"), "std::encoding::csv", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::encoding::csv", &docId).Build()).WithArgument(symbols.NewVariableBuilder("rows", "int", "std::encoding::csv", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("_floor", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_floorf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::sort + module = moduleCollection["std::sort"] + module.AddFunction(symbols.NewFunctionBuilder("@len_from_list", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("list", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_sortable", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_valid_context", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_valid_cmp_fn", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_cmp_key_fn", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::collections::object + module = moduleCollection["std::collections::object"] + module.AddVariable(symbols.NewVariableBuilder("NULL_OBJECT", "Object", "std::collections::object", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TRUE_OBJECT", "Object", "std::collections::object", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FALSE_OBJECT", "Object", "std::collections::object", &docId).Build()).AddStruct(symbols.NewStructBuilder("Object", "std::collections::object", &docId).WithStructMember("type", "typeid", "std::collections::object", &docId).WithStructMember("allocator", "Allocator", "std::collections::object", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ObjectInternalMap", "std::collections::object", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ObjectInternalList", "std::collections::object", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ObjectInternalMapEntry", "std::collections::object", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_obj", symbols.NewTypeFromString("Object*", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_null", symbols.NewTypeFromString("Object*", "std::collections::object"), "std::collections::object", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_int", symbols.NewTypeFromString("Object*", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("i", "int128", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_enum", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("e", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_float", symbols.NewTypeFromString("Object*", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("f", "double", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_string", symbols.NewTypeFromString("Object*", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("s", "String", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_bool", symbols.NewTypeFromString("Object*", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("b", "bool", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_null", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_empty", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_map", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_array", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_bool", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_string", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_float", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_int", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_keyable", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_indexable", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init_map_if_needed", symbols.NewTypeFromString("void", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init_array_if_needed", symbols.NewTypeFromString("void", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_object", symbols.NewTypeFromString("void", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_object", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("object_from_value", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_at", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("Object*!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("has_key", symbols.NewTypeFromString("bool", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_at", symbols.NewTypeFromString("Object*", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_len", symbols.NewTypeFromString("usz", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push_object", symbols.NewTypeFromString("void", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("to_append", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_object_at", symbols.NewTypeFromString("void", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("to_set", "Object", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_integer_value", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("value", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_integer_at", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_integer", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ichar", symbols.NewTypeFromString("ichar!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_short", symbols.NewTypeFromString("short!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_int", symbols.NewTypeFromString("int!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_long", symbols.NewTypeFromString("long!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_int128", symbols.NewTypeFromString("int128!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ichar_at", symbols.NewTypeFromString("ichar!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_short_at", symbols.NewTypeFromString("short!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_int_at", symbols.NewTypeFromString("int!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_long_at", symbols.NewTypeFromString("long!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_int128_at", symbols.NewTypeFromString("int128!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_char", symbols.NewTypeFromString("char!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ushort", symbols.NewTypeFromString("short!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_uint", symbols.NewTypeFromString("uint!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ulong", symbols.NewTypeFromString("ulong!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_uint128", symbols.NewTypeFromString("uint128!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_char_at", symbols.NewTypeFromString("char!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ushort_at", symbols.NewTypeFromString("ushort!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_uint_at", symbols.NewTypeFromString("uint!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ulong_at", symbols.NewTypeFromString("ulong!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_uint128_at", symbols.NewTypeFromString("uint128!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_string", symbols.NewTypeFromString("String!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_string_at", symbols.NewTypeFromString("String!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_enum", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_enum_at", symbols.NewTypeFromString("", "std::collections::object"), "std::collections::object", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_bool", symbols.NewTypeFromString("bool!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_bool_at", symbols.NewTypeFromString("bool!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_float", symbols.NewTypeFromString("double!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_float_at", symbols.NewTypeFromString("double!", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_or_create_obj", symbols.NewTypeFromString("Object*", "std::collections::object"), "std::collections::object", &docId).WithTypeIdentifier("Object").WithArgument(symbols.NewVariableBuilder("self", "Object", "std::collections::object", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "String", "std::collections::object", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddStruct(symbols.NewStructBuilder("SimpleHeapAllocator", "std::core::mem::allocator", &docId).WithStructMember("alloc_fn", "MemoryAllocFn", "std::core::mem::allocator", &docId).WithStructMember("free_list", "Header", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Header", "std::core::mem::allocator", &docId).WithStructMember("align", "usz", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "MemoryAllocFn", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("aligned", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_realloc", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_calloc", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_alloc", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_block", symbols.NewTypeFromString("void!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("aligned_bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_free", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("SimpleHeapAllocator").WithArgument(symbols.NewVariableBuilder("self", "SimpleHeapAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::encoding::base64 + module = moduleCollection["std::encoding::base64"] + module.AddVariable(symbols.NewVariableBuilder("STD_ALPHABET", "", "std::encoding::base64", &docId).Build()).AddVariable(symbols.NewVariableBuilder("URL_ALPHABET", "", "std::encoding::base64", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MASK", "", "std::encoding::base64", &docId).Build()).AddStruct(symbols.NewStructBuilder("Base64Encoder", "std::encoding::base64", &docId).WithStructMember("padding", "int", "std::encoding::base64", &docId).WithStructMember("alphabet", "String", "std::encoding::base64", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Base64Decoder", "std::encoding::base64", &docId).WithStructMember("padding", "int", "std::encoding::base64", &docId).WithStructMember("alphabet", "String", "std::encoding::base64", &docId).WithStructMember("reverse", "char", "std::encoding::base64", &docId).WithStructMember("invalid", "char", "std::encoding::base64", &docId).WithoutSourceCode().Build()).AddFault(symbols.NewFaultBuilder("Base64Error", "", "std::encoding::base64", &docId).WithConstant(symbols.NewFaultConstantBuilder("DUPLICATE_IN_ALPHABET", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("PADDING_IN_ALPHABET", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("DESTINATION_TOO_SMALL", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_PADDING", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_CHARACTER", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void!", "std::encoding::base64"), "std::encoding::base64", &docId).WithTypeIdentifier("Base64Encoder").WithArgument(symbols.NewVariableBuilder("self", "Base64Encoder", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alphabet", "String", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("padding", "int", "std::encoding::base64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("encode_len", symbols.NewTypeFromString("usz", "std::encoding::base64"), "std::encoding::base64", &docId).WithTypeIdentifier("Base64Encoder").WithArgument(symbols.NewVariableBuilder("self", "Base64Encoder", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "std::encoding::base64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("encode", symbols.NewTypeFromString("usz!", "std::encoding::base64"), "std::encoding::base64", &docId).WithTypeIdentifier("Base64Encoder").WithArgument(symbols.NewVariableBuilder("self", "Base64Encoder", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "char", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dst", "char", "std::encoding::base64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void!", "std::encoding::base64"), "std::encoding::base64", &docId).WithTypeIdentifier("Base64Decoder").WithArgument(symbols.NewVariableBuilder("self", "Base64Decoder", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alphabet", "String", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("padding", "int", "std::encoding::base64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("decode_len", symbols.NewTypeFromString("usz!", "std::encoding::base64"), "std::encoding::base64", &docId).WithTypeIdentifier("Base64Decoder").WithArgument(symbols.NewVariableBuilder("self", "Base64Decoder", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "std::encoding::base64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("decode", symbols.NewTypeFromString("usz!", "std::encoding::base64"), "std::encoding::base64", &docId).WithTypeIdentifier("Base64Decoder").WithArgument(symbols.NewVariableBuilder("self", "Base64Decoder", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "char", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dst", "char", "std::encoding::base64", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("check_alphabet", symbols.NewTypeFromString("void!", "std::encoding::base64"), "std::encoding::base64", &docId).WithArgument(symbols.NewVariableBuilder("alphabet", "String", "std::encoding::base64", &docId).Build()).WithArgument(symbols.NewVariableBuilder("padding", "int", "std::encoding::base64", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddStruct(symbols.NewStructBuilder("ByteWriter", "std::io", &docId).WithStructMember("bytes", "char", "std::io", &docId).WithStructMember("index", "usz", "std::io", &docId).WithStructMember("allocator", "Allocator", "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("ByteWriter*", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("ByteWriter*", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init_with_buffer", symbols.NewTypeFromString("ByteWriter*", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("str_view", symbols.NewTypeFromString("String", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ensure_capacity", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_byte", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_from", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteWriter").WithArgument(symbols.NewVariableBuilder("self", "ByteWriter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("reader", "InStream", "std::io", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("tan", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tanf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::vector + module = moduleCollection["std::math::vector"] + module.AddDef(symbols.NewDefBuilder("Vec2f", "std::math::vector", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Vec3f", "std::math::vector", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Vec4f", "std::math::vector", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Vec2", "std::math::vector", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Vec3", "std::math::vector", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Vec4", "std::math::vector", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("distance_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec2f", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("distance_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec3f", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("distance_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec4f", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("distance_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec2", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("distance_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec3", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("distance_sq", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec4", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transform", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat", "Matrix4f", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("angle", "float", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("angle", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec2f", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transform", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat", "Matrix4", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("angle", "double", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("angle", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec2", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp_mag", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "float", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "float", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp_mag", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "float", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "float", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp_mag", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "float", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "float", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp_mag", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "double", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "double", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp_mag", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "double", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "double", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp_mag", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "double", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "double", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("towards", symbols.NewTypeFromString("Vec2f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec2f").WithArgument(symbols.NewVariableBuilder("self", "Vec2f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "Vec2f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_distance", "float", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("towards", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_distance", "float", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("towards", symbols.NewTypeFromString("Vec4f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec4f").WithArgument(symbols.NewVariableBuilder("self", "Vec4f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "Vec4f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_distance", "float", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("towards", symbols.NewTypeFromString("Vec2", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec2").WithArgument(symbols.NewVariableBuilder("self", "Vec2", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "Vec2", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_distance", "double", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("towards", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_distance", "double", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("towards", symbols.NewTypeFromString("Vec4", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec4").WithArgument(symbols.NewVariableBuilder("self", "Vec4", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "Vec4", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_distance", "double", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cross", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec3f", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cross", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec3", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("perpendicular", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("perpendicular", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("barycenter", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("a", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "Vec3f", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("barycenter", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("a", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "Vec3", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transform", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat", "Matrix4f", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transform", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat", "Matrix4", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("angle", symbols.NewTypeFromString("float", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec3f", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("angle", symbols.NewTypeFromString("double", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec3", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("refract", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("r", "float", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("refract", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("r", "double", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ortho_normalize", symbols.NewTypeFromString("void", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v1", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec3f", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ortho_normalized", symbols.NewTypeFromString("void", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v1", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "Vec3", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("matrix4f_look_at", symbols.NewTypeFromString("Matrix4f", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("eye", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("up", "Vec3f", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("matrix4_look_at", symbols.NewTypeFromString("Matrix4", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("eye", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("up", "Vec3", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_quat", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("q", "Quaternionf", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_quat", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("q", "Quaternion", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_axis", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("axis", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("angle", "float", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_axis", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("axis", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("angle", "double", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unproject", symbols.NewTypeFromString("Vec3f", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3f").WithArgument(symbols.NewVariableBuilder("self", "Vec3f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("projection", "Matrix4f", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("view", "Matrix4f", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unproject", symbols.NewTypeFromString("Vec3", "std::math::vector"), "std::math::vector", &docId).WithTypeIdentifier("Vec3").WithArgument(symbols.NewVariableBuilder("self", "Vec3", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("projection", "Matrix4", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("view", "Matrix4", "std::math::vector", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("towards", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_distance", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clamp_magnitude", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("angle", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("perpendicular3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cross3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v1", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transform2", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transform3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("angle3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v1", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ortho_normalize3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v1", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_by_quat3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("q", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_axis_angle", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("axis", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("angle", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("matrix_look_at", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("eye", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("target", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("up", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unproject3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("m1", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("m2", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("barycenter3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("p", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("a", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("refract3", symbols.NewTypeFromString("", "std::math::vector"), "std::math::vector", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "", "std::math::vector", &docId).Build()).WithArgument(symbols.NewVariableBuilder("r", "", "std::math::vector", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::core::cinterop + module = moduleCollection["std::core::cinterop"] + module.AddVariable(symbols.NewVariableBuilder("C_LONG_SIZE", "", "std::core::cinterop", &docId).Build()).AddVariable(symbols.NewVariableBuilder("C_SHORT_SIZE", "", "std::core::cinterop", &docId).Build()).AddVariable(symbols.NewVariableBuilder("C_LONG_LONG_SIZE", "", "std::core::cinterop", &docId).Build()).AddVariable(symbols.NewVariableBuilder("C_INT_SIZE", "", "std::core::cinterop", &docId).Build()).AddDef(symbols.NewDefBuilder("CInt", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CLong", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CSChar", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CUChar", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CChar", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CShort", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CUShort", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CUInt", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CULong", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CLongLong", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CULongLong", "std::core::cinterop", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("signed_int_from_bitsize", symbols.NewTypeFromString("", "std::core::cinterop"), "std::core::cinterop", &docId).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::cinterop", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unsigned_int_from_bitsize", symbols.NewTypeFromString("", "std::core::cinterop"), "std::core::cinterop", &docId).WithArgument(symbols.NewVariableBuilder("", "usz", "std::core::cinterop", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("native_ls", symbols.NewTypeFromString("PathList!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("dir", "Path", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("no_dirs", "bool", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("no_symlinks", "bool", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "String", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_ls", symbols.NewTypeFromString("PathList!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("dir", "Path", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("no_dirs", "bool", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("no_symlinks", "bool", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "String", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::os", &docId).Build()).WithoutSourceCode().Build()) + + // Define module libc + module = moduleCollection["libc"] + module.AddStruct(symbols.NewStructBuilder("Stat", "libc", &docId).WithStructMember("st_dev", "Dev_t", "libc", &docId).WithStructMember("st_mode", "Mode_t", "libc", &docId).WithStructMember("st_nlink", "Nlink_t", "libc", &docId).WithStructMember("st_ino", "Ino_t", "libc", &docId).WithStructMember("st_uid", "Uid_t", "libc", &docId).WithStructMember("st_gid", "Gid_t", "libc", &docId).WithStructMember("st_rdev", "Dev_t", "libc", &docId).WithStructMember("st_atimespec", "Timespec", "libc", &docId).WithStructMember("st_mtimespec", "Timespec", "libc", &docId).WithStructMember("st_ctimespec", "Timespec", "libc", &docId).WithStructMember("st_birthtimespec", "Timespec", "libc", &docId).WithStructMember("st_size", "Off_t", "libc", &docId).WithStructMember("st_blocks", "Blkcnt_t", "libc", &docId).WithStructMember("st_blocksize", "Blksize_t", "libc", &docId).WithStructMember("st_flags", "uint", "libc", &docId).WithStructMember("st_gen", "uint", "libc", &docId).WithStructMember("st_lspare", "int", "libc", &docId).WithStructMember("st_qspare", "long", "libc", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Mode_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Nlink_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Blkcnt_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Blksize_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Ino_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Dev_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stat", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stat", "Stat", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sysctl", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("name", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("namelen", "CUInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("oldp", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("oldlenp", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("newp", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("newlen", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddStruct(symbols.NewStructBuilder("LimitReader", "std::io", &docId).WithStructMember("wrapped_stream", "InStream", "std::io", &docId).WithStructMember("limit", "usz", "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("LimitReader*", "std::io"), "std::io", &docId).WithTypeIdentifier("LimitReader").WithArgument(symbols.NewVariableBuilder("self", "LimitReader", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("wrapped_stream", "InStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("limit", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("close", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("LimitReader").WithArgument(symbols.NewVariableBuilder("self", "LimitReader", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("LimitReader").WithArgument(symbols.NewVariableBuilder("self", "LimitReader", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_byte", symbols.NewTypeFromString("char!", "std::io"), "std::io", &docId).WithTypeIdentifier("LimitReader").WithArgument(symbols.NewVariableBuilder("self", "LimitReader", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("available", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("LimitReader").WithArgument(symbols.NewVariableBuilder("self", "LimitReader", "std::io", &docId).Build()).WithoutSourceCode().Build()) + + // Define module libc::os + module = moduleCollection["libc::os"] + module.AddVariable(symbols.NewVariableBuilder("ERRNO_DEFAULT", "", "libc::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("_errno_c3", "int", "libc::os", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("__errno_location", symbols.NewTypeFromString("int*", "libc::os"), "libc::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno", symbols.NewTypeFromString("", "libc::os"), "libc::os", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno_set", symbols.NewTypeFromString("", "libc::os"), "libc::os", &docId).WithArgument(symbols.NewVariableBuilder("err", "int", "libc::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__error", symbols.NewTypeFromString("int*", "libc::os"), "libc::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno", symbols.NewTypeFromString("", "libc::os"), "libc::os", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno_set", symbols.NewTypeFromString("", "libc::os"), "libc::os", &docId).WithArgument(symbols.NewVariableBuilder("err", "int", "libc::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno", symbols.NewTypeFromString("", "libc::os"), "libc::os", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno_set", symbols.NewTypeFromString("", "libc::os"), "libc::os", &docId).WithArgument(symbols.NewVariableBuilder("err", "int", "libc::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_get_errno", symbols.NewTypeFromString("void", "libc::os"), "libc::os", &docId).WithArgument(symbols.NewVariableBuilder("result", "int", "libc::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_set_errno", symbols.NewTypeFromString("void", "libc::os"), "libc::os", &docId).WithArgument(symbols.NewVariableBuilder("err", "int", "libc::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno_set", symbols.NewTypeFromString("void", "libc::os"), "libc::os", &docId).WithArgument(symbols.NewVariableBuilder("err", "int", "libc::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno", symbols.NewTypeFromString("int", "libc::os"), "libc::os", &docId).WithoutSourceCode().Build()) + + // Define module std::net + module = moduleCollection["std::net"] + module.AddVariable(symbols.NewVariableBuilder("POLL_FOREVER", "Duration", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SUBSCRIBE_READ", "PollSubscribes", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SUBSCRIBE_OOB_WRITE", "PollSubscribes", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SUBSCRIBE_WRITE", "PollSubscribes", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_EVENT_READ_PRIO", "PollEvents", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_EVENT_ERROR", "PollEvents", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_EVENT_WRITE_OOB", "PollEvents", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_EVENT_WRITE", "PollEvents", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_EVENT_INVALID", "PollEvents", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SUBSCRIBE_ANY_READ", "PollSubscribes", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SUBSCRIBE_PRIO_READ", "PollSubscribes", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SUBSCRIBE_OOB_READ", "PollSubscribes", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_EVENT_READ_OOB", "PollEvents", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_EVENT_READ", "PollEvents", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SUBSCRIBE_ANY_WRITE", "PollSubscribes", "std::net", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_EVENT_DISCONNECT", "PollEvents", "std::net", &docId).Build()).AddStruct(symbols.NewStructBuilder("Poll", "std::net", &docId).WithStructMember("socket", "NativeSocket", "std::net", &docId).WithStructMember("events", "PollSubscribes", "std::net", &docId).WithStructMember("revents", "PollEvents", "std::net", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Socket", "std::net", &docId).WithStructMember("sock", "NativeSocket", "std::net", &docId).WithStructMember("ai_addrlen", "Socklen_t", "std::net", &docId).WithStructMember("ai_addr_storage", "char", "std::net", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@loop_over_ai", symbols.NewTypeFromString("", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("ai", "AddrInfo", "std::net", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("poll_ms", symbols.NewTypeFromString("ulong!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("polls", "Poll", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timeout_ms", "long", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("poll", symbols.NewTypeFromString("ulong!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("polls", "Poll", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timeout", "Duration", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_socket", symbols.NewTypeFromString("", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("fd", "", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ai", "", "std::net", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::os::macos::cf + module = moduleCollection["std::os::macos::cf"] + module.AddFunction(symbols.NewFunctionBuilder("macos_CFArrayCreate", symbols.NewTypeFromString("CFArrayRef", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("values", "void", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("num_values", "CFIndex", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("callBacks", "CFArrayCallBacksRef", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFArrayCopy", symbols.NewTypeFromString("CFArrayRef", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("array", "CFArrayRef", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFArrayGetCount", symbols.NewTypeFromString("CFIndex", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("array", "CFArrayRef", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFArrayAppendArray", symbols.NewTypeFromString("void", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("theArray", "CFMutableArrayRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("otherArray", "CFArrayRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("otherRange", "CFRange", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFArrayCreateMutable", symbols.NewTypeFromString("CFMutableArrayRef", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "CFAllocatorRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("capacity", "CFIndex", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("callBacks", "CFArrayCallBacksRef", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("macos_CFArrayAppendValue", symbols.NewTypeFromString("void", "std::os::macos::cf"), "std::os::macos::cf", &docId).WithArgument(symbols.NewVariableBuilder("theArray", "CFMutableArrayRef", "std::os::macos::cf", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "void", "std::os::macos::cf", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::posix + module = moduleCollection["std::os::posix"] + module.AddFunction(symbols.NewFunctionBuilder("posix_memalign", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("memptr", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::collections::list + module = moduleCollection["std::collections::list"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::collections::list", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddVariable(symbols.NewVariableBuilder("ELEMENT_IS_POINTER", "", "std::collections::list", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ELEMENT_IS_EQUATABLE", "", "std::collections::list", &docId).Build()).AddStruct(symbols.NewStructBuilder("List", "std::collections::list", &docId).WithStructMember("size", "usz", "std::collections::list", &docId).WithStructMember("capacity", "usz", "std::collections::list", &docId).WithStructMember("allocator", "Allocator", "std::collections::list", &docId).WithStructMember("entries", "Type", "std::collections::list", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ElementPredicate", "std::collections::list", &docId).WithResolvesTo("fn bool(Type *type)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ElementTest", "std::collections::list", &docId).WithResolvesTo("fn bool(Type *type, any context)").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("type_is_overaligned", symbols.NewTypeFromString("", "std::collections::list"), "std::collections::list", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("List*", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("List*", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init_with_array", symbols.NewTypeFromString("List*", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("values", "Type", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init_with_array", symbols.NewTypeFromString("List*", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("values", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init_wrapping_array", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("types", "Type", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_tstring", symbols.NewTypeFromString("String", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop", symbols.NewTypeFromString("Type!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop_first", symbols.NewTypeFromString("Type!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_at", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_all", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_list", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_aligned_array", symbols.NewTypeFromString("Type", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_array", symbols.NewTypeFromString("", "std::collections::list"), "std::collections::list", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::list", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_tarray", symbols.NewTypeFromString("Type", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reverse", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("array_view", symbols.NewTypeFromString("Type", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_array", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("array", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push_front", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("insert_at", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_at", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_last", symbols.NewTypeFromString("void!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_first", symbols.NewTypeFromString("void!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("first", symbols.NewTypeFromString("Type!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("last", symbols.NewTypeFromString("Type!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_empty", symbols.NewTypeFromString("bool", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("byte_size", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("Type", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("swap", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("j", "usz", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_if", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "ElementPredicate", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("retain_if", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("selection", "ElementPredicate", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_remove_if", symbols.NewTypeFromString("", "std::collections::list"), "std::collections::list", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "ElementPredicate", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::collections::list", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_using_test", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "ElementTest", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "any", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("retain_using_test", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "ElementTest", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "any", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_remove_using_test", symbols.NewTypeFromString("", "std::collections::list"), "std::collections::list", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "ElementTest", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ctx", "", "std::collections::list", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reserve", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min_capacity", "usz", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@item_at", symbols.NewTypeFromString("", "std::collections::list"), "std::collections::list", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::list", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ref", symbols.NewTypeFromString("Type*", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ensure_capacity", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("added", "usz", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("index_of", symbols.NewTypeFromString("usz!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rindex_of", symbols.NewTypeFromString("usz!", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("bool", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_list", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("contains", symbols.NewTypeFromString("bool", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_last_item", symbols.NewTypeFromString("bool", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_first_item", symbols.NewTypeFromString("bool", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_item", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_all_from", symbols.NewTypeFromString("void", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_list", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("compact_count", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("compact", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_last_match", symbols.NewTypeFromString("bool", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_first_match", symbols.NewTypeFromString("bool", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_all_matches", symbols.NewTypeFromString("usz", "std::collections::list"), "std::collections::list", &docId).WithTypeIdentifier("List").WithArgument(symbols.NewVariableBuilder("self", "List", "std::collections::list", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::list", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::crypto::rc4 + module = moduleCollection["std::crypto::rc4"] + module.AddStruct(symbols.NewStructBuilder("Rc4", "std::crypto::rc4", &docId).WithStructMember("i", "uint", "std::crypto::rc4", &docId).WithStructMember(",", "uint", "std::crypto::rc4", &docId).WithStructMember("j", "uint", "std::crypto::rc4", &docId).WithStructMember("state", "char", "std::crypto::rc4", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::crypto::rc4"), "std::crypto::rc4", &docId).WithTypeIdentifier("Rc4").WithArgument(symbols.NewVariableBuilder("self", "Rc4", "std::crypto::rc4", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "char", "std::crypto::rc4", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("crypt", symbols.NewTypeFromString("void", "std::crypto::rc4"), "std::crypto::rc4", &docId).WithArgument(symbols.NewVariableBuilder("key", "char", "std::crypto::rc4", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::crypto::rc4", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("crypt", symbols.NewTypeFromString("void", "std::crypto::rc4"), "std::crypto::rc4", &docId).WithTypeIdentifier("Rc4").WithArgument(symbols.NewVariableBuilder("self", "Rc4", "std::crypto::rc4", &docId).Build()).WithArgument(symbols.NewVariableBuilder("in", "char", "std::crypto::rc4", &docId).Build()).WithArgument(symbols.NewVariableBuilder("out", "char", "std::crypto::rc4", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("void", "std::crypto::rc4"), "std::crypto::rc4", &docId).WithTypeIdentifier("Rc4").WithArgument(symbols.NewVariableBuilder("self", "Rc4", "std::crypto::rc4", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddVariable(symbols.NewVariableBuilder("native_fread_fn", "FreadFn", "std::io::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("native_remove_fn", "RemoveFn", "std::io::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("native_fopen_fn", "FopenFn", "std::io::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("native_fclose_fn", "FcloseFn", "std::io::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("native_freopen_fn", "FreopenFn", "std::io::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("native_fseek_fn", "FseekFn", "std::io::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("native_ftell_fn", "FtellFn", "std::io::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("native_fwrite_fn", "FwriteFn", "std::io::os", &docId).Build()).AddDef(symbols.NewDefBuilder("FwriteFn", "std::io::os", &docId).WithResolvesTo("fn usz!(void*, char[] buffer)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("FreadFn", "std::io::os", &docId).WithResolvesTo("fn usz!(void*, char[] buffer)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("RemoveFn", "std::io::os", &docId).WithResolvesTo("fn void!(String)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("FopenFn", "std::io::os", &docId).WithResolvesTo("fn void*!(String, String)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("FreopenFn", "std::io::os", &docId).WithResolvesTo("fn void*!(void*, String, String)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("FcloseFn", "std::io::os", &docId).WithResolvesTo("fn void!(void*)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("FseekFn", "std::io::os", &docId).WithResolvesTo("fn void!(void*, isz, Seek)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("FtellFn", "std::io::os", &docId).WithResolvesTo("fn usz!(void*)").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_fopen", symbols.NewTypeFromString("void*!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_remove", symbols.NewTypeFromString("void!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_freopen", symbols.NewTypeFromString("void*!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "void", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_fseek", symbols.NewTypeFromString("void!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "void", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "isz", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seek_mode", "Seek", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_ftell", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_fwrite", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_fread", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io::os", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::posix + module = moduleCollection["std::os::posix"] + module.AddVariable(symbols.NewVariableBuilder("WNOHANG", "CInt", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WUNTRACES", "CInt", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("backtrace_jmpbuf", "JmpBuf", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__WCOREFLAG", "CInt", "std::os::posix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__W_CONTINUED", "CInt", "std::os::posix", &docId).Build()).AddStruct(symbols.NewStructBuilder("Posix_spawnattr_t", "std::os::posix", &docId).WithStructMember("opaque", "void", "std::os::posix", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Posix_spawn_file_actions_t", "std::os::posix", &docId).WithStructMember("__allocated", "int", "std::os::posix", &docId).WithStructMember("__used", "int", "std::os::posix", &docId).WithStructMember("__actions", "void", "std::os::posix", &docId).WithStructMember("__pad", "int", "std::os::posix", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("spawn = posix_spawn", "std::os::posix", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("BacktraceFn", "std::os::posix", &docId).WithResolvesTo("fn CInt(void** buffer, CInt size)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("spawn_file_actions_init = posix_spawn_file_actions_init", "std::os::posix", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("spawn_file_actions_destroy = posix_spawn_file_actions_destroy", "std::os::posix", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("spawn_file_actions_addclose = posix_spawn_file_actions_addclose", "std::os::posix", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("spawn_file_actions_adddup2 = posix_spawn_file_actions_adddup2", "std::os::posix", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("spawnp = posix_spawnp", "std::os::posix", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("posix_spawn_file_actions_init", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("file_actions", "Posix_spawn_file_actions_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("posix_spawn_file_actions_destroy", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("file_actions", "Posix_spawn_file_actions_t", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("posix_spawn_file_actions_addclose", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("file_actions", "Posix_spawn_file_actions_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("fd", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("posix_spawn_file_actions_adddup2", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("file_actions", "Posix_spawn_file_actions_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("fd", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("newfd", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_nprocs", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_nprocs_conf", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("posix_spawnp", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("pid", "Pid_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file", "char", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file_actions", "Posix_spawn_file_actions_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("attrp", "Posix_spawnattr_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "ZString", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("envp", "ZString", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("posix_spawn", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("pid", "Pid_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file", "char", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file_actions", "Posix_spawn_file_actions_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("attrp", "Posix_spawnattr_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argv", "ZString", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("envp", "ZString", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getpid", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("kill", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("pid", "Pid_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sig", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("waitpid", symbols.NewTypeFromString("Pid_t", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("pid", "Pid_t", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stat_loc", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "int", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("raise", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("sig", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace_symbols", symbols.NewTypeFromString("ZString*", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace_symbols_fd", symbols.NewTypeFromString("void", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("fd", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wEXITSTATUS", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wTERMSIG", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wSTOPSIG", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wIFEXITED", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wIFSIGNALED", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wIFSTOPPED", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wIFCONTINUED", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wWCOREDUMP", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("w_EXITCODE", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("ret", "CInt", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sig", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("w_STOPCODE", symbols.NewTypeFromString("", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("sig", "CInt", "std::os::posix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace", symbols.NewTypeFromString("CInt", "std::os::posix"), "std::os::posix", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "void", "std::os::posix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "CInt", "std::os::posix", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddStruct(symbols.NewStructBuilder("Win32_RECT", "std::os::win32", &docId).WithStructMember("left", "Win32_LONG", "std::os::win32", &docId).WithStructMember("top", "Win32_LONG", "std::os::win32", &docId).WithStructMember("right", "Win32_LONG", "std::os::win32", &docId).WithStructMember("bottom", "Win32_LONG", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_POINT", "std::os::win32", &docId).WithStructMember("x", "Win32_LONG", "std::os::win32", &docId).WithStructMember("y", "Win32_LONG", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_SIZE", "std::os::win32", &docId).WithStructMember("cx", "Win32_LONG", "std::os::win32", &docId).WithStructMember("cy", "Win32_LONG", "std::os::win32", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PPOINT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPOINT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PRECT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_NPRECT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PSIZE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_NPSIZE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPSIZE", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_NPOINT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPRECT", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()) + + // Define module std::thread::os + module = moduleCollection["std::thread::os"] + module.AddStruct(symbols.NewStructBuilder("NativeMutex", "std::thread::os", &docId).WithStructMember("mutex", "Pthread_mutex_t", "std::thread::os", &docId).WithStructMember("initialized", "bool", "std::thread::os", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("PosixThreadData", "std::thread::os", &docId).WithStructMember("thread_fn", "ThreadFn", "std::thread::os", &docId).WithStructMember("arg", "void", "std::thread::os", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("NativeConditionVariable", "std::thread::os", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("NativeThread", "std::thread::os", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("NativeOnceFlag", "std::thread::os", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("self", "NativeMutex", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "MutexType", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_initialized", symbols.NewTypeFromString("bool", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("self", "NativeMutex", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("self", "NativeMutex", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lock", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("self", "NativeMutex", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lock_timeout", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("self", "NativeMutex", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ms", "ulong", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("try_lock", symbols.NewTypeFromString("bool", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("self", "NativeMutex", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unlock", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeMutex").WithArgument(symbols.NewVariableBuilder("self", "NativeMutex", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("destroy", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("signal", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("broadcast", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wait", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mtx", "NativeMutex", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wait_timeout", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeConditionVariable").WithArgument(symbols.NewVariableBuilder("cond", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mtx", "NativeMutex", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ms", "ulong", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("callback", symbols.NewTypeFromString("void*", "std::thread::os"), "std::thread::os", &docId).WithArgument(symbols.NewVariableBuilder("arg", "void", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("create", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeThread").WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("thread_fn", "ThreadFn", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arg", "void", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("detach", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeThread").WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_thread_exit", symbols.NewTypeFromString("void", "std::thread::os"), "std::thread::os", &docId).WithArgument(symbols.NewVariableBuilder("result", "int", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_thread_current", symbols.NewTypeFromString("NativeThread", "std::thread::os"), "std::thread::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("bool", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeThread").WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "NativeThread", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("join", symbols.NewTypeFromString("int!", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeThread").WithArgument(symbols.NewVariableBuilder("thread", "", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("call_once", symbols.NewTypeFromString("void", "std::thread::os"), "std::thread::os", &docId).WithTypeIdentifier("NativeOnceFlag").WithArgument(symbols.NewVariableBuilder("flag", "", "std::thread::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func", "OnceFn", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_thread_yield", symbols.NewTypeFromString("void", "std::thread::os"), "std::thread::os", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_sleep_nano", symbols.NewTypeFromString("void!", "std::thread::os"), "std::thread::os", &docId).WithArgument(symbols.NewVariableBuilder("nano", "NanoDuration", "std::thread::os", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::matrix + module = moduleCollection["std::math::matrix"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Real": symbols.NewGenericParameter("Real", "std::math::matrix", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddVariable(symbols.NewVariableBuilder("IDENTITY4", "Matrix4x4", "std::math::matrix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IDENTITY2", "Matrix2x2", "std::math::matrix", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IDENTITY3", "Matrix3x3", "std::math::matrix", &docId).Build()).AddStruct(symbols.NewStructBuilder("Matrix4x4", "std::math::matrix", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Matrix2x2", "std::math::matrix", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Matrix3x3", "std::math::matrix", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("apply", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("vec", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("apply", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("vec", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("apply", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("vec", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mul", symbols.NewTypeFromString("Matrix2x2", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Matrix2x2", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mul", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Matrix3x3", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mul", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("a", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Matrix4x4", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("component_mul", symbols.NewTypeFromString("Matrix2x2", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("component_mul", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("component_mul", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add", symbols.NewTypeFromString("Matrix2x2", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat2", "Matrix2x2", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat2", "Matrix3x3", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat2", "Matrix4x4", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sub", symbols.NewTypeFromString("Matrix2x2", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat2", "Matrix2x2", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sub", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat2", "Matrix3x3", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sub", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat2", "Matrix4x4", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transpose", symbols.NewTypeFromString("Matrix2x2", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transpose", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transpose", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("determinant", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("determinant", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("determinant", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("adjoint", symbols.NewTypeFromString("Matrix2x2", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("adjoint", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("adjoint", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("inverse", symbols.NewTypeFromString("Matrix2x2!", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("inverse", symbols.NewTypeFromString("Matrix3x3!", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("inverse", symbols.NewTypeFromString("Matrix4x4!", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("translate", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("translate", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("r", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_z", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("r", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_y", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("r", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rotate_x", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("r", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("scale", symbols.NewTypeFromString("Matrix3x3", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trace", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix2x2").WithArgument(symbols.NewVariableBuilder("self", "Matrix2x2", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trace", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix3x3").WithArgument(symbols.NewVariableBuilder("self", "Matrix3x3", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trace", symbols.NewTypeFromString("Real", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("scale", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithTypeIdentifier("Matrix4x4").WithArgument(symbols.NewVariableBuilder("self", "Matrix4x4", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ortho", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithArgument(symbols.NewVariableBuilder("left", "Real", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("right", "Real", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("top", "Real", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bottom", "Real", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("near", "Real", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("far", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("perspective", symbols.NewTypeFromString("Matrix4x4", "std::math::matrix"), "std::math::matrix", &docId).WithArgument(symbols.NewVariableBuilder("fov", "Real", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("aspect_ratio", "Real", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("near", "Real", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("far", "Real", "std::math::matrix", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("matrix_component_mul", symbols.NewTypeFromString("", "std::math::matrix"), "std::math::matrix", &docId).WithArgument(symbols.NewVariableBuilder("mat", "", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("val", "", "std::math::matrix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("matrix_add", symbols.NewTypeFromString("", "std::math::matrix"), "std::math::matrix", &docId).WithArgument(symbols.NewVariableBuilder("mat", "", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat2", "", "std::math::matrix", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("matrix_sub", symbols.NewTypeFromString("", "std::math::matrix"), "std::math::matrix", &docId).WithArgument(symbols.NewVariableBuilder("mat", "", "std::math::matrix", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mat2", "", "std::math::matrix", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddVariable(symbols.NewVariableBuilder("WANT_ROUNDING", "bool", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TOINTF", "float", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S2PI2", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXP_TABLE_BITS", "", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXP2_POLY_ORDER", "", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXP_DATA_WIDTH", "", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S1PI2", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__EXP2F_DATA", "Exp2fData", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXP_POLY_ORDER", "", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TOINT15", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S4PI2", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXP2F_TABLE_BITS", "", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__EXP2_DATA", "Exp2Data", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TOINT", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S3PI2", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXP2F_POLY_ORDER", "", "std::math::nolibc", &docId).Build()).AddStruct(symbols.NewStructBuilder("Exp2fData", "std::math::nolibc", &docId).WithStructMember("tab", "ulong", "std::math::nolibc", &docId).WithStructMember("shift_scaled", "double", "std::math::nolibc", &docId).WithStructMember("poly", "double", "std::math::nolibc", &docId).WithStructMember("shift", "double", "std::math::nolibc", &docId).WithStructMember("invln2_scaled", "double", "std::math::nolibc", &docId).WithStructMember("poly_scaled", "double", "std::math::nolibc", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Exp2Data", "std::math::nolibc", &docId).WithStructMember("invln2N", "double", "std::math::nolibc", &docId).WithStructMember("shift", "double", "std::math::nolibc", &docId).WithStructMember("negln2hiN", "double", "std::math::nolibc", &docId).WithStructMember("negln2loN", "double", "std::math::nolibc", &docId).WithStructMember("poly", "double", "std::math::nolibc", &docId).WithStructMember("exp2_shift", "double", "std::math::nolibc", &docId).WithStructMember("exp2_poly", "double", "std::math::nolibc", &docId).WithStructMember("tab", "ulong", "std::math::nolibc", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__math_uflowf", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("sign", "uint", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__math_uflow", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("sign", "ulong", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__math_oflowf", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("sign", "uint", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__math_oflow", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("sign", "ulong", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__math_xflow", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("sign", "", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("force_eval_add", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddStruct(symbols.NewStructBuilder("DynamicArenaAllocator", "std::core::mem::allocator", &docId).WithStructMember("backing_allocator", "Allocator", "std::core::mem::allocator", &docId).WithStructMember("page", "DynamicArenaPage", "std::core::mem::allocator", &docId).WithStructMember("unused_page", "DynamicArenaPage", "std::core::mem::allocator", &docId).WithStructMember("page_size", "usz", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("DynamicArenaPage", "std::core::mem::allocator", &docId).WithStructMember("memory", "void", "std::core::mem::allocator", &docId).WithStructMember("prev_arena", "void", "std::core::mem::allocator", &docId).WithStructMember("total", "usz", "std::core::mem::allocator", &docId).WithStructMember("used", "usz", "std::core::mem::allocator", &docId).WithStructMember("current_stack_ptr", "void", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("DynamicArenaChunk", "std::core::mem::allocator", &docId).WithStructMember("size", "usz", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("DynamicArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "DynamicArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("page_size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("DynamicArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "DynamicArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("DynamicArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "DynamicArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("DynamicArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "DynamicArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reset", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("DynamicArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "DynamicArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mark", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_alloc_new", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("DynamicArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "DynamicArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("DynamicArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "DynamicArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddVariable(symbols.NewVariableBuilder("MAX_BACKTRACE", "", "std::core::mem::allocator", &docId).Build()).AddStruct(symbols.NewStructBuilder("Allocation", "std::core::mem::allocator", &docId).WithStructMember("ptr", "void", "std::core::mem::allocator", &docId).WithStructMember("size", "usz", "std::core::mem::allocator", &docId).WithStructMember("backtrace", "void", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("TrackingAllocator", "std::core::mem::allocator", &docId).WithStructMember("inner_allocator", "Allocator", "std::core::mem::allocator", &docId).WithStructMember("map", "AllocMap", "std::core::mem::allocator", &docId).WithStructMember("mem_total", "usz", "std::core::mem::allocator", &docId).WithStructMember("allocs_total", "usz", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("AllocMap", "std::core::mem::allocator", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("allocated", symbols.NewTypeFromString("usz", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("total_allocated", symbols.NewTypeFromString("usz", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("total_allocation_count", symbols.NewTypeFromString("usz", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("allocations_tlist", symbols.NewTypeFromString("Allocation", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("allocation_count", symbols.NewTypeFromString("usz", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("is_aligned", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("print_report", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fprint_report", symbols.NewTypeFromString("void!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TrackingAllocator").WithArgument(symbols.NewVariableBuilder("self", "TrackingAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("out", "OutStream", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddVariable(symbols.NewVariableBuilder("DEFAULT_SIZE_PREFIX", "", "std::core::mem::allocator", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DEFAULT_SIZE_PREFIX_ALIGNMENT", "", "std::core::mem::allocator", &docId).Build()).AddVariable(symbols.NewVariableBuilder("thread_allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).AddVariable(symbols.NewVariableBuilder("thread_temp_allocator", "TempAllocator", "std::core::mem::allocator", &docId).Build()).AddVariable(symbols.NewVariableBuilder("temp_allocator_pair", "TempAllocator", "std::core::mem::allocator", &docId).Build()).AddVariable(symbols.NewVariableBuilder("temp_base_allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).AddStruct(symbols.NewStructBuilder("TrackingEnv", "std::core::mem::allocator", &docId).WithStructMember("file", "String", "std::core::mem::allocator", &docId).WithStructMember("function", "String", "std::core::mem::allocator", &docId).WithStructMember("line", "uint", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("AlignedBlock", "std::core::mem::allocator", &docId).WithStructMember("len", "usz", "std::core::mem::allocator", &docId).WithStructMember("start", "void", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("MemoryAllocFn", "std::core::mem::allocator", &docId).WithResolvesTo("fn char[]!(usz)").WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("AllocInitType", "", "std::core::mem::allocator", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("NO_ZERO", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ZERO", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFault(symbols.NewFaultBuilder("AllocationFailure", "", "std::core::mem::allocator", &docId).WithConstant(symbols.NewFaultConstantBuilder("OUT_OF_MEMORY", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("CHUNK_TOO_LARGE", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("alignment_for_allocation", symbols.NewTypeFromString("usz", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc_try", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("calloc", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("calloc_try", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("realloc", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_size", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("realloc_try", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_size", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("calloc_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("realloc_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_try", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_with_padding", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("padding", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_try", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_with_padding", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("padding", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_array", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_array_try", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_array_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_array", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_array_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_array_try", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("elements", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clone", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clone_any", symbols.NewTypeFromString("any", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "any", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@aligned_alloc", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@aligned_free", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@aligned_realloc", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("create_default_sized_temp_allocator", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("heap", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init_default_temp_allocators", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_allocator_next", symbols.NewTypeFromString("TempAllocator*", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithoutSourceCode().Build()) + + // Define module std::math::random + module = moduleCollection["std::math::random"] + module.AddVariable(symbols.NewVariableBuilder("ODD_PHI16", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI8", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI128", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI64", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI32", "", "std::math::random", &docId).Build()).AddStruct(symbols.NewStructBuilder("Msws8Random", "std::math::random", &docId).WithStructMember("state0", "char", "std::math::random", &docId).WithStructMember(",", "char", "std::math::random", &docId).WithStructMember("state1", "char", "std::math::random", &docId).WithStructMember("weyl0", "char", "std::math::random", &docId).WithStructMember(",", "char", "std::math::random", &docId).WithStructMember("weyl1", "char", "std::math::random", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Msws128Random", "std::math::random", &docId).WithStructMember("state0", "uint128", "std::math::random", &docId).WithStructMember(",", "uint128", "std::math::random", &docId).WithStructMember("state1", "uint128", "std::math::random", &docId).WithStructMember("weyl0", "uint128", "std::math::random", &docId).WithStructMember(",", "uint128", "std::math::random", &docId).WithStructMember("weyl1", "uint128", "std::math::random", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Msws64Random", "std::math::random", &docId).WithStructMember("state0", "ulong", "std::math::random", &docId).WithStructMember(",", "ulong", "std::math::random", &docId).WithStructMember("state1", "ulong", "std::math::random", &docId).WithStructMember("weyl0", "ulong", "std::math::random", &docId).WithStructMember(",", "ulong", "std::math::random", &docId).WithStructMember("weyl1", "ulong", "std::math::random", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Msws32Random", "std::math::random", &docId).WithStructMember("state0", "uint", "std::math::random", &docId).WithStructMember(",", "uint", "std::math::random", &docId).WithStructMember("state1", "uint", "std::math::random", &docId).WithStructMember("weyl0", "uint", "std::math::random", &docId).WithStructMember(",", "uint", "std::math::random", &docId).WithStructMember("weyl1", "uint", "std::math::random", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Msws16Random", "std::math::random", &docId).WithStructMember("state0", "ushort", "std::math::random", &docId).WithStructMember(",", "ushort", "std::math::random", &docId).WithStructMember("state1", "ushort", "std::math::random", &docId).WithStructMember("weyl0", "ushort", "std::math::random", &docId).WithStructMember(",", "ushort", "std::math::random", &docId).WithStructMember("weyl1", "ushort", "std::math::random", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws128Random").WithArgument(symbols.NewVariableBuilder("self", "Msws128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws128Random").WithArgument(symbols.NewVariableBuilder("self", "Msws128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws128Random").WithArgument(symbols.NewVariableBuilder("self", "Msws128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws128Random").WithArgument(symbols.NewVariableBuilder("self", "Msws128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws128Random").WithArgument(symbols.NewVariableBuilder("self", "Msws128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws128Random").WithArgument(symbols.NewVariableBuilder("self", "Msws128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws128Random").WithArgument(symbols.NewVariableBuilder("self", "Msws128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws64Random").WithArgument(symbols.NewVariableBuilder("self", "Msws64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws64Random").WithArgument(symbols.NewVariableBuilder("self", "Msws64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws64Random").WithArgument(symbols.NewVariableBuilder("self", "Msws64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws64Random").WithArgument(symbols.NewVariableBuilder("self", "Msws64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws64Random").WithArgument(symbols.NewVariableBuilder("self", "Msws64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws64Random").WithArgument(symbols.NewVariableBuilder("self", "Msws64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws64Random").WithArgument(symbols.NewVariableBuilder("self", "Msws64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws32Random").WithArgument(symbols.NewVariableBuilder("self", "Msws32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws32Random").WithArgument(symbols.NewVariableBuilder("self", "Msws32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws32Random").WithArgument(symbols.NewVariableBuilder("self", "Msws32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws32Random").WithArgument(symbols.NewVariableBuilder("self", "Msws32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws32Random").WithArgument(symbols.NewVariableBuilder("self", "Msws32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws32Random").WithArgument(symbols.NewVariableBuilder("self", "Msws32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws32Random").WithArgument(symbols.NewVariableBuilder("self", "Msws32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws16Random").WithArgument(symbols.NewVariableBuilder("self", "Msws16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws16Random").WithArgument(symbols.NewVariableBuilder("self", "Msws16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws16Random").WithArgument(symbols.NewVariableBuilder("self", "Msws16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws16Random").WithArgument(symbols.NewVariableBuilder("self", "Msws16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws16Random").WithArgument(symbols.NewVariableBuilder("self", "Msws16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws16Random").WithArgument(symbols.NewVariableBuilder("self", "Msws16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws16Random").WithArgument(symbols.NewVariableBuilder("self", "Msws16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws8Random").WithArgument(symbols.NewVariableBuilder("self", "Msws8Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws8Random").WithArgument(symbols.NewVariableBuilder("self", "Msws8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws8Random").WithArgument(symbols.NewVariableBuilder("self", "Msws8Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws8Random").WithArgument(symbols.NewVariableBuilder("self", "Msws8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws8Random").WithArgument(symbols.NewVariableBuilder("self", "Msws8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws8Random").WithArgument(symbols.NewVariableBuilder("self", "Msws8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Msws8Random").WithArgument(symbols.NewVariableBuilder("self", "Msws8Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::net::os + module = moduleCollection["std::net::os"] + module.AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_APPLETALK", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_KEEPALIVE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLPRI", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLOUT", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_IPX", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_NETBIOS", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_IRDA", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SOL_SOCKET", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BROADCAST", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_USELOOPBACK", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDTIMEO", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FIONREAD", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVTIMEO", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLERR", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLWRBAND", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FIOASYNC", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DONTROUTE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDBUF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLRDNORM", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLWRNORM", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FIONBIO", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_OOBINLINE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDLOWAT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVLOWAT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLHUP", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_REUSEADDR", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_TYPE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLNVAL", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLRDBAND", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_INET6", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_BTH", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DEBUG", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_LINGER", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLIN", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ACCEPTCONN", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVBUF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ERROR", "int", "std::net::os", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("ioctlsocket", symbols.NewTypeFromString("CInt", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmd", "CLong", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("argp", "CULong", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("closesocket", symbols.NewTypeFromString("WSAError", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("", "NativeSocket", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("socket", symbols.NewTypeFromString("NativeSocket", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("af", "AIFamily", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "AISockType", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ip_protocol", "AIProtocol", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect", symbols.NewTypeFromString("int", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "SockAddrPtr", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address_len", "Socklen_t", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bind", symbols.NewTypeFromString("int", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "SockAddrPtr", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address_len", "Socklen_t", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("listen", symbols.NewTypeFromString("int", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("backlog", "int", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("accept", symbols.NewTypeFromString("NativeSocket", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address", "SockAddrPtr", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("address_len", "Socklen_t", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_non_blocking", symbols.NewTypeFromString("void!", "std::net::os"), "std::net::os", &docId).WithTypeIdentifier("NativeSocket").WithArgument(symbols.NewVariableBuilder("self", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("non_blocking", "bool", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("close", symbols.NewTypeFromString("", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::net::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("convert_error", symbols.NewTypeFromString("anyfault", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("error", "WSAError", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("socket_error", symbols.NewTypeFromString("anyfault", "std::net::os"), "std::net::os", &docId).WithoutSourceCode().Build()) + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddVariable(symbols.NewVariableBuilder("SD_RECEIVE", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FIONBIO", "int", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLNVAL", "Win32_SHORT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLPRI", "Win32_SHORT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLERR", "Win32_SHORT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLIN", "Win32_SHORT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FIONREAD", "int", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIOCATMARK", "int", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLWRNORM", "Win32_SHORT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLWRBAND", "Win32_SHORT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLRDNORM", "Win32_SHORT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLRDBAND", "Win32_SHORT", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SD_SEND", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SD_BOTH", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLHUP", "Win32_SHORT", "std::os::win32", &docId).Build()).AddStruct(symbols.NewStructBuilder("Win32_pollfd", "std::os::win32", &docId).WithStructMember("fd", "Win32_SOCKET", "std::os::win32", &docId).WithStructMember("events", "Win32_SHORT", "std::os::win32", &docId).WithStructMember("revents", "Win32_SHORT", "std::os::win32", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_WSAPOLLFD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_PWSAPOLLFD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPWSAPOLLFD", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("win32_WSAPoll", symbols.NewTypeFromString("CInt", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("fdArray", "Win32_LPWSAPOLLFD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("fds", "Win32_ULONG", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timeout", "Win32_INT", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("win32_WSAGetLastError", symbols.NewTypeFromString("WSAError", "std::os::win32"), "std::os::win32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("win32_WSASetLastError", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("error", "WSAError", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("win32_WSAStartup", symbols.NewTypeFromString("CInt", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "void", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::win32::wsa + module = moduleCollection["std::os::win32::wsa"] + module.AddVariable(symbols.NewVariableBuilder("REFUSED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_RECEIVERS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_SENDERS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_NO_SENDERS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NO_ERROR", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EINTR", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROCLIM", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SERVICE_NOT_FOUND", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EPSFILTERSPEC", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENETRESET", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ELOOP", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TYPE_NOT_FOUND", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NOT_ENOUGH_MEMORY", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EINPROGRESS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESOCKTNOSUPPORT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EOPNOTSUPP", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EALREADY", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTSOCK", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOBUFS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EREMOTE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EINVALIDPROVIDER", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EHOSTDOWN", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EHOSTUNREACH", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EFLOWCOUNT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EINVAL", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EADDRNOTAVAIL", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECONNRESET", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ETIMEDOUT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("E_CANCELLED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HOST_NOT_FOUND", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EPOLICYOBJ", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IO_INCOMPLETE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EACCESS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECANCELLED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EINVALIDPROCTABLE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EFILTERSTYLE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EISCONN", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYSNOTREADY", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_REQUEST_CONFIRMED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EPROVSPECBUF", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EMFILE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTEMPTY", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESTALE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NOTINITIALISED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_ESERVICETYPE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EFILTERTYPE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EDESTADDRREQ", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPFNOSUPPORT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTCONN", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ETOOMANYREFS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EDISCON", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_NO_RECEIVERS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_GENERIC_ERROR", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("INVALID_HANDLE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECONNABORTED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENAMETOOLONG", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EDQUOT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_ADMISSION_FAILURE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EFLOWSPEC", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EBADF", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EWOULDBLOCK", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROTOTYPE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EUSERS", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NO_DATA", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_BAD_STYLE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EUNKOWNPSOBJ", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EFAULT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENETDOWN", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("VERNOTSUPPORTED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROVIDERFAILEDINIT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SYSCALLFAILURE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EPSFLOWSPEC", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EMSGSIZE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROTONOSUPPORT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EADDRINUSE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESHUTDOWN", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENETUNREACH", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("E_NO_MORE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_BAD_OBJECT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EFILTERCOUNT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("INVALID_PARAMETER", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IO_PENDING", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOPROTOOPT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EAFNOSUPPORT", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("OPERATION_ABORTED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TRY_AGAIN", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EFLOWDESC", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_ESDMODEOBJ", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_TRAFFIC_CTRL_ERROR", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_EOBJLENGTH", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_ESHAPERATEOBJ", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_RESERVED_PETYPE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECONNREFUSED", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOMORE", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NO_RECOVERY", "WSAError", "std::os::win32::wsa", &docId).Build()).AddVariable(symbols.NewVariableBuilder("QOS_POLICY_FAILURE", "WSAError", "std::os::win32::wsa", &docId).Build()) + + // Define module std::time + module = moduleCollection["std::time"] + module.AddVariable(symbols.NewVariableBuilder("HOUR", "Duration", "std::time", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MONTH", "Duration", "std::time", &docId).Build()).AddVariable(symbols.NewVariableBuilder("YEAR", "Duration", "std::time", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MS", "Duration", "std::time", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SEC", "Duration", "std::time", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MIN", "Duration", "std::time", &docId).Build()).AddVariable(symbols.NewVariableBuilder("US", "Duration", "std::time", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DAY", "Duration", "std::time", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WEEK", "Duration", "std::time", &docId).Build()).AddStruct(symbols.NewStructBuilder("DateTime", "std::time", &docId).WithStructMember("usec", "int", "std::time", &docId).WithStructMember("sec", "char", "std::time", &docId).WithStructMember("min", "char", "std::time", &docId).WithStructMember("hour", "char", "std::time", &docId).WithStructMember("day", "char", "std::time", &docId).WithStructMember("month", "Month", "std::time", &docId).WithStructMember("weekday", "Weekday", "std::time", &docId).WithStructMember("year", "int", "std::time", &docId).WithStructMember("year_day", "ushort", "std::time", &docId).WithStructMember("time", "Time", "std::time", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("TzDateTime", "std::time", &docId).WithStructMember("date_time", "DateTime", "std::time", &docId).WithStructMember("gmt_offset", "int", "std::time", &docId).WithStructMember("usec", "int", "std::time", &docId).WithStructMember("sec", "char", "std::time", &docId).WithStructMember("min", "char", "std::time", &docId).WithStructMember("hour", "char", "std::time", &docId).WithStructMember("day", "char", "std::time", &docId).WithStructMember("month", "Month", "std::time", &docId).WithStructMember("weekday", "Weekday", "std::time", &docId).WithStructMember("year", "int", "std::time", &docId).WithStructMember("year_day", "ushort", "std::time", &docId).WithStructMember("time", "Time", "std::time", &docId).WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("Month", "char", "std::time", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("JANUARY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FEBRUARY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MARCH", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("APRIL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("JUNE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("JULY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AUGUST", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SEPTEMBER", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("OCTOBER", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NOVEMBER", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("DECEMBER", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddEnum(symbols.NewEnumBuilder("Weekday", "char", "std::time", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("MONDAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TUESDAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WEDNESDAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("THURSDAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FRIDAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SATURDAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SUNDAY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("us", symbols.NewTypeFromString("Duration", "std::time"), "std::time", &docId).WithArgument(symbols.NewVariableBuilder("l", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ms", symbols.NewTypeFromString("Duration", "std::time"), "std::time", &docId).WithArgument(symbols.NewVariableBuilder("l", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sec", symbols.NewTypeFromString("Duration", "std::time"), "std::time", &docId).WithArgument(symbols.NewVariableBuilder("l", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("min", symbols.NewTypeFromString("Duration", "std::time"), "std::time", &docId).WithArgument(symbols.NewVariableBuilder("l", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hour", symbols.NewTypeFromString("Duration", "std::time"), "std::time", &docId).WithArgument(symbols.NewVariableBuilder("l", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("from_float", symbols.NewTypeFromString("Duration", "std::time"), "std::time", &docId).WithArgument(symbols.NewVariableBuilder("s", "double", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("now", symbols.NewTypeFromString("Time", "std::time"), "std::time", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_seconds", symbols.NewTypeFromString("Time", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seconds", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_minutes", symbols.NewTypeFromString("Time", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("minutes", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_hours", symbols.NewTypeFromString("Time", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hours", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_days", symbols.NewTypeFromString("Time", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("days", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_weeks", symbols.NewTypeFromString("Time", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("weeks", "long", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_duration", symbols.NewTypeFromString("Time", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("duration", "Duration", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_seconds", symbols.NewTypeFromString("double", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_us", symbols.NewTypeFromString("Duration", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "Time", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_sec", symbols.NewTypeFromString("double", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "Time", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_min", symbols.NewTypeFromString("double", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "Time", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_hour", symbols.NewTypeFromString("double", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "Time", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_days", symbols.NewTypeFromString("double", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "Time", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_weeks", symbols.NewTypeFromString("double", "std::time"), "std::time", &docId).WithTypeIdentifier("Time").WithArgument(symbols.NewVariableBuilder("time", "", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other", "Time", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_sec", symbols.NewTypeFromString("double", "std::time"), "std::time", &docId).WithTypeIdentifier("NanoDuration").WithArgument(symbols.NewVariableBuilder("nd", "", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_ms", symbols.NewTypeFromString("long", "std::time"), "std::time", &docId).WithTypeIdentifier("NanoDuration").WithArgument(symbols.NewVariableBuilder("nd", "", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_duration", symbols.NewTypeFromString("Duration", "std::time"), "std::time", &docId).WithTypeIdentifier("NanoDuration").WithArgument(symbols.NewVariableBuilder("nd", "", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_nano", symbols.NewTypeFromString("NanoDuration", "std::time"), "std::time", &docId).WithTypeIdentifier("Duration").WithArgument(symbols.NewVariableBuilder("td", "", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_ms", symbols.NewTypeFromString("long", "std::time"), "std::time", &docId).WithTypeIdentifier("Duration").WithArgument(symbols.NewVariableBuilder("td", "", "std::time", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::time"), "std::time", &docId).WithTypeIdentifier("NanoDuration").WithArgument(symbols.NewVariableBuilder("self", "NanoDuration", "std::time", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::time", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::dstring + module = moduleCollection["std::core::dstring"] + module.AddVariable(symbols.NewVariableBuilder("MIN_CAPACITY", "usz", "std::core::dstring", &docId).Build()).AddStruct(symbols.NewStructBuilder("StringData", "std::core::dstring", &docId).WithStructMember("allocator", "Allocator", "std::core::dstring", &docId).WithStructMember("len", "usz", "std::core::dstring", &docId).WithStructMember("capacity", "usz", "std::core::dstring", &docId).WithStructMember("chars", "char", "std::core::dstring", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("capacity", "usz", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("capacity", "usz", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_with_capacity", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithArgument(symbols.NewVariableBuilder("capacity", "usz", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_with_capacity", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithArgument(symbols.NewVariableBuilder("capacity", "usz", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithArgument(symbols.NewVariableBuilder("c", "String", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_new", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithArgument(symbols.NewVariableBuilder("s", "String", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_concat", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_concat", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("zstr_view", symbols.NewTypeFromString("ZString", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("capacity", symbols.NewTypeFromString("usz", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("chop", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_size", "usz", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("str_view", symbols.NewTypeFromString("String", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append_utf32", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("chars", "Char32", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append_repeat", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("times", "usz", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append_char32", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "Char32", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tcopy", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy_zstr", symbols.NewTypeFromString("ZString", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy_str", symbols.NewTypeFromString("String", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tcopy_str", symbols.NewTypeFromString("String", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("bool", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_string", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("less", symbols.NewTypeFromString("bool", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_string", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append_chars", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str", "String", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy_utf32", symbols.NewTypeFromString("Char32", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append_string", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("usz!", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_byte", symbols.NewTypeFromString("void!", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append_char", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("delete_range", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "usz", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("end", "usz", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("delete", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "usz", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "usz", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append", symbols.NewTypeFromString("", "std::core::dstring"), "std::core::dstring", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::dstring", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("insert_at", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "String", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("appendf", symbols.NewTypeFromString("usz!", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "String", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("appendfn", symbols.NewTypeFromString("usz!", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "String", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_join", symbols.NewTypeFromString("DString", "std::core::dstring"), "std::core::dstring", &docId).WithArgument(symbols.NewVariableBuilder("s", "String", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("joiner", "String", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_string_append_fn", symbols.NewTypeFromString("void!", "std::core::dstring"), "std::core::dstring", &docId).WithArgument(symbols.NewVariableBuilder("data", "void", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("data", symbols.NewTypeFromString("StringData*", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reserve", symbols.NewTypeFromString("void", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("addition", "usz", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_from_stream", symbols.NewTypeFromString("usz!", "std::core::dstring"), "std::core::dstring", &docId).WithTypeIdentifier("DString").WithArgument(symbols.NewVariableBuilder("self", "DString", "std::core::dstring", &docId).Build()).WithArgument(symbols.NewVariableBuilder("reader", "InStream", "std::core::dstring", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("__cos", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddVariable(symbols.NewVariableBuilder("INIT_JK", "int[*]", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPIO2", "int[*]", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PIO2", "double[*]", "std::math::nolibc", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("__rem_pio2f", symbols.NewTypeFromString("int", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__rem_pio2_large", symbols.NewTypeFromString("int", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("e0", "int", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nx", "int", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("prec", "int", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__rem_pio2", symbols.NewTypeFromString("int", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::net::os + module = moduleCollection["std::net::os"] + module.AddVariable(symbols.NewVariableBuilder("POLLRDHUP", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_REUSEADDR", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_TYPE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PROTOCOL", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLWRBAND", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_NOFCS", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLRDNORM", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_NETROM", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_BRIDGE", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDBUF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PASSSEC", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BUSY_POLL", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_INCOMING_NAPI_ID", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BINDTOIFINDEX", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ERROR", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DONTROUTE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVBUF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDTIMEO", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_OOBINLINE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_REUSEPORT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_MARK", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BUF_LOCK", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_KEEPALIVE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PEERSEC", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PASSPIDFD", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLWRNORM", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLL_BUSY_LOOP", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_INET6", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BSDCOMPAT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVTIMEO", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_TIMESTAMP", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLFREE", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_AAL5", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ATTACH_FILTER", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PREFER_BUSY_POLL", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_TXREHASH", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_IPX", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RESERVE_MEM", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PEERPIDFD", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLREMOVE", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_NO_CHECK", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DOMAIN", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RXQ_OVFL", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_INCOMING_CPU", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SELECT_ERR_QUEUE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PEERGROUPS", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLRDBAND", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SOL_SOCKET", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DEBUG", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PRIORITY", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BINDTODEVICE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_APPLETALK", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BROADCAST", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_MAX_PACING_RATE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BPF_EXTENSIONS", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_CNX_ADVICE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_NETNS_COOKIE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVLOWAT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_WIFI_STATUS", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_LOCK_FILTER", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ATTACH_REUSEPORT_CBPF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ATTACH_BPF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ZEROCOPY", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_TXTIME", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_X25", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_O_NONBLOCK", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVBUFFORCE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PEEK_OFF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_MEMINFO", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DETACH_REUSEPORT_BPF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLMSG", "CUShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_AX25", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DETACH_FILTER", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ACCEPTCONN", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ATTACH_REUSEPORT_EBPF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BUSY_POLL_BUDGET", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_LINGER", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PEERNAME", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDBUFFORCE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_COOKIE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDLOWAT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVMARK", "int", "std::net::os", &docId).Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddVariable(symbols.NewVariableBuilder("stdin_file", "File", "std::io", &docId).Build()).AddVariable(symbols.NewVariableBuilder("stdout_file", "File", "std::io", &docId).Build()).AddVariable(symbols.NewVariableBuilder("stderr_file", "File", "std::io", &docId).Build()).AddStruct(symbols.NewStructBuilder("BufferData", "std::io", &docId).WithStructMember("buffer", "char", "std::io", &docId).WithStructMember("written", "usz", "std::io", &docId).WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("Seek", "", "std::io", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("SET", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CURSOR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("END", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFault(symbols.NewFaultBuilder("IoError", "", "std::io", &docId).WithConstant(symbols.NewFaultConstantBuilder("ALREADY_EXISTS", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("BUSY", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("CANNOT_READ_DIR", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("DIR_NOT_EMPTY", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("EOF", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FILE_CANNOT_DELETE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FILE_IS_DIR", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FILE_IS_PIPE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FILE_NOT_DIR", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FILE_NOT_FOUND", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FILE_NOT_VALID", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("GENERAL_ERROR", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("ILLEGAL_ARGUMENT", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INCOMPLETE_WRITE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INTERRUPTED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_POSITION", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_PUSHBACK", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("NAME_TOO_LONG", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("NOT_SEEKABLE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("NO_PERMISSION", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("OUT_OF_SPACE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("OVERFLOW", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("READ_ONLY", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("SYMLINK_FAILED", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("TOO_MANY_DESCRIPTORS", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("UNEXPECTED_EOF", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("UNKNOWN_ERROR", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("UNSUPPORTED_OPERATION", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("WOULD_BLOCK", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("readline", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("stream", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("treadline", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("stream", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fprint", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("out", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fprintf", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("out", "OutStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fprintfn", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("out", "OutStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fprintn", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("out", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("print", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("printn", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("eprint", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("eprintn", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("x", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_putstream_fn", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("data", "void", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_putchar_fn", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("data", "void", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("printf", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("printfn", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("eprintf", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("eprintfn", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bprintf", symbols.NewTypeFromString("char!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "String", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("out_buffer_fn", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("data", "void", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("putchar", symbols.NewTypeFromString("void", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdout", symbols.NewTypeFromString("File*", "std::io"), "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stderr", symbols.NewTypeFromString("File*", "std::io"), "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdin", symbols.NewTypeFromString("File*", "std::io"), "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("putchar", symbols.NewTypeFromString("void", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdout", symbols.NewTypeFromString("File*", "std::io"), "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stderr", symbols.NewTypeFromString("File*", "std::io"), "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdin", symbols.NewTypeFromString("File*", "std::io"), "std::io", &docId).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddStruct(symbols.NewStructBuilder("Scanner", "std::io", &docId).WithStructMember("wrapped_stream", "InStream", "std::io", &docId).WithStructMember("buf", "char", "std::io", &docId).WithStructMember("pattern_idx", "usz", "std::io", &docId).WithStructMember("read_idx", "usz", "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::io"), "std::io", &docId).WithTypeIdentifier("Scanner").WithArgument(symbols.NewVariableBuilder("self", "Scanner", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "InStream", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("flush", symbols.NewTypeFromString("char", "std::io"), "std::io", &docId).WithTypeIdentifier("Scanner").WithArgument(symbols.NewVariableBuilder("self", "Scanner", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("close", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("Scanner").WithArgument(symbols.NewVariableBuilder("self", "Scanner", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("scan", symbols.NewTypeFromString("char!", "std::io"), "std::io", &docId).WithTypeIdentifier("Scanner").WithArgument(symbols.NewVariableBuilder("self", "Scanner", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("pattern", "String", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("find", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("pattern", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("refill", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("Scanner").WithArgument(symbols.NewVariableBuilder("self", "Scanner", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_byte", symbols.NewTypeFromString("char!", "std::io"), "std::io", &docId).WithTypeIdentifier("Scanner").WithArgument(symbols.NewVariableBuilder("self", "Scanner", "std::io", &docId).Build()).WithoutSourceCode().Build()) + + // Define module libc + module = moduleCollection["libc"] + module.AddStruct(symbols.NewStructBuilder("SystemInfo", "libc", &docId).WithStructMember("dwPageSize", "uint", "libc", &docId).WithStructMember("lpMinimumApplicationAddress", "void", "libc", &docId).WithStructMember("lpMaximumApplicationAddress", "void", "libc", &docId).WithStructMember("dwActiveProcessorMask", "usz", "libc", &docId).WithStructMember("dwNumberOfProcessors", "uint", "libc", &docId).WithStructMember("dwProcessorType", "uint", "libc", &docId).WithStructMember("dwAllocationGranularity", "uint", "libc", &docId).WithStructMember("wProcessorLevel", "ushort", "libc", &docId).WithStructMember("wProcessorRevision", "ushort", "libc", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("difftime = _difftime64", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("fdopen = _fdopen", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("fileno = _fileno", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("fseek = _fseeki64", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ftell = _ftelli64", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("timegm = _mkgmtime64", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("mktime = _mktime64", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("close = _close", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__acrt_iob_func", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("c", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_close", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "Fd", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_difftime64", symbols.NewTypeFromString("double", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("time1", "Time_t", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("time2", "Time_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_fdopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "Fd", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_fileno", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_fseeki64", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "int", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "int", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "int", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_ftelli64", symbols.NewTypeFromString("CLong", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_get_timezone", symbols.NewTypeFromString("Errno", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timezone", "CLong", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_gmtime64_s", symbols.NewTypeFromString("Tm*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buf", "Tm", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_localtime64_s", symbols.NewTypeFromString("Tm*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buf", "Tm", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_mkgmtime64", symbols.NewTypeFromString("Time_t", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timeptr", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_mktime64", symbols.NewTypeFromString("Time_t", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timeptr", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_msize", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_read", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "Fd", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer_size", "CUInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_setjmp", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("frameptr", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "JmpBuf", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_wfopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "WString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "WString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_wfreopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_write", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "Fd", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("count", "CUInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_wremove", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "WString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_system_info", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "SystemInfo", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("localtime_r", symbols.NewTypeFromString("", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "Tm", "libc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setjmp", symbols.NewTypeFromString("", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "JmpBuf", "libc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("gmtime_r", symbols.NewTypeFromString("", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "Tm", "libc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "Fd", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer_size", "usz", "libc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "Fd", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("count", "usz", "libc", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("_top12f", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_exp2f", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_exp2_specialcase", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("tmp", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sbits", "ulong", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ki", "ulong", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_top12d", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_exp2", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("sincos_broken", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::env + module = moduleCollection["std::core::env"] + module.AddVariable(symbols.NewVariableBuilder("DARWIN", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AARCH64", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("OPENBSD", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ARCH_TYPE", "ArchType", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("REGISTER_SIZE", "", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MEMORY_ENV", "MemoryEnvironment", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("BENCHMARKING", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("X86_64", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WASM_NOLIBC", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("LIBC", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("I128_NATIVE_SUPPORT", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("LLVM_VERSION", "usz", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("LINUX", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WIN32", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FREEBSD", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("OS_TYPE", "OsType", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("COMPILER_OPT_LEVEL", "CompilerOptLevel", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("F16_SUPPORT", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TESTING", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DISABLE_BUILTIN_PREFETCH", "", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ARCH_64_BIT", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("BIG_ENDIAN", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DEBUG_SYMBOLS", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WASI", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NO_LIBC", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("F128_SUPPORT", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("COMPILER_SAFE_MODE", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NATIVE_STACKTRACE", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DISABLE_BUILTIN_EXPECT", "", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ARCH_32_BIT", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TRACK_MEMORY", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("X86", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POSIX", "bool", "std::core::env", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NETBSD", "bool", "std::core::env", &docId).Build()).AddEnum(symbols.NewEnumBuilder("CompilerOptLevel", "", "std::core::env", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("O0", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("O1", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("O2", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("O3", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddEnum(symbols.NewEnumBuilder("MemoryEnvironment", "", "std::core::env", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("NORMAL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SMALL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TINY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NONE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddEnum(symbols.NewEnumBuilder("OsType", "", "std::core::env", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("UNKNOWN", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NONE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ANANAS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CLOUD_ABI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("DRAGON_FLY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FREEBSD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FUCHSIA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("IOS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("KFREEBSD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("LINUX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PS3", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MACOS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NETBSD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("OPENBSD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SOLARIS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WIN32", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("HAIKU", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MINIX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RTEMS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NACL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CNK", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AIX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CUDA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NVOPENCL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMDHSA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PS4", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ELFIAMCU", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TVOS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WATCHOS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MESA3D", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("CONTIKI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMDPAL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("HERMITCORE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("HURD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WASI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("EMSCRIPTEN", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddEnum(symbols.NewEnumBuilder("ArchType", "", "std::core::env", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("UNKNOWN", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ARM", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ARMB", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AARCH64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AARCH64_BE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AARCH64_32", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("ARC", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AVR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("BPFEL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("BPFEB", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("HEXAGON", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MIPS", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MIPSEL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MIPS64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MIPS64EL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MSP430", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PPC", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PPC64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("PPC64LE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("R600", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMDGCN", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RISCV32", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RISCV64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SPARC", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SPARCV9", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SPARCEL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SYSTEMZ", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TCE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TCELE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("THUMB", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("THUMBEB", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("X86", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("X86_64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("XCORE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NVPTX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NVPTX64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("LE32", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("LE64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMDIL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AMDIL64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("HSAIL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("HSAIL64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SPIR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SPIR64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("KALIMBA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("SHAVE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("LANAI", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WASM32", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("WASM64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RSCRIPT32", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RSCRIPT64", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("os_is_darwin", symbols.NewTypeFromString("", "std::core::env"), "std::core::env", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("os_is_posix", symbols.NewTypeFromString("", "std::core::env"), "std::core::env", &docId).IsMacro().WithoutSourceCode().Build()) + + // Define module std::core::string::iterator + module = moduleCollection["std::core::string::iterator"] + module.AddStruct(symbols.NewStructBuilder("StringIterator", "std::core::string::iterator", &docId).WithStructMember("utf8", "String", "std::core::string::iterator", &docId).WithStructMember("current", "usz", "std::core::string::iterator", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reset", symbols.NewTypeFromString("void", "std::core::string::iterator"), "std::core::string::iterator", &docId).WithTypeIdentifier("StringIterator").WithArgument(symbols.NewVariableBuilder("self", "StringIterator", "std::core::string::iterator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next", symbols.NewTypeFromString("Char32!", "std::core::string::iterator"), "std::core::string::iterator", &docId).WithTypeIdentifier("StringIterator").WithArgument(symbols.NewVariableBuilder("self", "StringIterator", "std::core::string::iterator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::hash::fnv64a + module = moduleCollection["std::hash::fnv64a"] + module.AddVariable(symbols.NewVariableBuilder("FNV64A_START", "", "std::hash::fnv64a", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FNV64A_MUL", "", "std::hash::fnv64a", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("@update", symbols.NewTypeFromString("", "std::hash::fnv64a"), "std::hash::fnv64a", &docId).WithArgument(symbols.NewVariableBuilder("h", "ulong", "std::hash::fnv64a", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "char", "std::hash::fnv64a", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::hash::fnv64a"), "std::hash::fnv64a", &docId).WithTypeIdentifier("Fnv64a").WithArgument(symbols.NewVariableBuilder("self", "Fnv64a", "std::hash::fnv64a", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("update", symbols.NewTypeFromString("void", "std::hash::fnv64a"), "std::hash::fnv64a", &docId).WithTypeIdentifier("Fnv64a").WithArgument(symbols.NewVariableBuilder("self", "Fnv64a", "std::hash::fnv64a", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::fnv64a", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("update_char", symbols.NewTypeFromString("", "std::hash::fnv64a"), "std::hash::fnv64a", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::hash::fnv64a", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::hash::fnv64a", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("encode", symbols.NewTypeFromString("ulong", "std::hash::fnv64a"), "std::hash::fnv64a", &docId).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::fnv64a", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::darwin + module = moduleCollection["std::os::darwin"] + module.AddVariable(symbols.NewVariableBuilder("CTL_UNSPEC", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_VM", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_BYTEORDER", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_USERMEM", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_CACHELINE", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L2SETTINGS", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_KERN", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_MACHINE", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_NCPU", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_PHYSMEM", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_FLOATINGPT", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_CPU_FREQ", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_USER", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_MAXID", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_DISKSTATS", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L1DCACHESIZE", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L2CACHESIZE", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_VFS", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_DEBUG", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_BUS_FREQ", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L3CACHESIZE", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_MAXID", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_MACHDEP", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_MODEL", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_PAGESIZE", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_DISKNAMES", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_MACHINE_ARCH", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L3SETTINGS", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_NET", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_HW", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_EPOCH", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_VECTORUNIT", "", "std::os::darwin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L1ICACHESIZE", "", "std::os::darwin", &docId).Build()).AddStruct(symbols.NewStructBuilder("Darwin_Dl_info", "std::os::darwin", &docId).WithStructMember("dli_fname", "ZString", "std::os::darwin", &docId).WithStructMember("dli_fbase", "void", "std::os::darwin", &docId).WithStructMember("dli_sname", "ZString", "std::os::darwin", &docId).WithStructMember("dli_saddr", "void", "std::os::darwin", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Darwin_segment_command_64", "std::os::darwin", &docId).WithStructMember("cmd", "uint", "std::os::darwin", &docId).WithStructMember("cmdsize", "uint", "std::os::darwin", &docId).WithStructMember("segname", "char", "std::os::darwin", &docId).WithStructMember("vmaddr", "ulong", "std::os::darwin", &docId).WithStructMember("vmsize", "ulong", "std::os::darwin", &docId).WithStructMember("fileoff", "ulong", "std::os::darwin", &docId).WithStructMember("filesize", "ulong", "std::os::darwin", &docId).WithStructMember("maxprot", "int", "std::os::darwin", &docId).WithStructMember("initprot", "int", "std::os::darwin", &docId).WithStructMember("nsects", "uint", "std::os::darwin", &docId).WithStructMember("flags", "uint", "std::os::darwin", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sysctl", symbols.NewTypeFromString("CInt", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("name", "CInt", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("namelen", "CUInt", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("oldp", "void", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("oldlenp", "usz", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("newp", "void", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("newlen", "usz", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("darwin_NSGetExecutablePath", symbols.NewTypeFromString("CInt", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "uint", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getsegbyname", symbols.NewTypeFromString("Darwin_segment_command_64*", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("segname", "ZString", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_dyld_image_count", symbols.NewTypeFromString("uint", "std::os::darwin"), "std::os::darwin", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_dyld_get_image_name", symbols.NewTypeFromString("ZString", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("image_index", "uint", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_dyld_get_image_vmaddr_slide", symbols.NewTypeFromString("iptr", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("image_index", "uint", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dladdr", symbols.NewTypeFromString("CInt", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("addr", "void", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("info", "Darwin_Dl_info", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("executable_path", symbols.NewTypeFromString("String!", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("load_address", symbols.NewTypeFromString("uptr!", "std::os::darwin"), "std::os::darwin", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace_load_element", symbols.NewTypeFromString("Backtrace!", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("execpath", "String", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "void", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("load_address", "void", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symbolize_backtrace", symbols.NewTypeFromString("BacktraceList!", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("backtrace", "void", "std::os::darwin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddFunction(symbols.NewFunctionBuilder("_aligned_malloc", symbols.NewTypeFromString("void*", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_aligned_realloc", symbols.NewTypeFromString("void*", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("memblock", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_aligned_recalloc", symbols.NewTypeFromString("void*", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("memblock", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_aligned_free", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("memblock", "void", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_aligned_msize", symbols.NewTypeFromString("void", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("memblock", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "usz", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_aligned_offset_malloc", symbols.NewTypeFromString("void*", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "usz", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_aligned_offset_realloc", symbols.NewTypeFromString("void*", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("memblock", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "usz", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_aligned_offset_recalloc", symbols.NewTypeFromString("void*", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("memblock", "void", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "usz", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_msize", symbols.NewTypeFromString("usz", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("memblock", "void", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::ascii + module = moduleCollection["std::ascii"] + module.AddFunction(symbols.NewFunctionBuilder("in_range_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "", "std::ascii", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_lower_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_upper_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_digit_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_bdigit_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odigit_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_xdigit_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_alpha_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_print_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_graph_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_space_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_alnum_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_punct_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_blank_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_cntrl_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_lower_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_upper_m", symbols.NewTypeFromString("", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "", "std::ascii", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("in_range", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "char", "std::ascii", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_lower", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_upper", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_digit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_bdigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_xdigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_alpha", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_print", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_graph", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_space", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_alnum", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_punct", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_blank", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_cntrl", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_lower", symbols.NewTypeFromString("char", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_upper", symbols.NewTypeFromString("char", "std::ascii"), "std::ascii", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("in_range", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "char", "std::ascii", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_lower", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_upper", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_digit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_bdigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_xdigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_alpha", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_print", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_graph", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_space", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_alnum", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_punct", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_blank", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_cntrl", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_lower", symbols.NewTypeFromString("char", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_upper", symbols.NewTypeFromString("char", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("from_hex", symbols.NewTypeFromString("char", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("char").WithArgument(symbols.NewVariableBuilder("c", "char", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("in_range", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "uint", "std::ascii", &docId).Build()).WithArgument(symbols.NewVariableBuilder("len", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_lower", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_upper", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_digit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_bdigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_odigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_xdigit", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_alpha", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_print", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_graph", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_space", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_alnum", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_punct", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_blank", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_cntrl", symbols.NewTypeFromString("bool", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_lower", symbols.NewTypeFromString("uint", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_upper", symbols.NewTypeFromString("uint", "std::ascii"), "std::ascii", &docId).WithTypeIdentifier("uint").WithArgument(symbols.NewVariableBuilder("c", "uint", "std::ascii", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("native_fopen", symbols.NewTypeFromString("void*!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_remove", symbols.NewTypeFromString("void!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_freopen", symbols.NewTypeFromString("void*!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "void", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "String", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_fseek", symbols.NewTypeFromString("void!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "void", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "isz", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seek_mode", "Seek", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_ftell", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_fwrite", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_fread", symbols.NewTypeFromString("usz!", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::io::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("file_open_errno", symbols.NewTypeFromString("", "std::io::os"), "std::io::os", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("file_seek_errno", symbols.NewTypeFromString("", "std::io::os"), "std::io::os", &docId).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("_trunc", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_truncf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddVariable(symbols.NewVariableBuilder("C1", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("C2", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("C3", "double", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("C0", "double", "std::math::nolibc", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("__cosdf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::net::os + module = moduleCollection["std::net::os"] + module.AddVariable(symbols.NewVariableBuilder("POLLWRBAND", "CShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_PUP", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_ECMA", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_ROUTE", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_COIP", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_NETBIOS", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_WANTOOBFLAG", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_NWRITE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_CNT", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_NUMERICSERV", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_V4MAPPED", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_PSEUDO_AF_HDRCMPLT", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLATTRIB", "CShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_DLI", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_PSEUDO_AF_XTP", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_VSOCK", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_REUSEADDR", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDBUF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDTIMEO", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLRDBAND", "CShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_CCITT", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_NDRV", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVTIMEO", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLEXTEND", "CShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_APPLETALK", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_LINK", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DONTROUTE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_OOBINLINE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVBUF", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_REUSESHAREUID", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLRDNORM", "CShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_V4MAPPED_CFG", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_DATAKIT", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_IPX", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_SYSTEM", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_PEERLABEL", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_DECNET", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_LINGER", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_CHAOS", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_LAT", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_PSEUDO_AF_RTIP", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_UTUN", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ACCEPTCONN", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_BROADCAST", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLOUT", "CShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_ALL", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_ADDRCONFIG", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_NOADDRERR", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_DEFAULT", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_ISDN", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_NATM", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DEBUG", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_USELOOPBACK", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_WANTMORE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLNLINK", "CShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("POLLWRITE", "CShort", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_HYLINK", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_SIP", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_IEEE80211", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_KEEPALIVE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_TIMESTAMP", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_SNDLOWAT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_RCVLOWAT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_IMPLINK", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_PSEUDO_AF_PIP", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_TYPE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_LABEL", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_NKE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_NREAD", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_UNUSABLE", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_NS", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_SNA", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_INET6", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_PPP", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_O_NONBLOCK", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SOL_SOCKET", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_NOSIGPIPE", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_LINGER_SEC", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_ISO", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_PSEUDO_AF_KEY", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_MAX", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_REUSEPORT", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_TIMESTAMP_MONOTONIC", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_DONTTRUNC", "int", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SO_ERROR", "int", "std::net::os", &docId).Build()) + + // Define module std::collections::map + module = moduleCollection["std::collections::map"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{ + "Key": symbols.NewGenericParameter("Key", "std::collections::map", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Value": symbols.NewGenericParameter("Value", "std::collections::map", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + }).AddVariable(symbols.NewVariableBuilder("DEFAULT_INITIAL_CAPACITY", "uint", "std::collections::map", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MAXIMUM_CAPACITY", "uint", "std::collections::map", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DEFAULT_LOAD_FACTOR", "float", "std::collections::map", &docId).Build()).AddVariable(symbols.NewVariableBuilder("VALUE_IS_EQUATABLE", "", "std::collections::map", &docId).Build()).AddVariable(symbols.NewVariableBuilder("COPY_KEYS", "bool", "std::collections::map", &docId).Build()).AddStruct(symbols.NewStructBuilder("HashMap", "std::collections::map", &docId).WithStructMember("table", "Entry", "std::collections::map", &docId).WithStructMember("allocator", "Allocator", "std::collections::map", &docId).WithStructMember("count", "uint", "std::collections::map", &docId).WithStructMember("threshold", "uint", "std::collections::map", &docId).WithStructMember("load_factor", "float", "std::collections::map", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Entry", "std::collections::map", &docId).WithStructMember("hash", "uint", "std::collections::map", &docId).WithStructMember("key", "Key", "std::collections::map", &docId).WithStructMember("value", "Value", "std::collections::map", &docId).WithStructMember("next", "Entry", "std::collections::map", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("HashMap*", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("self", "HashMap", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("capacity", "uint", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("load_factor", "float", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("HashMap*", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("self", "HashMap", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("capacity", "uint", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("load_factor", "float", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_initialized", symbols.NewTypeFromString("bool", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init_from_map", symbols.NewTypeFromString("HashMap*", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("self", "HashMap", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_map", "HashMap", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init_from_map", symbols.NewTypeFromString("HashMap*", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_map", "HashMap", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_empty", symbols.NewTypeFromString("bool", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_ref", symbols.NewTypeFromString("Value*!", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_entry", symbols.NewTypeFromString("Entry*!", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@get_or_set", symbols.NewTypeFromString("", "std::collections::map"), "std::collections::map", &docId).WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Value", "std::collections::map", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("Value!", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("has_key", symbols.NewTypeFromString("bool", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("bool", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Value", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove", symbols.NewTypeFromString("void!", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("key_tlist", symbols.NewTypeFromString("Key", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("key_new_list", symbols.NewTypeFromString("Key", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@each", symbols.NewTypeFromString("", "std::collections::map"), "std::collections::map", &docId).WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@each_entry", symbols.NewTypeFromString("", "std::collections::map"), "std::collections::map", &docId).WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("value_tlist", symbols.NewTypeFromString("Value", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("value_new_list", symbols.NewTypeFromString("Value", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("has_value", symbols.NewTypeFromString("bool", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v", "Value", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_entry", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hash", "uint", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Value", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bucket_index", "uint", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_capacity", "uint", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rehash", symbols.NewTypeFromString("uint", "std::collections::map"), "std::collections::map", &docId).WithArgument(symbols.NewVariableBuilder("hash", "uint", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("index_for", symbols.NewTypeFromString("", "std::collections::map"), "std::collections::map", &docId).WithArgument(symbols.NewVariableBuilder("hash", "uint", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("capacity", "uint", "std::collections::map", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("transfer", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_table", "Entry", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("put_all_for_create", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_map", "HashMap", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("put_for_create", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Value", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free_internal", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_entry_for_key", symbols.NewTypeFromString("bool", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("create_entry", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("map", "", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hash", "uint", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key", "Key", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Value", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bucket_index", "int", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free_entry", symbols.NewTypeFromString("void", "std::collections::map"), "std::collections::map", &docId).WithTypeIdentifier("HashMap").WithArgument(symbols.NewVariableBuilder("self", "HashMap", "std::collections::map", &docId).Build()).WithArgument(symbols.NewVariableBuilder("entry", "Entry", "std::collections::map", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::hash::adler32 + module = moduleCollection["std::hash::adler32"] + module.AddVariable(symbols.NewVariableBuilder("ADLER_CONST", "uint", "std::hash::adler32", &docId).Build()).AddStruct(symbols.NewStructBuilder("Adler32", "std::hash::adler32", &docId).WithStructMember("a", "uint", "std::hash::adler32", &docId).WithStructMember("b", "uint", "std::hash::adler32", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::hash::adler32"), "std::hash::adler32", &docId).WithTypeIdentifier("Adler32").WithArgument(symbols.NewVariableBuilder("self", "Adler32", "std::hash::adler32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("updatec", symbols.NewTypeFromString("void", "std::hash::adler32"), "std::hash::adler32", &docId).WithTypeIdentifier("Adler32").WithArgument(symbols.NewVariableBuilder("self", "Adler32", "std::hash::adler32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::hash::adler32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("update", symbols.NewTypeFromString("void", "std::hash::adler32"), "std::hash::adler32", &docId).WithTypeIdentifier("Adler32").WithArgument(symbols.NewVariableBuilder("self", "Adler32", "std::hash::adler32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::adler32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("final", symbols.NewTypeFromString("uint", "std::hash::adler32"), "std::hash::adler32", &docId).WithTypeIdentifier("Adler32").WithArgument(symbols.NewVariableBuilder("self", "Adler32", "std::hash::adler32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("encode", symbols.NewTypeFromString("uint", "std::hash::adler32"), "std::hash::adler32", &docId).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::adler32", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::hash::fnv32a + module = moduleCollection["std::hash::fnv32a"] + module.AddVariable(symbols.NewVariableBuilder("FNV32A_START", "", "std::hash::fnv32a", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FNV32A_MUL", "", "std::hash::fnv32a", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("@update", symbols.NewTypeFromString("", "std::hash::fnv32a"), "std::hash::fnv32a", &docId).WithArgument(symbols.NewVariableBuilder("h", "uint", "std::hash::fnv32a", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "char", "std::hash::fnv32a", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::hash::fnv32a"), "std::hash::fnv32a", &docId).WithTypeIdentifier("Fnv32a").WithArgument(symbols.NewVariableBuilder("self", "Fnv32a", "std::hash::fnv32a", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("update", symbols.NewTypeFromString("void", "std::hash::fnv32a"), "std::hash::fnv32a", &docId).WithTypeIdentifier("Fnv32a").WithArgument(symbols.NewVariableBuilder("self", "Fnv32a", "std::hash::fnv32a", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::fnv32a", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("update_char", symbols.NewTypeFromString("", "std::hash::fnv32a"), "std::hash::fnv32a", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::hash::fnv32a", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::hash::fnv32a", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("encode", symbols.NewTypeFromString("uint", "std::hash::fnv32a"), "std::hash::fnv32a", &docId).WithArgument(symbols.NewVariableBuilder("data", "char", "std::hash::fnv32a", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::thread::cpu + module = moduleCollection["std::thread::cpu"] + module.AddVariable(symbols.NewVariableBuilder("HW_FLOATINGPT", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_UNSPEC", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_PHYSMEM", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_DISKSTATS", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_DEBUG", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_HW", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L1DCACHESIZE", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L1ICACHESIZE", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_MAXID", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_KERN", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_NET", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_CACHELINE", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_EPOCH", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L2CACHESIZE", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_VM", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_MAXID", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_MACHINE", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_MACHINE_ARCH", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_VECTORUNIT", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_CPU_FREQ", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L2SETTINGS", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_MODEL", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_NCPU", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_USERMEM", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L3SETTINGS", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_VFS", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_BYTEORDER", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_PAGESIZE", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_USER", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_L3CACHESIZE", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CTL_MACHDEP", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_DISKNAMES", "", "std::thread::cpu", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HW_BUS_FREQ", "", "std::thread::cpu", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("native_cpu", symbols.NewTypeFromString("uint", "std::thread::cpu"), "std::thread::cpu", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_cpu", symbols.NewTypeFromString("uint", "std::thread::cpu"), "std::thread::cpu", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("native_cpu", symbols.NewTypeFromString("uint", "std::thread::cpu"), "std::thread::cpu", &docId).WithoutSourceCode().Build()) + + // Define module std::time::datetime + module = moduleCollection["std::time::datetime"] + module.AddFunction(symbols.NewFunctionBuilder("now", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("from_date", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithArgument(symbols.NewVariableBuilder("year", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("month", "Month", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("day", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hour", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sec", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("us", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_local", symbols.NewTypeFromString("TzDateTime", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_date", symbols.NewTypeFromString("void", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("year", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("month", "Month", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("day", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hour", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sec", "int", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("us", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_time", symbols.NewTypeFromString("void", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("time", "Time", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_seconds", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seconds", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_minutes", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("minutes", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_hours", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hours", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_days", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("days", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_weeks", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("weeks", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_years", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("years", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_months", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("months", "int", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("from_time", symbols.NewTypeFromString("DateTime", "std::time::datetime"), "std::time::datetime", &docId).WithArgument(symbols.NewVariableBuilder("time", "Time", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_time", symbols.NewTypeFromString("Time", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("after", symbols.NewTypeFromString("bool", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("compare", "DateTime", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("before", symbols.NewTypeFromString("bool", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("compare", "DateTime", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("compare_to", symbols.NewTypeFromString("int", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("compare", "DateTime", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_years", symbols.NewTypeFromString("int", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("from", "DateTime", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_sec", symbols.NewTypeFromString("double", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("from", "DateTime", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("diff_us", symbols.NewTypeFromString("Duration", "std::time::datetime"), "std::time::datetime", &docId).WithTypeIdentifier("DateTime").WithArgument(symbols.NewVariableBuilder("self", "DateTime", "std::time::datetime", &docId).Build()).WithArgument(symbols.NewVariableBuilder("from", "DateTime", "std::time::datetime", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddVariable(symbols.NewVariableBuilder("PAGE_IS_ALIGNED", "usz", "std::core::mem::allocator", &docId).Build()).AddStruct(symbols.NewStructBuilder("TempAllocator", "std::core::mem::allocator", &docId).WithStructMember("backing_allocator", "Allocator", "std::core::mem::allocator", &docId).WithStructMember("last_page", "TempAllocatorPage", "std::core::mem::allocator", &docId).WithStructMember("used", "usz", "std::core::mem::allocator", &docId).WithStructMember("capacity", "usz", "std::core::mem::allocator", &docId).WithStructMember("data", "char", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("TempAllocatorPage", "std::core::mem::allocator", &docId).WithStructMember("prev_page", "TempAllocatorPage", "std::core::mem::allocator", &docId).WithStructMember("start", "void", "std::core::mem::allocator", &docId).WithStructMember("mark", "usz", "std::core::mem::allocator", &docId).WithStructMember("size", "usz", "std::core::mem::allocator", &docId).WithStructMember("ident", "usz", "std::core::mem::allocator", &docId).WithStructMember("data", "char", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("TempAllocatorChunk", "std::core::mem::allocator", &docId).WithStructMember("size", "usz", "std::core::mem::allocator", &docId).WithStructMember("data", "char", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pagesize", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_aligned", symbols.NewTypeFromString("", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::core::mem::allocator", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_temp_allocator", symbols.NewTypeFromString("TempAllocator*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mark", symbols.NewTypeFromString("usz", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TempAllocator").WithArgument(symbols.NewVariableBuilder("self", "TempAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TempAllocator").WithArgument(symbols.NewVariableBuilder("self", "TempAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reset", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TempAllocator").WithArgument(symbols.NewVariableBuilder("self", "TempAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mark", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_free_page", symbols.NewTypeFromString("void!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TempAllocator").WithArgument(symbols.NewVariableBuilder("self", "TempAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("page", "TempAllocatorPage", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_realloc_page", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TempAllocator").WithArgument(symbols.NewVariableBuilder("self", "TempAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("page", "TempAllocatorPage", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TempAllocator").WithArgument(symbols.NewVariableBuilder("self", "TempAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TempAllocator").WithArgument(symbols.NewVariableBuilder("self", "TempAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("print_pages", symbols.NewTypeFromString("void!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("TempAllocator").WithArgument(symbols.NewVariableBuilder("self", "TempAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("f", "File", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::string + module = moduleCollection["std::core::string"] + module.AddVariable(symbols.NewVariableBuilder("SURROGATE_CODEPOINT_MASK", "uint", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SURROGATE_BITS", "uint", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SURROGATE_LOW_VALUE", "uint", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SURROGATE_HIGH_VALUE", "uint", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SURROGATE_OFFSET", "uint", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SURROGATE_GENERIC_MASK", "uint", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SURROGATE_MASK", "uint", "std::core::string", &docId).Build()).AddStruct(symbols.NewStructBuilder("Splitter", "std::core::string", &docId).WithStructMember("string", "String", "std::core::string", &docId).WithStructMember("split", "String", "std::core::string", &docId).WithStructMember("current", "usz", "std::core::string", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Char32", "std::core::string", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Char16", "std::core::string", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFault(symbols.NewFaultBuilder("UnicodeResult", "", "std::core::string", &docId).WithConstant(symbols.NewFaultConstantBuilder("INVALID_UTF8", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_UTF16", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("CONVERSION_FAILED", &docId).Build()).Build()).AddFault(symbols.NewFaultBuilder("NumberConversion", "", "std::core::string", &docId).WithConstant(symbols.NewFaultConstantBuilder("EMPTY_STRING", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("NEGATIVE_VALUE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("MALFORMED_INTEGER", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INTEGER_OVERFLOW", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("MALFORMED_FLOAT", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("FLOAT_OUT_OF_RANGE", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("tformat", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("fmt", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tformat_zstr", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("fmt", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_format", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("fmt", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_format_zstr", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("fmt", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("char_in_set", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("set", "String", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("join_new", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("s", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("joiner", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("trim", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("string", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("to_trim", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("starts_with", symbols.NewTypeFromString("bool", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("string", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ends_with", symbols.NewTypeFromString("bool", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("string", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strip", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("string", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strip_end", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("string", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("split", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "usz", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tsplit", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max", "usz", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("contains", symbols.NewTypeFromString("bool", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("index_of_char", symbols.NewTypeFromString("usz!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "char", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("index_of_char_from", symbols.NewTypeFromString("usz!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "char", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start_index", "usz", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rindex_of_char", symbols.NewTypeFromString("usz!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "char", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("index_of", symbols.NewTypeFromString("usz!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rindex_of", symbols.NewTypeFromString("usz!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("str_view", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("ZString").WithArgument(symbols.NewVariableBuilder("str", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("char_len", symbols.NewTypeFromString("usz", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("ZString").WithArgument(symbols.NewVariableBuilder("str", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("ZString").WithArgument(symbols.NewVariableBuilder("str", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("zstr_copy", symbols.NewTypeFromString("ZString", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("concat", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s1", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s2", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tconcat", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s1", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s2", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("zstr_tcopy", symbols.NewTypeFromString("ZString", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tcopy", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("copy", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("ZString").WithArgument(symbols.NewVariableBuilder("z", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tcopy", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("ZString").WithArgument(symbols.NewVariableBuilder("z", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_utf16", symbols.NewTypeFromString("Char16!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_temp_utf16", symbols.NewTypeFromString("Char16!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_wstring", symbols.NewTypeFromString("WString!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_temp_wstring", symbols.NewTypeFromString("WString!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_utf32", symbols.NewTypeFromString("Char32!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_temp_utf32", symbols.NewTypeFromString("Char32!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("convert_ascii_to_lower", symbols.NewTypeFromString("void", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_ascii_to_lower", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_ascii_to_lower", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("convert_ascii_to_upper", symbols.NewTypeFromString("void", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_ascii_to_upper", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("iterator", symbols.NewTypeFromString("StringIterator", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_ascii_to_upper", symbols.NewTypeFromString("String", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_from_utf32", symbols.NewTypeFromString("String!", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("utf32", "Char32", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_from_utf16", symbols.NewTypeFromString("String!", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("utf16", "Char16", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_from_wstring", symbols.NewTypeFromString("String!", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("wstring", "WString", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_from_wstring", symbols.NewTypeFromString("String!", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("wstring", "WString", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_from_utf16", symbols.NewTypeFromString("String!", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("utf16", "Char16", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("utf8_codepoints", symbols.NewTypeFromString("usz", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_integer", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("string", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_int128", symbols.NewTypeFromString("int128!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_long", symbols.NewTypeFromString("long!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_int", symbols.NewTypeFromString("int!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_short", symbols.NewTypeFromString("short!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_ichar", symbols.NewTypeFromString("ichar!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_uint128", symbols.NewTypeFromString("uint128!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_ulong", symbols.NewTypeFromString("ulong!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_uint", symbols.NewTypeFromString("uint!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_ushort", symbols.NewTypeFromString("ushort!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_uchar", symbols.NewTypeFromString("char!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_double", symbols.NewTypeFromString("double!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_float", symbols.NewTypeFromString("float!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("s", "", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("splitter", symbols.NewTypeFromString("Splitter", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("String").WithArgument(symbols.NewVariableBuilder("self", "String", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("split", "String", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reset", symbols.NewTypeFromString("void", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("Splitter").WithArgument(symbols.NewVariableBuilder("self", "Splitter", "std::core::string", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next", symbols.NewTypeFromString("String!", "std::core::string"), "std::core::string", &docId).WithTypeIdentifier("Splitter").WithArgument(symbols.NewVariableBuilder("self", "Splitter", "std::core::string", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::random + module = moduleCollection["std::math::random"] + module.AddVariable(symbols.NewVariableBuilder("MUL_LCG128", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_LCG64", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_LCG32", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_LCG16", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI128", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI64", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI32", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ODD_PHI16", "", "std::math::random", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("input", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Pcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Pcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddVariable(symbols.NewVariableBuilder("ATF", "float[*]", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PI_LO", "", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PI_F", "float", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PI_LO_F", "float", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ATANLO", "double[*]", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AT", "double[*]", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ATANHIF", "float[*]", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ATANLOF", "float[*]", "std::math::nolibc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ATANHI", "double[*]", "std::math::nolibc", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("_atan", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atanf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("extract_words", symbols.NewTypeFromString("", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("d", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hi", "uint", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lo", "uint", "std::math::nolibc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atan2", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_atan2f", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("y", "float", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::random + module = moduleCollection["std::math::random"] + module.AddVariable(symbols.NewVariableBuilder("MUL_MCG128", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_MCG64", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_MCG32", "", "std::math::random", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MUL_MCG16", "", "std::math::random", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg128Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg128Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg128Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg64Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg64Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg64Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg32Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg32Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg32Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_seed", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seed", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_byte", symbols.NewTypeFromString("char", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_bytes", symbols.NewTypeFromString("void", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg16Random", "std::math::random", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int128", symbols.NewTypeFromString("uint128", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_long", symbols.NewTypeFromString("ulong", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_int", symbols.NewTypeFromString("uint", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("next_short", symbols.NewTypeFromString("ushort", "std::math::random"), "std::math::random", &docId).WithTypeIdentifier("Mcg16Random").WithArgument(symbols.NewVariableBuilder("self", "Mcg16Random", "std::math::random", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::collections::linkedlist + module = moduleCollection["std::collections::linkedlist"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::collections::linkedlist", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddVariable(symbols.NewVariableBuilder("ELEMENT_IS_EQUATABLE", "", "std::collections::linkedlist", &docId).Build()).AddStruct(symbols.NewStructBuilder("Node", "std::collections::linkedlist", &docId).WithStructMember("next", "Node", "std::collections::linkedlist", &docId).WithStructMember("prev", "Node", "std::collections::linkedlist", &docId).WithStructMember("value", "Type", "std::collections::linkedlist", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("LinkedList", "std::collections::linkedlist", &docId).WithStructMember("allocator", "Allocator", "std::collections::linkedlist", &docId).WithStructMember("size", "usz", "std::collections::linkedlist", &docId).WithStructMember("_first", "Node", "std::collections::linkedlist", &docId).WithStructMember("_last", "Node", "std::collections::linkedlist", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("LinkedList*", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("LinkedList*", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free_node", symbols.NewTypeFromString("", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("node", "Node", "std::collections::linkedlist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("alloc_node", symbols.NewTypeFromString("", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::linkedlist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push_front", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("peek", symbols.NewTypeFromString("Type!", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("peek_last", symbols.NewTypeFromString("Type!", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("first", symbols.NewTypeFromString("Type!", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("last", symbols.NewTypeFromString("Type!", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("node_at_index", symbols.NewTypeFromString("", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::linkedlist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("Type", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "Type", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_at", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("insert_at", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "Type", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("link_before", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("succ", "Node", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "Type", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unlink_first", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove", symbols.NewTypeFromString("usz", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("t", "Type", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop", symbols.NewTypeFromString("Type!", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop_front", symbols.NewTypeFromString("Type!", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_last", symbols.NewTypeFromString("void!", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_first", symbols.NewTypeFromString("void!", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_first_match", symbols.NewTypeFromString("bool", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("t", "Type", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_last_match", symbols.NewTypeFromString("bool", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("t", "Type", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unlink_last", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unlink", symbols.NewTypeFromString("void", "std::collections::linkedlist"), "std::collections::linkedlist", &docId).WithTypeIdentifier("LinkedList").WithArgument(symbols.NewVariableBuilder("self", "LinkedList", "std::collections::linkedlist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "Node", "std::collections::linkedlist", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddStruct(symbols.NewStructBuilder("File", "std::io", &docId).WithStructMember("file", "CFile", "std::io", &docId).WithoutSourceCode().Build()) + + // Define module std::io::file + module = moduleCollection["std::io::file"] + module.AddFunction(symbols.NewFunctionBuilder("open", symbols.NewTypeFromString("File!", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "String", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("open_path", symbols.NewTypeFromString("File!", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "String", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("from_handle", symbols.NewTypeFromString("File", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("file", "CFile", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_file", symbols.NewTypeFromString("bool", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_size", symbols.NewTypeFromString("usz!", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("delete", symbols.NewTypeFromString("void!", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reopen", symbols.NewTypeFromString("void!", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "String", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("seek", symbols.NewTypeFromString("usz!", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "isz", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seek_mode", "Seek", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_byte", symbols.NewTypeFromString("void!", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("close", symbols.NewTypeFromString("void!", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("eof", symbols.NewTypeFromString("bool", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("usz!", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("usz!", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_byte", symbols.NewTypeFromString("char!", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("load_buffer", symbols.NewTypeFromString("char!", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("load_new", symbols.NewTypeFromString("char!", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::file", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("load_temp", symbols.NewTypeFromString("char!", "std::io::file"), "std::io::file", &docId).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::file", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("flush", symbols.NewTypeFromString("void!", "std::io::file"), "std::io::file", &docId).WithTypeIdentifier("File").WithArgument(symbols.NewVariableBuilder("self", "File", "std::io::file", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddVariable(symbols.NewVariableBuilder("TANDF", "double[*]", "std::math::nolibc", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("__tandf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("odd", "int", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddStruct(symbols.NewStructBuilder("ByteBuffer", "std::io", &docId).WithStructMember("allocator", "Allocator", "std::io", &docId).WithStructMember("max_read", "usz", "std::io", &docId).WithStructMember("bytes", "char", "std::io", &docId).WithStructMember("read_idx", "usz", "std::io", &docId).WithStructMember("write_idx", "usz", "std::io", &docId).WithStructMember("has_last", "bool", "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("ByteBuffer*!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_read", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("ByteBuffer*!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("max_read", "usz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init_with_buffer", symbols.NewTypeFromString("ByteBuffer*!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_byte", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "char", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_byte", symbols.NewTypeFromString("char!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pushback_byte", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("seek", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "isz", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("seek", "Seek", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("available", symbols.NewTypeFromString("usz!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("grow", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("ByteBuffer").WithArgument(symbols.NewVariableBuilder("self", "ByteBuffer", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("shrink", symbols.NewTypeFromString("", "std::io"), "std::io", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::io", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::os::darwin + module = moduleCollection["std::os::darwin"] + module.AddFunction(symbols.NewFunctionBuilder("malloc_size", symbols.NewTypeFromString("usz", "std::os::darwin"), "std::os::darwin", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::os::darwin", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::atomic + module = moduleCollection["std::atomic"] + module.AddFunction(symbols.NewFunctionBuilder("@__atomic_compare_exchange_ordering_failure", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("expected", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("desired", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("failure", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@__atomic_compare_exchange_ordering_success", symbols.NewTypeFromString("", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("expected", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("desired", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("success", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("failure", "", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::atomic", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__atomic_compare_exchange", symbols.NewTypeFromString("CInt", "std::atomic"), "std::atomic", &docId).WithArgument(symbols.NewVariableBuilder("size", "CInt", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "any", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("expected", "any", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("desired", "any", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("success", "CInt", "std::atomic", &docId).Build()).WithArgument(symbols.NewVariableBuilder("failure", "CInt", "std::atomic", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::collections::bitset + module = moduleCollection["std::collections::bitset"] + module.AddVariable(symbols.NewVariableBuilder("SZ", "", "std::collections::bitset", &docId).Build()).AddVariable(symbols.NewVariableBuilder("BITS", "", "std::collections::bitset", &docId).Build()).AddStruct(symbols.NewStructBuilder("BitSet", "std::collections::bitset", &docId).WithStructMember("data", "Type", "std::collections::bitset", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Type", "std::collections::bitset", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cardinality", symbols.NewTypeFromString("usz", "std::collections::bitset"), "std::collections::bitset", &docId).WithTypeIdentifier("BitSet").WithArgument(symbols.NewVariableBuilder("self", "BitSet", "std::collections::bitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("void", "std::collections::bitset"), "std::collections::bitset", &docId).WithTypeIdentifier("BitSet").WithArgument(symbols.NewVariableBuilder("self", "BitSet", "std::collections::bitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::bitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unset", symbols.NewTypeFromString("void", "std::collections::bitset"), "std::collections::bitset", &docId).WithTypeIdentifier("BitSet").WithArgument(symbols.NewVariableBuilder("self", "BitSet", "std::collections::bitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::bitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("bool", "std::collections::bitset"), "std::collections::bitset", &docId).WithTypeIdentifier("BitSet").WithArgument(symbols.NewVariableBuilder("self", "BitSet", "std::collections::bitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::bitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::bitset"), "std::collections::bitset", &docId).WithTypeIdentifier("BitSet").WithArgument(symbols.NewVariableBuilder("self", "BitSet", "std::collections::bitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_bool", symbols.NewTypeFromString("void", "std::collections::bitset"), "std::collections::bitset", &docId).WithTypeIdentifier("BitSet").WithArgument(symbols.NewVariableBuilder("self", "BitSet", "std::collections::bitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::bitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "bool", "std::collections::bitset", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::collections::growablebitset + module = moduleCollection["std::collections::growablebitset"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::collections::growablebitset", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddVariable(symbols.NewVariableBuilder("BITS", "", "std::collections::growablebitset", &docId).Build()).AddStruct(symbols.NewStructBuilder("GrowableBitSet", "std::collections::growablebitset", &docId).WithStructMember("data", "GrowableBitSetList", "std::collections::growablebitset", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("GrowableBitSetList", "std::collections::growablebitset", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("GrowableBitSet*", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::collections::growablebitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("GrowableBitSet*", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("cardinality", symbols.NewTypeFromString("usz", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("void", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unset", symbols.NewTypeFromString("void", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("bool", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set_bool", symbols.NewTypeFromString("void", "std::collections::growablebitset"), "std::collections::growablebitset", &docId).WithTypeIdentifier("GrowableBitSet").WithArgument(symbols.NewVariableBuilder("self", "GrowableBitSet", "std::collections::growablebitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::growablebitset", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "bool", "std::collections::growablebitset", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io + module = moduleCollection["std::io"] + module.AddStruct(symbols.NewStructBuilder("BitReader", "std::io", &docId).WithStructMember("reader", "InStream", "std::io", &docId).WithStructMember("bits", "uint", "std::io", &docId).WithStructMember("len", "uint", "std::io", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("BitWriter", "std::io", &docId).WithStructMember("writer", "OutStream", "std::io", &docId).WithStructMember("bits", "uint", "std::io", &docId).WithStructMember("len", "uint", "std::io", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::io"), "std::io", &docId).WithTypeIdentifier("BitReader").WithArgument(symbols.NewVariableBuilder("self", "BitReader", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("byte_reader", "InStream", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::io"), "std::io", &docId).WithTypeIdentifier("BitReader").WithArgument(symbols.NewVariableBuilder("self", "BitReader", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_bits", symbols.NewTypeFromString("char!", "std::io"), "std::io", &docId).WithTypeIdentifier("BitReader").WithArgument(symbols.NewVariableBuilder("self", "BitReader", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nbits", "uint", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::io"), "std::io", &docId).WithTypeIdentifier("BitWriter").WithArgument(symbols.NewVariableBuilder("self", "BitWriter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("byte_writer", "OutStream", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("flush", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("BitWriter").WithArgument(symbols.NewVariableBuilder("self", "BitWriter", "std::io", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write_bits", symbols.NewTypeFromString("void!", "std::io"), "std::io", &docId).WithTypeIdentifier("BitWriter").WithArgument(symbols.NewVariableBuilder("self", "BitWriter", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bits", "uint", "std::io", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nbits", "uint", "std::io", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::net + module = moduleCollection["std::net"] + module.AddStruct(symbols.NewStructBuilder("InetAddress", "std::net", &docId).WithStructMember("is_ipv6", "bool", "std::net", &docId).WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("IpProtocol", "char", "std::net", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("AF_UNSPEC", &docId).WithAssociativeValues([]symbols.Variable{*symbols.NewVariableBuilder("ai_family", "AIFamily", "std::net", &docId).Build()}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AF_INET", &docId).WithAssociativeValues([]symbols.Variable{*symbols.NewVariableBuilder("ai_family", "AIFamily", "std::net", &docId).Build()}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("AF_INET6", &docId).WithAssociativeValues([]symbols.Variable{*symbols.NewVariableBuilder("ai_family", "AIFamily", "std::net", &docId).Build()}).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ipv6_from_str", symbols.NewTypeFromString("InetAddress!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("s", "String", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ipv4_from_str", symbols.NewTypeFromString("InetAddress!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("s", "String", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_loopback", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_any_local", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_link_local", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_site_local", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_multicast", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_multicast_global", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_multicast_node_local", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_multicast_site_local", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_multicast_org_local", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_multicast_link_local", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithTypeIdentifier("InetAddress").WithArgument(symbols.NewVariableBuilder("addr", "InetAddress", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("addrinfo", symbols.NewTypeFromString("AddrInfo*!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("host", "String", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("port", "uint", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ai_family", "AIFamily", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ai_socktype", "AISockType", "std::net", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::sort + module = moduleCollection["std::sort"] + module.AddFunction(symbols.NewFunctionBuilder("countingsort", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("list", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key_fn", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("insertionsort_indexed", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("list", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("end", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmp", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("quicksort_indexed", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("list", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("start", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("end", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmp", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::sort::cs + module = moduleCollection["std::sort::cs"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{ + "KeyFn": symbols.NewGenericParameter("KeyFn", "std::sort::cs", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Type": symbols.NewGenericParameter("Type", "std::sort::cs", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + }).AddVariable(symbols.NewVariableBuilder("LIST_HAS_REF", "bool", "std::sort::cs", &docId).Build()).AddVariable(symbols.NewVariableBuilder("NO_KEY_FN", "bool", "std::sort::cs", &docId).Build()).AddVariable(symbols.NewVariableBuilder("KEY_BY_VALUE", "bool", "std::sort::cs", &docId).Build()).AddDef(symbols.NewDefBuilder("CmpCallback", "std::sort::cs", &docId).WithResolvesTo("fn int(ElementType*, ElementType*, KeyFn)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Counts", "std::sort::cs", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Ranges", "std::sort::cs", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Indexs", "std::sort::cs", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ElementType", "std::sort::cs", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("KeyFnReturnType", "std::sort::cs", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("csort", symbols.NewTypeFromString("void", "std::sort::cs"), "std::sort::cs", &docId).WithArgument(symbols.NewVariableBuilder("list", "Type", "std::sort::cs", &docId).Build()).WithArgument(symbols.NewVariableBuilder("low", "usz", "std::sort::cs", &docId).Build()).WithArgument(symbols.NewVariableBuilder("high", "usz", "std::sort::cs", &docId).Build()).WithArgument(symbols.NewVariableBuilder("key_fn", "KeyFn", "std::sort::cs", &docId).Build()).WithArgument(symbols.NewVariableBuilder("byte_idx", "uint", "std::sort::cs", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddStruct(symbols.NewStructBuilder("ArenaAllocator", "std::core::mem::allocator", &docId).WithStructMember("data", "char", "std::core::mem::allocator", &docId).WithStructMember("used", "usz", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("ArenaAllocatorHeader", "std::core::mem::allocator", &docId).WithStructMember("size", "usz", "std::core::mem::allocator", &docId).WithStructMember("data", "char", "std::core::mem::allocator", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("init", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("ArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "ArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "char", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("ArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "ArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("ArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "ArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mark", symbols.NewTypeFromString("usz", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("ArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "ArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reset", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("ArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "ArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mark", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("ArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "ArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("ArenaAllocator").WithArgument(symbols.NewVariableBuilder("self", "ArenaAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_pointer", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module libc + module = moduleCollection["libc"] + module.AddVariable(symbols.NewVariableBuilder("__stdin", "CFile", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("_IONBF", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILENAME_MAX", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IWUSR", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IXUSR", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("CLOCKS_PER_SEC", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGINT", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGALRM", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("_IOLBF", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FOPEN_MAX", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IFREG", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IFLNK", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__stderr", "CFile", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__stdinp", "CFile", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IFDIR", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGILL", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGSTOP", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXIT_FAILURE", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGFPE", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IFIFO", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_ISVTX", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGSEGV", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__stdout", "CFile", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EOF", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGTRAP", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SEEK_SET", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("STDOUT_FD", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("_IOFBF", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGCONT", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IFMT", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IFBLK", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGKILL", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGTERM", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IRUSR", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SEEK_END", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_ISUID", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("STDIN_FD", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__stderrp", "CFile", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("BUFSIZ", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGPIPE", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGTSTP", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("HAS_MALLOC_SIZE", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGABTR", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGURG", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("__stdoutp", "CFile", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SEEK_CUR", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGQUIT", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGCHLD", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IFCHR", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("RAND_MAX", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("STDERR_FD", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_ISGID", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGBUS", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("S_IFSOCK", "", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("TIME_UTC", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGSYS", "CInt", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("BSD_FLAVOR_SIG", "bool", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXIT_SUCCESS", "int", "libc", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SIGHUP", "CInt", "libc", &docId).Build()).AddStruct(symbols.NewStructBuilder("DivResult", "libc", &docId).WithStructMember("quot", "CInt", "libc", &docId).WithStructMember("rem", "CInt", "libc", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("LongDivResult", "libc", &docId).WithStructMember("quot", "CLong", "libc", &docId).WithStructMember("rem", "CLong", "libc", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Timespec", "libc", &docId).WithStructMember("tv_sec", "Time_t", "libc", &docId).WithStructMember("tv_nsec", "CLong", "libc", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Tm", "libc", &docId).WithStructMember("tm_sec", "CInt", "libc", &docId).WithStructMember("tm_min", "CInt", "libc", &docId).WithStructMember("tm_hour", "CInt", "libc", &docId).WithStructMember("tm_mday", "CInt", "libc", &docId).WithStructMember("tm_mon", "CInt", "libc", &docId).WithStructMember("tm_year", "CInt", "libc", &docId).WithStructMember("tm_wday", "CInt", "libc", &docId).WithStructMember("tm_yday", "CInt", "libc", &docId).WithStructMember("tm_isdst", "CInt", "libc", &docId).WithStructMember("tm_gmtoff", "TimeOffset", "libc", &docId).WithStructMember("tm_zone", "char", "libc", &docId).WithStructMember("tm_nsec", "CInt", "libc", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("TimeSpec", "libc", &docId).WithStructMember("s", "Time_t", "libc", &docId).WithStructMember("ns", "ulong", "libc", &docId).WithStructMember("ns", "CLong", "libc", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CompareFunction", "libc", &docId).WithResolvesTo("fn int(void*, void*)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Fpos_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Time_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("TimeOffset", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("CFile", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("SeekIndex", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Clock_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("TerminateFunction", "libc", &docId).WithResolvesTo("fn void()").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("JmpBuf", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Fd", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("SignalFunction", "libc", &docId).WithResolvesTo("fn void(CInt)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Off_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno", symbols.NewTypeFromString("Errno", "libc"), "libc", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("errno_set", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("e", "Errno", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("abort", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("abs", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("n", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("asctime", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timeptr", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("asctime_r", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timeptr", "Tm", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "char", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("atexit", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("func", "TerminateFunction", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("atof", symbols.NewTypeFromString("double", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("atoi", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("atoll", symbols.NewTypeFromString("CLongLong", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bsearch", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("key", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("items", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("compare", "CompareFunction", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("calloc", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("count", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clearerr", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clock", symbols.NewTypeFromString("Clock_t", "libc"), "libc", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("close", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("difftime", symbols.NewTypeFromString("double", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("time1", "Time_t", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("time2", "Time_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("div", symbols.NewTypeFromString("DivResult", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("numer", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("denom", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("exit", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("status", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fclose", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fdopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("feof", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ferror", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fflush", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fgetc", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fgets", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("string", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fgetpos", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("pos", "Fpos_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fileno", symbols.NewTypeFromString("Fd", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("filename", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fprintf", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fputc", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("c", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fputs", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("string", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fread", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nmemb", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "void", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("freopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("filename", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fscanf", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fseek", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "SeekIndex", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("whence", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fsetpos", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("pos", "Fpos_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ftell", symbols.NewTypeFromString("SeekIndex", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fwrite", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nmemb", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getc", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getchar", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getenv", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("name", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("gets", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "char", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("gmtime", symbols.NewTypeFromString("Tm*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("gmtime_r", symbols.NewTypeFromString("Tm*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("labs", symbols.NewTypeFromString("CLong", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("x", "CLong", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ldiv", symbols.NewTypeFromString("LongDivResult", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("number", "CLong", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("denom", "CLong", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("localtime", symbols.NewTypeFromString("Tm*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("localtime_r", symbols.NewTypeFromString("Tm*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("result", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("longjmp", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "JmpBuf", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("memchr", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("memcmp", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buf1", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf2", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("count", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("memcpy", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("memmove", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("memset", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mktime", symbols.NewTypeFromString("Time_t*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("time", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("perror", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("string", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("printf", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("putc", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("c", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("putchar", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("c", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("puts", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("qsort", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("base", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("items", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("compare", "CompareFunction", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("raise", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("signal", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rand", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read", symbols.NewTypeFromString("isz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "Fd", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nbyte", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("realloc", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("filename", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rename", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("old_name", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_name", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rewind", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("scanf", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setbuf", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "char", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setenv", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("name", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("overwrite", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setjmp", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "JmpBuf", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setvbuf", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("signal", symbols.NewTypeFromString("SignalFunction", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("sig", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("function", "SignalFunction", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("snprintf", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sprintf", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("srand", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("seed", "uint", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sscanf", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strcat", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strchr", symbols.NewTypeFromString("char*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strcmp", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str1", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str2", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strcoll", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str1", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str2", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strcspn", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str1", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str2", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strcpy", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dst", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strerror", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("errn", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strftime", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("maxsize", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timeptr", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strlen", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strncat", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strncmp", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str1", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str2", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strncpy", symbols.NewTypeFromString("char*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dst", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stroul", symbols.NewTypeFromString("CULong", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("endptr", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "int", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strpbrk", symbols.NewTypeFromString("char*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str1", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str2", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strspn", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str1", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str2", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strptime", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buf", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("format", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("tm", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strrchr", symbols.NewTypeFromString("char*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strstr", symbols.NewTypeFromString("char*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("haystack", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("needle", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strtod", symbols.NewTypeFromString("double", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("endptr", "char", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strtof", symbols.NewTypeFromString("float", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("endptr", "char", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strtok", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("delim", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strtol", symbols.NewTypeFromString("CLong", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("endptr", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strtul", symbols.NewTypeFromString("CULong", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("endptr", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("strxfrm", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("system", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("timegm", symbols.NewTypeFromString("Time_t", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timeptr", "Tm", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tmpnam", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ungetc", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("c", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unsetenv", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("name", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("write", symbols.NewTypeFromString("isz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("fd", "Fd", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buffer", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("count", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fmemopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getline", symbols.NewTypeFromString("isz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("linep", "char", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("linecapp", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("timespec_get", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ts", "TimeSpec", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("base", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("nanosleep", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("req", "TimeSpec", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("remaining", "TimeSpec", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ctime", symbols.NewTypeFromString("ZString", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("time", symbols.NewTypeFromString("Time_t", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("timer", "Time_t", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc_usable_size", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc_size", symbols.NewTypeFromString("", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("aligned_alloc", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("align", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdin", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdout", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stderr", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc_size", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("aligned_alloc", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("align", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdin", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdout", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stderr", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc_size", symbols.NewTypeFromString("", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdin", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdout", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stderr", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdin", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stdout", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stderr", symbols.NewTypeFromString("", "libc"), "libc", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("longjmp", symbols.NewTypeFromString("void", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "JmpBuf", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "CInt", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setjmp", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "JmpBuf", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("malloc", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("calloc", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("count", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "void", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("realloc", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("memcpy", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("memmove", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("src", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("memset", symbols.NewTypeFromString("void*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("dest", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "CInt", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "usz", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fseek", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("offset", "SeekIndex", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("whence", "int", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("filename", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("freopen", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("filename", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fwrite", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nmemb", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fread", symbols.NewTypeFromString("usz", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("size", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nmemb", "usz", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fclose", symbols.NewTypeFromString("CFile", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fflush", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fputc", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("c", "int", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fgets", symbols.NewTypeFromString("char*", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("n", "int", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fgetc", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("feof", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("putc", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("c", "int", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stream", "CFile", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("putchar", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("c", "int", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("puts", symbols.NewTypeFromString("int", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("str", "ZString", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("libc_S_ISTYPE", symbols.NewTypeFromString("", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("value", "", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "", "libc", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module libc::errno + module = moduleCollection["libc::errno"] + module.AddVariable(symbols.NewVariableBuilder("ENOTBLK", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EEXIST", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EALREADY", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTSUP", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERPCMISMATCH", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EBADMSG", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EIO", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROTOTYPE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENETUNREACH", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECONNRESET", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EISCONN", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EBADRPC", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EBADEXEC", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECANCELED", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EBUSY", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROTO", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EINTR", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EFAULT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESPIPE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EMLINK", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EADDRNOTAVAIL", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECONNABORTED", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTCONN", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESRCH", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESTALE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOSPC", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EDESTADDRREQ", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPFNOSUPPORT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROCLIM", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOMSG", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EWOULDBLOCK", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOMEM", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESOCKTNOSUPPORT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EAFNOSUPPORT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EADDRINUSE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECONNREFUSED", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EHOSTDOWN", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EFTYPE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EMULTIHOP", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENODEV", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOSR", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOLINK", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOPROTOOPT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESHUTDOWN", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENAMETOOLONG", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROGUNAVAIL", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOSYS", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EAUTH", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EBADARCH", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EROFS", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ESHLIBVERS", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ECHILD", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERANGE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROCUNAVAIL", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOLCK", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENEEDAUTH", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOENT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EDEADLK", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EUSERS", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EDEVERR", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EIDRM", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPERM", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EAGAIN", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EMFILE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EINPROGRESS", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOSTR", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENXIO", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EOVERFLOW", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOBUFS", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPIPE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTEMPTY", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EDQUOT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EILSEQ", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EFBIG", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTSOCK", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENETDOWN", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ELOOP", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EHOSTUNREACH", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPWROFF", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EBADMACHO", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ETXTBSY", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EACCES", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTDIR", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENFILE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROTONOSUPPORT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ETIMEDOUT", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("E2BIG", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EMSGSIZE", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENODATA", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ETIME", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EOPNOTSUPP", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EBADF", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOTTY", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EDOM", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENETRESET", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EPROGMISMATCH", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("OK", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EXDEV", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EISDIR", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EINVAL", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOATTR", "Errno", "libc::errno", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ENOEXEC", "Errno", "libc::errno", &docId).Build()) + + // Define module std::math::complex + module = moduleCollection["std::math::complex"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Real": symbols.NewGenericParameter("Real", "std::math::complex", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddVariable(symbols.NewVariableBuilder("IDENTITY", "Complex", "std::math::complex", &docId).Build()).AddStruct(symbols.NewStructBuilder("Complex", "std::math::complex", &docId).WithStructMember("v", "Real", "std::math::complex", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add", symbols.NewTypeFromString("", "std::math::complex"), "std::math::complex", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::complex", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Complex", "std::math::complex", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_each", symbols.NewTypeFromString("", "std::math::complex"), "std::math::complex", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::complex", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Real", "std::math::complex", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sub", symbols.NewTypeFromString("", "std::math::complex"), "std::math::complex", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::complex", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Complex", "std::math::complex", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sub_each", symbols.NewTypeFromString("", "std::math::complex"), "std::math::complex", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::complex", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Real", "std::math::complex", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("scale", symbols.NewTypeFromString("", "std::math::complex"), "std::math::complex", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::complex", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "Real", "std::math::complex", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mul", symbols.NewTypeFromString("", "std::math::complex"), "std::math::complex", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::complex", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Complex", "std::math::complex", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("div", symbols.NewTypeFromString("", "std::math::complex"), "std::math::complex", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::math::complex", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Complex", "std::math::complex", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::encoding::json + module = moduleCollection["std::encoding::json"] + module.AddStruct(symbols.NewStructBuilder("JsonContext", "std::encoding::json", &docId).WithStructMember("line", "uint", "std::encoding::json", &docId).WithStructMember("stream", "InStream", "std::encoding::json", &docId).WithStructMember("allocator", "Allocator", "std::encoding::json", &docId).WithStructMember("token", "JsonTokenType", "std::encoding::json", &docId).WithStructMember("last_string", "DString", "std::encoding::json", &docId).WithStructMember("last_number", "double", "std::encoding::json", &docId).WithStructMember("current", "char", "std::encoding::json", &docId).WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("JsonTokenType", "", "std::encoding::json", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("NO_TOKEN", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("LBRACE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("LBRACKET", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("COMMA", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("COLON", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RBRACE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("RBRACKET", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("STRING", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NUMBER", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("TRUE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FALSE", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NULL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("EOF", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFault(symbols.NewFaultBuilder("JsonParsingError", "", "std::encoding::json", &docId).WithConstant(symbols.NewFaultConstantBuilder("EOF", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("UNEXPECTED_CHARACTER", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_ESCAPE_SEQUENCE", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("DUPLICATE_MEMBERS", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("INVALID_NUMBER", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("parse", symbols.NewTypeFromString("Object*!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("s", "InStream", "std::encoding::json", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("parse_from_token", symbols.NewTypeFromString("Object*!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithArgument(symbols.NewVariableBuilder("token", "JsonTokenType", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("parse_any", symbols.NewTypeFromString("Object*!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lex_number", symbols.NewTypeFromString("JsonTokenType!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("parse_map", symbols.NewTypeFromString("Object*!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("parse_array", symbols.NewTypeFromString("Object*!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pushback", symbols.NewTypeFromString("void", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithArgument(symbols.NewVariableBuilder("c", "char", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("read_next", symbols.NewTypeFromString("char!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("advance", symbols.NewTypeFromString("JsonTokenType!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("match", symbols.NewTypeFromString("void!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str", "String", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("parse_expected", symbols.NewTypeFromString("void!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithArgument(symbols.NewVariableBuilder("token", "JsonTokenType", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lex_string", symbols.NewTypeFromString("JsonTokenType!", "std::encoding::json"), "std::encoding::json", &docId).WithArgument(symbols.NewVariableBuilder("context", "JsonContext", "std::encoding::json", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::io::path + module = moduleCollection["std::io::path"] + module.AddVariable(symbols.NewVariableBuilder("PREFERRED_SEPARATOR_POSIX", "char", "std::io::path", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PREFERRED_SEPARATOR", "char", "std::io::path", &docId).Build()).AddVariable(symbols.NewVariableBuilder("RESERVED_PATH_CHAR_POSIX", "bool[256]", "std::io::path", &docId).Build()).AddVariable(symbols.NewVariableBuilder("RESERVED_PATH_CHAR_WIN32", "bool[256]", "std::io::path", &docId).Build()).AddVariable(symbols.NewVariableBuilder("DEFAULT_PATH_ENV", "PathEnv", "std::io::path", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PREFERRED_SEPARATOR_WIN32", "char", "std::io::path", &docId).Build()).AddStruct(symbols.NewStructBuilder("Path", "std::io::path", &docId).WithStructMember("path_string", "String", "std::io::path", &docId).WithStructMember("env", "PathEnv", "std::io::path", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("PathList", "std::io::path", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("PathWalker", "std::io::path", &docId).WithResolvesTo("fn bool! (Path, bool is_dir, void*)").WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("PathEnv", "", "std::io::path", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("WIN32", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("POSIX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddEnum(symbols.NewEnumBuilder("MkdirPermissions", "", "std::io::path", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("NORMAL", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("USER_ONLY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("USER_AND_ADMIN", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFault(symbols.NewFaultBuilder("PathResult", "", "std::io::path", &docId).WithConstant(symbols.NewFaultConstantBuilder("INVALID_PATH", &docId).Build()).WithConstant(symbols.NewFaultConstantBuilder("NO_PARENT", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("getcwd", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_dir", symbols.NewTypeFromString("bool", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_file", symbols.NewTypeFromString("bool", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("file_size", symbols.NewTypeFromString("usz!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("exists", symbols.NewTypeFromString("bool", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tgetcwd", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("chdir", symbols.NewTypeFromString("void!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_directory", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("delete", symbols.NewTypeFromString("void!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_separator", symbols.NewTypeFromString("", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("path_env", "PathEnv", "std::io::path", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_posix_separator", symbols.NewTypeFromString("", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io::path", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_win32_separator", symbols.NewTypeFromString("", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io::path", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ls", symbols.NewTypeFromString("PathList!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("dir", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("no_dirs", "bool", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("no_symlinks", "bool", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mask", "String", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mkdir", symbols.NewTypeFromString("bool!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("recursive", "bool", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("permissions", "MkdirPermissions", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rmdir", symbols.NewTypeFromString("bool!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rmtree", symbols.NewTypeFromString("void!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("path_env", "PathEnv", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_new", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("path_env", "PathEnv", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_win32_wstring", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "WString", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_windows", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_posix", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("equals", symbols.NewTypeFromString("bool", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("p2", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tappend", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filename", "String", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("start_of_base_name", symbols.NewTypeFromString("usz", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_absolute", symbols.NewTypeFromString("bool!", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("absolute", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("basename", symbols.NewTypeFromString("String", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dirname", symbols.NewTypeFromString("String", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("extension", symbols.NewTypeFromString("String!", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("volume_name", symbols.NewTypeFromString("String", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("volume_name_len", symbols.NewTypeFromString("usz!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("path_env", "PathEnv", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("parent", symbols.NewTypeFromString("Path!", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("normalize", symbols.NewTypeFromString("String!", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("path_str", "String", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("path_env", "PathEnv", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("as_zstr", symbols.NewTypeFromString("ZString", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("root_directory", symbols.NewTypeFromString("String", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("walk", symbols.NewTypeFromString("bool!", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("w", "PathWalker", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("data", "void", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("str_view", symbols.NewTypeFromString("String", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("has_suffix", symbols.NewTypeFromString("bool", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("str", "String", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free_with_allocator", symbols.NewTypeFromString("void", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::io::path"), "std::io::path", &docId).WithTypeIdentifier("Path").WithArgument(symbols.NewVariableBuilder("self", "Path", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::path", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_reserved_win32_path_char", symbols.NewTypeFromString("", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io::path", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_reserved_path_char", symbols.NewTypeFromString("", "std::io::path"), "std::io::path", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::io::path", &docId).Build()).WithArgument(symbols.NewVariableBuilder("path_env", "PathEnv", "std::io::path", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math + module = moduleCollection["std::math"] + module.AddFunction(symbols.NewFunctionBuilder("__roundevenf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("f", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__roundeven", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("d", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::quaternion + module = moduleCollection["std::math::quaternion"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Real": symbols.NewGenericParameter("Real", "std::math::quaternion", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddVariable(symbols.NewVariableBuilder("IDENTITY", "Quaternion", "std::math::quaternion", &docId).Build()).AddStruct(symbols.NewStructBuilder("Quaternion", "std::math::quaternion", &docId).WithStructMember("v", "Real", "std::math::quaternion", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("a", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Quaternion", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_each", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("a", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Real", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sub", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("a", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Quaternion", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sub_each", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("a", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Real", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("scale", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("a", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("s", "Real", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("normalize", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("q", "Quaternion", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("length", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("q", "Quaternion", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("lerp", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("q1", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("q2", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("amount", "Real", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_matrixf", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("q", "Quaternion", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_matrix", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("q", "Quaternion", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("nlerp", symbols.NewTypeFromString("Quaternion", "std::math::quaternion"), "std::math::quaternion", &docId).WithTypeIdentifier("Quaternion").WithArgument(symbols.NewVariableBuilder("q1", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("q2", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("amount", "Real", "std::math::quaternion", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("invert", symbols.NewTypeFromString("Quaternion", "std::math::quaternion"), "std::math::quaternion", &docId).WithTypeIdentifier("Quaternion").WithArgument(symbols.NewVariableBuilder("q", "", "std::math::quaternion", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("slerp", symbols.NewTypeFromString("Quaternion", "std::math::quaternion"), "std::math::quaternion", &docId).WithTypeIdentifier("Quaternion").WithArgument(symbols.NewVariableBuilder("q1", "", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("q2", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("amount", "Real", "std::math::quaternion", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("mul", symbols.NewTypeFromString("Quaternion", "std::math::quaternion"), "std::math::quaternion", &docId).WithTypeIdentifier("Quaternion").WithArgument(symbols.NewVariableBuilder("a", "", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "Quaternion", "std::math::quaternion", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("into_matrix", symbols.NewTypeFromString("", "std::math::quaternion"), "std::math::quaternion", &docId).WithArgument(symbols.NewVariableBuilder("q", "Quaternion", "std::math::quaternion", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::math::quaternion", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::net::os + module = moduleCollection["std::net::os"] + module.AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_APPLETALK", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_PVP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_PGM", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_GRE", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_INET6", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IDRP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_AHIP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_DGP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_LARP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IGMP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IRTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_BHA", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_DSTOPTS", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SCCSP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ETHERIP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SOCK_STREAM", "AISockType", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AF_UNSPEC", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPPOTO_IP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ADFS", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_NHRP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ICMP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ICMPV6", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AF_UNIX", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IPV4", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SATMON", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_VMTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_CPHB", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SUPPORTS_INET", "bool", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_TRUNK2", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_MHRP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_NONE", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_HELLO", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SATEXPAK", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_CANONNAME", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_NUMERICHOST", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_RAW", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SOCK_SEQPACKET", "AISockType", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_UDP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_TCF", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IPCOMP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_AF_IPX", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ST", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_RDP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_DDP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IL", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_RCCMON", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SVMTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_MTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_PRM", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_INP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ENCAP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_PUP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SDRP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ESP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_VISA", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ARGUS", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_OSPFIGP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SCTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_DIVERT", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_WSN", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_WBMON", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("PLATFORM_O_NONBLOCK", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SOCK_RDM", "AISockType", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IDPR", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_FRAGMENT", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_INLSP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_KRYPTOLAN", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_TP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_TPXX", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_CPNX", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_BRSATMON", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_APES", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_EGP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ROUTING", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_HMP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_BLT", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_AH", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SWIPE", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_EON", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_VINES", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SRPC", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SOCK_DGRAM", "AISockType", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("SOCK_RAW", "AISockType", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_TCP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_CMTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_RSVP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_ND", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_NSP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IPCV", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IGP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_TTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_MICP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AI_PASSIVE", "AIFlags", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_CHAOS", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_MUX", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_LEAF1", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_PIM", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_EMCON", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_3PC", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IPV6", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_LEAF2", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_XTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_CFTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_GMTP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("AF_INET", "AIFamily", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_NVPII", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IPPC", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_WBEXPAK", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IGRP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IPEIP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_PIGP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_TRUNK1", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_RVD", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_AX25", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_XNET", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_MEAS", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_IDP", "", "std::net::os", &docId).Build()).AddVariable(symbols.NewVariableBuilder("IPPROTO_SEP", "", "std::net::os", &docId).Build()).AddStruct(symbols.NewStructBuilder("AddrInfo", "std::net::os", &docId).WithStructMember("ai_flags", "AIFlags", "std::net::os", &docId).WithStructMember("ai_family", "AIFamily", "std::net::os", &docId).WithStructMember("ai_socktype", "AISockType", "std::net::os", &docId).WithStructMember("ai_protocol", "AIProtocol", "std::net::os", &docId).WithStructMember("ai_addrlen", "Socklen_t", "std::net::os", &docId).WithStructMember("ai_next", "AddrInfo", "std::net::os", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Socklen_t", "std::net::os", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getaddrinfo", symbols.NewTypeFromString("CInt", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("nodename", "ZString", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("servname", "ZString", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hints", "AddrInfo", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("res", "AddrInfo", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("freeaddrinfo", symbols.NewTypeFromString("void", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("res", "AddrInfo", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setsockopt", symbols.NewTypeFromString("CInt", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("socket", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("level", "CInt", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("optname", "CInt", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("optval", "void", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("optlen", "Socklen_t", "std::net::os", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getsockopt", symbols.NewTypeFromString("CInt", "std::net::os"), "std::net::os", &docId).WithArgument(symbols.NewVariableBuilder("socket", "NativeSocket", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("level", "CInt", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("optname", "CInt", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("optval", "void", "std::net::os", &docId).Build()).WithArgument(symbols.NewVariableBuilder("optlen", "Socklen_t", "std::net::os", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::collections::anylist + module = moduleCollection["std::collections::anylist"] + module.AddStruct(symbols.NewStructBuilder("AnyList", "std::collections::anylist", &docId).WithStructMember("size", "usz", "std::collections::anylist", &docId).WithStructMember("capacity", "usz", "std::collections::anylist", &docId).WithStructMember("allocator", "Allocator", "std::collections::anylist", &docId).WithStructMember("entries", "any", "std::collections::anylist", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("AnyTest", "std::collections::anylist", &docId).WithResolvesTo("fn bool(any type, any context)").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("AnyPredicate", "std::collections::anylist", &docId).WithResolvesTo("fn bool(any value)").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_init", symbols.NewTypeFromString("AnyList*", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_init", symbols.NewTypeFromString("AnyList*", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("initial_capacity", "usz", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_format", symbols.NewTypeFromString("usz!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("formatter", "Formatter", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_new_string", symbols.NewTypeFromString("String", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_tstring", symbols.NewTypeFromString("String", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("append_internal", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "any", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free_element", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "any", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_pop", symbols.NewTypeFromString("any!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_pop", symbols.NewTypeFromString("any!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop_retained", symbols.NewTypeFromString("any!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("clear", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop_first", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pop_first_retained", symbols.NewTypeFromString("any!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("new_pop_first", symbols.NewTypeFromString("any!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("temp_pop_first", symbols.NewTypeFromString("any!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_at", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("add_all", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("other_list", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reverse", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("array_view", symbols.NewTypeFromString("any", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("push_front", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("insert_at", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("insert_at_internal", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "any", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_last", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_first", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("first", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("first_any", symbols.NewTypeFromString("any!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("last", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("last_any", symbols.NewTypeFromString("any!", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("is_empty", symbols.NewTypeFromString("bool", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_any", symbols.NewTypeFromString("any", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("free", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("swap", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("i", "usz", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("j", "usz", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_if", symbols.NewTypeFromString("usz", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "AnyPredicate", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("retain_if", symbols.NewTypeFromString("usz", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("selection", "AnyPredicate", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_remove_if", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "AnyPredicate", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("remove_using_test", symbols.NewTypeFromString("usz", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "AnyTest", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "any", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("retain_using_test", symbols.NewTypeFromString("usz", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "AnyTest", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "any", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_remove_using_test", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("filter", "AnyTest", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ctx", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("reserve", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("min_capacity", "usz", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@item_at", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("set", symbols.NewTypeFromString("", "std::collections::anylist"), "std::collections::anylist", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("index", "usz", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("value", "", "std::collections::anylist", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("ensure_capacity", symbols.NewTypeFromString("void", "std::collections::anylist"), "std::collections::anylist", &docId).WithTypeIdentifier("AnyList").WithArgument(symbols.NewVariableBuilder("self", "AnyList", "std::collections::anylist", &docId).Build()).WithArgument(symbols.NewVariableBuilder("added", "usz", "std::collections::anylist", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::builtin + module = moduleCollection["std::core::builtin"] + module.AddVariable(symbols.NewVariableBuilder("old_bus_error", "SignalFunction", "std::core::builtin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("old_segmentation_fault", "SignalFunction", "std::core::builtin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("panic", "PanicFn", "std::core::builtin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EMPTY_MACRO_SLOT", "EmptySlot", "std::core::builtin", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MAX_FRAMEADDRESS", "", "std::core::builtin", &docId).Build()).AddDef(symbols.NewDefBuilder("PanicFn", "std::core::builtin", &docId).WithResolvesTo("fn void(String message, String file, String function, uint line)").WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("PrefetchLocality", "", "std::core::builtin", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("NO_LOCALITY", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("FAR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("NEAR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("VERY_NEAR", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFault(symbols.NewFaultBuilder("IteratorResult", "", "std::core::builtin", &docId).WithConstant(symbols.NewFaultConstantBuilder("NO_MORE_ELEMENT", &docId).Build()).Build()).AddFault(symbols.NewFaultBuilder("SearchResult", "", "std::core::builtin", &docId).WithConstant(symbols.NewFaultConstantBuilder("MISSING", &docId).Build()).Build()).AddFault(symbols.NewFaultBuilder("CastResult", "", "std::core::builtin", &docId).WithConstant(symbols.NewFaultConstantBuilder("TYPE_MISMATCH", &docId).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("@scope", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("variable", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@swap", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("anycast", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("v", "any", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("print_backtrace", symbols.NewTypeFromString("bool", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("message", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("backtraces_to_ignore", "int", "std::core::builtin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("default_panic", symbols.NewTypeFromString("void", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("message", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("function", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("line", "uint", "std::core::builtin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("default_panic", symbols.NewTypeFromString("void", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("message", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("function", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("line", "uint", "std::core::builtin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("panicf", symbols.NewTypeFromString("void", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("fmt", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("file", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("function", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("line", "uint", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("args", "", "std::core::builtin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unreachable", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("string", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("unsupported", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("string", "String", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("breakpoint", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("any_make", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "typeid", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("retype_to", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("type", "typeid", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("as_inner", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("bitcast", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("expr", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("enum_by_name", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("enum_name", "String", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@likely", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@unlikely", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@expect", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("expected", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@prefetch", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "bool", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("swizzle", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("swizzle2", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("v", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("v2", "", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@catch", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@ok", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@as_char_view", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("value", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@str_find", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "String", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "String", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@str_upper", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "String", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@str_lower", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "String", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@str_hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "String", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("i", "int", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("i", "uint", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("s", "short", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("s", "ushort", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("c", "ichar", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("i", "long", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("i", "ulong", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("i", "int128", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("i", "uint128", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("b", "bool", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("t", "typeid", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("c", "String", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("c", "char", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hash", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("ptr", "void", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_empty_macro_slot", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@is_valid_macro_slot", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_frameaddress", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("n", "int", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_returnaddress", symbols.NewTypeFromString("", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("n", "int", "std::core::builtin", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sig_panic", symbols.NewTypeFromString("void", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("message", "String", "std::core::builtin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sig_bus_error", symbols.NewTypeFromString("void", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("i", "CInt", "std::core::builtin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sig_segmentation_fault", symbols.NewTypeFromString("void", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("i", "CInt", "std::core::builtin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("install_signal_handler", symbols.NewTypeFromString("void", "std::core::builtin"), "std::core::builtin", &docId).WithArgument(symbols.NewVariableBuilder("signal", "CInt", "std::core::builtin", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func", "SignalFunction", "std::core::builtin", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("install_signal_handlers", symbols.NewTypeFromString("void", "std::core::builtin"), "std::core::builtin", &docId).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("powf_broken", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("f", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pow_broken", symbols.NewTypeFromString("double", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::net + module = moduleCollection["std::net"] + module.AddFunction(symbols.NewFunctionBuilder("apply_sockoptions", symbols.NewTypeFromString("", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("sockfd", "", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "", "std::net", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_from_addrinfo", symbols.NewTypeFromString("Socket!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("addrinfo", "AddrInfo", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("last_error_is_delayed_connect", symbols.NewTypeFromString("bool", "std::net"), "std::net", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_with_timeout_from_addrinfo", symbols.NewTypeFromString("Socket!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("addrinfo", "AddrInfo", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("timeout", "Duration", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("connect_async_from_addrinfo", symbols.NewTypeFromString("Socket!", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("addrinfo", "AddrInfo", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("options", "SocketOption", "std::net", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@network_loop_over_ai", symbols.NewTypeFromString("", "std::net"), "std::net", &docId).WithArgument(symbols.NewVariableBuilder("network", "", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("host", "", "std::net", &docId).Build()).WithArgument(symbols.NewVariableBuilder("port", "", "std::net", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::os::linux + module = moduleCollection["std::os::linux"] + module.AddVariable(symbols.NewVariableBuilder("PT_PHDR", "", "std::os::linux", &docId).Build()).AddVariable(symbols.NewVariableBuilder("EI_NIDENT", "", "std::os::linux", &docId).Build()).AddStruct(symbols.NewStructBuilder("Elf32_Ehdr", "std::os::linux", &docId).WithStructMember("e_ident", "char", "std::os::linux", &docId).WithStructMember("e_type", "Elf32_Half", "std::os::linux", &docId).WithStructMember("e_machine", "Elf32_Half", "std::os::linux", &docId).WithStructMember("e_version", "Elf32_Word", "std::os::linux", &docId).WithStructMember("e_entry", "Elf32_Addr", "std::os::linux", &docId).WithStructMember("e_phoff", "Elf32_Off", "std::os::linux", &docId).WithStructMember("e_shoff", "Elf32_Off", "std::os::linux", &docId).WithStructMember("e_flags", "Elf32_Word", "std::os::linux", &docId).WithStructMember("e_ehsize", "Elf32_Half", "std::os::linux", &docId).WithStructMember("e_phentsize", "Elf32_Half", "std::os::linux", &docId).WithStructMember("e_phnum", "Elf32_Half", "std::os::linux", &docId).WithStructMember("e_shentsize", "Elf32_Half", "std::os::linux", &docId).WithStructMember("e_shnum", "Elf32_Half", "std::os::linux", &docId).WithStructMember("e_shstrndx", "Elf32_Half", "std::os::linux", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Elf32_Phdr", "std::os::linux", &docId).WithStructMember("p_type", "Elf32_Word", "std::os::linux", &docId).WithStructMember("p_offset", "Elf32_Off", "std::os::linux", &docId).WithStructMember("p_vaddr", "Elf32_Addr", "std::os::linux", &docId).WithStructMember("p_paddr", "Elf32_Addr", "std::os::linux", &docId).WithStructMember("p_filesz", "Elf32_Word", "std::os::linux", &docId).WithStructMember("p_memsz", "Elf32_Word", "std::os::linux", &docId).WithStructMember("p_flags", "Elf32_Word", "std::os::linux", &docId).WithStructMember("p_align", "Elf32_Word", "std::os::linux", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Elf64_Ehdr", "std::os::linux", &docId).WithStructMember("e_ident", "char", "std::os::linux", &docId).WithStructMember("e_type", "Elf64_Half", "std::os::linux", &docId).WithStructMember("e_machine", "Elf64_Half", "std::os::linux", &docId).WithStructMember("e_version", "Elf64_Word", "std::os::linux", &docId).WithStructMember("e_entry", "Elf64_Addr", "std::os::linux", &docId).WithStructMember("e_phoff", "Elf64_Off", "std::os::linux", &docId).WithStructMember("e_shoff", "Elf64_Off", "std::os::linux", &docId).WithStructMember("e_flags", "Elf64_Word", "std::os::linux", &docId).WithStructMember("e_ehsize", "Elf64_Half", "std::os::linux", &docId).WithStructMember("e_phentsize", "Elf64_Half", "std::os::linux", &docId).WithStructMember("e_phnum", "Elf64_Half", "std::os::linux", &docId).WithStructMember("e_shentsize", "Elf64_Half", "std::os::linux", &docId).WithStructMember("e_shnum", "Elf64_Half", "std::os::linux", &docId).WithStructMember("e_shstrndx", "Elf64_Half", "std::os::linux", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Elf64_Phdr", "std::os::linux", &docId).WithStructMember("p_type", "Elf64_Word", "std::os::linux", &docId).WithStructMember("p_flags", "Elf64_Word", "std::os::linux", &docId).WithStructMember("p_offset", "Elf64_Off", "std::os::linux", &docId).WithStructMember("p_vaddr", "Elf64_Addr", "std::os::linux", &docId).WithStructMember("p_paddr", "Elf64_Addr", "std::os::linux", &docId).WithStructMember("p_filesz", "Elf64_Xword", "std::os::linux", &docId).WithStructMember("p_memsz", "Elf64_Xword", "std::os::linux", &docId).WithStructMember("p_align", "Elf64_Xword", "std::os::linux", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Linux_Dl_info", "std::os::linux", &docId).WithStructMember("dli_fname", "ZString", "std::os::linux", &docId).WithStructMember("dli_fbase", "void", "std::os::linux", &docId).WithStructMember("dli_sname", "ZString", "std::os::linux", &docId).WithStructMember("dli_saddr", "void", "std::os::linux", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf64_Sxword", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf64_Xword", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf32_Addr", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf64_Half", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf64_Off", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf64_Addr", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf64_Word", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf64_Sword", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf64_Lword", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf32_Half", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf32_Word", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Elf32_Off", "std::os::linux", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("readlink", symbols.NewTypeFromString("isz", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("path", "ZString", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("buf", "char", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bufsize", "usz", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("dladdr", symbols.NewTypeFromString("CInt", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("addr", "void", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("info", "Linux_Dl_info", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("elf_module_image_base", symbols.NewTypeFromString("ulong!", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("path", "String", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace_add_from_exec", symbols.NewTypeFromString("void!", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("list", "BacktraceList", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("addr", "void", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace_add_from_dlinfo", symbols.NewTypeFromString("void!", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("list", "BacktraceList", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("addr", "void", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("info", "Linux_Dl_info", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace_line_parse", symbols.NewTypeFromString("Backtrace!", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("string", "String", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("obj_name", "String", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func_name", "String", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("is_inlined", "bool", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace_add_addr2line", symbols.NewTypeFromString("void!", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("list", "BacktraceList", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("addr", "void", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("addr2line", "String", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("obj_name", "String", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("func_name", "String", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("backtrace_add_element", symbols.NewTypeFromString("void!", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("list", "BacktraceList", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("addr", "void", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("symbolize_backtrace", symbols.NewTypeFromString("BacktraceList!", "std::os::linux"), "std::os::linux", &docId).WithArgument(symbols.NewVariableBuilder("backtrace", "void", "std::os::linux", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::os::linux", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::mem::allocator + module = moduleCollection["std::core::mem::allocator"] + module.AddVariable(symbols.NewVariableBuilder("LIBC_ALLOCATOR", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("aligned", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("aligned", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("acquire", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("init_type", "AllocInitType", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("resize", symbols.NewTypeFromString("void*!", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("new_bytes", "usz", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("alignment", "usz", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("release", symbols.NewTypeFromString("void", "std::core::mem::allocator"), "std::core::mem::allocator", &docId).WithTypeIdentifier("LibcAllocator").WithArgument(symbols.NewVariableBuilder("self", "LibcAllocator", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("old_ptr", "void", "std::core::mem::allocator", &docId).Build()).WithArgument(symbols.NewVariableBuilder("aligned", "bool", "std::core::mem::allocator", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::array + module = moduleCollection["std::core::array"] + module.AddFunction(symbols.NewFunctionBuilder("index_of", symbols.NewTypeFromString("", "std::core::array"), "std::core::array", &docId).WithArgument(symbols.NewVariableBuilder("array", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "", "std::core::array", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("slice2d", symbols.NewTypeFromString("", "std::core::array"), "std::core::array", &docId).WithArgument(symbols.NewVariableBuilder("array", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("xlen", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ylen", "", "std::core::array", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("rindex_of", symbols.NewTypeFromString("", "std::core::array"), "std::core::array", &docId).WithArgument(symbols.NewVariableBuilder("array", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("element", "", "std::core::array", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("concat_new", symbols.NewTypeFromString("", "std::core::array"), "std::core::array", &docId).WithArgument(symbols.NewVariableBuilder("arr1", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arr2", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::core::array", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("tconcat", symbols.NewTypeFromString("", "std::core::array"), "std::core::array", &docId).WithArgument(symbols.NewVariableBuilder("arr1", "", "std::core::array", &docId).Build()).WithArgument(symbols.NewVariableBuilder("arr2", "", "std::core::array", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::core::array::slice + module = moduleCollection["std::core::array::slice"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{"Type": symbols.NewGenericParameter("Type", "std::core::array::slice", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0))}).AddStruct(symbols.NewStructBuilder("Slice2d", "std::core::array::slice", &docId).WithStructMember("ptr", "Type", "std::core::array::slice", &docId).WithStructMember("inner_len", "usz", "std::core::array::slice", &docId).WithStructMember("ystart", "usz", "std::core::array::slice", &docId).WithStructMember("ylen", "usz", "std::core::array::slice", &docId).WithStructMember("xstart", "usz", "std::core::array::slice", &docId).WithStructMember("xlen", "usz", "std::core::array::slice", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("len", symbols.NewTypeFromString("usz", "std::core::array::slice"), "std::core::array::slice", &docId).WithTypeIdentifier("Slice2d").WithArgument(symbols.NewVariableBuilder("self", "Slice2d", "std::core::array::slice", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("count", symbols.NewTypeFromString("usz", "std::core::array::slice"), "std::core::array::slice", &docId).WithTypeIdentifier("Slice2d").WithArgument(symbols.NewVariableBuilder("self", "Slice2d", "std::core::array::slice", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@each", symbols.NewTypeFromString("", "std::core::array::slice"), "std::core::array::slice", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::core::array::slice", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("@each_ref", symbols.NewTypeFromString("", "std::core::array::slice"), "std::core::array::slice", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::core::array::slice", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get", symbols.NewTypeFromString("", "std::core::array::slice"), "std::core::array::slice", &docId).WithArgument(symbols.NewVariableBuilder("self", "", "std::core::array::slice", &docId).Build()).WithArgument(symbols.NewVariableBuilder("idy", "usz", "std::core::array::slice", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("slice", symbols.NewTypeFromString("Slice2d", "std::core::array::slice"), "std::core::array::slice", &docId).WithTypeIdentifier("Slice2d").WithArgument(symbols.NewVariableBuilder("self", "Slice2d", "std::core::array::slice", &docId).Build()).WithArgument(symbols.NewVariableBuilder("x", "isz", "std::core::array::slice", &docId).Build()).WithArgument(symbols.NewVariableBuilder("xlen", "isz", "std::core::array::slice", &docId).Build()).WithArgument(symbols.NewVariableBuilder("y", "isz", "std::core::array::slice", &docId).Build()).WithArgument(symbols.NewVariableBuilder("ylen", "isz", "std::core::array::slice", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("__sindf", symbols.NewTypeFromString("float", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::math + module = moduleCollection["std::math"] + module.AddStruct(symbols.NewStructBuilder("Int128bits", "std::math", &docId).WithStructMember("all", "uint128", "std::math", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__divti3", symbols.NewTypeFromString("int128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "int128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__umodti3", symbols.NewTypeFromString("uint128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("n", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "uint128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__udivti3", symbols.NewTypeFromString("uint128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("n", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("d", "uint128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__modti3", symbols.NewTypeFromString("int128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "int128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__lshrti3", symbols.NewTypeFromString("uint128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "uint128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "uint", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__ashrti3", symbols.NewTypeFromString("int128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "uint", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__ashlti3", symbols.NewTypeFromString("int128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "uint", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__mulddi3", symbols.NewTypeFromString("int128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "ulong", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "ulong", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__multi3", symbols.NewTypeFromString("int128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "int128", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("b", "int128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__floattisf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "int128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__floattidf", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "int128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__floatuntisf", symbols.NewTypeFromString("float", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "uint128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__floatuntidf", symbols.NewTypeFromString("double", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "uint128", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__fixunsdfti", symbols.NewTypeFromString("uint128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__fixunssfti", symbols.NewTypeFromString("uint128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__fixdfti", symbols.NewTypeFromString("int128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "double", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("__fixsfti", symbols.NewTypeFromString("int128", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "float", "std::math", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("float_from_i128", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("a", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("float_from_u128", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("", "", "std::math", &docId).Build()).WithArgument(symbols.NewVariableBuilder("a", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fixuint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("fixint", symbols.NewTypeFromString("", "std::math"), "std::math", &docId).WithArgument(symbols.NewVariableBuilder("a", "", "std::math", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::math::nolibc + module = moduleCollection["std::math::nolibc"] + module.AddFunction(symbols.NewFunctionBuilder("sincosf", symbols.NewTypeFromString("void", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "float", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sin", "float", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cos", "float", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("sincos", symbols.NewTypeFromString("void", "std::math::nolibc"), "std::math::nolibc", &docId).WithArgument(symbols.NewVariableBuilder("x", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sin", "double", "std::math::nolibc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cos", "double", "std::math::nolibc", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddVariable(symbols.NewVariableBuilder("MAX_PATH", "", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_DEVICE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_SPARSE_FILE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_REPARSE_POINT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_EA", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_UNPINNED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_PINNED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_RECALL_ON_OPEN", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_SYSTEM", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_ARCHIVE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_TEMPORARY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_COMPRESSED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_ENCRYPTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_NO_SCRUB_DATA", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_VIRTUAL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("GENERIC_WRITE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("OPEN_EXISTING", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_READONLY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_DIRECTORY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_NORMAL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_OFFLINE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_HIDDEN", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_NOT_CONTENT_INDEXED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("FILE_ATTRIBUTE_INTEGRITY_STREAM", "Win32_DWORD", "std::os::win32", &docId).Build()).AddStruct(symbols.NewStructBuilder("Win32_FILE_ATTRIBUTE_DATA", "std::os::win32", &docId).WithStructMember("dwFileAttributes", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("ftCreationTime", "Win32_FILETIME", "std::os::win32", &docId).WithStructMember("ftLastAccessTime", "Win32_FILETIME", "std::os::win32", &docId).WithStructMember("ftLastWriteTime", "Win32_FILETIME", "std::os::win32", &docId).WithStructMember("nFileSizeHigh", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("nFileSizeLow", "Win32_DWORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddStruct(symbols.NewStructBuilder("Win32_WIN32_FIND_DATAW", "std::os::win32", &docId).WithStructMember("dwFileAttributes", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("ftCreationTime", "Win32_FILETIME", "std::os::win32", &docId).WithStructMember("ftLastAccessTime", "Win32_FILETIME", "std::os::win32", &docId).WithStructMember("ftLastWriteTime", "Win32_FILETIME", "std::os::win32", &docId).WithStructMember("nFileSizeHigh", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("nFileSizeLow", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwReserved0", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwReserved1", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("cFileName", "Win32_WCHAR", "std::os::win32", &docId).WithStructMember("cAlternateFileName", "Win32_WCHAR", "std::os::win32", &docId).WithStructMember("dwFileType", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("dwCreatorType", "Win32_DWORD", "std::os::win32", &docId).WithStructMember("wFinderFlags", "Win32_WORD", "std::os::win32", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Win32_LPWIN32_FIND_DATAW", "std::os::win32", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddEnum(symbols.NewEnumBuilder("Win32_GET_FILEEX_INFO_LEVELS", "", "std::os::win32", &docId).WithEnumerator(symbols.NewEnumeratorBuilder("STANDARD", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).WithEnumerator(symbols.NewEnumeratorBuilder("MAX", &docId).WithAssociativeValues([]symbols.Variable{}).Build()).Build()).AddFunction(symbols.NewFunctionBuilder("closeHandle", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createPipe", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hReadPipe", "Win32_PHANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hWritePipe", "Win32_PHANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpPipeAttributes", "Win32_LPSECURITY_ATTRIBUTES", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nSize", "Win32_DWORD", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getFileAttributesExW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("pathFileExistsW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("getTempPathW", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("nBufferLength", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpBuffer", "Win32_LPWSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("setCurrentDirectoryW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "Win32_LPCTSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("removeDirectoryW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpPathName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createDirectoryW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpPathName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpPipeAttributes", "Win32_LPSECURITY_ATTRIBUTES", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("deleteFileW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpFileName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("findFirstFileW", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpFileName", "Win32_LPCWSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpFindFileData", "Win32_LPWIN32_FIND_DATAW", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("findNextFileW", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hFindFile", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpFindFileData", "Win32_LPWIN32_FIND_DATAW", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("findClose", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hFindFile", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("createFileA", symbols.NewTypeFromString("Win32_HANDLE", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("lpFileName", "Win32_LPCSTR", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwDesiredAccess", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwShareMode", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpSecurityAttributes", "Win32_LPSECURITY_ATTRIBUTES", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwCreationDisposition", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("dwFlagsAndAttributes", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("hTemplateFile", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("readFile", symbols.NewTypeFromString("Win32_BOOL", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("hFile", "Win32_HANDLE", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpBuffer", "Win32_LPVOID", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("nNumberOfBytesToRead", "Win32_DWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpNumberOfBytesRead", "Win32_LPDWORD", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("lpOverlapped", "Win32_LPOVERLAPPED", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_wgetcwd", symbols.NewTypeFromString("WString", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("buffer", "Char16", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("maxlen", "int", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("wcslen", symbols.NewTypeFromString("usz", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("str", "WString", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_open_osfhandle", symbols.NewTypeFromString("int", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("osfhandle", "iptr", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("flags", "int", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_get_osfhandle", symbols.NewTypeFromString("iptr", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("fd", "int", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_fdopen", symbols.NewTypeFromString("CFile", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("fd", "int", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "ZString", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_access", symbols.NewTypeFromString("CInt", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("path", "ZString", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "CInt", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_waccess", symbols.NewTypeFromString("CInt", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("path", "WString", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("mode", "CInt", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("_wfullpath", symbols.NewTypeFromString("WString", "std::os::win32"), "std::os::win32", &docId).WithArgument(symbols.NewVariableBuilder("absPath", "WString", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("relPath", "WString", "std::os::win32", &docId).Build()).WithArgument(symbols.NewVariableBuilder("maxLength", "usz", "std::os::win32", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::os::win32 + module = moduleCollection["std::os::win32"] + module.AddVariable(symbols.NewVariableBuilder("ERROR_SEM_OWNER_DIED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_THREAD_1_INACTIVE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SHARING_VIOLATION", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_NAMES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_LIST_FORMAT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("WAIT_TIMEOUT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IO_PENDING", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DISCARDED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EXE_MACHINE_TYPE_MISMATCH", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SUBST_TO_SUBST", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_ARGUMENTS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_MAX_THRDS_REACHED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_JOIN_TO_SUBST", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IS_SUBST_PATH", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_WRITE_PROTECT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_REM_ADAP", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EXE_MARKED_INVALID", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_GEN_FAILURE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SEM_TIMEOUT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EXE_CANNOT_MODIFY_STRONG_SIGNED_BINARY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_OWNER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_EXCEPTION_HANDLER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SEEK", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_NAME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_FLAG_NUMBER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SHORT_NAMES_NOT_ENABLED_ON_VOLUME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IMAGE_SUBSYSTEM_NOT_PRESENT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_JOIN_TO_JOIN", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BUSY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PIPE_NOT_CONNECTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_EA_NAME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DISK_FULL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_CHILD_NOT_COMPLETE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_JOINED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_CANCEL_VIOLATION", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_ITERATED_DATA_EXCEEDS_64K", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_COMMAND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_OUT_OF_STRUCTURES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_OPLOCK_PROTOCOL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DIR_NOT_ROOT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_SUBSTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_MODULETYPE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DIRECTORY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_RELOC_CHAIN_XEEDS_SEGLIM", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EA_LIST_INCONSISTENT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EAS_NOT_SUPPORTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_MR_MID_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IO_INCOMPLETE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SHARING_PAUSED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_SEGDPL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_MINALLOCSIZE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NESTING_NOT_ALLOWED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_FILE_TOO_LARGE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_MOD_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SCOPE_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_ENVIRONMENT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_ACCESS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_FAIL_I24", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_PARAMETER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_THREADID_ADDR", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SECURITY_STREAM_IS_INCONSISTENT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SIGNAL_REFUSED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_META_EXPANSION_TOO_LONG", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_CHECKOUT_REQUIRED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SECTOR_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_WRITE_FAULT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_HANDLE_EOF", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_REM_NOT_LIST", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_OPEN_FAILED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_VOLUME_LABEL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SAME_DRIVE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_POSTS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_LOCKED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IS_JOINED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BUSY_DRIVE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_LOCK_RANGE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NETWORK_ACCESS_DENIED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NET_WRITE_FAULT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IS_SUBST_TARGET", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_MORE_FILES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SHARING_BUFFER_EXCEEDED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_UNEXP_NET_ERR", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SEM_USER_LIMIT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_CANNOT_COPY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_CMDS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NETNAME_DELETED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_PATHNAME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SIGNAL_PENDING", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DEVICE_SUPPORT_IN_PROGRESS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_TOKEN", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_RING2_STACK_IN_USE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_VC_DISCONNECTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_ACCESS_DENIED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_FORMAT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DIR_NOT_EMPTY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SYSTEM_TRACE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_FORMS_AUTH_REQUIRED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_OPEN_FILES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_OUT_OF_PAPER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DEVICE_FEATURE_NOT_SUPPORTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_SPOOL_SPACE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_ATOMIC_LOCKS_NOT_SUPPORTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_ALREADY_EXISTS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DISK_TOO_FRAGMENTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_ALLOWED_ON_SYSTEM_FILE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_CRC", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_SESS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_DATA", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_BLOCK", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_LENGTH", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_REQ_NOT_ACCEP", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_VIRUS_INFECTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_OPLOCK_NOT_GRANTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_SUPPORTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BROKEN_PIPE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PROC_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_STACKSEG", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_VIRUS_DELETED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_READY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PRINT_CANCELLED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IOPL_NOT_ENABLED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_RANGES_PROCESSED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_FILE_CHECKED_OUT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PIPE_LOCAL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_MORE_ITEMS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_DRIVE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_PROC_SLOTS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DRIVE_LOCKED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_CALL_NOT_IMPLEMENTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_LOCKED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EAS_DIDNT_FIT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_ENOUGH_MEMORY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_SAME_DEVICE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_HANDLE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_WRONG_DISK", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_DEV_TYPE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_RING2SEG_MUST_BE_MOVABLE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_EVENT_COUNT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_SEGMENT_NUMBER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_FILE_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PRINTQ_FULL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_NET_NAME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_FILE_EXISTS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SEM_IS_SET", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_UNDEFINED_SCOPE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PATH_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_REDIR_PAUSED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IS_JOIN_PATH", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_FILENAME_EXCED_RANGE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_MODULES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IS_JOIN_TARGET", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PATH_BUSY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_VERIFY_SWITCH", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_ORDINAL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_AUTODATASEG_EXCEEDS_64K", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PIPE_BUSY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_MORE_DATA", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_TCBS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SEM_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DEV_NOT_EXIST", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_AT_INTERRUPT_TIME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_MORE_SEARCH_HANDLES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_IS_SUBSTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EA_TABLE_FULL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_SEMAPHORES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_CATEGORY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_SIGNAL_NUMBER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EXCL_SEM_ALREADY_OWNED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_EXE_SIGNATURE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_OUTOFMEMORY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_WAIT_NO_CHILDREN", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_LABEL_TOO_LONG", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_EXE_FORMAT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DYNLINK_FROM_INVALID_RING", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_EA_HANDLE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOTIFICATION_GUID_ALREADY_DEFINED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_ADAP_HDW_ERR", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EA_FILE_CORRUPT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_STARTING_CODESEG", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_CANNOT_MAKE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_ALREADY_ASSIGNED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DELETE_PENDING", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DISK_RESOURCES_EXHAUSTED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_NET_RESP", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_SEM_REQUESTS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DISK_CHANGE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NO_SIGNAL_SENT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_PIPE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DUP_NAME", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_NETPATH", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BUFFER_OVERFLOW", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_ARENA_TRASHED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_LOCK_VIOLATION", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INSUFFICIENT_BUFFER", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DIRECT_ACCESS_HANDLE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SEEK_ON_DEVICE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_DRIVER_LEVEL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NETWORK_BUSY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_PASSWORD", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_ENVVAR_NOT_FOUND", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_FUNCTION", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NOT_DOS_DISK", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_NEGATIVE_SEEK", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_EXE_CANNOT_MODIFY_SIGNED_BINARY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_CURRENT_DIRECTORY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_TOO_MANY_MUXWAITERS", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_LOCK_FAILED", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_DATA", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_UNIT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_READ_FAULT", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_SUBST_TO_JOIN", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_DUPLICATE_PRIVILEGES", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INFLOOP_IN_RELOC_CHAIN", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_HANDLE_DISK_FULL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_BAD_FILE_TYPE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_PARTIAL_COPY", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_TARGET_HANDLE", "Win32_DWORD", "std::os::win32", &docId).Build()).AddVariable(symbols.NewVariableBuilder("ERROR_INVALID_LEVEL", "Win32_DWORD", "std::os::win32", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("getLastError", symbols.NewTypeFromString("Win32_DWORD", "std::os::win32"), "std::os::win32", &docId).WithoutSourceCode().Build()) + + // Define module std::sort + module = moduleCollection["std::sort"] + module.AddFunction(symbols.NewFunctionBuilder("insertionsort", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("list", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmp", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::sort::is + module = moduleCollection["std::sort::is"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{ + "CmpFn": symbols.NewGenericParameter("CmpFn", "std::sort::is", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Context": symbols.NewGenericParameter("Context", "std::sort::is", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Type": symbols.NewGenericParameter("Type", "std::sort::is", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + }).AddDef(symbols.NewDefBuilder("ElementType", "std::sort::is", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("isort", symbols.NewTypeFromString("void", "std::sort::is"), "std::sort::is", &docId).WithArgument(symbols.NewVariableBuilder("list", "Type", "std::sort::is", &docId).Build()).WithArgument(symbols.NewVariableBuilder("low", "usz", "std::sort::is", &docId).Build()).WithArgument(symbols.NewVariableBuilder("high", "usz", "std::sort::is", &docId).Build()).WithArgument(symbols.NewVariableBuilder("comp", "CmpFn", "std::sort::is", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "Context", "std::sort::is", &docId).Build()).WithoutSourceCode().Build()) + + // Define module std::core::string + module = moduleCollection["std::core::string"] + module.AddVariable(symbols.NewVariableBuilder("KMAX", "", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("MASK", "", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("B1B_DIG", "", "std::core::string", &docId).Build()).AddVariable(symbols.NewVariableBuilder("B1B_MAX", "uint[2]", "std::core::string", &docId).Build()).AddFunction(symbols.NewFunctionBuilder("decfloat", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("chars", "char", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "int", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "int", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sign", "int", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("hexfloat", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("chars", "char", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "int", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "int", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("sign", "int", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("to_real", symbols.NewTypeFromString("", "std::core::string"), "std::core::string", &docId).WithArgument(symbols.NewVariableBuilder("chars", "", "std::core::string", &docId).Build()).WithArgument(symbols.NewVariableBuilder("", "", "std::core::string", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::io::os + module = moduleCollection["std::io::os"] + module.AddFunction(symbols.NewFunctionBuilder("getcwd", symbols.NewTypeFromString("", "std::io::os"), "std::io::os", &docId).WithArgument(symbols.NewVariableBuilder("allocator", "Allocator", "std::io::os", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module libc + module = moduleCollection["libc"] + module.AddStruct(symbols.NewStructBuilder("Stat", "libc", &docId).WithStructMember("st_dev", "Dev_t", "libc", &docId).WithStructMember("st_ino", "Ino_t", "libc", &docId).WithStructMember("st_mode", "Mode_t", "libc", &docId).WithStructMember("st_nlink", "Nlink_t", "libc", &docId).WithStructMember("st_uid", "Uid_t", "libc", &docId).WithStructMember("st_gid", "Gid_t", "libc", &docId).WithStructMember("st_rdev", "Dev_t", "libc", &docId).WithStructMember("__pad1", "CInt", "libc", &docId).WithStructMember("st_size", "Off_t", "libc", &docId).WithStructMember("st_blksize", "Blksize_t", "libc", &docId).WithStructMember("__pad2", "CInt", "libc", &docId).WithStructMember("st_blocks", "Blkcnt_t", "libc", &docId).WithStructMember("st_atime", "Time_t", "libc", &docId).WithStructMember("st_atime_nsec", "long", "libc", &docId).WithStructMember("st_mtime", "Time_t", "libc", &docId).WithStructMember("st_mtime_nsec", "long", "libc", &docId).WithStructMember("st_ctime", "Time_t", "libc", &docId).WithStructMember("st_ctime_nsec", "long", "libc", &docId).WithStructMember("__unused", "CInt", "libc", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Nlink_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Blkcnt_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Ino_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Dev_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Mode_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Ino64_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Blkcnt64_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Blksize_t", "libc", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("stat", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithArgument(symbols.NewVariableBuilder("path", "ZString", "libc", &docId).Build()).WithArgument(symbols.NewVariableBuilder("stat", "Stat", "libc", &docId).Build()).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_nprocs", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("get_nprocs_conf", symbols.NewTypeFromString("CInt", "libc"), "libc", &docId).WithoutSourceCode().Build()) + + // Define module std::sort + module = moduleCollection["std::sort"] + module.AddFunction(symbols.NewFunctionBuilder("quicksort", symbols.NewTypeFromString("", "std::sort"), "std::sort", &docId).WithArgument(symbols.NewVariableBuilder("list", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmp", "", "std::sort", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "", "std::sort", &docId).Build()).IsMacro().WithoutSourceCode().Build()) + + // Define module std::sort::qs + module = moduleCollection["std::sort::qs"] + module.SetGenericParameters(map[string]*symbols.GenericParameter{ + "CmpFn": symbols.NewGenericParameter("CmpFn", "std::sort::qs", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Context": symbols.NewGenericParameter("Context", "std::sort::qs", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + "Type": symbols.NewGenericParameter("Type", "std::sort::qs", &docId, symbols.NewRange(0, 0, 0, 0), symbols.NewRange(0, 0, 0, 0)), + }).AddStruct(symbols.NewStructBuilder("StackElementItem", "std::sort::qs", &docId).WithStructMember("low", "isz", "std::sort::qs", &docId).WithStructMember("high", "isz", "std::sort::qs", &docId).WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("ElementType", "std::sort::qs", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddDef(symbols.NewDefBuilder("Stack", "std::sort::qs", &docId).WithResolvesTo("").WithoutSourceCode().Build()).AddFunction(symbols.NewFunctionBuilder("qsort", symbols.NewTypeFromString("void", "std::sort::qs"), "std::sort::qs", &docId).WithArgument(symbols.NewVariableBuilder("list", "Type", "std::sort::qs", &docId).Build()).WithArgument(symbols.NewVariableBuilder("low", "isz", "std::sort::qs", &docId).Build()).WithArgument(symbols.NewVariableBuilder("high", "isz", "std::sort::qs", &docId).Build()).WithArgument(symbols.NewVariableBuilder("cmp", "CmpFn", "std::sort::qs", &docId).Build()).WithArgument(symbols.NewVariableBuilder("context", "Context", "std::sort::qs", &docId).Build()).WithoutSourceCode().Build()) + return parsedModules +} From 014025c28ae80dc892765ada9e676d261c8e4912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Fri, 2 Aug 2024 17:01:59 +0200 Subject: [PATCH 12/15] Update gitignore --- .gitignore | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 162fab3..2716b0c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,7 @@ *.log assets tree-sitter-c3 -parser/target -server/bin \ No newline at end of file +parser/chumsky +server/internal/parser +server/bin +dist/ From 274762ceb66064ca3709d0e3df3a14dcade13256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Fri, 2 Aug 2024 17:26:40 +0200 Subject: [PATCH 13/15] Define 0.6.1 as a valid c3 language version. Fix language version comparison. --- server/cmd/lsp/main.go | 2 +- server/internal/lsp/project_state/version.go | 4 ++++ server/internal/lsp/server.go | 14 ++++++++++---- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/server/cmd/lsp/main.go b/server/cmd/lsp/main.go index 6c5158d..ed2a842 100644 --- a/server/cmd/lsp/main.go +++ b/server/cmd/lsp/main.go @@ -13,7 +13,7 @@ import ( ) const version = "0.0.7" -const prerelease = true +const prerelease = false const appName = "C3-LSP" func getVersion() string { diff --git a/server/internal/lsp/project_state/version.go b/server/internal/lsp/project_state/version.go index bde2e02..cf9c073 100644 --- a/server/internal/lsp/project_state/version.go +++ b/server/internal/lsp/project_state/version.go @@ -30,6 +30,10 @@ func SupportedVersions() []Version { Number: "0.6.0", stdLibSymbols: stdlib.Load_v060_stdlib, }, + { + Number: "0.6.1", + stdLibSymbols: stdlib.Load_v061_stdlib, + }, } } diff --git a/server/internal/lsp/server.go b/server/internal/lsp/server.go index 79d6cdd..7718eca 100644 --- a/server/internal/lsp/server.go +++ b/server/internal/lsp/server.go @@ -49,11 +49,13 @@ func NewServer(opts ServerOpts) *Server { logger.Debug("No crash reports") } + if opts.C3Version.IsSome() { + logger.Debug(fmt.Sprintf("C3 Language version specified: %s", opts.C3Version.Get())) + } + handler := protocol.Handler{} glspServer := glspserv.NewServer(&handler, opts.Name, true) - //documents := document.NewDocumentStore(fs.FileStorage{}) - requestedLanguageVersion := checkRequestedLanguageVersion(opts.C3Version) state := l.NewProjectState(logger, option.Some(requestedLanguageVersion.Number), opts.Debug) @@ -145,11 +147,15 @@ func checkRequestedLanguageVersion(version option.Option[string]) project_state. } for _, sVersion := range supportedVersions { - compare := semver.Compare(sVersion.Number, version.Get()) + if sVersion.Number == "dummy" { + continue + } + + compare := semver.Compare("v"+sVersion.Number, "v"+version.Get()) if compare == 0 { return sVersion } } - panic("c3 language not supported") + panic("c3 language version not supported") } From 64eb0d9220f5ee891f289112a73eee39cbf2fe04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Fri, 2 Aug 2024 17:32:21 +0200 Subject: [PATCH 14/15] Tweak pipeline --- .github/workflows/go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2df5348..b022c16 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -39,7 +39,7 @@ jobs: xgo_version: latest go_version: 1.21 dest: /home/runner/work/repo-name/builds - prefix: myapp + prefix: c3-lsp targets: windows/amd64,linux/amd64,linux/arm64,darwin/arm64 v: true x: false @@ -52,7 +52,7 @@ jobs: - name: Upload assets - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: myapp + name: c3-lsp path: /home/runner/work/repo-name/builds/* \ No newline at end of file From 021ad782d1572dc5050ff4e7fbd3599866557c9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Ferr=C3=A0s?= Date: Fri, 2 Aug 2024 17:32:44 +0200 Subject: [PATCH 15/15] Include --lang-version in vscode extension. --- client/vscode/extension.js | 4 ++++ client/vscode/package.json | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/client/vscode/extension.js b/client/vscode/extension.js index fcf0b5c..4548000 100644 --- a/client/vscode/extension.js +++ b/client/vscode/extension.js @@ -22,6 +22,10 @@ module.exports = { args.push('--log-path '+config.get('log.path')); } + if (config.get('c3.version')) { + args.push('--lang-version '+config.get('c3.version')); + } + const serverOptions = { run: { command: executable, diff --git a/client/vscode/package.json b/client/vscode/package.json index 3b44b8e..6e5995f 100644 --- a/client/vscode/package.json +++ b/client/vscode/package.json @@ -2,7 +2,7 @@ "name": "c3-lsp-client", "displayName": "C3 Language Server client", "description": "Language Server client for C3. Download C3 server from https://github.com/pherrymason/c3-lsp", - "version": "0.0.2", + "version": "0.0.3", "publisher": "rferras", "engines": { "vscode": "^1.40.0" @@ -53,6 +53,11 @@ "type": "boolean", "default": false, "markdownDescription": "Sends crash reports to server to help fixing bugs." + }, + "c3lspclient.lsp.c3.version": { + "type": "string", + "default": null, + "markdownDescription": "Specify C3 language version. If omited, LSP will use the last version it supports." } } }