From dd977093c48285eb94187e817f3960d061552d35 Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Wed, 17 Oct 2018 19:22:39 +0300 Subject: [PATCH] enable namespace for semantic uast Signed-off-by: Denys Smirnov --- Gopkg.lock | 6 +- Gopkg.toml | 2 +- driver/normalizer/transforms.go | 1 + fixtures/_integration.go.sem.uast | 10 +- fixtures/augmented_assign.go.sem.uast | 22 +- fixtures/binary.go.sem.uast | 60 +- fixtures/borges.go.sem.uast | 238 +- fixtures/calls.go.sem.uast | 36 +- fixtures/casts.go.sem.uast | 30 +- fixtures/comments.go.sem.uast | 56 +- fixtures/comparison.go.sem.uast | 28 +- fixtures/concurrency.go.sem.uast | 54 +- fixtures/consts.go.sem.uast | 40 +- fixtures/enums.go.sem.uast | 36 +- fixtures/for.go.sem.uast | 36 +- fixtures/func_decl.go.sem.uast | 16 +- fixtures/git1.go.sem.uast | 896 ++-- fixtures/git2.go.sem.uast | 920 ++-- fixtures/git3.go.sem.uast | 1826 +++---- fixtures/hello.go.sem.uast | 10 +- fixtures/if.go.sem.uast | 28 +- fixtures/imports.go.sem.uast | 6 +- fixtures/increment.go.sem.uast | 6 +- fixtures/json.go.sem.uast | 4542 ++++++++--------- fixtures/labels.go.sem.uast | 16 +- fixtures/literals.go.sem.uast | 78 +- fixtures/maps.go.sem.uast | 68 +- fixtures/pointers.go.sem.uast | 28 +- fixtures/primitives.go.sem.uast | 18 +- fixtures/recover.go.sem.uast | 22 +- fixtures/slices.go.sem.uast | 120 +- fixtures/switch.go.sem.uast | 54 +- fixtures/types.go.sem.uast | 108 +- fixtures/u2_class_anonymous.go.sem.uast | 14 +- fixtures/u2_class_constructor.go.sem.uast | 18 +- fixtures/u2_class_doc.go.sem.uast | 14 +- fixtures/u2_class_empty.go.sem.uast | 10 +- fixtures/u2_class_extend.go.sem.uast | 20 +- fixtures/u2_class_field.go.sem.uast | 12 +- .../u2_class_field_annotation.go.sem.uast | 12 +- .../u2_class_field_qualifiers.go.sem.uast | 14 +- fixtures/u2_class_implements.go.sem.uast | 26 +- fixtures/u2_class_method.go.sem.uast | 10 +- .../u2_class_method_qualifiers.go.sem.uast | 10 +- fixtures/u2_class_qualifiers.go.sem.uast | 18 +- fixtures/u2_class_this.go.sem.uast | 24 +- fixtures/u2_func_anonymous.go.sem.uast | 6 +- fixtures/u2_func_doc.go.sem.uast | 6 +- fixtures/u2_func_empty.go.sem.uast | 2 +- fixtures/u2_func_params_variadic.go.sem.uast | 2 +- fixtures/u2_func_qualifiers.go.sem.uast | 2 +- fixtures/u2_func_return_multiple.go.sem.uast | 6 +- fixtures/u2_func_simple.go.sem.uast | 4 +- .../u2_func_specific_params_group.go.sem.uast | 2 +- .../u2_func_specific_return_named.go.sem.uast | 2 +- fixtures/u2_import_module_alias.go.sem.uast | 4 +- fixtures/u2_import_path.go.sem.uast | 6 +- fixtures/u2_import_simple.go.sem.uast | 6 +- fixtures/u2_import_specific_init.go.sem.uast | 4 +- ...2_import_subsymbols_namespaced.go.sem.uast | 4 +- fixtures/u2_type_alias.go.sem.uast | 14 +- fixtures/u2_type_interface.go.sem.uast | 12 +- fixtures/u2_type_interface_extend.go.sem.uast | 20 +- .../u2_type_method_qualifiers.go.sem.uast | 6 +- fixtures/u2_type_qualifiers.go.sem.uast | 10 +- fixtures/u2_type_typedef.go.sem.uast | 14 +- fixtures/unary.go.sem.uast | 20 +- fixtures/vars.go.sem.uast | 32 +- 68 files changed, 4902 insertions(+), 4901 deletions(-) diff --git a/Gopkg.lock b/Gopkg.lock index 585e880..878704c 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -314,8 +314,8 @@ "uast/viewer", "uast/yaml" ] - revision = "25b3f8adb4ba7ff703973b3aefb0f6b8a90dae30" - version = "v2.5.0" + revision = "c40738ca4cc89a0a04a08b9e46ae42a1e7663fe9" + version = "v2.6.0" [[projects]] name = "gopkg.in/src-d/go-errors.v1" @@ -332,6 +332,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "93ab762fa0c5a2e6e1cf72f6c2ea8f3b656ceda836e7b570352880615cc34692" + inputs-digest = "c0e1e0f9ec836d921a56eb126693796f310e6ec65dc60e2e3f2bd513fef05cd8" solver-name = "gps-cdcl" solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml index 4762df7..db37ec7 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -11,7 +11,7 @@ [[constraint]] name = "gopkg.in/bblfsh/sdk.v2" - version = "v2.5.x" + version = "v2.6.x" [prune] go-tests = true diff --git a/driver/normalizer/transforms.go b/driver/normalizer/transforms.go index 3df3155..cb09b00 100644 --- a/driver/normalizer/transforms.go +++ b/driver/normalizer/transforms.go @@ -3,6 +3,7 @@ package normalizer import "gopkg.in/bblfsh/sdk.v2/driver" var Transforms = driver.Transforms{ + Namespace: "go", Preprocess: Preprocess, Normalize: Normalize, Annotations: Native, diff --git a/fixtures/_integration.go.sem.uast b/fixtures/_integration.go.sem.uast index 6999b46..9af9cc5 100644 --- a/fixtures/_integration.go.sem.uast +++ b/fixtures/_integration.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/augmented_assign.go.sem.uast b/fixtures/augmented_assign.go.sem.uast index 640367a..ff7ac72 100644 --- a/fixtures/augmented_assign.go.sem.uast +++ b/fixtures/augmented_assign.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -130,7 +130,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Arithmetic, Assignment, Binary, Operator, Statement, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -190,7 +190,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Arithmetic, Assignment, Binary, Divide, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -250,7 +250,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Arithmetic, Assignment, Binary, Modulo, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -310,7 +310,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Arithmetic, Assignment, Binary, Multiply, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -370,7 +370,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Bitwise, Operator, Or, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -430,7 +430,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [And, Assignment, Binary, Bitwise, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -490,7 +490,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Bitwise, Operator, Statement, Xor], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -550,7 +550,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Bitwise, LeftShift, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -610,7 +610,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Bitwise, Operator, RightShift, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/binary.go.sem.uast b/fixtures/binary.go.sem.uast index 8e87273..8fb5111 100644 --- a/fixtures/binary.go.sem.uast +++ b/fixtures/binary.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86,7 +86,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -144,7 +144,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -180,7 +180,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Expression, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -238,7 +238,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -274,7 +274,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Expression, Multiply], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -332,7 +332,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -368,7 +368,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Divide, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -426,7 +426,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -462,7 +462,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Expression, Modulo], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -520,7 +520,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -556,7 +556,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Bitwise, Expression, Xor], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -614,7 +614,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -650,7 +650,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Bitwise, Expression, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -708,7 +708,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -744,7 +744,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -802,7 +802,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -838,7 +838,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Bitwise, Expression, LeftShift], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -896,7 +896,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -932,7 +932,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Bitwise, Expression, RightShift], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -993,7 +993,7 @@ ], Tok: "var", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1024,7 +1024,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1060,7 +1060,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1121,7 +1121,7 @@ ], Tok: "var", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1152,7 +1152,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1188,7 +1188,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1246,7 +1246,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1282,7 +1282,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Expression, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/borges.go.sem.uast b/fixtures/borges.go.sem.uast index 936d3bc..473242e 100644 --- a/fixtures/borges.go.sem.uast +++ b/fixtures/borges.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -256,7 +256,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -270,7 +270,7 @@ col: 17, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -300,7 +300,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -347,7 +347,7 @@ }, }, }, - { '@type': "DeferStmt", + { '@type': "go:DeferStmt", '@role': [Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -366,7 +366,7 @@ col: 2, }, }, - Call: { '@type': "CallExpr", + Call: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -396,7 +396,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -443,7 +443,7 @@ }, }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -487,7 +487,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -501,7 +501,7 @@ col: 5, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -531,7 +531,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -576,7 +576,7 @@ Name: "ct", }, }, - { '@type': "FuncLit", + { '@type': "go:FuncLit", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -610,7 +610,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -652,7 +652,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -699,7 +699,7 @@ Name: "t", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -747,7 +747,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -805,7 +805,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -835,7 +835,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -883,7 +883,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -897,7 +897,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -944,7 +944,7 @@ Name: "err", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -991,7 +991,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1049,7 +1049,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1095,7 +1095,7 @@ }, Name: "timeNow", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1176,7 +1176,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1190,7 +1190,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1237,7 +1237,7 @@ Name: "err", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1284,7 +1284,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1298,7 +1298,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1363,7 +1363,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1377,7 +1377,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1407,7 +1407,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1471,7 +1471,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1485,7 +1485,7 @@ col: 39, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1515,7 +1515,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1577,7 +1577,7 @@ Name: "changes", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1677,7 +1677,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1696,7 +1696,7 @@ col: 29, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1749,7 +1749,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1899,7 +1899,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1918,7 +1918,7 @@ col: 23, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2024,7 +2024,7 @@ }, }, Statements: [ - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2068,7 +2068,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2082,7 +2082,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2112,7 +2112,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2177,7 +2177,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2351,7 +2351,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2382,7 +2382,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2419,7 +2419,7 @@ }, Name: "cmdSort", }, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2438,7 +2438,7 @@ col: 14, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2530,7 +2530,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2550,7 +2550,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2778,7 +2778,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2798,7 +2798,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2853,7 +2853,7 @@ Name: "s", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2914,7 +2914,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2969,7 +2969,7 @@ Name: "s", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3249,7 +3249,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3307,7 +3307,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3362,7 +3362,7 @@ Name: "s", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3419,7 +3419,7 @@ }, ], }, - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3458,7 +3458,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3483,7 +3483,7 @@ }, }, Body: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3522,7 +3522,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3547,7 +3547,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3567,7 +3567,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3590,7 +3590,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3620,7 +3620,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3649,7 +3649,7 @@ }, Name: "Name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3695,7 +3695,7 @@ }, }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3724,7 +3724,7 @@ }, Name: "Name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3771,7 +3771,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3817,7 +3817,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -3861,7 +3861,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3886,7 +3886,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3942,7 +3942,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3967,7 +3967,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4026,7 +4026,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4056,7 +4056,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4122,7 +4122,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4147,7 +4147,7 @@ }, }, Body: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4186,7 +4186,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4211,7 +4211,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4267,7 +4267,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4292,7 +4292,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4312,7 +4312,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4335,7 +4335,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4365,7 +4365,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4394,7 +4394,7 @@ }, Name: "Name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4440,7 +4440,7 @@ }, }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4469,7 +4469,7 @@ }, Name: "Name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4516,7 +4516,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4562,7 +4562,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -4606,7 +4606,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4631,7 +4631,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4690,7 +4690,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4720,7 +4720,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4786,7 +4786,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4811,7 +4811,7 @@ }, }, Body: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4850,7 +4850,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4875,7 +4875,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4931,7 +4931,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4956,7 +4956,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5012,7 +5012,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5037,7 +5037,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5057,7 +5057,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5080,7 +5080,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5110,7 +5110,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5139,7 +5139,7 @@ }, Name: "Name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5185,7 +5185,7 @@ }, }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5214,7 +5214,7 @@ }, Name: "Name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5261,7 +5261,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5307,7 +5307,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -5354,7 +5354,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5384,7 +5384,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5453,7 +5453,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5483,7 +5483,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5530,7 +5530,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/calls.go.sem.uast b/fixtures/calls.go.sem.uast index b9b5f8a..74d1ea2 100644 --- a/fixtures/calls.go.sem.uast +++ b/fixtures/calls.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91,7 +91,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -122,7 +122,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -158,7 +158,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -207,7 +207,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -259,7 +259,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -341,7 +341,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -377,7 +377,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -424,7 +424,7 @@ Name: "c", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -472,7 +472,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -508,7 +508,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -538,7 +538,7 @@ }, }, Args: ~, - Fun: { '@type': "FuncLit", + Fun: { '@type': "go:FuncLit", '@role': [Callee, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -572,7 +572,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -592,7 +592,7 @@ }, }, Results: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -679,7 +679,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -731,7 +731,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -761,7 +761,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/casts.go.sem.uast b/fixtures/casts.go.sem.uast index ae75ac5..0f7284c 100644 --- a/fixtures/casts.go.sem.uast +++ b/fixtures/casts.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -112,7 +112,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -142,7 +142,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -172,7 +172,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "5", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -232,7 +232,7 @@ }, ], }, - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -246,7 +246,7 @@ col: 23, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -277,7 +277,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -311,7 +311,7 @@ Name: "c", }, ], - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -331,7 +331,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -380,7 +380,7 @@ Tok: "var", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -422,7 +422,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -479,7 +479,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -537,7 +537,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -594,7 +594,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/comments.go.sem.uast b/fixtures/comments.go.sem.uast index 8481111..d3ee15a 100644 --- a/fixtures/comments.go.sem.uast +++ b/fixtures/comments.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54,7 +54,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90,7 +90,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -126,7 +126,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -162,7 +162,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -198,7 +198,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -234,7 +234,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -270,7 +270,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -306,7 +306,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -342,7 +342,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -378,7 +378,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -452,7 +452,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -490,7 +490,7 @@ }, ], Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -519,7 +519,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -556,7 +556,7 @@ ], }, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -571,7 +571,7 @@ }, }, Comment: ~, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -643,7 +643,7 @@ }, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -657,7 +657,7 @@ col: 7, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -747,7 +747,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -845,7 +845,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -874,7 +874,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -949,7 +949,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -986,7 +986,7 @@ }, Name: "data", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1005,7 +1005,7 @@ col: 11, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1030,7 +1030,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1044,7 +1044,7 @@ col: 10, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1126,7 +1126,7 @@ Tok: "type", }, ], - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/comparison.go.sem.uast b/fixtures/comparison.go.sem.uast index e52990b..d1e953f 100644 --- a/fixtures/comparison.go.sem.uast +++ b/fixtures/comparison.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86,7 +86,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -144,7 +144,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -180,7 +180,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -238,7 +238,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -274,7 +274,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -332,7 +332,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -368,7 +368,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, GreaterThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -426,7 +426,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -462,7 +462,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThanOrEqual, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -520,7 +520,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -556,7 +556,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, GreaterThanOrEqual, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/concurrency.go.sem.uast b/fixtures/concurrency.go.sem.uast index c93e8d4..4708e39 100644 --- a/fixtures/concurrency.go.sem.uast +++ b/fixtures/concurrency.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -107,7 +107,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -149,7 +149,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -179,7 +179,7 @@ }, }, Args: [ - { '@type': "ChanType", + { '@type': "go:ChanType", '@role': [Argument, Expression, Incomplete, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -240,7 +240,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -282,7 +282,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -312,7 +312,7 @@ }, }, Args: [ - { '@type': "ChanType", + { '@type': "go:ChanType", '@role': [Argument, Expression, Incomplete, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -353,7 +353,7 @@ Name: "int", }, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -395,7 +395,7 @@ }, ], }, - { '@type': "SelectStmt", + { '@type': "go:SelectStmt", '@role': [Incomplete, Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -434,7 +434,7 @@ }, }, Statements: [ - { '@type': "CommClause", + { '@type': "go:CommClause", '@role': [Case, Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -459,7 +459,7 @@ }, }, Body: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -520,7 +520,7 @@ ], }, ], - Comm: { '@type': "AssignStmt", + Comm: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -562,7 +562,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -604,7 +604,7 @@ ], }, }, - { '@type': "CommClause", + { '@type': "go:CommClause", '@role': [Case, Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -629,7 +629,7 @@ }, }, Body: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -722,7 +722,7 @@ ], }, ], - Comm: { '@type': "AssignStmt", + Comm: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -780,7 +780,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -822,7 +822,7 @@ ], }, }, - { '@type': "CommClause", + { '@type': "go:CommClause", '@role': [Case, Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -847,7 +847,7 @@ }, }, Body: ~, - Comm: { '@type': "SendStmt", + Comm: { '@type': "go:SendStmt", '@role': [Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -881,7 +881,7 @@ }, Name: "c2", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -947,7 +947,7 @@ }, }, }, - { '@type': "CommClause", + { '@type': "go:CommClause", '@role': [Case, Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -972,7 +972,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -986,7 +986,7 @@ col: 12, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1057,7 +1057,7 @@ ], }, }, - { '@type': "GoStmt", + { '@type': "go:GoStmt", '@role': [Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1076,7 +1076,7 @@ col: 2, }, }, - Call: { '@type': "CallExpr", + Call: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1106,7 +1106,7 @@ }, }, Args: ~, - Fun: { '@type': "FuncLit", + Fun: { '@type': "go:FuncLit", '@role': [Callee, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/consts.go.sem.uast b/fixtures/consts.go.sem.uast index 44ded90..a4e4a46 100644 --- a/fixtures/consts.go.sem.uast +++ b/fixtures/consts.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91,7 +91,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -122,7 +122,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -158,7 +158,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -185,7 +185,7 @@ ], Tok: "const", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -216,7 +216,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -252,7 +252,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -282,7 +282,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -324,7 +324,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -375,7 +375,7 @@ Name: "int", }, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -399,7 +399,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -451,7 +451,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -491,7 +491,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -527,7 +527,7 @@ ], Type: ~, Values: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -585,7 +585,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -621,7 +621,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -651,7 +651,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -681,7 +681,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "5", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -722,7 +722,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/enums.go.sem.uast b/fixtures/enums.go.sem.uast index 1241aa3..8f2555c 100644 --- a/fixtures/enums.go.sem.uast +++ b/fixtures/enums.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103,7 +103,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -143,7 +143,7 @@ ], Tok: "const", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -174,7 +174,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -210,7 +210,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -240,7 +240,7 @@ }, }, Args: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Argument, Arithmetic, Binary, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -279,7 +279,7 @@ }, Name: "iota", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -322,7 +322,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -359,7 +359,7 @@ Type: ~, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -399,7 +399,7 @@ ], Tok: "const", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -430,7 +430,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -466,7 +466,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -496,7 +496,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -538,7 +538,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -574,7 +574,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -604,7 +604,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "2", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", diff --git a/fixtures/for.go.sem.uast b/fixtures/for.go.sem.uast index be09afc..6301967 100644 --- a/fixtures/for.go.sem.uast +++ b/fixtures/for.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -107,7 +107,7 @@ }, }, Statements: [ - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -146,7 +146,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -170,7 +170,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -209,7 +209,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "5", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -232,7 +232,7 @@ Kind: "INT", }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -274,7 +274,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -298,7 +298,7 @@ }, ], }, - Post: { '@type': "IncDecStmt", + Post: { '@type': "go:IncDecStmt", '@role': [For, Increment, Statement, Unary, Update], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -338,7 +338,7 @@ }, }, }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -377,7 +377,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Break, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -405,7 +405,7 @@ Init: ~, Post: ~, }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -444,7 +444,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Break, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -487,7 +487,7 @@ Init: ~, Post: ~, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -531,7 +531,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -627,7 +627,7 @@ Name: "c", }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -671,7 +671,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -782,7 +782,7 @@ Name: "c", }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/func_decl.go.sem.uast b/fixtures/func_decl.go.sem.uast index a6bcef8..03ef955 100644 --- a/fixtures/func_decl.go.sem.uast +++ b/fixtures/func_decl.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -169,7 +169,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -514,7 +514,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -806,7 +806,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -940,7 +940,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -960,7 +960,7 @@ }, }, Results: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -982,7 +982,7 @@ }, Kind: "INT", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "2", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", diff --git a/fixtures/git1.go.sem.uast b/fixtures/git1.go.sem.uast index 15fbe29..017fcca 100644 --- a/fixtures/git1.go.sem.uast +++ b/fixtures/git1.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73,7 +73,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -109,7 +109,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -145,7 +145,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -183,7 +183,7 @@ }, ], Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -521,7 +521,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -552,7 +552,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -588,7 +588,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -636,7 +636,7 @@ Value: "worktree is not clean", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -687,7 +687,7 @@ ], Tok: "var", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -718,7 +718,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -755,7 +755,7 @@ }, Name: "Worktree", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -774,7 +774,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -799,7 +799,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -834,7 +834,7 @@ }, ], Tag: ~, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -870,7 +870,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -905,7 +905,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1010,7 +1010,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1068,7 +1068,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1098,7 +1098,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1146,7 +1146,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1185,7 +1185,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1224,7 +1224,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1283,7 +1283,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1322,7 +1322,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1361,7 +1361,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1384,7 +1384,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1414,7 +1414,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1464,7 +1464,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1522,7 +1522,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1569,7 +1569,7 @@ Name: "commit", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1598,7 +1598,7 @@ }, Name: "Commit", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1647,7 +1647,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1686,7 +1686,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1725,7 +1725,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1784,7 +1784,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1842,7 +1842,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1872,7 +1872,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1920,7 +1920,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1959,7 +1959,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1998,7 +1998,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2057,7 +2057,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2099,7 +2099,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2122,7 +2122,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2147,7 +2147,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2182,7 +2182,7 @@ }, Name: "Version", }, - Value: { '@type': "BasicLit", + Value: { '@type': "go:BasicLit", '@token': "2", '@role': [Expression, Literal, Number, Primitive, Value], '@pos': { '@type': "uast:Positions", @@ -2206,7 +2206,7 @@ }, }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2255,7 +2255,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2294,7 +2294,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2333,7 +2333,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2390,7 +2390,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2432,7 +2432,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2462,7 +2462,7 @@ }, }, Args: [ - { '@type': "FuncLit", + { '@type': "go:FuncLit", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2496,7 +2496,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2516,7 +2516,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2579,7 +2579,7 @@ Name: "idx", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2680,7 +2680,7 @@ Name: "f", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2699,7 +2699,7 @@ col: 33, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2787,7 +2787,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2836,7 +2836,7 @@ ], }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2856,7 +2856,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2903,7 +2903,7 @@ Name: "idx", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2932,7 +2932,7 @@ }, Name: "SetIndex", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2961,7 +2961,7 @@ }, Name: "s", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3063,7 +3063,7 @@ Name: "w", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3131,7 +3131,7 @@ Name: "commit", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3271,7 +3271,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3329,7 +3329,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3359,7 +3359,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3407,7 +3407,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3446,7 +3446,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3485,7 +3485,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3544,7 +3544,7 @@ Else: ~, Init: ~, }, - { '@type': "DeferStmt", + { '@type': "go:DeferStmt", '@role': [Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3563,7 +3563,7 @@ col: 2, }, }, - Call: { '@type': "CallExpr", + Call: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3593,7 +3593,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3640,7 +3640,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3698,7 +3698,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3728,7 +3728,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3773,7 +3773,7 @@ Name: "f", }, }, - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Argument, Binary, Bitwise, Expression, Or, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3796,7 +3796,7 @@ '@token': "|", '@role': [Binary, Bitwise, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Bitwise, Expression, Left, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3819,7 +3819,7 @@ '@token': "|", '@role': [Binary, Bitwise, Expression, Operator, Or], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3864,7 +3864,7 @@ Name: "os", }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3910,7 +3910,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3956,7 +3956,7 @@ }, }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3986,7 +3986,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4015,7 +4015,7 @@ }, Name: "Perm", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4063,7 +4063,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4092,7 +4092,7 @@ }, Name: "OpenFile", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4141,7 +4141,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4180,7 +4180,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4219,7 +4219,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4278,7 +4278,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4317,7 +4317,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4356,7 +4356,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4413,7 +4413,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4471,7 +4471,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4534,7 +4534,7 @@ Name: "from", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4583,7 +4583,7 @@ ], }, }, - { '@type': "DeferStmt", + { '@type': "go:DeferStmt", '@role': [Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4602,7 +4602,7 @@ col: 2, }, }, - Call: { '@type': "CallExpr", + Call: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4632,7 +4632,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4679,7 +4679,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4699,7 +4699,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4762,7 +4762,7 @@ Name: "idx", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4862,7 +4862,7 @@ Name: "w", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4930,7 +4930,7 @@ Name: "f", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4949,7 +4949,7 @@ col: 35, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5028,7 +5028,7 @@ Name: "idx", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5047,7 +5047,7 @@ col: 53, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5137,7 +5137,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5168,7 +5168,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5253,7 +5253,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5272,7 +5272,7 @@ col: 27, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5351,7 +5351,7 @@ Name: "os", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5370,7 +5370,7 @@ col: 44, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5477,7 +5477,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5535,7 +5535,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5565,7 +5565,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5611,7 +5611,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5640,7 +5640,7 @@ }, Name: "Stat", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5689,7 +5689,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5728,7 +5728,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5767,7 +5767,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5826,7 +5826,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5868,7 +5868,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5893,7 +5893,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5928,7 +5928,7 @@ }, Name: "Hash", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5974,7 +5974,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6009,7 +6009,7 @@ }, Name: "Name", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6055,7 +6055,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6090,7 +6090,7 @@ }, Name: "Mode", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6137,7 +6137,7 @@ Name: "fi", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6184,7 +6184,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6219,7 +6219,7 @@ }, Name: "ModifiedAt", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6249,7 +6249,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6296,7 +6296,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6331,7 +6331,7 @@ }, Name: "Size", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6361,7 +6361,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6391,7 +6391,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6457,7 +6457,7 @@ }, }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6505,7 +6505,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6563,7 +6563,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6587,7 +6587,7 @@ col: 37, }, }, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6606,7 +6606,7 @@ col: 22, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6652,7 +6652,7 @@ }, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6682,7 +6682,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6731,7 +6731,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6770,7 +6770,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6784,7 +6784,7 @@ col: 25, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6814,7 +6814,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6890,7 +6890,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6929,7 +6929,7 @@ }, Name: "ok", }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6989,7 +6989,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7009,7 +7009,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7060,7 +7060,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7090,7 +7090,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7171,7 +7171,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7260,7 +7260,7 @@ Name: "w", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7328,7 +7328,7 @@ Name: "f", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7347,7 +7347,7 @@ col: 32, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7426,7 +7426,7 @@ Name: "idx", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7445,7 +7445,7 @@ col: 50, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7586,7 +7586,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7644,7 +7644,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7674,7 +7674,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7703,7 +7703,7 @@ }, Name: "Index", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7732,7 +7732,7 @@ }, Name: "s", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7782,7 +7782,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7821,7 +7821,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7875,7 +7875,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7934,7 +7934,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7992,7 +7992,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8022,7 +8022,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8087,7 +8087,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8126,7 +8126,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8180,7 +8180,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8239,7 +8239,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8281,7 +8281,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8327,7 +8327,7 @@ }, Name: "Status", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -8369,7 +8369,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8413,7 +8413,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8471,7 +8471,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8495,7 +8495,7 @@ col: 25, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8558,7 +8558,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8572,7 +8572,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8618,7 +8618,7 @@ }, Name: "files", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8682,7 +8682,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8721,7 +8721,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8741,7 +8741,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8770,7 +8770,7 @@ }, Name: "Worktree", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8800,7 +8800,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8846,7 +8846,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8917,7 +8917,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8941,7 +8941,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8983,7 +8983,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9041,7 +9041,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9087,7 +9087,7 @@ }, Name: "fi", }, - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9127,7 +9127,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9175,7 +9175,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9214,7 +9214,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9268,7 +9268,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9327,7 +9327,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9347,7 +9347,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9376,7 +9376,7 @@ }, Name: "Worktree", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9406,7 +9406,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9452,7 +9452,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9558,7 +9558,7 @@ }, Name: "e", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9604,7 +9604,7 @@ }, }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9648,7 +9648,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9668,7 +9668,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9697,7 +9697,7 @@ }, Name: "Worktree", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9744,7 +9744,7 @@ Name: "f", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9851,7 +9851,7 @@ Name: "files", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9955,7 +9955,7 @@ Name: "w", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10119,7 +10119,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10158,7 +10158,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10212,7 +10212,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10235,7 +10235,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10265,7 +10265,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10311,7 +10311,7 @@ }, }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10341,7 +10341,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10408,7 +10408,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10447,7 +10447,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10501,7 +10501,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10524,7 +10524,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10571,7 +10571,7 @@ Name: "fi", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10617,7 +10617,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10666,7 +10666,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10724,7 +10724,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10754,7 +10754,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10799,7 +10799,7 @@ Name: "w", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10864,7 +10864,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10903,7 +10903,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10957,7 +10957,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10980,7 +10980,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11019,7 +11019,7 @@ }, Name: "h", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11065,7 +11065,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11125,7 +11125,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11229,7 +11229,7 @@ Name: "w", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11297,7 +11297,7 @@ Name: "fi", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11375,7 +11375,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11394,7 +11394,7 @@ col: 62, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11569,7 +11569,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11608,7 +11608,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11628,7 +11628,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11677,7 +11677,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11707,7 +11707,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11736,7 +11736,7 @@ }, Name: "IsDir", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11766,7 +11766,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11817,7 +11817,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11856,7 +11856,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11876,7 +11876,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11925,7 +11925,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11948,7 +11948,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11971,7 +11971,7 @@ '@token': "&", '@role': [And, Binary, Bitwise, Expression, Operator], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12001,7 +12001,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12047,7 +12047,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12093,7 +12093,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12119,7 +12119,7 @@ Else: ~, Init: ~, }, - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12133,7 +12133,7 @@ col: 23, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12164,7 +12164,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12200,7 +12200,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0111", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -12228,7 +12228,7 @@ Tok: "const", }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12267,7 +12267,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12287,7 +12287,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12336,7 +12336,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12359,7 +12359,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12382,7 +12382,7 @@ '@token': "&", '@role': [And, Binary, Bitwise, Expression, Operator], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12412,7 +12412,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12475,7 +12475,7 @@ Name: "modeExec", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12501,7 +12501,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12521,7 +12521,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12620,7 +12620,7 @@ Name: "w", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12688,7 +12688,7 @@ Name: "fi", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12754,7 +12754,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12807,7 +12807,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12836,7 +12836,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12873,7 +12873,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12910,7 +12910,7 @@ }, Name: "Status", }, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12945,7 +12945,7 @@ }, Name: "string", }, - Value: { '@type': "StarExpr", + Value: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13036,7 +13036,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13075,7 +13075,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13095,7 +13095,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13156,7 +13156,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13179,7 +13179,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13225,7 +13225,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13265,7 +13265,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13323,7 +13323,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13362,7 +13362,7 @@ }, Name: "filename", }, - X: { '@type': "ParenExpr", + X: { '@type': "go:ParenExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13406,7 +13406,7 @@ ], }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13426,7 +13426,7 @@ }, }, Results: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13619,7 +13619,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13713,7 +13713,7 @@ }, }, Statements: [ - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13757,7 +13757,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13796,7 +13796,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13835,7 +13835,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13858,7 +13858,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13881,7 +13881,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13943,7 +13943,7 @@ Name: "Unmodified", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13966,7 +13966,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14083,7 +14083,7 @@ Name: "s", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14282,7 +14282,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14296,7 +14296,7 @@ col: 20, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14327,7 +14327,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14361,7 +14361,7 @@ Name: "names", }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14404,7 +14404,7 @@ Tok: "var", }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14448,7 +14448,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14490,7 +14490,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14608,7 +14608,7 @@ Name: "s", }, }, - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14622,7 +14622,7 @@ col: 19, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14653,7 +14653,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14709,7 +14709,7 @@ Tok: "var", }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14753,7 +14753,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14795,7 +14795,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14852,7 +14852,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14891,7 +14891,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14915,7 +14915,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14938,7 +14938,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14961,7 +14961,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15006,7 +15006,7 @@ Name: "status", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -15029,7 +15029,7 @@ Kind: "INT", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15052,7 +15052,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15097,7 +15097,7 @@ Name: "status", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -15124,7 +15124,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15163,7 +15163,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15205,7 +15205,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15268,7 +15268,7 @@ }, Name: "name", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15314,7 +15314,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15364,7 +15364,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15387,7 +15387,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15452,7 +15452,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15494,7 +15494,7 @@ '@role': [Add, Arithmetic, Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15541,7 +15541,7 @@ Format: "", Value: "%s%s %s\n", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15586,7 +15586,7 @@ Name: "status", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15648,7 +15648,7 @@ Name: "name", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15747,7 +15747,7 @@ Name: "names", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15895,7 +15895,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15924,7 +15924,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15961,7 +15961,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15998,7 +15998,7 @@ }, Name: "FileStatus", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16017,7 +16017,7 @@ col: 17, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16042,7 +16042,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16094,7 +16094,7 @@ Name: "StatusCode", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16146,7 +16146,7 @@ Name: "StatusCode", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16206,7 +16206,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16235,7 +16235,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16272,7 +16272,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16329,7 +16329,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16360,7 +16360,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16428,7 +16428,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16465,7 +16465,7 @@ Type: ~, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16502,7 +16502,7 @@ Type: ~, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16539,7 +16539,7 @@ Type: ~, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16576,7 +16576,7 @@ Type: ~, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16613,7 +16613,7 @@ Type: ~, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16650,7 +16650,7 @@ Type: ~, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16741,7 +16741,7 @@ }, }, Statements: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16780,7 +16780,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16805,7 +16805,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16862,7 +16862,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16887,7 +16887,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16944,7 +16944,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16969,7 +16969,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17026,7 +17026,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17051,7 +17051,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17108,7 +17108,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17133,7 +17133,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17190,7 +17190,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17215,7 +17215,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17272,7 +17272,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17297,7 +17297,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17354,7 +17354,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17379,7 +17379,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17436,7 +17436,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17461,7 +17461,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17683,7 +17683,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17741,7 +17741,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17788,7 +17788,7 @@ Name: "filename", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17836,7 +17836,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17875,7 +17875,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17895,7 +17895,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17959,7 +17959,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18018,7 +18018,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18076,7 +18076,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18123,7 +18123,7 @@ Name: "filename", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18171,7 +18171,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18210,7 +18210,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18230,7 +18230,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18294,7 +18294,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18353,7 +18353,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18395,7 +18395,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18425,7 +18425,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18470,7 +18470,7 @@ Name: "plumbing", }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18500,7 +18500,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18547,7 +18547,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18595,7 +18595,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18634,7 +18634,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18654,7 +18654,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18718,7 +18718,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18775,7 +18775,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18833,7 +18833,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18896,7 +18896,7 @@ Name: "file", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18945,7 +18945,7 @@ ], }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18965,7 +18965,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18995,7 +18995,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19110,7 +19110,7 @@ Name: "fs", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19224,7 +19224,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19362,7 +19362,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19404,7 +19404,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19434,7 +19434,7 @@ }, }, Args: [ - { '@type': "MapType", + { '@type': "go:MapType", '@role': [Argument, Expression, Map, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19469,7 +19469,7 @@ }, Name: "string", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Entry, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19515,7 +19515,7 @@ }, }, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -19557,7 +19557,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19592,7 +19592,7 @@ }, Name: "all", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19743,7 +19743,7 @@ Name: "filesystem", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19809,7 +19809,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19844,7 +19844,7 @@ }, Name: "string", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Entry, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19983,7 +19983,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20022,7 +20022,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20061,7 +20061,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20121,7 +20121,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20179,7 +20179,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20226,7 +20226,7 @@ Name: "path", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20274,7 +20274,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20313,7 +20313,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20352,7 +20352,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20411,7 +20411,7 @@ Else: ~, Init: ~, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20455,7 +20455,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20497,7 +20497,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20543,7 +20543,7 @@ }, Name: "path", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20573,7 +20573,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20620,7 +20620,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20668,7 +20668,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20707,7 +20707,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20727,7 +20727,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20806,7 +20806,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20830,7 +20830,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20853,7 +20853,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20883,7 +20883,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20933,7 +20933,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20972,7 +20972,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21011,7 +21011,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21068,7 +21068,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21110,7 +21110,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21260,7 +21260,7 @@ Name: "l", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21349,7 +21349,7 @@ Name: "fs", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21475,7 +21475,7 @@ Name: "files", }, Receiver: false, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21510,7 +21510,7 @@ }, Name: "string", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Entry, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/git2.go.sem.uast b/fixtures/git2.go.sem.uast index 61081e3..ee7a53c 100644 --- a/fixtures/git2.go.sem.uast +++ b/fixtures/git2.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -624,7 +624,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -793,7 +793,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -829,7 +829,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -884,7 +884,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -920,7 +920,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -956,7 +956,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -992,7 +992,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1047,7 +1047,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1083,7 +1083,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1119,7 +1119,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1155,7 +1155,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1191,7 +1191,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1227,7 +1227,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1263,7 +1263,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1299,7 +1299,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1335,7 +1335,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1390,7 +1390,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1426,7 +1426,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1462,7 +1462,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1536,7 +1536,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1610,7 +1610,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1665,7 +1665,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1720,7 +1720,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1756,7 +1756,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1792,7 +1792,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1828,7 +1828,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1864,7 +1864,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1900,7 +1900,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1936,7 +1936,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1972,7 +1972,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2029,7 +2029,7 @@ }, ], Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2405,7 +2405,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2436,7 +2436,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2473,7 +2473,7 @@ }, Name: "BlameResult", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2492,7 +2492,7 @@ col: 18, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2517,7 +2517,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2569,7 +2569,7 @@ Name: "string", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2604,7 +2604,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2650,7 +2650,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2685,7 +2685,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2704,7 +2704,7 @@ col: 8, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2764,7 +2764,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3406,7 +3406,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3448,7 +3448,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3514,7 +3514,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3534,7 +3534,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3603,7 +3603,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3623,7 +3623,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3692,7 +3692,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3731,7 +3731,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3785,7 +3785,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3842,7 +3842,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3884,7 +3884,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3914,7 +3914,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3963,7 +3963,7 @@ ], }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4002,7 +4002,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4056,7 +4056,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4113,7 +4113,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4155,7 +4155,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4185,7 +4185,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4234,7 +4234,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4292,7 +4292,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4322,7 +4322,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4368,7 +4368,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4397,7 +4397,7 @@ }, Name: "File", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4446,7 +4446,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4485,7 +4485,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4539,7 +4539,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4598,7 +4598,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4656,7 +4656,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4686,7 +4686,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4734,7 +4734,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4773,7 +4773,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4827,7 +4827,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4886,7 +4886,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4944,7 +4944,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4990,7 +4990,7 @@ }, Name: "finalLines", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5020,7 +5020,7 @@ }, }, Args: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Argument, Arithmetic, Binary, Expression, Positional, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5043,7 +5043,7 @@ '@token': "-", '@role': [Arithmetic, Binary, Expression, Operator, Substract], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5073,7 +5073,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5136,7 +5136,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -5160,7 +5160,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5226,7 +5226,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5265,7 +5265,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5319,7 +5319,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5378,7 +5378,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5398,7 +5398,7 @@ }, }, Results: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Expression, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5421,7 +5421,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5446,7 +5446,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5498,7 +5498,7 @@ Name: "path", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5533,7 +5533,7 @@ }, Name: "Rev", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5579,7 +5579,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5718,7 +5718,7 @@ Name: "c", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5737,7 +5737,7 @@ col: 14, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5852,7 +5852,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5929,7 +5929,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5958,7 +5958,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5995,7 +5995,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6032,7 +6032,7 @@ }, Name: "Line", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6051,7 +6051,7 @@ col: 11, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6076,7 +6076,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6090,7 +6090,7 @@ col: 15, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6163,7 +6163,7 @@ Name: "string", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6177,7 +6177,7 @@ col: 15, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6309,7 +6309,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6329,7 +6329,7 @@ }, }, Results: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Expression, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6352,7 +6352,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6377,7 +6377,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6429,7 +6429,7 @@ Name: "author", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6637,7 +6637,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6731,7 +6731,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6770,7 +6770,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6805,7 +6805,7 @@ }, Name: "nil", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6853,7 +6853,7 @@ Value: "contents and commits have different length", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6903,7 +6903,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6926,7 +6926,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6990,7 +6990,7 @@ Name: "len", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7058,7 +7058,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7100,7 +7100,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7130,7 +7130,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7149,7 +7149,7 @@ col: 17, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7186,7 +7186,7 @@ }, Len: ~, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -7208,7 +7208,7 @@ }, Kind: "INT", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7292,7 +7292,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7336,7 +7336,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7378,7 +7378,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7408,7 +7408,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7437,7 +7437,7 @@ }, Name: "Email", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7466,7 +7466,7 @@ }, Name: "Author", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7523,7 +7523,7 @@ }, }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7598,7 +7598,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7640,7 +7640,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7758,7 +7758,7 @@ Name: "contents", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7862,7 +7862,7 @@ Name: "contents", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7932,7 +7932,7 @@ Name: "commits", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7951,7 +7951,7 @@ col: 42, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7970,7 +7970,7 @@ col: 44, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8039,7 +8039,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8058,7 +8058,7 @@ col: 61, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8137,7 +8137,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8166,7 +8166,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8222,7 +8222,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8259,7 +8259,7 @@ }, Name: "blame", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8278,7 +8278,7 @@ col: 12, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8303,7 +8303,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8317,7 +8317,7 @@ col: 14, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8390,7 +8390,7 @@ Name: "string", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8404,7 +8404,7 @@ col: 22, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8460,7 +8460,7 @@ }, ], Tag: ~, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8479,7 +8479,7 @@ col: 8, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8526,7 +8526,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8540,7 +8540,7 @@ col: 24, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8596,7 +8596,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8615,7 +8615,7 @@ col: 8, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8634,7 +8634,7 @@ col: 10, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8683,7 +8683,7 @@ Len: ~, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8697,7 +8697,7 @@ col: 16, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8753,7 +8753,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8791,7 +8791,7 @@ Len: ~, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8805,7 +8805,7 @@ col: 26, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8861,7 +8861,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8880,7 +8880,7 @@ col: 8, }, }, - Elt: { '@type': "ArrayType", + Elt: { '@type': "go:ArrayType", '@role': [Entry, Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8899,7 +8899,7 @@ col: 10, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8918,7 +8918,7 @@ col: 12, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8991,7 +8991,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9063,7 +9063,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9077,7 +9077,7 @@ col: 15, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9108,7 +9108,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9164,7 +9164,7 @@ Tok: "var", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9184,7 +9184,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9251,7 +9251,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9281,7 +9281,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9326,7 +9326,7 @@ Name: "b", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9391,7 +9391,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9430,7 +9430,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9469,7 +9469,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9528,7 +9528,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9617,7 +9617,7 @@ Name: "b", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9710,7 +9710,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9782,7 +9782,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9802,7 +9802,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9853,7 +9853,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9883,7 +9883,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9902,7 +9902,7 @@ col: 17, }, }, - Elt: { '@type': "ArrayType", + Elt: { '@type': "go:ArrayType", '@role': [Entry, Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9921,7 +9921,7 @@ col: 19, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9940,7 +9940,7 @@ col: 21, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9990,7 +9990,7 @@ }, Len: ~, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10020,7 +10020,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10103,7 +10103,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10123,7 +10123,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10174,7 +10174,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10204,7 +10204,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10241,7 +10241,7 @@ }, Len: ~, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10271,7 +10271,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10354,7 +10354,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10398,7 +10398,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10456,7 +10456,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10486,7 +10486,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10532,7 +10532,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10580,7 +10580,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10619,7 +10619,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10658,7 +10658,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10717,7 +10717,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10737,7 +10737,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10776,7 +10776,7 @@ }, Name: "i", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10844,7 +10844,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10874,7 +10874,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10922,7 +10922,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10961,7 +10961,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11000,7 +11000,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11059,7 +11059,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11101,7 +11101,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11131,7 +11131,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11170,7 +11170,7 @@ }, Name: "i", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11236,7 +11236,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11256,7 +11256,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11295,7 +11295,7 @@ }, Name: "i", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11347,7 +11347,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11377,7 +11377,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11396,7 +11396,7 @@ col: 21, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11415,7 +11415,7 @@ col: 23, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11499,7 +11499,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11538,7 +11538,7 @@ }, }, Statements: [ - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11577,7 +11577,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11597,7 +11597,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11636,7 +11636,7 @@ }, Name: "j", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11675,7 +11675,7 @@ }, Name: "i", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11728,7 +11728,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11758,7 +11758,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11797,7 +11797,7 @@ }, Name: "i", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11844,7 +11844,7 @@ }, }, ], - Fun: { '@type': "ParenExpr", + Fun: { '@type': "go:ParenExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11868,7 +11868,7 @@ col: 36, }, }, - X: { '@type': "StarExpr", + X: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11887,7 +11887,7 @@ col: 22, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11939,7 +11939,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11995,7 +11995,7 @@ Name: "nLines", }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12037,7 +12037,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12061,7 +12061,7 @@ }, ], }, - Post: { '@type': "IncDecStmt", + Post: { '@type': "go:IncDecStmt", '@role': [For, Increment, Statement, Unary, Update], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12103,7 +12103,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12142,7 +12142,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12185,7 +12185,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12199,7 +12199,7 @@ col: 26, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12245,7 +12245,7 @@ }, Name: "i", }, - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Argument, Arithmetic, Binary, Expression, Positional, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12284,7 +12284,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12308,7 +12308,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12394,7 +12394,7 @@ }, Name: "rev", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12440,7 +12440,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12529,7 +12529,7 @@ Name: "b", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12622,7 +12622,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12713,7 +12713,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12755,7 +12755,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12794,7 +12794,7 @@ }, Name: "i", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12842,7 +12842,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12884,7 +12884,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12914,7 +12914,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12933,7 +12933,7 @@ col: 17, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12952,7 +12952,7 @@ col: 19, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13000,7 +13000,7 @@ }, Len: ~, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -13022,7 +13022,7 @@ }, Kind: "INT", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13106,7 +13106,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13150,7 +13150,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13192,7 +13192,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13222,7 +13222,7 @@ }, }, Args: [ - { '@type': "StarExpr", + { '@type': "go:StarExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13258,7 +13258,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13306,7 +13306,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13348,7 +13348,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13394,7 +13394,7 @@ }, Name: "result", }, - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13504,7 +13504,7 @@ Name: "fVs", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13593,7 +13593,7 @@ Name: "b", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13697,7 +13697,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13716,7 +13716,7 @@ col: 35, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13735,7 +13735,7 @@ col: 37, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13805,7 +13805,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13896,7 +13896,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13938,7 +13938,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13968,7 +13968,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14007,7 +14007,7 @@ }, Name: "p", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14053,7 +14053,7 @@ }, }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14092,7 +14092,7 @@ }, Name: "c", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14139,7 +14139,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14187,7 +14187,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14229,7 +14229,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Arithmetic, Assignment, Binary, Expression, Negative, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14252,7 +14252,7 @@ '@token': "-", '@role': [Arithmetic, Expression, Negative, Operator, Unary], }, - X: { '@type': "BasicLit", + X: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -14277,7 +14277,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14319,7 +14319,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Arithmetic, Assignment, Binary, Expression, Negative, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14342,7 +14342,7 @@ '@token': "-", '@role': [Arithmetic, Expression, Negative, Operator, Unary], }, - X: { '@type': "BasicLit", + X: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -14367,7 +14367,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14411,7 +14411,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14453,7 +14453,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14483,7 +14483,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14512,7 +14512,7 @@ }, Name: "Text", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14588,7 +14588,7 @@ }, ], }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14627,7 +14627,7 @@ }, }, Statements: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14666,7 +14666,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14691,7 +14691,7 @@ }, }, Body: [ - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14730,7 +14730,7 @@ Name: "sl", }, }, - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14769,7 +14769,7 @@ Name: "dl", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14789,7 +14789,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14828,7 +14828,7 @@ }, Name: "dl", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14867,7 +14867,7 @@ }, Name: "c", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14920,7 +14920,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14959,7 +14959,7 @@ }, Name: "sl", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14998,7 +14998,7 @@ }, Name: "p", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15049,7 +15049,7 @@ }, ], List: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15072,7 +15072,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15101,7 +15101,7 @@ }, Name: "Type", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15157,7 +15157,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -15182,7 +15182,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15207,7 +15207,7 @@ }, }, Body: [ - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15246,7 +15246,7 @@ Name: "dl", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15266,7 +15266,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15305,7 +15305,7 @@ }, Name: "dl", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15344,7 +15344,7 @@ }, Name: "c", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15397,7 +15397,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15427,7 +15427,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15466,7 +15466,7 @@ }, Name: "c", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15513,7 +15513,7 @@ }, }, ], - Fun: { '@type': "ParenExpr", + Fun: { '@type': "go:ParenExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15537,7 +15537,7 @@ col: 37, }, }, - X: { '@type': "StarExpr", + X: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15556,7 +15556,7 @@ col: 23, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15608,7 +15608,7 @@ }, ], List: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15631,7 +15631,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15660,7 +15660,7 @@ }, Name: "Type", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15716,7 +15716,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -15741,7 +15741,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15766,7 +15766,7 @@ }, }, Body: [ - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15807,7 +15807,7 @@ }, ], List: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15830,7 +15830,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15859,7 +15859,7 @@ }, Name: "Type", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15915,7 +15915,7 @@ }, }, }, - 'Y': { '@type': "UnaryExpr", + 'Y': { '@type': "go:UnaryExpr", '@role': [Arithmetic, Binary, Expression, Negative, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15938,7 +15938,7 @@ '@token': "-", '@role': [Arithmetic, Expression, Negative, Operator, Unary], }, - X: { '@type': "BasicLit", + X: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -15964,7 +15964,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15989,7 +15989,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16003,7 +16003,7 @@ col: 25, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16079,7 +16079,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16135,7 +16135,7 @@ Name: "hLines", }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16177,7 +16177,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -16201,7 +16201,7 @@ }, ], }, - Post: { '@type': "IncDecStmt", + Post: { '@type': "go:IncDecStmt", '@role': [For, Increment, Statement, Unary, Update], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16329,7 +16329,7 @@ Name: "b", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16483,7 +16483,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16555,7 +16555,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16569,7 +16569,7 @@ col: 22, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16600,7 +16600,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16634,7 +16634,7 @@ Name: "buf", }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16685,7 +16685,7 @@ Tok: "var", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16743,7 +16743,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16773,7 +16773,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16819,7 +16819,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16848,7 +16848,7 @@ }, Name: "File", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16897,7 +16897,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16936,7 +16936,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16950,7 +16950,7 @@ col: 52, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17018,7 +17018,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17077,7 +17077,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17135,7 +17135,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17165,7 +17165,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17213,7 +17213,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17252,7 +17252,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17266,7 +17266,7 @@ col: 52, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17334,7 +17334,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17393,7 +17393,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17435,7 +17435,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17499,7 +17499,7 @@ Value: "\n", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17547,7 +17547,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17589,7 +17589,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17619,7 +17619,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17666,7 +17666,7 @@ Format: "", Value: "%s", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17696,7 +17696,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17761,7 +17761,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17808,7 +17808,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17874,7 +17874,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17916,7 +17916,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17946,7 +17946,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17994,7 +17994,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18036,7 +18036,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18116,7 +18116,7 @@ Name: "mlnl", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18164,7 +18164,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18206,7 +18206,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18230,7 +18230,7 @@ col: 31, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Expression, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18253,7 +18253,7 @@ '@token': "-", '@role': [Arithmetic, Binary, Expression, Operator, Substract], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18283,7 +18283,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18346,7 +18346,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -18369,7 +18369,7 @@ Kind: "INT", }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18417,7 +18417,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18461,7 +18461,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18475,7 +18475,7 @@ col: 48, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18505,7 +18505,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18560,7 +18560,7 @@ }, Name: "format", }, - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18584,7 +18584,7 @@ col: 47, }, }, - High: { '@type': "BasicLit", + High: { '@type': "go:BasicLit", '@token': "8", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -18609,7 +18609,7 @@ Low: ~, Max: ~, 'Slice3': false, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18639,7 +18639,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18668,7 +18668,7 @@ }, Name: "String", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18716,7 +18716,7 @@ }, }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18746,7 +18746,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18819,7 +18819,7 @@ Name: "prettyPrintAuthor", }, }, - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Argument, Arithmetic, Binary, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18858,7 +18858,7 @@ }, Name: "ln", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -18881,7 +18881,7 @@ Kind: "INT", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18937,7 +18937,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19035,7 +19035,7 @@ Name: "fVs", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19055,7 +19055,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19085,7 +19085,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19185,7 +19185,7 @@ Name: "b", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19278,7 +19278,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19350,7 +19350,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19370,7 +19370,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19417,7 +19417,7 @@ Format: "", Value: "%s %s", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19446,7 +19446,7 @@ }, Name: "Name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19492,7 +19492,7 @@ }, }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19540,7 +19540,7 @@ Value: "2006-01-02", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19569,7 +19569,7 @@ }, Name: "Format", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19598,7 +19598,7 @@ }, Name: "When", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19647,7 +19647,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19747,7 +19747,7 @@ Name: "c", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19766,7 +19766,7 @@ col: 26, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19870,7 +19870,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19961,7 +19961,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20003,7 +20003,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20033,7 +20033,7 @@ }, }, Args: [ - { '@type': "MapType", + { '@type': "go:MapType", '@role': [Argument, Expression, Map, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20052,7 +20052,7 @@ col: 15, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20097,7 +20097,7 @@ Name: "plumbing", }, }, - Value: { '@type': "StructType", + Value: { '@type': "go:StructType", '@role': [Entry, Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20116,7 +20116,7 @@ col: 33, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20145,7 +20145,7 @@ Incomplete: false, }, }, - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Argument, Arithmetic, Binary, Expression, Positional, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20168,7 +20168,7 @@ '@token': "-", '@role': [Arithmetic, Binary, Expression, Operator, Substract], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20198,7 +20198,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20261,7 +20261,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -20304,7 +20304,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20346,7 +20346,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20370,7 +20370,7 @@ col: 31, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Expression, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20393,7 +20393,7 @@ '@token': "-", '@role': [Arithmetic, Binary, Expression, Operator, Substract], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20423,7 +20423,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20486,7 +20486,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -20509,7 +20509,7 @@ Kind: "INT", }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20557,7 +20557,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20599,7 +20599,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -20623,7 +20623,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20667,7 +20667,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20706,7 +20706,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20747,7 +20747,7 @@ Name: "ok", }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20805,7 +20805,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20829,7 +20829,7 @@ col: 32, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20858,7 +20858,7 @@ }, Name: "Hash", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20933,7 +20933,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20953,7 +20953,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20977,7 +20977,7 @@ col: 20, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21006,7 +21006,7 @@ }, Name: "Hash", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21084,7 +21084,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21109,7 +21109,7 @@ }, }, Elts: ~, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21128,7 +21128,7 @@ col: 24, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21159,7 +21159,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21201,7 +21201,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21247,7 +21247,7 @@ }, Name: "m", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21277,7 +21277,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21307,7 +21307,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21381,7 +21381,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21483,7 +21483,7 @@ Name: "fVs", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21572,7 +21572,7 @@ Name: "b", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21702,7 +21702,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21741,7 +21741,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21780,7 +21780,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThan, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21839,7 +21839,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/git3.go.sem.uast b/fixtures/git3.go.sem.uast index c8be504..24b4e85 100644 --- a/fixtures/git3.go.sem.uast +++ b/fixtures/git3.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54,7 +54,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -128,7 +128,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -240,7 +240,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -314,7 +314,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -388,7 +388,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -462,7 +462,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -536,7 +536,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -572,7 +572,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -608,7 +608,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -644,7 +644,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -680,7 +680,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -716,7 +716,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -752,7 +752,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -807,7 +807,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -843,7 +843,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -879,7 +879,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -915,7 +915,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -970,7 +970,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1006,7 +1006,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1080,7 +1080,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1154,7 +1154,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1190,7 +1190,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1245,7 +1245,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1281,7 +1281,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1336,7 +1336,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1372,7 +1372,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1427,7 +1427,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1463,7 +1463,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1518,7 +1518,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1573,7 +1573,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1628,7 +1628,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1664,7 +1664,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1700,7 +1700,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1755,7 +1755,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1791,7 +1791,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1848,7 +1848,7 @@ }, ], Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2224,7 +2224,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2255,7 +2255,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2291,7 +2291,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2339,7 +2339,7 @@ Value: "object not found", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2387,7 +2387,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2423,7 +2423,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2471,7 +2471,7 @@ Value: "invalid reference, should be a tag or a branch", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2519,7 +2519,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2555,7 +2555,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2603,7 +2603,7 @@ Value: "repository not exists", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2651,7 +2651,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2687,7 +2687,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2735,7 +2735,7 @@ Value: "repository already exists", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2783,7 +2783,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2819,7 +2819,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2867,7 +2867,7 @@ Value: "remote not found", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2915,7 +2915,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2951,7 +2951,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2999,7 +2999,7 @@ Value: "remote already exists", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3047,7 +3047,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3083,7 +3083,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3131,7 +3131,7 @@ Value: "worktree should be provided", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3179,7 +3179,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3215,7 +3215,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3263,7 +3263,7 @@ Value: "worktree not available in a bare repository", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3314,7 +3314,7 @@ ], Tok: "var", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3343,7 +3343,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3380,7 +3380,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3417,7 +3417,7 @@ }, Name: "Repository", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3436,7 +3436,7 @@ col: 17, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3461,7 +3461,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3496,7 +3496,7 @@ }, ], Tag: ~, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3531,7 +3531,7 @@ }, Name: "string", }, - Value: { '@type': "StarExpr", + Value: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3568,7 +3568,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3620,7 +3620,7 @@ Name: "Storer", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3655,7 +3655,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3723,7 +3723,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3833,7 +3833,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3875,7 +3875,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3957,7 +3957,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4015,7 +4015,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4045,7 +4045,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4107,7 +4107,7 @@ Name: "false", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4155,7 +4155,7 @@ }, ], }, - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4194,7 +4194,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4220,7 +4220,7 @@ }, Body: ~, List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4267,7 +4267,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4292,7 +4292,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4363,7 +4363,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4388,7 +4388,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4462,7 +4462,7 @@ Name: "err", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4504,7 +4504,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4534,7 +4534,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4579,7 +4579,7 @@ Name: "plumbing", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4625,7 +4625,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4673,7 +4673,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4712,7 +4712,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4766,7 +4766,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4823,7 +4823,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4865,7 +4865,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4912,7 +4912,7 @@ Name: "h", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4961,7 +4961,7 @@ ], }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5000,7 +5000,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5014,7 +5014,7 @@ col: 20, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5061,7 +5061,7 @@ Name: "true", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5110,7 +5110,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5169,7 +5169,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5321,7 +5321,7 @@ Name: "worktree", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5387,7 +5387,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5478,7 +5478,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5626,7 +5626,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5684,7 +5684,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5714,7 +5714,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5760,7 +5760,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5808,7 +5808,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5847,7 +5847,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5901,7 +5901,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5940,7 +5940,7 @@ }, Name: "err", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5989,7 +5989,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6028,7 +6028,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6082,7 +6082,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6141,7 +6141,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6199,7 +6199,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6229,7 +6229,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6277,7 +6277,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6316,7 +6316,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6370,7 +6370,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6429,7 +6429,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6468,7 +6468,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6522,7 +6522,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6545,7 +6545,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "UnaryExpr", + X: { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Left, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6568,7 +6568,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6597,7 +6597,7 @@ }, Name: "IsBare", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6644,7 +6644,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6704,7 +6704,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6724,7 +6724,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6921,7 +6921,7 @@ Name: "worktree", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6987,7 +6987,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7078,7 +7078,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7188,7 +7188,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7246,7 +7246,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7328,7 +7328,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7367,7 +7367,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7421,7 +7421,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7480,7 +7480,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7515,7 +7515,7 @@ }, Name: "r", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7562,7 +7562,7 @@ Name: "o", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7710,7 +7710,7 @@ Name: "worktree", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7788,7 +7788,7 @@ Name: "o", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7844,7 +7844,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -7935,7 +7935,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8045,7 +8045,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8059,7 +8059,7 @@ col: 30, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8090,7 +8090,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8140,7 +8140,7 @@ Name: "dot", }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8191,7 +8191,7 @@ Tok: "var", }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8230,7 +8230,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8272,7 +8272,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8319,7 +8319,7 @@ Name: "path", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8405,7 +8405,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8447,7 +8447,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8494,7 +8494,7 @@ Name: "path", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8542,7 +8542,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8584,7 +8584,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8632,7 +8632,7 @@ Value: ".git", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8684,7 +8684,7 @@ }, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8742,7 +8742,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8789,7 +8789,7 @@ Name: "dot", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8837,7 +8837,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8876,7 +8876,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8930,7 +8930,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8989,7 +8989,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9009,7 +9009,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9227,7 +9227,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9318,7 +9318,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9428,7 +9428,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9442,7 +9442,7 @@ col: 30, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9473,7 +9473,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9523,7 +9523,7 @@ Name: "dot", }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9574,7 +9574,7 @@ Tok: "var", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9616,7 +9616,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9663,7 +9663,7 @@ Name: "path", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9711,7 +9711,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9750,7 +9750,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9789,7 +9789,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9843,7 +9843,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9866,7 +9866,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9913,7 +9913,7 @@ Name: "err", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9963,7 +9963,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10025,7 +10025,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10101,7 +10101,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10161,7 +10161,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10203,7 +10203,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10251,7 +10251,7 @@ Value: ".git", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10301,7 +10301,7 @@ }, ], }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10359,7 +10359,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10407,7 +10407,7 @@ Value: ".git", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10456,7 +10456,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10514,7 +10514,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10561,7 +10561,7 @@ Name: "dot", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10609,7 +10609,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10648,7 +10648,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10702,7 +10702,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10761,7 +10761,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10781,7 +10781,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10951,7 +10951,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11042,7 +11042,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11152,7 +11152,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11210,7 +11210,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11292,7 +11292,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11331,7 +11331,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11385,7 +11385,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11444,7 +11444,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11479,7 +11479,7 @@ }, Name: "r", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11526,7 +11526,7 @@ Name: "o", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11722,7 +11722,7 @@ Name: "o", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11778,7 +11778,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11906,7 +11906,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11926,7 +11926,7 @@ }, }, Results: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Expression, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11949,7 +11949,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11974,7 +11974,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12026,7 +12026,7 @@ Name: "s", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12078,7 +12078,7 @@ Name: "worktree", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12113,7 +12113,7 @@ }, Name: "r", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12143,7 +12143,7 @@ }, }, Args: [ - { '@type': "MapType", + { '@type': "go:MapType", '@role': [Argument, Expression, Map, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12178,7 +12178,7 @@ }, Name: "string", }, - Value: { '@type': "StarExpr", + Value: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12214,7 +12214,7 @@ }, }, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -12375,7 +12375,7 @@ Name: "worktree", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12441,7 +12441,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12498,7 +12498,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12570,7 +12570,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12590,7 +12590,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12620,7 +12620,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12649,7 +12649,7 @@ }, Name: "Config", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12750,7 +12750,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12806,7 +12806,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12825,7 +12825,7 @@ col: 32, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12927,7 +12927,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12999,7 +12999,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13057,7 +13057,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13087,7 +13087,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13116,7 +13116,7 @@ }, Name: "Config", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13165,7 +13165,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13204,7 +13204,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13258,7 +13258,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13317,7 +13317,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13375,7 +13375,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13414,7 +13414,7 @@ }, Name: "name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13462,7 +13462,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13501,7 +13501,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13555,7 +13555,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13597,7 +13597,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13617,7 +13617,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13647,7 +13647,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13795,7 +13795,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13899,7 +13899,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13990,7 +13990,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14062,7 +14062,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14120,7 +14120,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14150,7 +14150,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14179,7 +14179,7 @@ }, Name: "Config", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14228,7 +14228,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14267,7 +14267,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14321,7 +14321,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14380,7 +14380,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14422,7 +14422,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14452,7 +14452,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14471,7 +14471,7 @@ col: 18, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14508,7 +14508,7 @@ }, Len: ~, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14538,7 +14538,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14621,7 +14621,7 @@ }, ], }, - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14635,7 +14635,7 @@ col: 11, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14666,7 +14666,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14722,7 +14722,7 @@ Tok: "var", }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14766,7 +14766,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14786,7 +14786,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14847,7 +14847,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14877,7 +14877,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14958,7 +14958,7 @@ }, ], }, - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15032,7 +15032,7 @@ }, Name: "c", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15078,7 +15078,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15182,7 +15182,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15238,7 +15238,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15257,7 +15257,7 @@ col: 33, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15350,7 +15350,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15422,7 +15422,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15461,7 +15461,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15515,7 +15515,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15572,7 +15572,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15614,7 +15614,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15644,7 +15644,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15693,7 +15693,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15735,7 +15735,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15765,7 +15765,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15846,7 +15846,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15904,7 +15904,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15934,7 +15934,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15963,7 +15963,7 @@ }, Name: "Config", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16012,7 +16012,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16051,7 +16051,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16105,7 +16105,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16164,7 +16164,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16203,7 +16203,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16274,7 +16274,7 @@ Name: "ok", }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16332,7 +16332,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16356,7 +16356,7 @@ col: 32, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16401,7 +16401,7 @@ Name: "c", }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16450,7 +16450,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16470,7 +16470,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16494,7 +16494,7 @@ col: 20, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16539,7 +16539,7 @@ Name: "c", }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16609,7 +16609,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16644,7 +16644,7 @@ }, Name: "remote", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16691,7 +16691,7 @@ Name: "cfg", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16720,7 +16720,7 @@ }, Name: "SetConfig", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16821,7 +16821,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16889,7 +16889,7 @@ Name: "c", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16908,7 +16908,7 @@ col: 37, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16975,7 +16975,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17066,7 +17066,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17138,7 +17138,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17196,7 +17196,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17226,7 +17226,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17255,7 +17255,7 @@ }, Name: "Config", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17304,7 +17304,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17343,7 +17343,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17382,7 +17382,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17441,7 +17441,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17480,7 +17480,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17519,7 +17519,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17559,7 +17559,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17617,7 +17617,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17656,7 +17656,7 @@ }, Name: "name", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17705,7 +17705,7 @@ ], }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17719,7 +17719,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17749,7 +17749,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17829,7 +17829,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17849,7 +17849,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17896,7 +17896,7 @@ Name: "cfg", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17925,7 +17925,7 @@ }, Name: "SetConfig", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18026,7 +18026,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18167,7 +18167,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18239,7 +18239,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18278,7 +18278,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18317,7 +18317,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18374,7 +18374,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18416,7 +18416,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18446,7 +18446,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18495,7 +18495,7 @@ ], }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18534,7 +18534,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18573,7 +18573,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18630,7 +18630,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18672,7 +18672,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18719,7 +18719,7 @@ Name: "true", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18768,7 +18768,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18810,7 +18810,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18833,7 +18833,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18858,7 +18858,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18893,7 +18893,7 @@ }, Name: "Name", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18939,7 +18939,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18974,7 +18974,7 @@ }, Name: "URL", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19021,7 +19021,7 @@ }, }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19070,7 +19070,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19128,7 +19128,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19175,7 +19175,7 @@ Name: "c", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19223,7 +19223,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19262,7 +19262,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19301,7 +19301,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19360,7 +19360,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19418,7 +19418,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19448,7 +19448,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19471,7 +19471,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19496,7 +19496,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19531,7 +19531,7 @@ }, Name: "RefSpecs", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19594,7 +19594,7 @@ Name: "c", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19641,7 +19641,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19676,7 +19676,7 @@ }, Name: "Depth", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19722,7 +19722,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19757,7 +19757,7 @@ }, Name: "Auth", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19803,7 +19803,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19838,7 +19838,7 @@ }, Name: "Progress", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19903,7 +19903,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19951,7 +19951,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19990,7 +19990,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20029,7 +20029,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20088,7 +20088,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20146,7 +20146,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20192,7 +20192,7 @@ }, Name: "remoteRefs", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20238,7 +20238,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20286,7 +20286,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20325,7 +20325,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20364,7 +20364,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20423,7 +20423,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20462,7 +20462,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20501,7 +20501,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20558,7 +20558,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20616,7 +20616,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20646,7 +20646,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20691,7 +20691,7 @@ Name: "c", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20753,7 +20753,7 @@ Name: "head", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20802,7 +20802,7 @@ ], }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20841,7 +20841,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20880,7 +20880,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20937,7 +20937,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20979,7 +20979,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21009,7 +21009,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21058,7 +21058,7 @@ ], }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21078,7 +21078,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21173,7 +21173,7 @@ Name: "head", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21273,7 +21273,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21341,7 +21341,7 @@ Name: "o", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21471,7 +21471,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21510,7 +21510,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21530,7 +21530,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21579,7 +21579,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21602,7 +21602,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21651,7 +21651,7 @@ Else: ~, Init: ~, }, - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21665,7 +21665,7 @@ col: 15, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21696,7 +21696,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21752,7 +21752,7 @@ Tok: "var", }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21791,7 +21791,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21833,7 +21833,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21879,7 +21879,7 @@ }, Name: "refspecSingleBranchHEAD", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21925,7 +21925,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21975,7 +21975,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21998,7 +21998,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22043,7 +22043,7 @@ Name: "o", }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22109,7 +22109,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22151,7 +22151,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22197,7 +22197,7 @@ }, Name: "refspecSingleBranch", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22227,7 +22227,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22256,7 +22256,7 @@ }, Name: "Short", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22303,7 +22303,7 @@ }, }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22349,7 +22349,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22401,7 +22401,7 @@ }, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22421,7 +22421,7 @@ }, }, Results: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22446,7 +22446,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22493,7 +22493,7 @@ Name: "rs", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22540,7 +22540,7 @@ }, }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22559,7 +22559,7 @@ col: 9, }, }, - Elt: { '@type': "SelectorExpr", + Elt: { '@type': "go:SelectorExpr", '@role': [Entry, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22661,7 +22661,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22729,7 +22729,7 @@ Name: "o", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22797,7 +22797,7 @@ Name: "c", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22816,7 +22816,7 @@ col: 4, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22883,7 +22883,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22902,7 +22902,7 @@ col: 26, }, }, - Elt: { '@type': "SelectorExpr", + Elt: { '@type': "go:SelectorExpr", '@role': [Entry, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23008,7 +23008,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23066,7 +23066,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23096,7 +23096,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23125,7 +23125,7 @@ }, Name: "Config", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23174,7 +23174,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23213,7 +23213,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23252,7 +23252,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23311,7 +23311,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23331,7 +23331,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23360,7 +23360,7 @@ }, Name: "IsBare", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23430,7 +23430,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23450,7 +23450,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23497,7 +23497,7 @@ Name: "cfg", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23526,7 +23526,7 @@ }, Name: "SetConfig", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23627,7 +23627,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23754,7 +23754,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23785,7 +23785,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23839,7 +23839,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23947,7 +23947,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23986,7 +23986,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24025,7 +24025,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24048,7 +24048,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24097,7 +24097,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24117,7 +24117,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24168,7 +24168,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24193,7 +24193,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24223,7 +24223,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24269,7 +24269,7 @@ }, Name: "refspecSingleBranch", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24299,7 +24299,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24328,7 +24328,7 @@ }, Name: "Short", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24358,7 +24358,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24406,7 +24406,7 @@ }, }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24452,7 +24452,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24499,7 +24499,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24546,7 +24546,7 @@ }, }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24565,7 +24565,7 @@ col: 12, }, }, - Elt: { '@type': "SelectorExpr", + Elt: { '@type': "go:SelectorExpr", '@role': [Entry, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24615,7 +24615,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24673,7 +24673,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24703,7 +24703,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24732,7 +24732,7 @@ }, Name: "Config", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24781,7 +24781,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24820,7 +24820,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24859,7 +24859,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24918,7 +24918,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24938,7 +24938,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24962,7 +24962,7 @@ col: 20, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25007,7 +25007,7 @@ Name: "c", }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25077,7 +25077,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25097,7 +25097,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25144,7 +25144,7 @@ Name: "cfg", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25173,7 +25173,7 @@ }, Name: "SetConfig", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25274,7 +25274,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25342,7 +25342,7 @@ Name: "remote", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25410,7 +25410,7 @@ Name: "o", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25478,7 +25478,7 @@ Name: "c", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25497,7 +25497,7 @@ col: 4, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25576,7 +25576,7 @@ Name: "head", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25595,7 +25595,7 @@ col: 31, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25736,7 +25736,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25775,7 +25775,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25817,7 +25817,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25847,7 +25847,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25892,7 +25892,7 @@ Name: "plumbing", }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25922,7 +25922,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25969,7 +25969,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26017,7 +26017,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26037,7 +26037,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26067,7 +26067,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26150,7 +26150,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26173,7 +26173,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26203,7 +26203,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26253,7 +26253,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26295,7 +26295,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26335,7 +26335,7 @@ }, Name: "resolvedHead", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26365,7 +26365,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26410,7 +26410,7 @@ Name: "plumbing", }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26440,7 +26440,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26487,7 +26487,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26534,7 +26534,7 @@ }, }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26553,7 +26553,7 @@ col: 10, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26572,7 +26572,7 @@ col: 12, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26623,7 +26623,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26665,7 +26665,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26711,7 +26711,7 @@ }, Name: "refs", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26774,7 +26774,7 @@ Name: "resolvedHead", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26840,7 +26840,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26884,7 +26884,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26942,7 +26942,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26972,7 +26972,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27053,7 +27053,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27092,7 +27092,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27146,7 +27146,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27205,7 +27205,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27244,7 +27244,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27376,7 +27376,7 @@ Name: "refs", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27449,7 +27449,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27517,7 +27517,7 @@ Name: "spec", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27536,7 +27536,7 @@ col: 44, }, }, - Elt: { '@type': "SelectorExpr", + Elt: { '@type': "go:SelectorExpr", '@role': [Entry, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27616,7 +27616,7 @@ Name: "headName", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27694,7 +27694,7 @@ Name: "resolvedHead", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27713,7 +27713,7 @@ col: 48, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27916,7 +27916,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27930,7 +27930,7 @@ col: 32, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27961,7 +27961,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27995,7 +27995,7 @@ Name: "refs", }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28014,7 +28014,7 @@ col: 11, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28033,7 +28033,7 @@ col: 13, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28087,7 +28087,7 @@ Tok: "var", }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28131,7 +28131,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28173,7 +28173,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28203,7 +28203,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28251,7 +28251,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28290,7 +28290,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28314,7 +28314,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28337,7 +28337,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28384,7 +28384,7 @@ Name: "name", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28434,7 +28434,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28476,7 +28476,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28523,7 +28523,7 @@ Name: "name", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28571,7 +28571,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28629,7 +28629,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28676,7 +28676,7 @@ Name: "name", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28705,7 +28705,7 @@ }, Name: "Reference", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28754,7 +28754,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28793,7 +28793,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28835,7 +28835,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28881,7 +28881,7 @@ }, Name: "refs", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28927,7 +28927,7 @@ }, Name: "name", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28957,7 +28957,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29004,7 +29004,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29072,7 +29072,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29111,7 +29111,7 @@ }, Name: "err", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29211,7 +29211,7 @@ Name: "spec", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29300,7 +29300,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29368,7 +29368,7 @@ Name: "spec", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29387,7 +29387,7 @@ col: 56, }, }, - Elt: { '@type': "SelectorExpr", + Elt: { '@type': "go:SelectorExpr", '@role': [Entry, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29467,7 +29467,7 @@ Name: "resolvedHead", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29486,7 +29486,7 @@ col: 15, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29553,7 +29553,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29572,7 +29572,7 @@ col: 36, }, }, - Elt: { '@type': "StarExpr", + Elt: { '@type': "go:StarExpr", '@role': [Entry, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29591,7 +29591,7 @@ col: 38, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29698,7 +29698,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29756,7 +29756,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29786,7 +29786,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29816,7 +29816,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29863,7 +29863,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29911,7 +29911,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29950,7 +29950,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30004,7 +30004,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30027,7 +30027,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30083,7 +30083,7 @@ Name: "nil", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30122,7 +30122,7 @@ }, Name: "err", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30172,7 +30172,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30211,7 +30211,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30250,7 +30250,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30304,7 +30304,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30361,7 +30361,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30403,7 +30403,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30450,7 +30450,7 @@ Name: "r", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30499,7 +30499,7 @@ ], }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30553,7 +30553,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30576,7 +30576,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30615,7 +30615,7 @@ }, Name: "err", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30661,7 +30661,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30684,7 +30684,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30714,7 +30714,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30760,7 +30760,7 @@ }, }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30790,7 +30790,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30841,7 +30841,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30945,7 +30945,7 @@ Name: "s", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31023,7 +31023,7 @@ Name: "r", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31042,7 +31042,7 @@ col: 30, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31208,7 +31208,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31318,7 +31318,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31357,7 +31357,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31396,7 +31396,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31453,7 +31453,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31495,7 +31495,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31525,7 +31525,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31574,7 +31574,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31632,7 +31632,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31662,7 +31662,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31708,7 +31708,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31756,7 +31756,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31795,7 +31795,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31834,7 +31834,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31893,7 +31893,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31951,7 +31951,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31981,7 +31981,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32004,7 +32004,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32029,7 +32029,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32064,7 +32064,7 @@ }, Name: "Depth", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32110,7 +32110,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32145,7 +32145,7 @@ }, Name: "Auth", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32191,7 +32191,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32226,7 +32226,7 @@ }, Name: "Progress", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32291,7 +32291,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32339,7 +32339,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32399,7 +32399,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32438,7 +32438,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32500,7 +32500,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32556,7 +32556,7 @@ Name: "NoErrAlreadyUpToDate", }, }, - Else: { '@type': "IfStmt", + Else: { '@type': "go:IfStmt", '@role': [Else, If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32595,7 +32595,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32634,7 +32634,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32695,7 +32695,7 @@ }, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32753,7 +32753,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32799,7 +32799,7 @@ }, Name: "remoteRefs", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32845,7 +32845,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32893,7 +32893,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32932,7 +32932,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32971,7 +32971,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33030,7 +33030,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33088,7 +33088,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33118,7 +33118,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33147,7 +33147,7 @@ }, Name: "Fetch", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33193,7 +33193,7 @@ }, }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33255,7 +33255,7 @@ Name: "head", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33303,7 +33303,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33342,7 +33342,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33381,7 +33381,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33440,7 +33440,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33479,7 +33479,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33560,7 +33560,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33599,7 +33599,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33638,7 +33638,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33680,7 +33680,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33700,7 +33700,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33730,7 +33730,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33830,7 +33830,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33898,7 +33898,7 @@ Name: "o", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34028,7 +34028,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34067,7 +34067,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34106,7 +34106,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34129,7 +34129,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34194,7 +34194,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34252,7 +34252,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34282,7 +34282,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34330,7 +34330,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34369,7 +34369,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34408,7 +34408,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34467,7 +34467,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34525,7 +34525,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34555,7 +34555,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34603,7 +34603,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34642,7 +34642,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34681,7 +34681,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34740,7 +34740,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34760,7 +34760,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34790,7 +34790,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34820,7 +34820,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34867,7 +34867,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34967,7 +34967,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35060,7 +35060,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35170,7 +35170,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35209,7 +35209,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35248,7 +35248,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35305,7 +35305,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35347,7 +35347,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35377,7 +35377,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35426,7 +35426,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35484,7 +35484,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35514,7 +35514,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35560,7 +35560,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35608,7 +35608,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35647,7 +35647,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35686,7 +35686,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35745,7 +35745,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35765,7 +35765,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35812,7 +35812,7 @@ Name: "o", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35912,7 +35912,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35980,7 +35980,7 @@ Name: "o", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36073,7 +36073,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36145,7 +36145,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36184,7 +36184,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36223,7 +36223,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36280,7 +36280,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36322,7 +36322,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36352,7 +36352,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36401,7 +36401,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36459,7 +36459,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36489,7 +36489,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36535,7 +36535,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36583,7 +36583,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36622,7 +36622,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36661,7 +36661,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36720,7 +36720,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36740,7 +36740,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36787,7 +36787,7 @@ Name: "o", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36887,7 +36887,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36955,7 +36955,7 @@ Name: "o", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37048,7 +37048,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37139,7 +37139,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37159,7 +37159,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37189,7 +37189,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37251,7 +37251,7 @@ Name: "h", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37351,7 +37351,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37419,7 +37419,7 @@ Name: "h", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37485,7 +37485,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37504,7 +37504,7 @@ col: 47, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37606,7 +37606,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37678,7 +37678,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37736,7 +37736,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37766,7 +37766,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37812,7 +37812,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37841,7 +37841,7 @@ }, Name: "IterEncodedObjects", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37890,7 +37890,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37929,7 +37929,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37983,7 +37983,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38042,7 +38042,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38062,7 +38062,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38092,7 +38092,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38154,7 +38154,7 @@ Name: "iter", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38269,7 +38269,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38325,7 +38325,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38344,7 +38344,7 @@ col: 33, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38446,7 +38446,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38537,7 +38537,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38557,7 +38557,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38587,7 +38587,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38649,7 +38649,7 @@ Name: "h", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38749,7 +38749,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38817,7 +38817,7 @@ Name: "h", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38883,7 +38883,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38902,7 +38902,7 @@ col: 45, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39004,7 +39004,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39076,7 +39076,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39134,7 +39134,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39164,7 +39164,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39210,7 +39210,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39239,7 +39239,7 @@ }, Name: "IterEncodedObjects", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39288,7 +39288,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39327,7 +39327,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39381,7 +39381,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39440,7 +39440,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39460,7 +39460,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39490,7 +39490,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39552,7 +39552,7 @@ Name: "iter", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39667,7 +39667,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39723,7 +39723,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39742,7 +39742,7 @@ col: 31, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39844,7 +39844,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39935,7 +39935,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39955,7 +39955,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39985,7 +39985,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40047,7 +40047,7 @@ Name: "h", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40147,7 +40147,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40215,7 +40215,7 @@ Name: "h", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40281,7 +40281,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40300,7 +40300,7 @@ col: 45, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40402,7 +40402,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40474,7 +40474,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40532,7 +40532,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40562,7 +40562,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40608,7 +40608,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40637,7 +40637,7 @@ }, Name: "IterEncodedObjects", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40686,7 +40686,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40725,7 +40725,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40779,7 +40779,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40838,7 +40838,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40858,7 +40858,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40888,7 +40888,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40950,7 +40950,7 @@ Name: "iter", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41065,7 +41065,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41121,7 +41121,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41140,7 +41140,7 @@ col: 31, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41242,7 +41242,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41333,7 +41333,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41353,7 +41353,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41383,7 +41383,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41445,7 +41445,7 @@ Name: "h", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41545,7 +41545,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41613,7 +41613,7 @@ Name: "h", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41679,7 +41679,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41698,7 +41698,7 @@ col: 44, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41800,7 +41800,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41891,7 +41891,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41949,7 +41949,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41979,7 +41979,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42025,7 +42025,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42054,7 +42054,7 @@ }, Name: "IterEncodedObjects", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42103,7 +42103,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42142,7 +42142,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42196,7 +42196,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42255,7 +42255,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42275,7 +42275,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42305,7 +42305,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42367,7 +42367,7 @@ Name: "iter", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42482,7 +42482,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42538,7 +42538,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42557,7 +42557,7 @@ col: 30, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42659,7 +42659,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42750,7 +42750,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42808,7 +42808,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42871,7 +42871,7 @@ Name: "h", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42900,7 +42900,7 @@ }, Name: "EncodedObject", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42949,7 +42949,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42988,7 +42988,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43027,7 +43027,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43081,7 +43081,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43120,7 +43120,7 @@ }, Name: "err", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43169,7 +43169,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43223,7 +43223,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43282,7 +43282,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43302,7 +43302,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43332,7 +43332,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43394,7 +43394,7 @@ Name: "obj", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43494,7 +43494,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43562,7 +43562,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43640,7 +43640,7 @@ Name: "h", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43706,7 +43706,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43807,7 +43807,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43879,7 +43879,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43937,7 +43937,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43967,7 +43967,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44013,7 +44013,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44042,7 +44042,7 @@ }, Name: "IterEncodedObjects", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44091,7 +44091,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44130,7 +44130,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44184,7 +44184,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44243,7 +44243,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44263,7 +44263,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44293,7 +44293,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44355,7 +44355,7 @@ Name: "iter", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44470,7 +44470,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44526,7 +44526,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44545,7 +44545,7 @@ col: 33, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44647,7 +44647,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44719,7 +44719,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44739,7 +44739,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44769,7 +44769,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44814,7 +44814,7 @@ Name: "r", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44860,7 +44860,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44960,7 +44960,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45016,7 +45016,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45035,7 +45035,7 @@ col: 30, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45137,7 +45137,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45228,7 +45228,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45267,7 +45267,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45287,7 +45287,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45317,7 +45317,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45379,7 +45379,7 @@ Name: "name", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45448,7 +45448,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45468,7 +45468,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45515,7 +45515,7 @@ Name: "name", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45544,7 +45544,7 @@ }, Name: "Reference", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45645,7 +45645,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45713,7 +45713,7 @@ Name: "name", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45827,7 +45827,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45846,7 +45846,7 @@ col: 2, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45948,7 +45948,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46020,7 +46020,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46040,7 +46040,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46070,7 +46070,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46099,7 +46099,7 @@ }, Name: "IterReferences", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46200,7 +46200,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46256,7 +46256,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46357,7 +46357,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46448,7 +46448,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46487,7 +46487,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46541,7 +46541,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46564,7 +46564,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46629,7 +46629,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46649,7 +46649,7 @@ }, }, Results: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Expression, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46672,7 +46672,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46697,7 +46697,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46749,7 +46749,7 @@ Name: "r", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46784,7 +46784,7 @@ }, Name: "fs", }, - Value: { '@type': "SelectorExpr", + Value: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46917,7 +46917,7 @@ Name: "r", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46973,7 +46973,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/hello.go.sem.uast b/fixtures/hello.go.sem.uast index 602e9fe..57c8be3 100644 --- a/fixtures/hello.go.sem.uast +++ b/fixtures/hello.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -142,7 +142,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -156,7 +156,7 @@ col: 29, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -204,7 +204,7 @@ Value: "Hello World!", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/if.go.sem.uast b/fixtures/if.go.sem.uast index 1e00d3f..ac9550c 100644 --- a/fixtures/if.go.sem.uast +++ b/fixtures/if.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54,7 +54,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90,7 +90,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -126,7 +126,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -162,7 +162,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -198,7 +198,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -234,7 +234,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -323,7 +323,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -382,7 +382,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -461,7 +461,7 @@ }, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -517,7 +517,7 @@ }, Name: "a", }, - Else: { '@type': "IfStmt", + Else: { '@type': "go:IfStmt", '@role': [Else, If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -598,7 +598,7 @@ }, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -655,7 +655,7 @@ Name: "c", }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/imports.go.sem.uast b/fixtures/imports.go.sem.uast index 759b99e..947eb36 100644 --- a/fixtures/imports.go.sem.uast +++ b/fixtures/imports.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91,7 +91,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/increment.go.sem.uast b/fixtures/increment.go.sem.uast index 9977d5e..8f44152 100644 --- a/fixtures/increment.go.sem.uast +++ b/fixtures/increment.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -109,7 +109,7 @@ Name: "a", }, }, - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Decrement, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/json.go.sem.uast b/fixtures/json.go.sem.uast index f6dcef9..cbdcd2b 100644 --- a/fixtures/json.go.sem.uast +++ b/fixtures/json.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92,7 +92,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -223,7 +223,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2387,7 +2387,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2423,7 +2423,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2554,7 +2554,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2609,7 +2609,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2645,7 +2645,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2700,7 +2700,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2755,7 +2755,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2886,7 +2886,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2922,7 +2922,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2958,7 +2958,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2994,7 +2994,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3030,7 +3030,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3066,7 +3066,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3159,7 +3159,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3214,7 +3214,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3269,7 +3269,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3305,7 +3305,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3341,7 +3341,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3377,7 +3377,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3432,7 +3432,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3468,7 +3468,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3504,7 +3504,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3540,7 +3540,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3595,7 +3595,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3631,7 +3631,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3667,7 +3667,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3722,7 +3722,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3796,7 +3796,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3870,7 +3870,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -3906,7 +3906,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4018,7 +4018,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4168,7 +4168,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4204,7 +4204,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4316,7 +4316,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4466,7 +4466,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4502,7 +4502,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4538,7 +4538,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4574,7 +4574,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4648,7 +4648,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4684,7 +4684,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4758,7 +4758,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4794,7 +4794,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4830,7 +4830,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4866,7 +4866,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4902,7 +4902,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4938,7 +4938,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -4974,7 +4974,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5010,7 +5010,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5046,7 +5046,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5082,7 +5082,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5175,7 +5175,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5211,7 +5211,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5266,7 +5266,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5340,7 +5340,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5395,7 +5395,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5431,7 +5431,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5562,7 +5562,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5636,7 +5636,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5672,7 +5672,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5727,7 +5727,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5801,7 +5801,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5837,7 +5837,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5873,7 +5873,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5909,7 +5909,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -5966,7 +5966,7 @@ }, ], Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -6546,7 +6546,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8746,7 +8746,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8788,7 +8788,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8811,7 +8811,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8855,7 +8855,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8897,7 +8897,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8943,7 +8943,7 @@ }, Name: "v", }, - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Argument, Expression, Literal, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -8968,7 +8968,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9038,7 +9038,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9086,7 +9086,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9125,7 +9125,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9179,7 +9179,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9238,7 +9238,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9258,7 +9258,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9288,7 +9288,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9403,7 +9403,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9423,7 +9423,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9471,7 +9471,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9564,7 +9564,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9636,7 +9636,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9694,7 +9694,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9760,7 +9760,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9799,7 +9799,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9853,7 +9853,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9912,7 +9912,7 @@ Else: ~, Init: ~, }, - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9926,7 +9926,7 @@ col: 22, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9957,7 +9957,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -9991,7 +9991,7 @@ Name: "buf", }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10042,7 +10042,7 @@ Tok: "var", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10084,7 +10084,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10114,7 +10114,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10221,7 +10221,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10260,7 +10260,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10314,7 +10314,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10373,7 +10373,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10393,7 +10393,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10423,7 +10423,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10538,7 +10538,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10558,7 +10558,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10702,7 +10702,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10795,7 +10795,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -10962,7 +10962,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11004,7 +11004,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -11028,7 +11028,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11072,7 +11072,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11111,7 +11111,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11150,7 +11150,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11164,7 +11164,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11194,7 +11194,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11267,7 +11267,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11316,7 +11316,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11375,7 +11375,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11389,7 +11389,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11437,7 +11437,7 @@ Value: "\\u00", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11484,7 +11484,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11498,7 +11498,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11528,7 +11528,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11552,7 +11552,7 @@ col: 26, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Binary, Bitwise, Expression, RightShift], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11591,7 +11591,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "4", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -11631,7 +11631,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11678,7 +11678,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11692,7 +11692,7 @@ col: 29, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11722,7 +11722,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11746,7 +11746,7 @@ col: 27, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11785,7 +11785,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0xF", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -11825,7 +11825,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11872,7 +11872,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11914,7 +11914,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -11953,7 +11953,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -11980,7 +11980,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12003,7 +12003,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Expression, Left, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12026,7 +12026,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12065,7 +12065,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'<'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12088,7 +12088,7 @@ Kind: "CHAR", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12127,7 +12127,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'>'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12151,7 +12151,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12190,7 +12190,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'&'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12217,7 +12217,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12256,7 +12256,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12295,7 +12295,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12309,7 +12309,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12339,7 +12339,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12412,7 +12412,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12461,7 +12461,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12520,7 +12520,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12534,7 +12534,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12582,7 +12582,7 @@ Value: "\\u202", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12629,7 +12629,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12643,7 +12643,7 @@ col: 36, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12673,7 +12673,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12697,7 +12697,7 @@ col: 34, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12720,7 +12720,7 @@ '@token': "&", '@role': [And, Binary, Bitwise, Expression, Operator], }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12744,7 +12744,7 @@ col: 29, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12783,7 +12783,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "2", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12822,7 +12822,7 @@ Name: "src", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0xF", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -12862,7 +12862,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12909,7 +12909,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12951,7 +12951,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -12990,7 +12990,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "3", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -13017,7 +13017,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13040,7 +13040,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13063,7 +13063,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13086,7 +13086,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13125,7 +13125,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0xE2", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -13148,7 +13148,7 @@ Kind: "INT", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13171,7 +13171,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13210,7 +13210,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "2", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -13233,7 +13233,7 @@ Kind: "INT", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13299,7 +13299,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13322,7 +13322,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13346,7 +13346,7 @@ col: 44, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13385,7 +13385,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -13424,7 +13424,7 @@ Name: "src", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0x80", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -13448,7 +13448,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13471,7 +13471,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression, Left, Negative], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13494,7 +13494,7 @@ '@token': "&^", '@role': [And, Binary, Bitwise, Expression, Negative, Operator], }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13518,7 +13518,7 @@ col: 64, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13557,7 +13557,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "2", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -13596,7 +13596,7 @@ Name: "src", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -13619,7 +13619,7 @@ Kind: "INT", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0xA8", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -13697,7 +13697,7 @@ Name: "src", }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13736,7 +13736,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13750,7 +13750,7 @@ col: 25, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13780,7 +13780,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13839,7 +13839,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13888,7 +13888,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -13927,7 +13927,7 @@ }, Name: "start", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14047,7 +14047,7 @@ Name: "dst", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14066,7 +14066,7 @@ col: 21, }, }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14145,7 +14145,7 @@ Name: "src", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14191,7 +14191,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14220,7 +14220,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14276,7 +14276,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14313,7 +14313,7 @@ }, Name: "Marshaler", }, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14333,7 +14333,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14358,7 +14358,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14431,7 +14431,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14514,7 +14514,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14543,7 +14543,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14599,7 +14599,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14636,7 +14636,7 @@ }, Name: "UnsupportedTypeError", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14655,7 +14655,7 @@ col: 27, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14680,7 +14680,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14715,7 +14715,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14820,7 +14820,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14840,7 +14840,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14880,7 +14880,7 @@ Format: "", Value: "json: unsupported type: ", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14910,7 +14910,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -14939,7 +14939,7 @@ }, Name: "String", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15041,7 +15041,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15120,7 +15120,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15151,7 +15151,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15188,7 +15188,7 @@ }, Name: "UnsupportedValueError", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15207,7 +15207,7 @@ col: 28, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15232,7 +15232,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15267,7 +15267,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15313,7 +15313,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15424,7 +15424,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15444,7 +15444,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15484,7 +15484,7 @@ Format: "", Value: "json: unsupported value: ", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15584,7 +15584,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15663,7 +15663,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15692,7 +15692,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15824,7 +15824,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15861,7 +15861,7 @@ }, Name: "InvalidUTF8Error", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15880,7 +15880,7 @@ col: 23, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15905,7 +15905,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -15919,7 +15919,7 @@ col: 10, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16051,7 +16051,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16071,7 +16071,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16111,7 +16111,7 @@ Format: "", Value: "json: invalid UTF-8 in string: ", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16141,7 +16141,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16187,7 +16187,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16288,7 +16288,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16367,7 +16367,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16398,7 +16398,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16435,7 +16435,7 @@ }, Name: "MarshalerError", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16454,7 +16454,7 @@ col: 21, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16479,7 +16479,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16514,7 +16514,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16560,7 +16560,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16671,7 +16671,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16691,7 +16691,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16714,7 +16714,7 @@ '@token': "+", '@role': [Add, Arithmetic, Binary, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16737,7 +16737,7 @@ '@token': "+", '@role': [Add, Arithmetic, Binary, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16777,7 +16777,7 @@ Format: "", Value: "json: error calling MarshalJSON for type ", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16807,7 +16807,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16836,7 +16836,7 @@ }, Name: "String", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16902,7 +16902,7 @@ Value: ": ", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16932,7 +16932,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -16961,7 +16961,7 @@ }, Name: "Error", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17063,7 +17063,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17142,7 +17142,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17173,7 +17173,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17230,7 +17230,7 @@ ], Tok: "var", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17259,7 +17259,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17296,7 +17296,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17333,7 +17333,7 @@ }, Name: "encodeState", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17352,7 +17352,7 @@ col: 18, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17377,7 +17377,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17391,7 +17391,7 @@ col: 14, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17430,7 +17430,7 @@ Doc: ~, Names: ~, Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17476,7 +17476,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17511,7 +17511,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17546,7 +17546,7 @@ }, Name: "byte", }, - Len: { '@type': "BasicLit", + Len: { '@type': "go:BasicLit", '@token': "64", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -17578,7 +17578,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17609,7 +17609,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17643,7 +17643,7 @@ Name: "encodeStatePool", }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17744,7 +17744,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17783,7 +17783,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17825,7 +17825,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17849,7 +17849,7 @@ col: 23, }, }, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17902,7 +17902,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17916,7 +17916,7 @@ col: 12, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17946,7 +17946,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -17993,7 +17993,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18032,7 +18032,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18089,7 +18089,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18131,7 +18131,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18161,7 +18161,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18210,7 +18210,7 @@ ], }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18230,7 +18230,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18335,7 +18335,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18429,7 +18429,7 @@ }, }, Statements: [ - { '@type': "DeferStmt", + { '@type': "go:DeferStmt", '@role': [Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18448,7 +18448,7 @@ col: 2, }, }, - Call: { '@type': "CallExpr", + Call: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18478,7 +18478,7 @@ }, }, Args: ~, - Fun: { '@type': "FuncLit", + Fun: { '@type': "go:FuncLit", '@role': [Callee, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18512,7 +18512,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18551,7 +18551,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18590,7 +18590,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18604,7 +18604,7 @@ col: 13, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18688,7 +18688,7 @@ Name: "ok", }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18746,7 +18746,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18770,7 +18770,7 @@ col: 32, }, }, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18834,7 +18834,7 @@ ], }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18873,7 +18873,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18887,7 +18887,7 @@ col: 13, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18971,7 +18971,7 @@ Name: "ok", }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19029,7 +19029,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19087,7 +19087,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19129,7 +19129,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19188,7 +19188,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19245,7 +19245,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19287,7 +19287,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19364,7 +19364,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19378,7 +19378,7 @@ col: 42, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19408,7 +19408,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19455,7 +19455,7 @@ Name: "v", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19518,7 +19518,7 @@ Name: "opts", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19565,7 +19565,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19654,7 +19654,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19722,7 +19722,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19742,7 +19742,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19926,7 +19926,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19940,7 +19940,7 @@ col: 12, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20057,7 +20057,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20200,7 +20200,7 @@ }, }, Statements: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20239,7 +20239,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20264,7 +20264,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20284,7 +20284,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20307,7 +20307,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20337,7 +20337,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20383,7 +20383,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -20410,7 +20410,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20455,7 +20455,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20500,7 +20500,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20545,7 +20545,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20592,7 +20592,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20617,7 +20617,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20637,7 +20637,7 @@ }, }, Results: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Boolean, Expression, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20660,7 +20660,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20690,7 +20690,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20741,7 +20741,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20788,7 +20788,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20813,7 +20813,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20833,7 +20833,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20856,7 +20856,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20886,7 +20886,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -20932,7 +20932,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -20959,7 +20959,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21004,7 +21004,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21049,7 +21049,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21094,7 +21094,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21139,7 +21139,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21186,7 +21186,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21211,7 +21211,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21231,7 +21231,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21254,7 +21254,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21284,7 +21284,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21330,7 +21330,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -21357,7 +21357,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21402,7 +21402,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21447,7 +21447,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21492,7 +21492,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21537,7 +21537,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21582,7 +21582,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21629,7 +21629,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21654,7 +21654,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21674,7 +21674,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21697,7 +21697,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21727,7 +21727,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21773,7 +21773,7 @@ }, }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -21800,7 +21800,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21845,7 +21845,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21892,7 +21892,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21917,7 +21917,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21937,7 +21937,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -21967,7 +21967,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22017,7 +22017,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22062,7 +22062,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22112,7 +22112,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22142,7 +22142,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22189,7 +22189,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22278,7 +22278,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22418,7 +22418,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22432,7 +22432,7 @@ col: 29, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22511,7 +22511,7 @@ Name: "opts", }, ], - Fun: { '@type': "CallExpr", + Fun: { '@type': "go:CallExpr", '@role': [Call, Callee, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22629,7 +22629,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22697,7 +22697,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22799,7 +22799,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22830,7 +22830,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22867,7 +22867,7 @@ }, Name: "encOpts", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22886,7 +22886,7 @@ col: 14, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22911,7 +22911,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22926,7 +22926,7 @@ }, }, Comment: ~, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -22998,7 +22998,7 @@ Name: "bool", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23013,7 +23013,7 @@ }, }, Comment: ~, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23093,7 +23093,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23124,7 +23124,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23212,7 +23212,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23280,7 +23280,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23382,7 +23382,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23413,7 +23413,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23447,7 +23447,7 @@ Name: "encoderCache", }, ], - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23466,7 +23466,7 @@ col: 18, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23491,7 +23491,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23509,7 +23509,7 @@ Doc: ~, Names: ~, Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23555,7 +23555,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23590,7 +23590,7 @@ }, ], Tag: ~, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23609,7 +23609,7 @@ col: 4, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23732,7 +23732,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23771,7 +23771,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23810,7 +23810,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23833,7 +23833,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23863,7 +23863,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23913,7 +23913,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23933,7 +23933,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23963,7 +23963,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -23993,7 +23993,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24111,7 +24111,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24251,7 +24251,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24265,7 +24265,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24295,7 +24295,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24342,7 +24342,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24384,7 +24384,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24423,7 +24423,7 @@ }, Name: "t", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24471,7 +24471,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24485,7 +24485,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24515,7 +24515,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24562,7 +24562,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24601,7 +24601,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24640,7 +24640,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24699,7 +24699,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24713,7 +24713,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24743,7 +24743,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24790,7 +24790,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24829,7 +24829,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24849,7 +24849,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24900,7 +24900,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24930,7 +24930,7 @@ }, }, Args: [ - { '@type': "MapType", + { '@type': "go:MapType", '@role': [Argument, Expression, Map, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -24949,7 +24949,7 @@ col: 25, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25033,7 +25033,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25056,7 +25056,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25121,7 +25121,7 @@ Else: ~, Init: ~, }, - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25135,7 +25135,7 @@ col: 23, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25166,7 +25166,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25200,7 +25200,7 @@ Name: "wg", }, ], - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25251,7 +25251,7 @@ Tok: "var", }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25265,7 +25265,7 @@ col: 11, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25295,7 +25295,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -25318,7 +25318,7 @@ Kind: "INT", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25365,7 +25365,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25385,7 +25385,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25424,7 +25424,7 @@ }, Name: "t", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25476,7 +25476,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "FuncLit", + { '@type': "go:FuncLit", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25510,7 +25510,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25524,7 +25524,7 @@ col: 12, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25554,7 +25554,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25601,7 +25601,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25615,7 +25615,7 @@ col: 16, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25765,7 +25765,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25833,7 +25833,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25934,7 +25934,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25948,7 +25948,7 @@ col: 23, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -25978,7 +25978,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26025,7 +26025,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26067,7 +26067,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26149,7 +26149,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26163,7 +26163,7 @@ col: 11, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26193,7 +26193,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26240,7 +26240,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26254,7 +26254,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26284,7 +26284,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26331,7 +26331,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26351,7 +26351,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26390,7 +26390,7 @@ }, Name: "t", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26460,7 +26460,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26474,7 +26474,7 @@ col: 23, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26504,7 +26504,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26551,7 +26551,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26640,7 +26640,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26729,7 +26729,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26760,7 +26760,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26796,7 +26796,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26826,7 +26826,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26855,7 +26855,7 @@ }, Name: "Elem", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26885,7 +26885,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -26950,7 +26950,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27000,7 +27000,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27036,7 +27036,7 @@ ], Type: ~, Values: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27066,7 +27066,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27095,7 +27095,7 @@ }, Name: "Elem", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27125,7 +27125,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27155,7 +27155,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27219,7 +27219,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27286,7 +27286,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27377,7 +27377,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27416,7 +27416,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27455,7 +27455,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27502,7 +27502,7 @@ Name: "marshalerType", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27551,7 +27551,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27590,7 +27590,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27629,7 +27629,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27649,7 +27649,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27695,7 +27695,7 @@ }, Name: "addrMarshalerEncoder", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27797,7 +27797,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27844,7 +27844,7 @@ Name: "marshalerType", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27873,7 +27873,7 @@ }, Name: "Implements", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27920,7 +27920,7 @@ Name: "t", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27973,7 +27973,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -27996,7 +27996,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28019,7 +28019,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28049,7 +28049,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28095,7 +28095,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28161,7 +28161,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28200,7 +28200,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28239,7 +28239,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28286,7 +28286,7 @@ Name: "textMarshalerType", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28335,7 +28335,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28374,7 +28374,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28413,7 +28413,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28433,7 +28433,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28479,7 +28479,7 @@ }, Name: "addrTextMarshalerEncoder", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28581,7 +28581,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28628,7 +28628,7 @@ Name: "textMarshalerType", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28657,7 +28657,7 @@ }, Name: "Implements", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28704,7 +28704,7 @@ Name: "t", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28757,7 +28757,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28780,7 +28780,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28803,7 +28803,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28833,7 +28833,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28879,7 +28879,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28945,7 +28945,7 @@ Else: ~, Init: ~, }, - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -28984,7 +28984,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29009,7 +29009,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29048,7 +29048,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29095,7 +29095,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29120,7 +29120,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29159,7 +29159,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29204,7 +29204,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29249,7 +29249,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29294,7 +29294,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29339,7 +29339,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29386,7 +29386,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29411,7 +29411,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29450,7 +29450,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29495,7 +29495,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29540,7 +29540,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29585,7 +29585,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29630,7 +29630,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29675,7 +29675,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29722,7 +29722,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29747,7 +29747,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29786,7 +29786,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29833,7 +29833,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29858,7 +29858,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29897,7 +29897,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29944,7 +29944,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -29969,7 +29969,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30008,7 +30008,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30055,7 +30055,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30080,7 +30080,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30119,7 +30119,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30166,7 +30166,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30191,7 +30191,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30211,7 +30211,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30279,7 +30279,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30326,7 +30326,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30351,7 +30351,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30371,7 +30371,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30439,7 +30439,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30486,7 +30486,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30511,7 +30511,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30531,7 +30531,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30599,7 +30599,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30646,7 +30646,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30671,7 +30671,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30691,7 +30691,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30759,7 +30759,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30806,7 +30806,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30831,7 +30831,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30851,7 +30851,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30919,7 +30919,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30966,7 +30966,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -30991,7 +30991,7 @@ }, }, Body: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31034,7 +31034,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31064,7 +31064,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31163,7 +31163,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31351,7 +31351,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31365,7 +31365,7 @@ col: 23, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31413,7 +31413,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31512,7 +31512,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31580,7 +31580,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31733,7 +31733,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31772,7 +31772,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31786,7 +31786,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31834,7 +31834,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31881,7 +31881,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31904,7 +31904,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31927,7 +31927,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31950,7 +31950,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -31980,7 +31980,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32026,7 +32026,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32072,7 +32072,7 @@ }, }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32102,7 +32102,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32152,7 +32152,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32194,7 +32194,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32233,7 +32233,7 @@ }, Name: "Marshaler", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32263,7 +32263,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32312,7 +32312,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32370,7 +32370,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32400,7 +32400,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32448,7 +32448,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32487,7 +32487,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32529,7 +32529,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32559,7 +32559,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32582,7 +32582,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32644,7 +32644,7 @@ }, Name: "b", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32711,7 +32711,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32770,7 +32770,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32809,7 +32809,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32823,7 +32823,7 @@ col: 42, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32853,7 +32853,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32876,7 +32876,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32901,7 +32901,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -32931,7 +32931,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33011,7 +33011,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33060,7 +33060,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33171,7 +33171,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33239,7 +33239,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33392,7 +33392,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33434,7 +33434,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33464,7 +33464,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33512,7 +33512,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33551,7 +33551,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33565,7 +33565,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33613,7 +33613,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33660,7 +33660,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33683,7 +33683,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33713,7 +33713,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33762,7 +33762,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33804,7 +33804,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33843,7 +33843,7 @@ }, Name: "Marshaler", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33873,7 +33873,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33922,7 +33922,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -33980,7 +33980,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34010,7 +34010,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34058,7 +34058,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34097,7 +34097,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34139,7 +34139,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34169,7 +34169,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34192,7 +34192,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34292,7 +34292,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34351,7 +34351,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34390,7 +34390,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34404,7 +34404,7 @@ col: 42, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34434,7 +34434,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34457,7 +34457,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34482,7 +34482,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34512,7 +34512,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34592,7 +34592,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34641,7 +34641,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34752,7 +34752,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34820,7 +34820,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -34973,7 +34973,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35012,7 +35012,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35026,7 +35026,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35074,7 +35074,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35121,7 +35121,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35144,7 +35144,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35167,7 +35167,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35190,7 +35190,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35220,7 +35220,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35266,7 +35266,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35312,7 +35312,7 @@ }, }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35342,7 +35342,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35392,7 +35392,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35434,7 +35434,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35458,7 +35458,7 @@ col: 44, }, }, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35503,7 +35503,7 @@ Name: "encoding", }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35533,7 +35533,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35582,7 +35582,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35640,7 +35640,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35670,7 +35670,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35718,7 +35718,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35757,7 +35757,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35771,7 +35771,7 @@ col: 42, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35801,7 +35801,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35824,7 +35824,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35849,7 +35849,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35879,7 +35879,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -35959,7 +35959,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36008,7 +36008,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36067,7 +36067,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36081,7 +36081,7 @@ col: 35, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36127,7 +36127,7 @@ }, Name: "b", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36173,7 +36173,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36272,7 +36272,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36340,7 +36340,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36493,7 +36493,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36535,7 +36535,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36565,7 +36565,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36613,7 +36613,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36652,7 +36652,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36666,7 +36666,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36714,7 +36714,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36761,7 +36761,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36784,7 +36784,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36814,7 +36814,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36863,7 +36863,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36905,7 +36905,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36929,7 +36929,7 @@ col: 45, }, }, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -36974,7 +36974,7 @@ Name: "encoding", }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37004,7 +37004,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37053,7 +37053,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37111,7 +37111,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37141,7 +37141,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37189,7 +37189,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37228,7 +37228,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37242,7 +37242,7 @@ col: 42, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37272,7 +37272,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37295,7 +37295,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37320,7 +37320,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37350,7 +37350,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37430,7 +37430,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37479,7 +37479,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37538,7 +37538,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37552,7 +37552,7 @@ col: 35, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37598,7 +37598,7 @@ }, Name: "b", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37644,7 +37644,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37743,7 +37743,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37811,7 +37811,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -37964,7 +37964,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38003,7 +38003,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38017,7 +38017,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38047,7 +38047,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -38070,7 +38070,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38119,7 +38119,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38167,7 +38167,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38206,7 +38206,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38220,7 +38220,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38268,7 +38268,7 @@ Value: "true", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38317,7 +38317,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38347,7 +38347,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38413,7 +38413,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38427,7 +38427,7 @@ col: 25, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38475,7 +38475,7 @@ Value: "false", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38526,7 +38526,7 @@ }, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38565,7 +38565,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38579,7 +38579,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38609,7 +38609,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -38632,7 +38632,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38681,7 +38681,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38781,7 +38781,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -38849,7 +38849,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39002,7 +39002,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39044,7 +39044,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39074,7 +39074,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39098,7 +39098,7 @@ col: 37, }, }, - High: { '@type': "BasicLit", + High: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -39123,7 +39123,7 @@ Low: ~, Max: ~, 'Slice3': false, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39169,7 +39169,7 @@ }, }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39199,7 +39199,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39245,7 +39245,7 @@ }, }, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "10", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -39268,7 +39268,7 @@ Kind: "INT", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39316,7 +39316,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39355,7 +39355,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39369,7 +39369,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39399,7 +39399,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -39422,7 +39422,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39471,7 +39471,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39519,7 +39519,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39533,7 +39533,7 @@ col: 12, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39580,7 +39580,7 @@ Name: "b", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39627,7 +39627,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39666,7 +39666,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39680,7 +39680,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39710,7 +39710,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -39733,7 +39733,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39782,7 +39782,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39882,7 +39882,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -39950,7 +39950,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40103,7 +40103,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40145,7 +40145,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40175,7 +40175,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40199,7 +40199,7 @@ col: 38, }, }, - High: { '@type': "BasicLit", + High: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -40224,7 +40224,7 @@ Low: ~, Max: ~, 'Slice3': false, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40270,7 +40270,7 @@ }, }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40300,7 +40300,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40346,7 +40346,7 @@ }, }, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "10", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -40369,7 +40369,7 @@ Kind: "INT", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40417,7 +40417,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40456,7 +40456,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40470,7 +40470,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40500,7 +40500,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -40523,7 +40523,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40572,7 +40572,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40620,7 +40620,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40634,7 +40634,7 @@ col: 12, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40681,7 +40681,7 @@ Name: "b", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40728,7 +40728,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40767,7 +40767,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40781,7 +40781,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40811,7 +40811,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -40834,7 +40834,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40883,7 +40883,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -40983,7 +40983,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41051,7 +41051,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41153,7 +41153,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41184,7 +41184,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41203,7 +41203,7 @@ col: 0, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41327,7 +41327,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41369,7 +41369,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41399,7 +41399,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41447,7 +41447,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41486,7 +41486,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41500,7 +41500,7 @@ col: 81, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41530,7 +41530,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41553,7 +41553,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41593,7 +41593,7 @@ }, Name: "v", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41639,7 +41639,7 @@ }, Name: "f", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'g'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -41661,7 +41661,7 @@ }, Kind: "CHAR", }, - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Arithmetic, Expression, Negative, Positional, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41684,7 +41684,7 @@ '@token': "-", '@role': [Arithmetic, Expression, Negative, Operator, Unary], }, - X: { '@type': "BasicLit", + X: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -41707,7 +41707,7 @@ Kind: "INT", }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41772,7 +41772,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41837,7 +41837,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41886,7 +41886,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41909,7 +41909,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -41955,7 +41955,7 @@ }, Name: "f", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -41978,7 +41978,7 @@ Kind: "INT", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42024,7 +42024,7 @@ }, }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42071,7 +42071,7 @@ Name: "f", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42121,7 +42121,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42163,7 +42163,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42193,7 +42193,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42217,7 +42217,7 @@ col: 39, }, }, - High: { '@type': "BasicLit", + High: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -42242,7 +42242,7 @@ Low: ~, Max: ~, 'Slice3': false, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42304,7 +42304,7 @@ }, Name: "f", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'g'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -42326,7 +42326,7 @@ }, Kind: "CHAR", }, - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Arithmetic, Expression, Negative, Positional, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42349,7 +42349,7 @@ '@token': "-", '@role': [Arithmetic, Expression, Negative, Operator, Unary], }, - X: { '@type': "BasicLit", + X: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -42372,7 +42372,7 @@ Kind: "INT", }, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42437,7 +42437,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42485,7 +42485,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42524,7 +42524,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42538,7 +42538,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42568,7 +42568,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -42591,7 +42591,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42640,7 +42640,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42688,7 +42688,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42702,7 +42702,7 @@ col: 12, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42749,7 +42749,7 @@ Name: "b", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42796,7 +42796,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42835,7 +42835,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42849,7 +42849,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42879,7 +42879,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -42902,7 +42902,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -42951,7 +42951,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43099,7 +43099,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43167,7 +43167,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43269,7 +43269,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43300,7 +43300,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43336,7 +43336,7 @@ ], Type: ~, Values: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43365,7 +43365,7 @@ }, Name: "encode", }, - X: { '@type': "ParenExpr", + X: { '@type': "go:ParenExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43389,7 +43389,7 @@ col: 36, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43419,7 +43419,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "32", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -43463,7 +43463,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43499,7 +43499,7 @@ ], Type: ~, Values: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43528,7 +43528,7 @@ }, Name: "encode", }, - X: { '@type': "ParenExpr", + X: { '@type': "go:ParenExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43552,7 +43552,7 @@ col: 36, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43582,7 +43582,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "64", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -43680,7 +43680,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43719,7 +43719,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43761,7 +43761,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43791,7 +43791,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43839,7 +43839,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43878,7 +43878,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -43941,7 +43941,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44001,7 +44001,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44040,7 +44040,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44054,7 +44054,7 @@ col: 66, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44084,7 +44084,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44148,7 +44148,7 @@ Name: "numStr", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44195,7 +44195,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44244,7 +44244,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44267,7 +44267,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44335,7 +44335,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44349,7 +44349,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44396,7 +44396,7 @@ Name: "numStr", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44443,7 +44443,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44466,7 +44466,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44489,7 +44489,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44519,7 +44519,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44585,7 +44585,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44624,7 +44624,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44682,7 +44682,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44712,7 +44712,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44742,7 +44742,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44808,7 +44808,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44847,7 +44847,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44861,7 +44861,7 @@ col: 16, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44908,7 +44908,7 @@ Name: "err", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -44957,7 +44957,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45016,7 +45016,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45030,7 +45030,7 @@ col: 40, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45060,7 +45060,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45124,7 +45124,7 @@ Name: "string", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45170,7 +45170,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45219,7 +45219,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45284,7 +45284,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45298,7 +45298,7 @@ col: 40, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45328,7 +45328,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45358,7 +45358,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45404,7 +45404,7 @@ }, }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45450,7 +45450,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45553,7 +45553,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45621,7 +45621,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45774,7 +45774,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45813,7 +45813,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45827,7 +45827,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45875,7 +45875,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45922,7 +45922,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45945,7 +45945,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -45975,7 +45975,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46024,7 +46024,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46038,7 +46038,7 @@ col: 32, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46068,7 +46068,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46098,7 +46098,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46161,7 +46161,7 @@ Name: "opts", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46260,7 +46260,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46328,7 +46328,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46481,7 +46481,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46495,7 +46495,7 @@ col: 42, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46525,7 +46525,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46548,7 +46548,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46573,7 +46573,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46603,7 +46603,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46668,7 +46668,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46767,7 +46767,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46835,7 +46835,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46937,7 +46937,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -46968,7 +46968,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47005,7 +47005,7 @@ }, Name: "structEncoder", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47024,7 +47024,7 @@ col: 20, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47049,7 +47049,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47084,7 +47084,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47122,7 +47122,7 @@ Len: ~, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47157,7 +47157,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47254,7 +47254,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47268,7 +47268,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47298,7 +47298,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'{'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -47321,7 +47321,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47368,7 +47368,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47428,7 +47428,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47472,7 +47472,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47514,7 +47514,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47560,7 +47560,7 @@ }, Name: "v", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47625,7 +47625,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47664,7 +47664,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47688,7 +47688,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47711,7 +47711,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "UnaryExpr", + X: { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Left, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47734,7 +47734,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47764,7 +47764,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47811,7 +47811,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47834,7 +47834,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47879,7 +47879,7 @@ Name: "f", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47948,7 +47948,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -47987,7 +47987,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48085,7 +48085,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48099,7 +48099,7 @@ col: 20, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48129,7 +48129,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "','", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -48152,7 +48152,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48203,7 +48203,7 @@ }, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48217,7 +48217,7 @@ col: 36, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48247,7 +48247,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48292,7 +48292,7 @@ Name: "f", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48338,7 +48338,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48385,7 +48385,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48399,7 +48399,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48429,7 +48429,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "':'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -48452,7 +48452,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48499,7 +48499,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48519,7 +48519,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48570,7 +48570,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48617,7 +48617,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48631,7 +48631,7 @@ col: 31, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48710,7 +48710,7 @@ Name: "opts", }, ], - Fun: { '@type': "IndexExpr", + Fun: { '@type': "go:IndexExpr", '@role': [Callee, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48749,7 +48749,7 @@ }, Name: "i", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48832,7 +48832,7 @@ }, Name: "f", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48878,7 +48878,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48892,7 +48892,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -48922,7 +48922,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'}'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -48945,7 +48945,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49044,7 +49044,7 @@ Name: "se", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49112,7 +49112,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49180,7 +49180,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49333,7 +49333,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49375,7 +49375,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49441,7 +49441,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49483,7 +49483,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49506,7 +49506,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49531,7 +49531,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49583,7 +49583,7 @@ Name: "fields", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49618,7 +49618,7 @@ }, Name: "fieldEncs", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49648,7 +49648,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49685,7 +49685,7 @@ }, Len: ~, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49788,7 +49788,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49832,7 +49832,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49852,7 +49852,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49891,7 +49891,7 @@ }, Name: "i", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49943,7 +49943,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -49973,7 +49973,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50019,7 +50019,7 @@ }, Name: "t", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50153,7 +50153,7 @@ Name: "fields", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50173,7 +50173,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50272,7 +50272,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50361,7 +50361,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50392,7 +50392,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50429,7 +50429,7 @@ }, Name: "mapEncoder", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50448,7 +50448,7 @@ col: 17, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50473,7 +50473,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50584,7 +50584,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50623,7 +50623,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50637,7 +50637,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50685,7 +50685,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50732,7 +50732,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50755,7 +50755,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50785,7 +50785,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50834,7 +50834,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50848,7 +50848,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50878,7 +50878,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'{'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -50901,7 +50901,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50948,7 +50948,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50990,7 +50990,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51020,7 +51020,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51068,7 +51068,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51110,7 +51110,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51140,7 +51140,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51177,7 +51177,7 @@ }, Len: ~, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51261,7 +51261,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51305,7 +51305,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51325,7 +51325,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51354,7 +51354,7 @@ }, Name: "v", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51434,7 +51434,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51473,7 +51473,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51487,7 +51487,7 @@ col: 43, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51517,7 +51517,7 @@ }, }, Args: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Argument, Expression, Positional, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51540,7 +51540,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51565,7 +51565,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51595,7 +51595,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51675,7 +51675,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51724,7 +51724,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51781,7 +51781,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51823,7 +51823,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51853,7 +51853,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51882,7 +51882,7 @@ }, Name: "resolve", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -51993,7 +51993,7 @@ Name: "keys", }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52007,7 +52007,7 @@ col: 25, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52037,7 +52037,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52102,7 +52102,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52149,7 +52149,7 @@ }, }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52193,7 +52193,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52232,7 +52232,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52246,7 +52246,7 @@ col: 20, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52276,7 +52276,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "','", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -52299,7 +52299,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52348,7 +52348,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThan, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52387,7 +52387,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -52413,7 +52413,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52427,7 +52427,7 @@ col: 34, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52457,7 +52457,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52502,7 +52502,7 @@ Name: "kv", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52548,7 +52548,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52595,7 +52595,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52609,7 +52609,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52639,7 +52639,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "':'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -52662,7 +52662,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52709,7 +52709,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52723,7 +52723,7 @@ col: 40, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52769,7 +52769,7 @@ }, Name: "e", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52799,7 +52799,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52845,7 +52845,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -52908,7 +52908,7 @@ Name: "opts", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53006,7 +53006,7 @@ Name: "sv", }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53020,7 +53020,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53050,7 +53050,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'}'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -53073,7 +53073,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53172,7 +53172,7 @@ Name: "me", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53240,7 +53240,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53308,7 +53308,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53461,7 +53461,7 @@ }, }, Statements: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53500,7 +53500,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53526,7 +53526,7 @@ }, Body: ~, List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53571,7 +53571,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53616,7 +53616,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53661,7 +53661,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53706,7 +53706,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53751,7 +53751,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53796,7 +53796,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53841,7 +53841,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53886,7 +53886,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53931,7 +53931,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -53976,7 +53976,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54021,7 +54021,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54068,7 +54068,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54093,7 +54093,7 @@ }, }, Body: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54132,7 +54132,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54171,7 +54171,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54194,7 +54194,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54241,7 +54241,7 @@ Name: "textMarshalerType", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54270,7 +54270,7 @@ }, Name: "Implements", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54300,7 +54300,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54358,7 +54358,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54388,7 +54388,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54417,7 +54417,7 @@ }, Name: "Kind", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54447,7 +54447,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54496,7 +54496,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54538,7 +54538,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54561,7 +54561,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54586,7 +54586,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54616,7 +54616,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54646,7 +54646,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54730,7 +54730,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54750,7 +54750,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54849,7 +54849,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54989,7 +54989,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55028,7 +55028,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55042,7 +55042,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55090,7 +55090,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55137,7 +55137,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55160,7 +55160,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55190,7 +55190,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55239,7 +55239,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55281,7 +55281,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55311,7 +55311,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55359,7 +55359,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55373,7 +55373,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55403,7 +55403,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -55426,7 +55426,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55473,7 +55473,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55512,7 +55512,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55554,7 +55554,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55584,7 +55584,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55621,7 +55621,7 @@ }, Len: ~, }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55651,7 +55651,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55716,7 +55716,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55745,7 +55745,7 @@ }, Name: "EncodedLen", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55812,7 +55812,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55826,7 +55826,7 @@ col: 36, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55889,7 +55889,7 @@ Name: "s", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55918,7 +55918,7 @@ }, Name: "Encode", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55966,7 +55966,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -55980,7 +55980,7 @@ col: 15, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56027,7 +56027,7 @@ Name: "dst", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56076,7 +56076,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56099,7 +56099,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56163,7 +56163,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1024", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -56206,7 +56206,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56248,7 +56248,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56278,7 +56278,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56340,7 +56340,7 @@ Name: "e", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56388,7 +56388,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56402,7 +56402,7 @@ col: 15, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56449,7 +56449,7 @@ Name: "s", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56496,7 +56496,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56510,7 +56510,7 @@ col: 14, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56540,7 +56540,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56591,7 +56591,7 @@ }, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56605,7 +56605,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56635,7 +56635,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -56658,7 +56658,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56757,7 +56757,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56825,7 +56825,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56927,7 +56927,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56956,7 +56956,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56993,7 +56993,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57030,7 +57030,7 @@ }, Name: "sliceEncoder", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57049,7 +57049,7 @@ col: 19, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57074,7 +57074,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57185,7 +57185,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57224,7 +57224,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57238,7 +57238,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57286,7 +57286,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57333,7 +57333,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57356,7 +57356,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57386,7 +57386,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57435,7 +57435,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57449,7 +57449,7 @@ col: 25, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57528,7 +57528,7 @@ Name: "opts", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57627,7 +57627,7 @@ Name: "se", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57695,7 +57695,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57763,7 +57763,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57916,7 +57916,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57955,7 +57955,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -57997,7 +57997,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58027,7 +58027,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58057,7 +58057,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58104,7 +58104,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58152,7 +58152,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58191,7 +58191,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58230,7 +58230,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58253,7 +58253,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "UnaryExpr", + X: { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Left, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58276,7 +58276,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58323,7 +58323,7 @@ Name: "marshalerType", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58370,7 +58370,7 @@ }, }, }, - 'Y': { '@type': "UnaryExpr", + 'Y': { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Negative, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58393,7 +58393,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58440,7 +58440,7 @@ Name: "textMarshalerType", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58493,7 +58493,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58516,7 +58516,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58546,7 +58546,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58575,7 +58575,7 @@ }, Name: "Kind", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58605,7 +58605,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58653,7 +58653,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58702,7 +58702,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58744,7 +58744,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58767,7 +58767,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58792,7 +58792,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58876,7 +58876,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58896,7 +58896,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -58995,7 +58995,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59084,7 +59084,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59115,7 +59115,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59152,7 +59152,7 @@ }, Name: "arrayEncoder", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59171,7 +59171,7 @@ col: 19, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59196,7 +59196,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59307,7 +59307,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59321,7 +59321,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59351,7 +59351,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'['", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -59374,7 +59374,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59421,7 +59421,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59463,7 +59463,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59493,7 +59493,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59541,7 +59541,7 @@ }, ], }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59580,7 +59580,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59619,7 +59619,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59633,7 +59633,7 @@ col: 20, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59663,7 +59663,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "','", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -59686,7 +59686,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59735,7 +59735,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThan, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59774,7 +59774,7 @@ }, Name: "i", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -59800,7 +59800,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59814,7 +59814,7 @@ col: 34, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59860,7 +59860,7 @@ }, Name: "e", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59907,7 +59907,7 @@ Name: "i", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -59970,7 +59970,7 @@ Name: "opts", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60019,7 +60019,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60075,7 +60075,7 @@ Name: "n", }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60117,7 +60117,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -60141,7 +60141,7 @@ }, ], }, - Post: { '@type': "IncDecStmt", + Post: { '@type': "go:IncDecStmt", '@role': [For, Increment, Statement, Unary, Update], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60181,7 +60181,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60195,7 +60195,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60225,7 +60225,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "']'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -60248,7 +60248,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60347,7 +60347,7 @@ Name: "ae", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60415,7 +60415,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60483,7 +60483,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60636,7 +60636,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60678,7 +60678,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60701,7 +60701,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60726,7 +60726,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60756,7 +60756,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60786,7 +60786,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60870,7 +60870,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60890,7 +60890,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -60989,7 +60989,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61078,7 +61078,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61109,7 +61109,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61146,7 +61146,7 @@ }, Name: "ptrEncoder", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61165,7 +61165,7 @@ col: 17, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61190,7 +61190,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61301,7 +61301,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61340,7 +61340,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61354,7 +61354,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61402,7 +61402,7 @@ Value: "null", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61449,7 +61449,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61472,7 +61472,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61502,7 +61502,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61551,7 +61551,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61565,7 +61565,7 @@ col: 31, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61611,7 +61611,7 @@ }, Name: "e", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61641,7 +61641,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61704,7 +61704,7 @@ Name: "opts", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61803,7 +61803,7 @@ Name: "pe", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61871,7 +61871,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -61939,7 +61939,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62092,7 +62092,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62134,7 +62134,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62157,7 +62157,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62182,7 +62182,7 @@ }, }, Elts: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62212,7 +62212,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62242,7 +62242,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62326,7 +62326,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62346,7 +62346,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62445,7 +62445,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62534,7 +62534,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62565,7 +62565,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62602,7 +62602,7 @@ }, Name: "condAddrEncoder", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62621,7 +62621,7 @@ col: 22, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62646,7 +62646,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62698,7 +62698,7 @@ Name: "encoderFunc", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62809,7 +62809,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62848,7 +62848,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62862,7 +62862,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62941,7 +62941,7 @@ Name: "opts", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -62990,7 +62990,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63020,7 +63020,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63086,7 +63086,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63100,7 +63100,7 @@ col: 25, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63179,7 +63179,7 @@ Name: "opts", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63282,7 +63282,7 @@ Name: "ce", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63350,7 +63350,7 @@ Name: "e", }, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63418,7 +63418,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63534,7 +63534,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63625,7 +63625,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63667,7 +63667,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63690,7 +63690,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63715,7 +63715,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63767,7 +63767,7 @@ Name: "canAddrEnc", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63839,7 +63839,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -63859,7 +63859,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64116,7 +64116,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64155,7 +64155,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64194,7 +64194,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64254,7 +64254,7 @@ Else: ~, Init: ~, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64298,7 +64298,7 @@ }, }, Statements: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64337,7 +64337,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64363,7 +64363,7 @@ }, Body: ~, List: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64427,7 +64427,7 @@ Name: "c", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64475,7 +64475,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64500,7 +64500,7 @@ }, }, Body: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64539,7 +64539,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64578,7 +64578,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64601,7 +64601,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "UnaryExpr", + X: { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Left, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64624,7 +64624,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64671,7 +64671,7 @@ Name: "c", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64718,7 +64718,7 @@ }, }, }, - 'Y': { '@type': "UnaryExpr", + 'Y': { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Negative, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64741,7 +64741,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64788,7 +64788,7 @@ Name: "c", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -64898,7 +64898,7 @@ Name: "s", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65097,7 +65097,7 @@ }, }, Statements: [ - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65141,7 +65141,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65180,7 +65180,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65219,7 +65219,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65239,7 +65239,7 @@ }, }, Results: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65264,7 +65264,7 @@ }, }, Elts: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65314,7 +65314,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65344,7 +65344,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65393,7 +65393,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65435,7 +65435,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65465,7 +65465,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65515,7 +65515,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65538,7 +65538,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65568,7 +65568,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65614,7 +65614,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65663,7 +65663,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65705,7 +65705,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65752,7 +65752,7 @@ Name: "i", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65851,7 +65851,7 @@ Name: "index", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -65940,7 +65940,7 @@ Name: "v", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66018,7 +66018,7 @@ Name: "index", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66076,7 +66076,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66180,7 +66180,7 @@ }, }, Statements: [ - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66224,7 +66224,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66263,7 +66263,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66305,7 +66305,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66335,7 +66335,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66385,7 +66385,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66408,7 +66408,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66438,7 +66438,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66484,7 +66484,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66533,7 +66533,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66575,7 +66575,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66604,7 +66604,7 @@ }, Name: "Type", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66651,7 +66651,7 @@ Name: "i", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66751,7 +66751,7 @@ Name: "index", }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66840,7 +66840,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66918,7 +66918,7 @@ Name: "index", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -66976,7 +66976,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67029,7 +67029,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67060,7 +67060,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67097,7 +67097,7 @@ }, Name: "reflectWithString", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67116,7 +67116,7 @@ col: 24, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67141,7 +67141,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67176,7 +67176,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67222,7 +67222,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67333,7 +67333,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67372,7 +67372,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67392,7 +67392,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67443,7 +67443,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67473,7 +67473,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67502,7 +67502,7 @@ }, Name: "String", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67551,7 +67551,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67590,7 +67590,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67613,7 +67613,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67643,7 +67643,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67672,7 +67672,7 @@ }, Name: "Kind", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67719,7 +67719,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67768,7 +67768,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67807,7 +67807,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67865,7 +67865,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67895,7 +67895,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67943,7 +67943,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -67963,7 +67963,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68014,7 +68014,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68080,7 +68080,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68136,7 +68136,7 @@ Name: "ok", }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68194,7 +68194,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68218,7 +68218,7 @@ col: 54, }, }, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68263,7 +68263,7 @@ Name: "encoding", }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68293,7 +68293,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68322,7 +68322,7 @@ }, Name: "Interface", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68373,7 +68373,7 @@ ], }, }, - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68412,7 +68412,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68437,7 +68437,7 @@ }, }, Body: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68457,7 +68457,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68508,7 +68508,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68538,7 +68538,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68568,7 +68568,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68597,7 +68597,7 @@ }, Name: "Int", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68644,7 +68644,7 @@ }, }, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "10", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -68667,7 +68667,7 @@ Kind: "INT", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68715,7 +68715,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68754,7 +68754,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68799,7 +68799,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68844,7 +68844,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68889,7 +68889,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68934,7 +68934,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -68981,7 +68981,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69006,7 +69006,7 @@ }, }, Body: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69026,7 +69026,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69077,7 +69077,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69107,7 +69107,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69137,7 +69137,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69166,7 +69166,7 @@ }, Name: "Uint", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69213,7 +69213,7 @@ }, }, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "10", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -69236,7 +69236,7 @@ Kind: "INT", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69284,7 +69284,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69323,7 +69323,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69368,7 +69368,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69413,7 +69413,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69458,7 +69458,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69503,7 +69503,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69548,7 +69548,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69598,7 +69598,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69628,7 +69628,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69657,7 +69657,7 @@ }, Name: "Kind", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69705,7 +69705,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69719,7 +69719,7 @@ col: 34, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69837,7 +69837,7 @@ Name: "w", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69916,7 +69916,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -69945,7 +69945,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70020,7 +70020,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70057,7 +70057,7 @@ }, Name: "byString", }, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70149,7 +70149,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70169,7 +70169,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70397,7 +70397,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70417,7 +70417,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70472,7 +70472,7 @@ Name: "sv", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70533,7 +70533,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70588,7 +70588,7 @@ Name: "sv", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70868,7 +70868,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70888,7 +70888,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70911,7 +70911,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70940,7 +70940,7 @@ }, Name: "s", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70996,7 +70996,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71025,7 +71025,7 @@ }, Name: "s", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71305,7 +71305,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71377,7 +71377,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71419,7 +71419,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71449,7 +71449,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71497,7 +71497,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71511,7 +71511,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71541,7 +71541,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -71564,7 +71564,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71611,7 +71611,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71653,7 +71653,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -71677,7 +71677,7 @@ }, ], }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71716,7 +71716,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71755,7 +71755,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71794,7 +71794,7 @@ }, }, Statements: [ - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71833,7 +71833,7 @@ Name: "i", }, }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71857,7 +71857,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71880,7 +71880,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71903,7 +71903,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71926,7 +71926,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Expression, Left, LessThanOrEqual, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -71949,7 +71949,7 @@ '@token': "<=", '@role': [Binary, Expression, LessThanOrEqual, Operator, Relational], }, - X: { '@type': "BasicLit", + X: { '@type': "go:BasicLit", '@token': "0x20", '@role': [Binary, Expression, Left, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -71988,7 +71988,7 @@ Name: "b", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72027,7 +72027,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -72051,7 +72051,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72090,7 +72090,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -72114,7 +72114,7 @@ }, }, }, - 'Y': { '@type': "ParenExpr", + 'Y': { '@type': "go:ParenExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72138,7 +72138,7 @@ col: 53, }, }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Expression, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72161,7 +72161,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "UnaryExpr", + X: { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Left, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72200,7 +72200,7 @@ Name: "escapeHTML", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72223,7 +72223,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72246,7 +72246,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72285,7 +72285,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'<'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -72308,7 +72308,7 @@ Kind: "CHAR", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72347,7 +72347,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'>'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -72371,7 +72371,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72410,7 +72410,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'&'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -72440,7 +72440,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72479,7 +72479,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72493,7 +72493,7 @@ col: 30, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72523,7 +72523,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72596,7 +72596,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72645,7 +72645,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72704,7 +72704,7 @@ Else: ~, Init: ~, }, - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72743,7 +72743,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72768,7 +72768,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72782,7 +72782,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72812,7 +72812,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -72835,7 +72835,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72882,7 +72882,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72896,7 +72896,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72943,7 +72943,7 @@ Name: "b", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -72992,7 +72992,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -73014,7 +73014,7 @@ }, Kind: "CHAR", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -73038,7 +73038,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73063,7 +73063,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73077,7 +73077,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73107,7 +73107,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -73130,7 +73130,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73177,7 +73177,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73191,7 +73191,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73221,7 +73221,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'n'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -73244,7 +73244,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73293,7 +73293,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\n'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -73317,7 +73317,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73342,7 +73342,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73356,7 +73356,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73386,7 +73386,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -73409,7 +73409,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73456,7 +73456,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73470,7 +73470,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73500,7 +73500,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'r'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -73523,7 +73523,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73572,7 +73572,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\r'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -73596,7 +73596,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73621,7 +73621,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73635,7 +73635,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73665,7 +73665,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -73688,7 +73688,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73735,7 +73735,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73749,7 +73749,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73779,7 +73779,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'t'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -73802,7 +73802,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73851,7 +73851,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\t'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -73875,7 +73875,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73900,7 +73900,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73914,7 +73914,7 @@ col: 26, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -73962,7 +73962,7 @@ Value: "\\u00", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74009,7 +74009,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74023,7 +74023,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74053,7 +74053,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74077,7 +74077,7 @@ col: 25, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Binary, Bitwise, Expression, RightShift], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74116,7 +74116,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "4", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -74156,7 +74156,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74203,7 +74203,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74217,7 +74217,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74247,7 +74247,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74271,7 +74271,7 @@ col: 26, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74310,7 +74310,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0xF", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -74350,7 +74350,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74419,7 +74419,7 @@ Name: "b", }, }, - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74458,7 +74458,7 @@ Name: "i", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74518,7 +74518,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74542,7 +74542,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74581,7 +74581,7 @@ }, Name: "b", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74628,7 +74628,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74670,7 +74670,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74728,7 +74728,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74786,7 +74786,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74816,7 +74816,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74875,7 +74875,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74923,7 +74923,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -74962,7 +74962,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75001,7 +75001,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75015,7 +75015,7 @@ col: 30, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75045,7 +75045,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75118,7 +75118,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75167,7 +75167,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75226,7 +75226,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75240,7 +75240,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75288,7 +75288,7 @@ Value: "\\ufffd", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75335,7 +75335,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75395,7 +75395,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75455,7 +75455,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75479,7 +75479,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75502,7 +75502,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75541,7 +75541,7 @@ }, Name: "c", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75587,7 +75587,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75626,7 +75626,7 @@ }, Name: "size", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -75653,7 +75653,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75692,7 +75692,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75731,7 +75731,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75745,7 +75745,7 @@ col: 30, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75775,7 +75775,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75848,7 +75848,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75897,7 +75897,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75956,7 +75956,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -75970,7 +75970,7 @@ col: 26, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76018,7 +76018,7 @@ Value: "\\u202", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76065,7 +76065,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76079,7 +76079,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76109,7 +76109,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76133,7 +76133,7 @@ col: 25, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76172,7 +76172,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0xF", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -76212,7 +76212,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76259,7 +76259,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76319,7 +76319,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76379,7 +76379,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76403,7 +76403,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76426,7 +76426,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76465,7 +76465,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'\\u2028'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -76488,7 +76488,7 @@ Kind: "CHAR", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76527,7 +76527,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'\\u2029'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -76554,7 +76554,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76616,7 +76616,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76655,7 +76655,7 @@ }, Name: "i", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76720,7 +76720,7 @@ }, }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76762,7 +76762,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -76788,7 +76788,7 @@ }, Post: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76827,7 +76827,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76841,7 +76841,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76871,7 +76871,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76930,7 +76930,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -76979,7 +76979,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77018,7 +77018,7 @@ }, Name: "start", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77086,7 +77086,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77100,7 +77100,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77130,7 +77130,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -77153,7 +77153,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77200,7 +77200,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77220,7 +77220,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Expression, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77243,7 +77243,7 @@ '@token': "-", '@role': [Arithmetic, Binary, Expression, Operator, Substract], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77273,7 +77273,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77390,7 +77390,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77579,7 +77579,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77651,7 +77651,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77693,7 +77693,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77723,7 +77723,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77771,7 +77771,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77785,7 +77785,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77815,7 +77815,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -77838,7 +77838,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77885,7 +77885,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77927,7 +77927,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -77951,7 +77951,7 @@ }, ], }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -77990,7 +77990,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78029,7 +78029,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78068,7 +78068,7 @@ }, }, Statements: [ - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78107,7 +78107,7 @@ Name: "i", }, }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78131,7 +78131,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78154,7 +78154,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78177,7 +78177,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78200,7 +78200,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Expression, Left, LessThanOrEqual, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78223,7 +78223,7 @@ '@token': "<=", '@role': [Binary, Expression, LessThanOrEqual, Operator, Relational], }, - X: { '@type': "BasicLit", + X: { '@type': "go:BasicLit", '@token': "0x20", '@role': [Binary, Expression, Left, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -78262,7 +78262,7 @@ Name: "b", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78301,7 +78301,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -78325,7 +78325,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78364,7 +78364,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -78388,7 +78388,7 @@ }, }, }, - 'Y': { '@type': "ParenExpr", + 'Y': { '@type': "go:ParenExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78412,7 +78412,7 @@ col: 53, }, }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Expression, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78435,7 +78435,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "UnaryExpr", + X: { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Left, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78474,7 +78474,7 @@ Name: "escapeHTML", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78497,7 +78497,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78520,7 +78520,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78559,7 +78559,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'<'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -78582,7 +78582,7 @@ Kind: "CHAR", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78621,7 +78621,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'>'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -78645,7 +78645,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78684,7 +78684,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'&'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -78714,7 +78714,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78753,7 +78753,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78767,7 +78767,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78797,7 +78797,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78870,7 +78870,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78919,7 +78919,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -78978,7 +78978,7 @@ Else: ~, Init: ~, }, - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79017,7 +79017,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79042,7 +79042,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79056,7 +79056,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79086,7 +79086,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -79109,7 +79109,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79156,7 +79156,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79170,7 +79170,7 @@ col: 19, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79217,7 +79217,7 @@ Name: "b", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79266,7 +79266,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -79288,7 +79288,7 @@ }, Kind: "CHAR", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -79312,7 +79312,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79337,7 +79337,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79351,7 +79351,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79381,7 +79381,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -79404,7 +79404,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79451,7 +79451,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79465,7 +79465,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79495,7 +79495,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'n'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -79518,7 +79518,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79567,7 +79567,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\n'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -79591,7 +79591,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79616,7 +79616,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79630,7 +79630,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79660,7 +79660,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -79683,7 +79683,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79730,7 +79730,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79744,7 +79744,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79774,7 +79774,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'r'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -79797,7 +79797,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79846,7 +79846,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\r'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -79870,7 +79870,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79895,7 +79895,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79909,7 +79909,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -79939,7 +79939,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\\\'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -79962,7 +79962,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80009,7 +80009,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80023,7 +80023,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80053,7 +80053,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'t'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -80076,7 +80076,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80125,7 +80125,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\\t'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -80149,7 +80149,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80174,7 +80174,7 @@ }, }, Body: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80188,7 +80188,7 @@ col: 26, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80236,7 +80236,7 @@ Value: "\\u00", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80283,7 +80283,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80297,7 +80297,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80327,7 +80327,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80351,7 +80351,7 @@ col: 25, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Binary, Bitwise, Expression, RightShift], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80390,7 +80390,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "4", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -80430,7 +80430,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80477,7 +80477,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80491,7 +80491,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80521,7 +80521,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80545,7 +80545,7 @@ col: 26, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80584,7 +80584,7 @@ }, Name: "b", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0xF", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -80624,7 +80624,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80693,7 +80693,7 @@ Name: "b", }, }, - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80732,7 +80732,7 @@ Name: "i", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80792,7 +80792,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80816,7 +80816,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80855,7 +80855,7 @@ }, Name: "b", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80902,7 +80902,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -80944,7 +80944,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81002,7 +81002,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81060,7 +81060,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81090,7 +81090,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81149,7 +81149,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81197,7 +81197,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81236,7 +81236,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81275,7 +81275,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81289,7 +81289,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81319,7 +81319,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81392,7 +81392,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81441,7 +81441,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81500,7 +81500,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81514,7 +81514,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81562,7 +81562,7 @@ Value: "\\ufffd", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81609,7 +81609,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81669,7 +81669,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81729,7 +81729,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81753,7 +81753,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81776,7 +81776,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81815,7 +81815,7 @@ }, Name: "c", }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81861,7 +81861,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81900,7 +81900,7 @@ }, Name: "size", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -81927,7 +81927,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -81966,7 +81966,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82005,7 +82005,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82019,7 +82019,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82049,7 +82049,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82122,7 +82122,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82171,7 +82171,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82230,7 +82230,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82244,7 +82244,7 @@ col: 26, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82292,7 +82292,7 @@ Value: "\\u202", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82339,7 +82339,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82353,7 +82353,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82383,7 +82383,7 @@ }, }, Args: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82407,7 +82407,7 @@ col: 25, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [And, Binary, Bitwise, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82446,7 +82446,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0xF", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -82486,7 +82486,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82533,7 +82533,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82593,7 +82593,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82653,7 +82653,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82677,7 +82677,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82700,7 +82700,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82739,7 +82739,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'\\u2028'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -82762,7 +82762,7 @@ Kind: "CHAR", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82801,7 +82801,7 @@ }, Name: "c", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "'\\u2029'", '@role': [Binary, Character, Expression, Literal, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -82828,7 +82828,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82890,7 +82890,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82929,7 +82929,7 @@ }, Name: "i", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -82994,7 +82994,7 @@ }, }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83036,7 +83036,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -83062,7 +83062,7 @@ }, Post: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83101,7 +83101,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83115,7 +83115,7 @@ col: 21, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83145,7 +83145,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83204,7 +83204,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83253,7 +83253,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, If, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83292,7 +83292,7 @@ }, Name: "start", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83360,7 +83360,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83374,7 +83374,7 @@ col: 18, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83404,7 +83404,7 @@ }, }, Args: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'\"'", '@role': [Argument, Character, Expression, Literal, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -83427,7 +83427,7 @@ Kind: "CHAR", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83474,7 +83474,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83494,7 +83494,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Expression, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83517,7 +83517,7 @@ '@token': "-", '@role': [Arithmetic, Binary, Expression, Operator, Substract], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83547,7 +83547,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83664,7 +83664,7 @@ Name: "e", }, Receiver: true, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83732,7 +83732,7 @@ Name: "s", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83861,7 +83861,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83890,7 +83890,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83927,7 +83927,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83964,7 +83964,7 @@ }, Name: "field", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -83983,7 +83983,7 @@ col: 12, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84008,7 +84008,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84060,7 +84060,7 @@ Name: "string", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84074,7 +84074,7 @@ col: 18, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84130,7 +84130,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84168,7 +84168,7 @@ Len: ~, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84182,7 +84182,7 @@ col: 34, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84289,7 +84289,7 @@ Name: "s", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84359,7 +84359,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84437,7 +84437,7 @@ ], }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84489,7 +84489,7 @@ Name: "bool", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84524,7 +84524,7 @@ }, ], Tag: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84562,7 +84562,7 @@ Len: ~, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84597,7 +84597,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84643,7 +84643,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84695,7 +84695,7 @@ Name: "bool", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84806,7 +84806,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84826,7 +84826,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84877,7 +84877,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84907,7 +84907,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84953,7 +84953,7 @@ }, }, ], - Fun: { '@type': "ArrayType", + Fun: { '@type': "go:ArrayType", '@role': [Callee, Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84993,7 +84993,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85013,7 +85013,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85064,7 +85064,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85094,7 +85094,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85159,7 +85159,7 @@ }, ], }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85307,7 +85307,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85336,7 +85336,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85411,7 +85411,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85448,7 +85448,7 @@ }, Name: "byName", }, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85540,7 +85540,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85560,7 +85560,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85788,7 +85788,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85808,7 +85808,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85863,7 +85863,7 @@ Name: "x", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85924,7 +85924,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85979,7 +85979,7 @@ Name: "x", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86259,7 +86259,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86298,7 +86298,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86318,7 +86318,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86341,7 +86341,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86370,7 +86370,7 @@ }, Name: "name", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86426,7 +86426,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86455,7 +86455,7 @@ }, Name: "name", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86516,7 +86516,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86539,7 +86539,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86568,7 +86568,7 @@ }, Name: "name", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86624,7 +86624,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86653,7 +86653,7 @@ }, Name: "name", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86713,7 +86713,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86752,7 +86752,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86772,7 +86772,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86795,7 +86795,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86825,7 +86825,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86854,7 +86854,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86928,7 +86928,7 @@ Name: "len", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86958,7 +86958,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86987,7 +86987,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87066,7 +87066,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87089,7 +87089,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87119,7 +87119,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87148,7 +87148,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87222,7 +87222,7 @@ Name: "len", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87252,7 +87252,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87281,7 +87281,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87359,7 +87359,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87398,7 +87398,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87418,7 +87418,7 @@ }, }, Results: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87447,7 +87447,7 @@ }, Name: "tag", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87507,7 +87507,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87530,7 +87530,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87559,7 +87559,7 @@ }, Name: "tag", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87615,7 +87615,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87644,7 +87644,7 @@ }, Name: "tag", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87704,7 +87704,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87724,7 +87724,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87787,7 +87787,7 @@ Name: "j", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87816,7 +87816,7 @@ }, Name: "Less", }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88091,7 +88091,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88120,7 +88120,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88157,7 +88157,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88194,7 +88194,7 @@ }, Name: "byIndex", }, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88286,7 +88286,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88306,7 +88306,7 @@ }, }, Results: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88534,7 +88534,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88554,7 +88554,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88609,7 +88609,7 @@ Name: "x", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88670,7 +88670,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -88725,7 +88725,7 @@ Name: "x", }, }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89005,7 +89005,7 @@ }, }, Statements: [ - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89049,7 +89049,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89088,7 +89088,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89127,7 +89127,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThanOrEqual, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89166,7 +89166,7 @@ }, Name: "k", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89196,7 +89196,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89225,7 +89225,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89303,7 +89303,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89342,7 +89342,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89362,7 +89362,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89401,7 +89401,7 @@ }, Name: "xik", }, - 'Y': { '@type': "IndexExpr", + 'Y': { '@type': "go:IndexExpr", '@role': [Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89440,7 +89440,7 @@ }, Name: "k", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89469,7 +89469,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89531,7 +89531,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89570,7 +89570,7 @@ }, Name: "xik", }, - 'Y': { '@type': "IndexExpr", + 'Y': { '@type': "go:IndexExpr", '@role': [Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89609,7 +89609,7 @@ }, Name: "k", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89638,7 +89638,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89734,7 +89734,7 @@ }, Name: "xik", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89763,7 +89763,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89820,7 +89820,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89840,7 +89840,7 @@ }, }, Results: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Expression, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89863,7 +89863,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89893,7 +89893,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89922,7 +89922,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89996,7 +89996,7 @@ Name: "len", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90026,7 +90026,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90055,7 +90055,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90353,7 +90353,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90463,7 +90463,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90505,7 +90505,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90530,7 +90530,7 @@ }, }, Elts: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90570,7 +90570,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90612,7 +90612,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90637,7 +90637,7 @@ }, }, Elts: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90662,7 +90662,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90718,7 +90718,7 @@ Type: ~, }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90758,7 +90758,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90800,7 +90800,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90825,7 +90825,7 @@ }, }, Elts: ~, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90844,7 +90844,7 @@ col: 11, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90909,7 +90909,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90951,7 +90951,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90976,7 +90976,7 @@ }, }, Elts: ~, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90995,7 +90995,7 @@ col: 15, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91060,7 +91060,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91102,7 +91102,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91127,7 +91127,7 @@ }, }, Elts: ~, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91146,7 +91146,7 @@ col: 13, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91211,7 +91211,7 @@ }, ], }, - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91225,7 +91225,7 @@ col: 20, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91254,7 +91254,7 @@ col: 2, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91291,7 +91291,7 @@ ], }, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91325,7 +91325,7 @@ Name: "fields", }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91368,7 +91368,7 @@ Tok: "var", }, }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91407,7 +91407,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91481,7 +91481,7 @@ }, Name: "next", }, - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91505,7 +91505,7 @@ col: 35, }, }, - High: { '@type': "BasicLit", + High: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -91548,7 +91548,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91622,7 +91622,7 @@ }, Name: "nextCount", }, - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91647,7 +91647,7 @@ }, }, Elts: ~, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91666,7 +91666,7 @@ col: 33, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91731,7 +91731,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91775,7 +91775,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91814,7 +91814,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91838,7 +91838,7 @@ }, ], }, - Cond: { '@type': "IndexExpr", + Cond: { '@type': "go:IndexExpr", '@role': [Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91862,7 +91862,7 @@ col: 20, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91926,7 +91926,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91946,7 +91946,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91970,7 +91970,7 @@ col: 17, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92055,7 +92055,7 @@ }, ], }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92094,7 +92094,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92136,7 +92136,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92183,7 +92183,7 @@ Name: "i", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92212,7 +92212,7 @@ }, Name: "Field", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92261,7 +92261,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92300,7 +92300,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92324,7 +92324,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92347,7 +92347,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92370,7 +92370,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92433,7 +92433,7 @@ Value: "", }, }, - 'Y': { '@type': "UnaryExpr", + 'Y': { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Negative, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92456,7 +92456,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92506,7 +92506,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92548,7 +92548,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92596,7 +92596,7 @@ Value: "json", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92625,7 +92625,7 @@ }, Name: "Get", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92674,7 +92674,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92713,7 +92713,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92737,7 +92737,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92797,7 +92797,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92855,7 +92855,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92921,7 +92921,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -92960,7 +92960,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93023,7 +93023,7 @@ }, ], }, - Cond: { '@type': "UnaryExpr", + Cond: { '@type': "go:UnaryExpr", '@role': [Boolean, Condition, Expression, If, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93046,7 +93046,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93114,7 +93114,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93156,7 +93156,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93186,7 +93186,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93223,7 +93223,7 @@ }, Len: ~, }, - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Argument, Arithmetic, Binary, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93246,7 +93246,7 @@ '@token': "+", '@role': [Add, Arithmetic, Binary, Expression, Operator], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93276,7 +93276,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93339,7 +93339,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -93382,7 +93382,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93396,7 +93396,7 @@ col: 25, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93442,7 +93442,7 @@ }, Name: "index", }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93506,7 +93506,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93526,7 +93526,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93550,7 +93550,7 @@ col: 23, }, }, - Index: { '@type': "CallExpr", + Index: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93580,7 +93580,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93683,7 +93683,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93725,7 +93725,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93772,7 +93772,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93811,7 +93811,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93853,7 +93853,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93883,7 +93883,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93933,7 +93933,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [And, Binary, Boolean, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93956,7 +93956,7 @@ '@token': "&&", '@role': [And, Binary, Boolean, Expression, Operator], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -93979,7 +93979,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94009,7 +94009,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94073,7 +94073,7 @@ Value: "", }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94096,7 +94096,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94126,7 +94126,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94172,7 +94172,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94222,7 +94222,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94282,7 +94282,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94321,7 +94321,7 @@ }, }, Statements: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94360,7 +94360,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94385,7 +94385,7 @@ }, }, Body: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94447,7 +94447,7 @@ }, ], List: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94492,7 +94492,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94537,7 +94537,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94582,7 +94582,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94627,7 +94627,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94672,7 +94672,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94717,7 +94717,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94762,7 +94762,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94807,7 +94807,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94852,7 +94852,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94897,7 +94897,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94942,7 +94942,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -94987,7 +94987,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95032,7 +95032,7 @@ Name: "reflect", }, }, - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95082,7 +95082,7 @@ ], }, Init: ~, - Tag: { '@type': "CallExpr", + Tag: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95112,7 +95112,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95161,7 +95161,7 @@ }, ], }, - Cond: { '@type': "CallExpr", + Cond: { '@type': "go:CallExpr", '@role': [Call, Condition, Expression, If], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95209,7 +95209,7 @@ Value: "string", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95258,7 +95258,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95297,7 +95297,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95339,7 +95339,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Assignment, Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95398,7 +95398,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95437,7 +95437,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95479,7 +95479,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95528,7 +95528,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95588,7 +95588,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95630,7 +95630,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95676,7 +95676,7 @@ }, Name: "fields", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95706,7 +95706,7 @@ }, }, Args: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Argument, Expression, Literal, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95731,7 +95731,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95783,7 +95783,7 @@ Name: "name", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95835,7 +95835,7 @@ Name: "tagged", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95887,7 +95887,7 @@ Name: "index", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95939,7 +95939,7 @@ Name: "ft", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -95974,7 +95974,7 @@ }, Name: "omitEmpty", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96022,7 +96022,7 @@ Value: "omitempty", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96069,7 +96069,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96176,7 +96176,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96215,7 +96215,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96257,7 +96257,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96303,7 +96303,7 @@ }, Name: "fields", }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96327,7 +96327,7 @@ col: 51, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Arithmetic, Binary, Expression, Substract], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96350,7 +96350,7 @@ '@token': "-", '@role': [Arithmetic, Binary, Expression, Operator, Substract], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96414,7 +96414,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -96475,7 +96475,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThan, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96498,7 +96498,7 @@ '@token': ">", '@role': [Binary, Expression, GreaterThan, Operator, Relational], }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96522,7 +96522,7 @@ col: 20, }, }, - Index: { '@type': "SelectorExpr", + Index: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96583,7 +96583,7 @@ Name: "count", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -96609,7 +96609,7 @@ Else: ~, Init: ~, }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96633,7 +96633,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Condition, Expression, If, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96656,7 +96656,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Boolean, Expression, Left, Or], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96679,7 +96679,7 @@ '@token': "||", '@role': [Binary, Boolean, Expression, Operator, Or], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Left, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96736,7 +96736,7 @@ Value: "", }, }, - 'Y': { '@type': "UnaryExpr", + 'Y': { '@type': "go:UnaryExpr", '@role': [Binary, Boolean, Expression, Negative, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96759,7 +96759,7 @@ '@token': "!", '@role': [Boolean, Expression, Negative, Operator, Unary], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96806,7 +96806,7 @@ }, }, }, - 'Y': { '@type': "BinaryExpr", + 'Y': { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Not, Relational, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96829,7 +96829,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96859,7 +96859,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96905,7 +96905,7 @@ }, }, }, - 'Y': { '@type': "SelectorExpr", + 'Y': { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96955,7 +96955,7 @@ Else: ~, Init: ~, }, - { '@type': "IncDecStmt", + { '@type': "go:IncDecStmt", '@role': [Increment, Statement, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -96978,7 +96978,7 @@ '@token': "++", '@role': [Expression, Increment, Operator, Unary], }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97034,7 +97034,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97073,7 +97073,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97115,7 +97115,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97161,7 +97161,7 @@ }, Name: "next", }, - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97191,7 +97191,7 @@ }, }, Args: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Argument, Expression, Literal, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97216,7 +97216,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97251,7 +97251,7 @@ }, Name: "name", }, - Value: { '@type': "CallExpr", + Value: { '@type': "go:CallExpr", '@role': [Call, Expression, Value], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97281,7 +97281,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97328,7 +97328,7 @@ }, }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97380,7 +97380,7 @@ Name: "index", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97489,7 +97489,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97512,7 +97512,7 @@ '@token': "==", '@role': [Binary, Equal, Expression, Operator, Relational], }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97567,7 +97567,7 @@ Name: "nextCount", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -97595,7 +97595,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97634,7 +97634,7 @@ }, Name: "i", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97664,7 +97664,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97693,7 +97693,7 @@ }, Name: "NumField", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97741,7 +97741,7 @@ }, }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97783,7 +97783,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -97807,7 +97807,7 @@ }, ], }, - Post: { '@type': "IncDecStmt", + Post: { '@type': "go:IncDecStmt", '@role': [For, Increment, Statement, Unary, Update], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97900,7 +97900,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, GreaterThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97923,7 +97923,7 @@ '@token': ">", '@role': [Binary, Expression, GreaterThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -97987,7 +97987,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -98013,7 +98013,7 @@ Init: ~, Post: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98027,7 +98027,7 @@ col: 27, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98057,7 +98057,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98122,7 +98122,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98169,7 +98169,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98211,7 +98211,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98235,7 +98235,7 @@ col: 18, }, }, - High: { '@type': "BasicLit", + High: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -98278,7 +98278,7 @@ }, ], }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98317,7 +98317,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98359,7 +98359,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98416,7 +98416,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98458,7 +98458,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98505,7 +98505,7 @@ }, ], }, - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98544,7 +98544,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98586,7 +98586,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98610,7 +98610,7 @@ col: 26, }, }, - Index: { '@type': "BinaryExpr", + Index: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98684,7 +98684,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98723,7 +98723,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Break, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98747,7 +98747,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98770,7 +98770,7 @@ '@token': "!=", '@role': [Binary, Equal, Expression, Not, Operator, Relational], }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98837,7 +98837,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98860,7 +98860,7 @@ '@token': "<", '@role': [Binary, Expression, LessThan, Operator, Relational], }, - X: { '@type': "BinaryExpr", + X: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98916,7 +98916,7 @@ Name: "advance", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -98981,7 +98981,7 @@ }, }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99023,7 +99023,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -99047,7 +99047,7 @@ }, ], }, - Post: { '@type': "IncDecStmt", + Post: { '@type': "go:IncDecStmt", '@role': [For, Increment, Statement, Unary, Update], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99087,7 +99087,7 @@ }, }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99126,7 +99126,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99168,7 +99168,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99250,7 +99250,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Continue, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99274,7 +99274,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99313,7 +99313,7 @@ }, Name: "advance", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -99339,7 +99339,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99397,7 +99397,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99427,7 +99427,7 @@ }, }, Args: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99451,7 +99451,7 @@ col: 53, }, }, - High: { '@type': "BinaryExpr", + High: { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99560,7 +99560,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99599,7 +99599,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99641,7 +99641,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99746,7 +99746,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, For, LessThan, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99785,7 +99785,7 @@ }, Name: "i", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99850,7 +99850,7 @@ }, }, }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, For, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -99908,7 +99908,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -99930,7 +99930,7 @@ }, Kind: "INT", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -99954,7 +99954,7 @@ }, ], }, - Post: { '@type': "AssignStmt", + Post: { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, For, Operator, Statement, Update], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100015,7 +100015,7 @@ ], }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100075,7 +100075,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100089,7 +100089,7 @@ col: 28, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100119,7 +100119,7 @@ }, }, Args: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Argument, Call, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100184,7 +100184,7 @@ }, }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100231,7 +100231,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100320,7 +100320,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100386,7 +100386,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100445,7 +100445,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100612,7 +100612,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100654,7 +100654,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100684,7 +100684,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100713,7 +100713,7 @@ }, Name: "index", }, - X: { '@type': "IndexExpr", + X: { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100737,7 +100737,7 @@ col: 24, }, }, - Index: { '@type': "BasicLit", + Index: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -100796,7 +100796,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100838,7 +100838,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Arithmetic, Assignment, Binary, Expression, Negative, Right, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100861,7 +100861,7 @@ '@token': "-", '@role': [Arithmetic, Expression, Negative, Operator, Unary], }, - X: { '@type': "BasicLit", + X: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -100886,7 +100886,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100930,7 +100930,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -100969,7 +100969,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101011,7 +101011,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101071,7 +101071,7 @@ }, ], }, - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Break, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101095,7 +101095,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThan, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101118,7 +101118,7 @@ '@token': ">", '@role': [Binary, Expression, GreaterThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101148,7 +101148,7 @@ }, }, Args: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Argument, Expression, Incomplete, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101231,7 +101231,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101270,7 +101270,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101309,7 +101309,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101329,7 +101329,7 @@ }, }, Results: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101389,7 +101389,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThanOrEqual, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101428,7 +101428,7 @@ }, Name: "tagged", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -101454,7 +101454,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101516,7 +101516,7 @@ }, ], }, - Cond: { '@type': "SelectorExpr", + Cond: { '@type': "go:SelectorExpr", '@role': [Condition, Expression, If, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101615,7 +101615,7 @@ Name: "fields", }, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101654,7 +101654,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101674,7 +101674,7 @@ }, }, Results: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101748,7 +101748,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThanOrEqual, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101787,7 +101787,7 @@ }, Name: "tagged", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "0", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -101813,7 +101813,7 @@ Else: ~, Init: ~, }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101852,7 +101852,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101872,7 +101872,7 @@ }, }, Results: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101932,7 +101932,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Expression, GreaterThan, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -101955,7 +101955,7 @@ '@token': ">", '@role': [Binary, Expression, GreaterThan, Operator, Relational], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102019,7 +102019,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -102045,7 +102045,7 @@ Else: ~, Init: ~, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102065,7 +102065,7 @@ }, }, Results: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102089,7 +102089,7 @@ col: 17, }, }, - Index: { '@type': "BasicLit", + Index: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -102196,7 +102196,7 @@ Name: "fields", }, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102311,7 +102311,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102342,7 +102342,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102376,7 +102376,7 @@ Name: "fieldCache", }, ], - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102395,7 +102395,7 @@ col: 16, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102420,7 +102420,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102434,7 +102434,7 @@ col: 20, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102490,7 +102490,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102536,7 +102536,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102550,7 +102550,7 @@ col: 18, }, }, - Comment: { '@type': "CommentGroup", + Comment: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102606,7 +102606,7 @@ }, ], Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102675,7 +102675,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102747,7 +102747,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102805,7 +102805,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102829,7 +102829,7 @@ col: 59, }, }, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102848,7 +102848,7 @@ col: 35, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102893,7 +102893,7 @@ Name: "reflect", }, }, - Value: { '@type': "ArrayType", + Value: { '@type': "go:ArrayType", '@role': [Entry, Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102931,7 +102931,7 @@ Len: ~, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102961,7 +102961,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102990,7 +102990,7 @@ }, Name: "Load", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103040,7 +103040,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103082,7 +103082,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103139,7 +103139,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103178,7 +103178,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103217,7 +103217,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103276,7 +103276,7 @@ Else: ~, Init: ~, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103318,7 +103318,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103384,7 +103384,7 @@ }, ], }, - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103423,7 +103423,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103465,7 +103465,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103490,7 +103490,7 @@ }, }, Elts: ~, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103532,7 +103532,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103591,7 +103591,7 @@ Else: ~, Init: ~, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103605,7 +103605,7 @@ col: 22, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103635,7 +103635,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103664,7 +103664,7 @@ }, Name: "Lock", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103712,7 +103712,7 @@ }, }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103770,7 +103770,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103794,7 +103794,7 @@ col: 58, }, }, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103813,7 +103813,7 @@ col: 34, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103858,7 +103858,7 @@ Name: "reflect", }, }, - Value: { '@type': "ArrayType", + Value: { '@type': "go:ArrayType", '@role': [Entry, Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103896,7 +103896,7 @@ Len: ~, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103926,7 +103926,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103955,7 +103955,7 @@ }, Name: "Load", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104005,7 +104005,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104047,7 +104047,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104077,7 +104077,7 @@ }, }, Args: [ - { '@type': "MapType", + { '@type': "go:MapType", '@role': [Argument, Expression, Map, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104096,7 +104096,7 @@ col: 15, }, }, - Key: { '@type': "SelectorExpr", + Key: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Key], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104141,7 +104141,7 @@ Name: "reflect", }, }, - Value: { '@type': "ArrayType", + Value: { '@type': "go:ArrayType", '@role': [Entry, Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104179,7 +104179,7 @@ Len: ~, }, }, - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Argument, Arithmetic, Binary, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104202,7 +104202,7 @@ '@token': "+", '@role': [Add, Arithmetic, Binary, Expression, Operator], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104266,7 +104266,7 @@ Name: "len", }, }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -104309,7 +104309,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104353,7 +104353,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104373,7 +104373,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104503,7 +104503,7 @@ Name: "m", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104523,7 +104523,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104602,7 +104602,7 @@ }, ], }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104616,7 +104616,7 @@ col: 30, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104663,7 +104663,7 @@ Name: "newM", }, ], - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104692,7 +104692,7 @@ }, Name: "Store", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104740,7 +104740,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104754,7 +104754,7 @@ col: 24, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104784,7 +104784,7 @@ }, }, Args: ~, - Fun: { '@type': "SelectorExpr", + Fun: { '@type': "go:SelectorExpr", '@role': [Callee, Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104813,7 +104813,7 @@ }, Name: "Unlock", }, - X: { '@type': "SelectorExpr", + X: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104861,7 +104861,7 @@ }, }, }, - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104950,7 +104950,7 @@ Name: "t", }, Receiver: false, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -105016,7 +105016,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -105062,7 +105062,7 @@ ], }, ], - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/labels.go.sem.uast b/fixtures/labels.go.sem.uast index d8a9769..d565964 100644 --- a/fixtures/labels.go.sem.uast +++ b/fixtures/labels.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "LabeledStmt", + { '@type': "go:LabeledStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -104,7 +104,7 @@ }, Name: "loop", }, - Stmt: { '@type': "ForStmt", + Stmt: { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -143,7 +143,7 @@ }, }, Statements: [ - { '@type': "ForStmt", + { '@type': "go:ForStmt", '@role': [For, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -182,7 +182,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Break, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -231,7 +231,7 @@ Post: ~, }, }, - { '@type': "LabeledStmt", + { '@type': "go:LabeledStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -265,7 +265,7 @@ }, Name: "start", }, - Stmt: { '@type': "IfStmt", + Stmt: { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -304,7 +304,7 @@ }, }, Statements: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Goto, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/literals.go.sem.uast b/fixtures/literals.go.sem.uast index 61b7bc3..6779a67 100644 --- a/fixtures/literals.go.sem.uast +++ b/fixtures/literals.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -103,7 +103,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -156,7 +156,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -209,7 +209,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -245,7 +245,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "42", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -269,7 +269,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -305,7 +305,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "42.0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -329,7 +329,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -365,7 +365,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "42e0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -389,7 +389,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -425,7 +425,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0x42", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -449,7 +449,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -485,7 +485,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "042", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -509,7 +509,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -563,7 +563,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -617,7 +617,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -653,7 +653,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'a'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -677,7 +677,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -713,7 +713,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "'λ'", '@role': [Character, Expression, Literal, Primitive], '@pos': { '@type': "uast:Positions", @@ -737,7 +737,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -773,7 +773,7 @@ ], Type: ~, Values: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -798,7 +798,7 @@ }, }, Elts: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -821,7 +821,7 @@ Kind: "INT", }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -861,7 +861,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -897,7 +897,7 @@ ], Type: ~, Values: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -922,7 +922,7 @@ }, }, Elts: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -945,7 +945,7 @@ Kind: "INT", }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -980,7 +980,7 @@ }, Name: "byte", }, - Len: { '@type': "BasicLit", + Len: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -1006,7 +1006,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1042,7 +1042,7 @@ ], Type: ~, Values: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1067,7 +1067,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1122,7 +1122,7 @@ }, }, ], - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1177,7 +1177,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1213,7 +1213,7 @@ ], Type: ~, Values: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1255,7 +1255,7 @@ Value: "foo", }, ], - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1274,7 +1274,7 @@ col: 6, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1299,7 +1299,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/maps.go.sem.uast b/fixtures/maps.go.sem.uast index 08940b8..dcc8cbb 100644 --- a/fixtures/maps.go.sem.uast +++ b/fixtures/maps.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84,7 +84,7 @@ col: 22, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -115,7 +115,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -149,7 +149,7 @@ Name: "m", }, ], - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -207,7 +207,7 @@ Tok: "var", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -249,7 +249,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -279,7 +279,7 @@ }, }, Args: [ - { '@type': "MapType", + { '@type': "go:MapType", '@role': [Argument, Expression, Map, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -351,7 +351,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -393,7 +393,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -423,7 +423,7 @@ }, }, Args: [ - { '@type': "MapType", + { '@type': "go:MapType", '@role': [Argument, Expression, Map, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -475,7 +475,7 @@ Name: "int", }, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "3", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -517,7 +517,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -559,7 +559,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -584,7 +584,7 @@ }, }, Elts: [ - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -620,7 +620,7 @@ Format: "", Value: "a", }, - Value: { '@type': "BasicLit", + Value: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive, Value], '@pos': { '@type': "uast:Positions", @@ -643,7 +643,7 @@ Kind: "INT", }, }, - { '@type': "KeyValueExpr", + { '@type': "go:KeyValueExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -678,7 +678,7 @@ }, Name: "x", }, - Value: { '@type': "BasicLit", + Value: { '@type': "go:BasicLit", '@token': "2", '@role': [Expression, Literal, Number, Primitive, Value], '@pos': { '@type': "uast:Positions", @@ -702,7 +702,7 @@ }, }, ], - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -757,7 +757,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -799,7 +799,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -857,7 +857,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -877,7 +877,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -939,7 +939,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -978,7 +978,7 @@ }, Name: "v", }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1045,7 +1045,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1103,7 +1103,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1160,7 +1160,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1252,7 +1252,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1296,7 +1296,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1338,7 +1338,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1395,7 +1395,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1523,7 +1523,7 @@ Name: "m", }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1567,7 +1567,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/pointers.go.sem.uast b/fixtures/pointers.go.sem.uast index 0209e47..a5cb213 100644 --- a/fixtures/pointers.go.sem.uast +++ b/fixtures/pointers.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84,7 +84,7 @@ col: 12, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -115,7 +115,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -149,7 +149,7 @@ Name: "a", }, ], - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -190,7 +190,7 @@ Tok: "var", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -232,7 +232,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -256,7 +256,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -298,7 +298,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Assignment, Binary, Expression, Right, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -339,7 +339,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -359,7 +359,7 @@ }, }, Lhs: [ - { '@type': "StarExpr", + { '@type': "go:StarExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -400,7 +400,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -424,7 +424,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -466,7 +466,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/primitives.go.sem.uast b/fixtures/primitives.go.sem.uast index 0f4c740..767518c 100644 --- a/fixtures/primitives.go.sem.uast +++ b/fixtures/primitives.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -102,7 +102,7 @@ }, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -154,7 +154,7 @@ }, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -206,7 +206,7 @@ }, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -258,7 +258,7 @@ }, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -310,7 +310,7 @@ }, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -362,7 +362,7 @@ }, Values: ~, }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/recover.go.sem.uast b/fixtures/recover.go.sem.uast index 7eab9d0..385806e 100644 --- a/fixtures/recover.go.sem.uast +++ b/fixtures/recover.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "DeferStmt", + { '@type': "go:DeferStmt", '@role': [Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -89,7 +89,7 @@ col: 2, }, }, - Call: { '@type': "CallExpr", + Call: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -119,7 +119,7 @@ }, }, Args: ~, - Fun: { '@type': "FuncLit", + Fun: { '@type': "go:FuncLit", '@role': [Callee, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -153,7 +153,7 @@ }, }, Statements: [ - { '@type': "IfStmt", + { '@type': "go:IfStmt", '@role': [If, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -192,7 +192,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -254,7 +254,7 @@ }, ], }, - Cond: { '@type': "BinaryExpr", + Cond: { '@type': "go:BinaryExpr", '@role': [Binary, Condition, Equal, Expression, If, Not, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -311,7 +311,7 @@ }, }, Else: ~, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, If, Initialization, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -353,7 +353,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -430,7 +430,7 @@ }, }, }, - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -444,7 +444,7 @@ col: 16, }, }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Call, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/slices.go.sem.uast b/fixtures/slices.go.sem.uast index 95628b7..f133e79 100644 --- a/fixtures/slices.go.sem.uast +++ b/fixtures/slices.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "DeclStmt", + { '@type': "go:DeclStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84,7 +84,7 @@ col: 24, }, }, - Decl: { '@type': "GenDecl", + Decl: { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -115,7 +115,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -151,7 +151,7 @@ ], Type: ~, Values: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -176,7 +176,7 @@ }, }, Elts: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -198,7 +198,7 @@ }, Kind: "INT", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "2", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -221,7 +221,7 @@ Kind: "INT", }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -256,7 +256,7 @@ }, Name: "int", }, - Len: { '@type': "Ellipsis", + Len: { '@type': "go:Ellipsis", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -285,7 +285,7 @@ Tok: "var", }, }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -327,7 +327,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -352,7 +352,7 @@ }, }, Elts: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "3", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -374,7 +374,7 @@ }, Kind: "INT", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "4", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -397,7 +397,7 @@ Kind: "INT", }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -437,7 +437,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -479,7 +479,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Assignment, Binary, Expression, Literal, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -504,7 +504,7 @@ }, }, Elts: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -529,7 +529,7 @@ }, }, Elts: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "6", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -555,7 +555,7 @@ Type: ~, }, ], - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -574,7 +574,7 @@ col: 7, }, }, - Elt: { '@type': "ArrayType", + Elt: { '@type': "go:ArrayType", '@role': [Entry, Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -616,7 +616,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -658,7 +658,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -704,7 +704,7 @@ }, Name: "b", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "5", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -746,7 +746,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -788,7 +788,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -834,7 +834,7 @@ }, Name: "b", }, - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -898,7 +898,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -940,7 +940,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -986,7 +986,7 @@ }, Name: "b", }, - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Argument, Expression, Positional], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1010,7 +1010,7 @@ col: 19, }, }, - Index: { '@type': "BasicLit", + Index: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -1068,7 +1068,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1110,7 +1110,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1135,7 +1135,7 @@ }, }, High: ~, - Low: { '@type': "BasicLit", + Low: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -1177,7 +1177,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1219,7 +1219,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "SliceExpr", + { '@type': "go:SliceExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1243,7 +1243,7 @@ col: 13, }, }, - High: { '@type': "BasicLit", + High: { '@type': "go:BasicLit", '@token': "2", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -1265,7 +1265,7 @@ }, Kind: "INT", }, - Low: { '@type': "BasicLit", + Low: { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -1287,7 +1287,7 @@ }, Kind: "INT", }, - Max: { '@type': "BasicLit", + Max: { '@type': "go:BasicLit", '@token': "2", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -1328,7 +1328,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Add, Arithmetic, Assignment, Binary, Operator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1348,7 +1348,7 @@ }, }, Lhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1372,7 +1372,7 @@ col: 5, }, }, - Index: { '@type': "BasicLit", + Index: { '@type': "go:BasicLit", '@token': "0", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -1416,7 +1416,7 @@ '@role': [Add, Arithmetic, Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1439,7 +1439,7 @@ '@token': "+", '@role': [Add, Arithmetic, Binary, Expression, Operator], }, - X: { '@type': "CallExpr", + X: { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1503,7 +1503,7 @@ Name: "len", }, }, - 'Y': { '@type': "CallExpr", + 'Y': { '@type': "go:CallExpr", '@role': [Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1570,7 +1570,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1630,7 +1630,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1690,7 +1690,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1732,7 +1732,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1762,7 +1762,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1799,7 +1799,7 @@ }, Len: ~, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "3", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -1841,7 +1841,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1883,7 +1883,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "CallExpr", + { '@type': "go:CallExpr", '@role': [Assignment, Binary, Call, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1913,7 +1913,7 @@ }, }, Args: [ - { '@type': "ArrayType", + { '@type': "go:ArrayType", '@role': [Argument, Expression, List, Positional, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1950,7 +1950,7 @@ }, Len: ~, }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "0", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -1972,7 +1972,7 @@ }, Kind: "INT", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "3", '@role': [Argument, Expression, Literal, Number, Positional, Primitive], '@pos': { '@type': "uast:Positions", @@ -2014,7 +2014,7 @@ }, ], }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2058,7 +2058,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2100,7 +2100,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "IndexExpr", + { '@type': "go:IndexExpr", '@role': [Assignment, Binary, Expression, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2193,7 +2193,7 @@ Name: "b", }, }, - { '@type': "RangeStmt", + { '@type': "go:RangeStmt", '@role': [For, Iterator, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -2237,7 +2237,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/switch.go.sem.uast b/fixtures/switch.go.sem.uast index 0afa820..4fe1e9d 100644 --- a/fixtures/switch.go.sem.uast +++ b/fixtures/switch.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -54,7 +54,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90,7 +90,7 @@ }, ], }, - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -179,7 +179,7 @@ }, }, Statements: [ - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -218,7 +218,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -243,7 +243,7 @@ }, }, Body: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Break, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -267,7 +267,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -291,7 +291,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -316,7 +316,7 @@ }, }, Body: [ - { '@type': "BranchStmt", + { '@type': "go:BranchStmt", '@role': [Incomplete, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -340,7 +340,7 @@ }, ], List: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "2", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -362,7 +362,7 @@ }, Kind: "INT", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "3", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -386,7 +386,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -432,7 +432,7 @@ Name: "a", }, }, - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -471,7 +471,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -497,7 +497,7 @@ }, Body: ~, List: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Add, Arithmetic, Binary, Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -536,7 +536,7 @@ }, Name: "a", }, - 'Y': { '@type': "BasicLit", + 'Y': { '@type': "go:BasicLit", '@token': "1", '@role': [Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -563,7 +563,7 @@ }, ], }, - Init: { '@type': "AssignStmt", + Init: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Initialization, Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -639,7 +639,7 @@ Name: "c", }, }, - { '@type': "SwitchStmt", + { '@type': "go:SwitchStmt", '@role': [Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -678,7 +678,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -704,7 +704,7 @@ }, Body: ~, List: [ - { '@type': "BinaryExpr", + { '@type': "go:BinaryExpr", '@role': [Binary, Equal, Expression, Relational], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -762,7 +762,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -794,7 +794,7 @@ Init: ~, Tag: ~, }, - { '@type': "TypeSwitchStmt", + { '@type': "go:TypeSwitchStmt", '@role': [Incomplete, Statement, Switch], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -813,7 +813,7 @@ col: 2, }, }, - Assign: { '@type': "AssignStmt", + Assign: { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -855,7 +855,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "TypeAssertExpr", + { '@type': "go:TypeAssertExpr", '@role': [Assignment, Binary, Expression, Incomplete, Right], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -918,7 +918,7 @@ }, }, Statements: [ - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -961,7 +961,7 @@ }, ], }, - { '@type': "CaseClause", + { '@type': "go:CaseClause", '@role': [Case, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/types.go.sem.uast b/fixtures/types.go.sem.uast index 5aa3b83..f2406c0 100644 --- a/fixtures/types.go.sem.uast +++ b/fixtures/types.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91,7 +91,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -122,7 +122,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -179,7 +179,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -210,7 +210,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -267,7 +267,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -298,7 +298,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -335,7 +335,7 @@ }, Name: "Buf", }, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -384,7 +384,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -415,7 +415,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -452,7 +452,7 @@ }, Name: "Arr", }, - Type: { '@type': "ArrayType", + Type: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -493,7 +493,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -524,7 +524,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -561,7 +561,7 @@ }, Name: "Obj", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -580,7 +580,7 @@ col: 10, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -605,7 +605,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -623,7 +623,7 @@ Doc: ~, Names: ~, Tag: ~, - Type: { '@type': "SelectorExpr", + Type: { '@type': "go:SelectorExpr", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -669,7 +669,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -736,7 +736,7 @@ Name: "int", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -788,7 +788,7 @@ Name: "string", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -840,7 +840,7 @@ Name: "string", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -875,7 +875,7 @@ }, ], Tag: ~, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -894,7 +894,7 @@ col: 9, }, }, - X: { '@type': "ArrayType", + X: { '@type': "go:ArrayType", '@role': [Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -933,7 +933,7 @@ }, }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -968,7 +968,7 @@ }, ], Tag: ~, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -987,7 +987,7 @@ col: 9, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1012,7 +1012,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1077,7 +1077,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1108,7 +1108,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1145,7 +1145,7 @@ }, Name: "Void", }, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1165,7 +1165,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1196,7 +1196,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1227,7 +1227,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1264,7 +1264,7 @@ }, Name: "Node", }, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1284,7 +1284,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1309,7 +1309,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1344,7 +1344,7 @@ Name: "Void", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1409,7 +1409,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1440,7 +1440,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1477,7 +1477,7 @@ }, Name: "LongMap", }, - Type: { '@type': "MapType", + Type: { '@type': "go:MapType", '@role': [Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1512,7 +1512,7 @@ }, Name: "string", }, - Value: { '@type': "MapType", + Value: { '@type': "go:MapType", '@role': [Entry, Expression, Map, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1547,7 +1547,7 @@ }, Name: "int", }, - Value: { '@type': "ArrayType", + Value: { '@type': "go:ArrayType", '@role': [Entry, Expression, List, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1590,7 +1590,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1621,7 +1621,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1658,7 +1658,7 @@ }, Name: "Chan", }, - Type: { '@type': "ChanType", + Type: { '@type': "go:ChanType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1703,7 +1703,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1734,7 +1734,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1771,7 +1771,7 @@ }, Name: "ChanIn", }, - Type: { '@type': "ChanType", + Type: { '@type': "go:ChanType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1816,7 +1816,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1847,7 +1847,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1884,7 +1884,7 @@ }, Name: "ChanOut", }, - Type: { '@type': "ChanType", + Type: { '@type': "go:ChanType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1909,7 +1909,7 @@ }, }, Dir: 2, - Value: { '@type': "StructType", + Value: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -1928,7 +1928,7 @@ col: 21, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_anonymous.go.sem.uast b/fixtures/u2_class_anonymous.go.sem.uast index 905b29a..554f18a 100644 --- a/fixtures/u2_class_anonymous.go.sem.uast +++ b/fixtures/u2_class_anonymous.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84,7 +84,7 @@ col: 21, }, }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -109,7 +109,7 @@ }, }, Elts: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -132,7 +132,7 @@ Kind: "INT", }, ], - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -151,7 +151,7 @@ col: 2, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -176,7 +176,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_constructor.go.sem.uast b/fixtures/u2_class_constructor.go.sem.uast index d65cba8..0cc7e49 100644 --- a/fixtures/u2_class_constructor.go.sem.uast +++ b/fixtures/u2_class_constructor.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -189,7 +189,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -209,7 +209,7 @@ }, }, Results: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Expression, TakeAddress, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -232,7 +232,7 @@ '@token': "&", '@role': [Expression, Operator, TakeAddress, Unary], }, - X: { '@type': "CompositeLit", + X: { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -315,7 +315,7 @@ MapVariadic: false, Name: ~, Receiver: false, - Type: { '@type': "StarExpr", + Type: { '@type': "go:StarExpr", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_doc.go.sem.uast b/fixtures/u2_class_doc.go.sem.uast index 4fa1bdd..a95a78a 100644 --- a/fixtures/u2_class_doc.go.sem.uast +++ b/fixtures/u2_class_doc.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -56,7 +56,7 @@ }, ], Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -85,7 +85,7 @@ col: 1, }, }, - Doc: { '@type': "CommentGroup", + Doc: { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -122,7 +122,7 @@ ], }, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -159,7 +159,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -178,7 +178,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_empty.go.sem.uast b/fixtures/u2_class_empty.go.sem.uast index 6999b46..9af9cc5 100644 --- a/fixtures/u2_class_empty.go.sem.uast +++ b/fixtures/u2_class_empty.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_extend.go.sem.uast b/fixtures/u2_class_extend.go.sem.uast index 5e644f4..c57fcd2 100644 --- a/fixtures/u2_class_extend.go.sem.uast +++ b/fixtures/u2_class_extend.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -138,7 +138,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -169,7 +169,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -206,7 +206,7 @@ }, Name: "Testcls2", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -225,7 +225,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -250,7 +250,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_field.go.sem.uast b/fixtures/u2_class_field.go.sem.uast index 3fbbcf2..b40bbd4 100644 --- a/fixtures/u2_class_field.go.sem.uast +++ b/fixtures/u2_class_field.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -131,7 +131,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_field_annotation.go.sem.uast b/fixtures/u2_class_field_annotation.go.sem.uast index 8eb5230..ae8e798 100644 --- a/fixtures/u2_class_field_annotation.go.sem.uast +++ b/fixtures/u2_class_field_annotation.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -131,7 +131,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_field_qualifiers.go.sem.uast b/fixtures/u2_class_field_qualifiers.go.sem.uast index a7f5e48..b1a7dd6 100644 --- a/fixtures/u2_class_field_qualifiers.go.sem.uast +++ b/fixtures/u2_class_field_qualifiers.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -131,7 +131,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -183,7 +183,7 @@ Name: "string", }, }, - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_implements.go.sem.uast b/fixtures/u2_class_implements.go.sem.uast index 9db335d..c5312a1 100644 --- a/fixtures/u2_class_implements.go.sem.uast +++ b/fixtures/u2_class_implements.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testiface1", }, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -107,7 +107,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -132,7 +132,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -197,7 +197,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -228,7 +228,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -265,7 +265,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -284,7 +284,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -442,7 +442,7 @@ }, ], }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -473,7 +473,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -524,7 +524,7 @@ Name: "Testiface1", }, Values: [ - { '@type': "CompositeLit", + { '@type': "go:CompositeLit", '@role': [Expression, Literal], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_method.go.sem.uast b/fixtures/u2_class_method.go.sem.uast index 907223f..3e5ff46 100644 --- a/fixtures/u2_class_method.go.sem.uast +++ b/fixtures/u2_class_method.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_method_qualifiers.go.sem.uast b/fixtures/u2_class_method_qualifiers.go.sem.uast index 7da29c2..ce3e8fa 100644 --- a/fixtures/u2_class_method_qualifiers.go.sem.uast +++ b/fixtures/u2_class_method_qualifiers.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_qualifiers.go.sem.uast b/fixtures/u2_class_qualifiers.go.sem.uast index 9ac9314..c6c7ba3 100644 --- a/fixtures/u2_class_qualifiers.go.sem.uast +++ b/fixtures/u2_class_qualifiers.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -138,7 +138,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -169,7 +169,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -206,7 +206,7 @@ }, Name: "testcls2", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -225,7 +225,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_class_this.go.sem.uast b/fixtures/u2_class_this.go.sem.uast index e2196c9..83f492e 100644 --- a/fixtures/u2_class_this.go.sem.uast +++ b/fixtures/u2_class_this.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testcls1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 15, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -131,7 +131,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -242,7 +242,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -262,7 +262,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -313,7 +313,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -464,7 +464,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -484,7 +484,7 @@ }, }, Lhs: [ - { '@type': "SelectorExpr", + { '@type': "go:SelectorExpr", '@role': [Assignment, Binary, Expression, Incomplete, Left], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -535,7 +535,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "2", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", diff --git a/fixtures/u2_func_anonymous.go.sem.uast b/fixtures/u2_func_anonymous.go.sem.uast index 09e3e2b..397250f 100644 --- a/fixtures/u2_func_anonymous.go.sem.uast +++ b/fixtures/u2_func_anonymous.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "ExprStmt", + { '@type': "go:ExprStmt", '@role': [Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -84,7 +84,7 @@ col: 11, }, }, - X: { '@type': "FuncLit", + X: { '@type': "go:FuncLit", '@role': [Expression], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_func_doc.go.sem.uast b/fixtures/u2_func_doc.go.sem.uast index 4a70a9e..656d209 100644 --- a/fixtures/u2_func_doc.go.sem.uast +++ b/fixtures/u2_func_doc.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -18,7 +18,7 @@ }, }, Comments: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Nodes: [ - { '@type': "CommentGroup", + { '@type': "go:CommentGroup", '@role': [Comment, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_func_empty.go.sem.uast b/fixtures/u2_func_empty.go.sem.uast index f3a749f..3061cc2 100644 --- a/fixtures/u2_func_empty.go.sem.uast +++ b/fixtures/u2_func_empty.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_func_params_variadic.go.sem.uast b/fixtures/u2_func_params_variadic.go.sem.uast index eeef67c..c0d3c77 100644 --- a/fixtures/u2_func_params_variadic.go.sem.uast +++ b/fixtures/u2_func_params_variadic.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_func_qualifiers.go.sem.uast b/fixtures/u2_func_qualifiers.go.sem.uast index 547b277..cbf38c7 100644 --- a/fixtures/u2_func_qualifiers.go.sem.uast +++ b/fixtures/u2_func_qualifiers.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_func_return_multiple.go.sem.uast b/fixtures/u2_func_return_multiple.go.sem.uast index 3ca3614..fc2ea10 100644 --- a/fixtures/u2_func_return_multiple.go.sem.uast +++ b/fixtures/u2_func_return_multiple.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -90,7 +90,7 @@ }, }, Results: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "3", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", diff --git a/fixtures/u2_func_simple.go.sem.uast b/fixtures/u2_func_simple.go.sem.uast index c94cf33..9b471cd 100644 --- a/fixtures/u2_func_simple.go.sem.uast +++ b/fixtures/u2_func_simple.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -70,7 +70,7 @@ }, }, Statements: [ - { '@type': "ReturnStmt", + { '@type': "go:ReturnStmt", '@role': [Return, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_func_specific_params_group.go.sem.uast b/fixtures/u2_func_specific_params_group.go.sem.uast index 4eeb65c..ff3bab1 100644 --- a/fixtures/u2_func_specific_params_group.go.sem.uast +++ b/fixtures/u2_func_specific_params_group.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_func_specific_return_named.go.sem.uast b/fixtures/u2_func_specific_return_named.go.sem.uast index 9f8c23e..e258ccf 100644 --- a/fixtures/u2_func_specific_return_named.go.sem.uast +++ b/fixtures/u2_func_specific_return_named.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_import_module_alias.go.sem.uast b/fixtures/u2_import_module_alias.go.sem.uast index b06d371..7b043ed 100644 --- a/fixtures/u2_import_module_alias.go.sem.uast +++ b/fixtures/u2_import_module_alias.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_import_path.go.sem.uast b/fixtures/u2_import_path.go.sem.uast index cfe7c4f..99fd052 100644 --- a/fixtures/u2_import_path.go.sem.uast +++ b/fixtures/u2_import_path.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91,7 +91,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_import_simple.go.sem.uast b/fixtures/u2_import_simple.go.sem.uast index 9810f4e..ae74c23 100644 --- a/fixtures/u2_import_simple.go.sem.uast +++ b/fixtures/u2_import_simple.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -91,7 +91,7 @@ ], Tok: "import", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_import_specific_init.go.sem.uast b/fixtures/u2_import_specific_init.go.sem.uast index 2b8bbb3..4ff9838 100644 --- a/fixtures/u2_import_specific_init.go.sem.uast +++ b/fixtures/u2_import_specific_init.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_import_subsymbols_namespaced.go.sem.uast b/fixtures/u2_import_subsymbols_namespaced.go.sem.uast index c9369e8..04c3b78 100644 --- a/fixtures/u2_import_subsymbols_namespaced.go.sem.uast +++ b/fixtures/u2_import_subsymbols_namespaced.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_type_alias.go.sem.uast b/fixtures/u2_type_alias.go.sem.uast index 5485cf7..467d781 100644 --- a/fixtures/u2_type_alias.go.sem.uast +++ b/fixtures/u2_type_alias.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testtype1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 16, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -138,7 +138,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -169,7 +169,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_type_interface.go.sem.uast b/fixtures/u2_type_interface.go.sem.uast index 37777b3..6b7d214 100644 --- a/fixtures/u2_type_interface.go.sem.uast +++ b/fixtures/u2_type_interface.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testiface", }, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -107,7 +107,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -132,7 +132,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_type_interface_extend.go.sem.uast b/fixtures/u2_type_interface_extend.go.sem.uast index 90eedae..4a8414e 100644 --- a/fixtures/u2_type_interface_extend.go.sem.uast +++ b/fixtures/u2_type_interface_extend.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testiface1", }, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -107,7 +107,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -138,7 +138,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -169,7 +169,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -206,7 +206,7 @@ }, Name: "Testiface2", }, - Type: { '@type': "InterfaceType", + Type: { '@type': "go:InterfaceType", '@role': [Expression, Incomplete, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -226,7 +226,7 @@ }, }, Incomplete: false, - Methods: { '@type': "FieldList", + Methods: { '@type': "go:FieldList", '@role': [Function, List], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -251,7 +251,7 @@ }, }, List: [ - { '@type': "Field", + { '@type': "go:Field", '@role': [Entry], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_type_method_qualifiers.go.sem.uast b/fixtures/u2_type_method_qualifiers.go.sem.uast index 7535a19..45b65b0 100644 --- a/fixtures/u2_type_method_qualifiers.go.sem.uast +++ b/fixtures/u2_type_method_qualifiers.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_type_qualifiers.go.sem.uast b/fixtures/u2_type_qualifiers.go.sem.uast index a0d2047..87c769c 100644 --- a/fixtures/u2_type_qualifiers.go.sem.uast +++ b/fixtures/u2_type_qualifiers.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -107,7 +107,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -138,7 +138,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/u2_type_typedef.go.sem.uast b/fixtures/u2_type_typedef.go.sem.uast index c13221f..159e97a 100644 --- a/fixtures/u2_type_typedef.go.sem.uast +++ b/fixtures/u2_type_typedef.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -87,7 +87,7 @@ }, Name: "Testtype1", }, - Type: { '@type': "StructType", + Type: { '@type': "go:StructType", '@role': [Expression, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -106,7 +106,7 @@ col: 16, }, }, - Fields: { '@type': "FieldList", + Fields: { '@type': "go:FieldList", '@role': [Incomplete], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -138,7 +138,7 @@ ], Tok: "type", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Type], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -169,7 +169,7 @@ }, Doc: ~, Specs: [ - { '@type': "TypeSpec", + { '@type': "go:TypeSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/unary.go.sem.uast b/fixtures/unary.go.sem.uast index aefb31d..071da70 100644 --- a/fixtures/unary.go.sem.uast +++ b/fixtures/unary.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -86,7 +86,7 @@ ], Type: ~, Values: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Bitwise, Expression, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -127,7 +127,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -163,7 +163,7 @@ ], Type: ~, Values: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Arithmetic, Expression, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -204,7 +204,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -240,7 +240,7 @@ ], Type: ~, Values: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Arithmetic, Expression, Positive, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -281,7 +281,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -317,7 +317,7 @@ ], Type: ~, Values: [ - { '@type': "UnaryExpr", + { '@type': "go:UnaryExpr", '@role': [Boolean, Expression, Negative, Unary], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", diff --git a/fixtures/vars.go.sem.uast b/fixtures/vars.go.sem.uast index b3a52ae..a18415b 100644 --- a/fixtures/vars.go.sem.uast +++ b/fixtures/vars.go.sem.uast @@ -1,4 +1,4 @@ -{ '@type': "File", +{ '@type': "go:File", '@role': [File], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -19,7 +19,7 @@ }, Comments: ~, Decls: [ - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -50,7 +50,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -105,7 +105,7 @@ ], Tok: "var", }, - { '@type': "GenDecl", + { '@type': "go:GenDecl", '@role': [Declaration, Variable], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -136,7 +136,7 @@ }, Doc: ~, Specs: [ - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -203,7 +203,7 @@ Name: "int", }, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -225,7 +225,7 @@ }, Kind: "INT", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "2", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -249,7 +249,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -285,7 +285,7 @@ ], Type: ~, Values: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "3", '@role': [Expression, Literal, Number, Primitive], '@pos': { '@type': "uast:Positions", @@ -309,7 +309,7 @@ }, ], }, - { '@type': "ValueSpec", + { '@type': "go:ValueSpec", '@role': [Declaration], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -417,7 +417,7 @@ }, }, Statements: [ - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Declaration, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -459,7 +459,7 @@ '@role': [Assignment, Binary, Declaration, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "5", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -483,7 +483,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -543,7 +543,7 @@ }, ], }, - { '@type': "AssignStmt", + { '@type': "go:AssignStmt", '@role': [Assignment, Binary, Statement], '@pos': { '@type': "uast:Positions", start: { '@type': "uast:Position", @@ -617,7 +617,7 @@ '@role': [Assignment, Binary, Expression, Operator], }, Rhs: [ - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "1", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions", @@ -639,7 +639,7 @@ }, Kind: "INT", }, - { '@type': "BasicLit", + { '@type': "go:BasicLit", '@token': "2", '@role': [Assignment, Binary, Expression, Literal, Number, Primitive, Right], '@pos': { '@type': "uast:Positions",