| 1 | package spdxexpscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ |
| 2 | |
| 3 | import ( |
| 4 | "errorsscip-go gomod github.com/golang/go/src go1.24 errors/" |
| 5 | "fmtscip-go gomod github.com/golang/go/src go1.24 fmt/" |
| 6 | "testingscip-go gomod github.com/golang/go/src go1.24 testing/" |
| 7 | |
| 8 | "github.com/stretchr/testify/assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/" |
| 9 | ) |
| 10 | |
| 11 | func TestValidateLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestValidateLicenses().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 12 | tests := []struct { |
| 13 | name string |
| 14 | inputLicenses []string |
| 15 | allValid bool |
| 16 | invalidLicenses []string |
| 17 | }{ |
| 18 | {"MIT shortcut test", []string{"MIT"}, true, []string{}}, |
| 19 | {"mit shortcut test", []string{"mit"}, true, []string{}}, |
| 20 | {"Apache-2.0 active shortcut test", []string{"Apache-2.0"}, true, []string{}}, |
| 21 | {"All invalid", []string{"MTI", "Apche-2.0", "0xDEADBEEF", ""}, false, []string{"MTI", "Apche-2.0", "0xDEADBEEF", ""}}, |
| 22 | {"All valid", []string{"MIT", "Apache-2.0", "GPL-2.0"}, true, []string{}}, |
| 23 | {"Some invalid", []string{"MTI", "Apche-2.0", "GPL-2.0"}, false, []string{"MTI", "Apche-2.0"}}, |
| 24 | {"GPL-2.0", []string{"GPL-2.0"}, true, []string{}}, |
| 25 | {"GPL-2.0-only", []string{"GPL-2.0-only"}, true, []string{}}, |
| 26 | {"SPDX Expressions are valid", []string{ |
| 27 | "MIT AND APACHE-2.0", |
| 28 | "MIT AND APCHE-2.0", |
| 29 | "LGPL-2.1-only OR MIT OR BSD-3-Clause", |
| 30 | "GPL-2.0-or-later WITH Bison-exception-2.2", |
| 31 | }, false, []string{"MIT AND APCHE-2.0"}}, |
| 32 | {"Empty string is invalid", []string{""}, false, []string{""}}, |
| 33 | } |
| 34 | |
| 35 | for _, test := range tests { |
| 36 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 37 | valid, invalidLicenses := ValidateLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicenses().(test.inputLicenses) |
| 38 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.invalidLicenses, invalidLicenses) |
| 39 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.allValid, valid) |
| 40 | }) |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | func TestValidateLicensesWithOptions_FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestValidateLicensesWithOptions_FailComplexExpressions().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 45 | tests := []struct { |
| 46 | name string |
| 47 | inputLicenses []string |
| 48 | options ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions# |
| 49 | allValid bool |
| 50 | invalidLicenses []string |
| 51 | }{ |
| 52 | { |
| 53 | name: "Expressions rejected", |
| 54 | inputLicenses: []string{"MIT AND Apache-2.0"}, |
| 55 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 56 | allValid: false, |
| 57 | invalidLicenses: []string{ |
| 58 | "MIT AND Apache-2.0", |
| 59 | }, |
| 60 | }, |
| 61 | { |
| 62 | name: "Mixed list rejects only expressions", |
| 63 | inputLicenses: []string{"MIT", "Apache-2.0", "LGPL-2.1-only OR MIT"}, |
| 64 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 65 | allValid: false, |
| 66 | invalidLicenses: []string{ |
| 67 | "LGPL-2.1-only OR MIT", |
| 68 | }, |
| 69 | }, |
| 70 | { |
| 71 | name: "WITH exception is not treated as complex expression", |
| 72 | inputLicenses: []string{"GPL-2.0-or-later WITH Bison-exception-2.2"}, |
| 73 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 74 | allValid: true, |
| 75 | invalidLicenses: []string{}, |
| 76 | }, |
| 77 | } |
| 78 | |
| 79 | for _, test := range tests { |
| 80 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 81 | valid, invalidLicenses := ValidateLicensesWithOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesWithOptions().(test.inputLicenses, test.options) |
| 82 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.invalidLicenses, invalidLicenses) |
| 83 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.allValid, valid) |
| 84 | }) |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | func TestValidateLicensesWithOptions_FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestValidateLicensesWithOptions_FailDeprecatedLicenses().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 89 | // eCos-2.0 is a known deprecated SPDX license ID (see TestDeprecatedLicense). |
| 90 | deprecatedLicense := "eCos-2.0" |
| 91 | |
| 92 | tests := []struct { |
| 93 | name string |
| 94 | inputLicenses []string |
| 95 | options ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions# |
| 96 | allValid bool |
| 97 | invalidLicenses []string |
| 98 | }{ |
| 99 | { |
| 100 | name: "Deprecated license rejected", |
| 101 | inputLicenses: []string{deprecatedLicense}, |
| 102 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true}, |
| 103 | allValid: false, |
| 104 | invalidLicenses: []string{ |
| 105 | deprecatedLicense, |
| 106 | }, |
| 107 | }, |
| 108 | { |
| 109 | name: "Mixed list rejects only deprecated licenses", |
| 110 | inputLicenses: []string{"MIT", "Apache-2.0", deprecatedLicense}, |
| 111 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true}, |
| 112 | allValid: false, |
| 113 | invalidLicenses: []string{ |
| 114 | deprecatedLicense, |
| 115 | }, |
| 116 | }, |
| 117 | { |
| 118 | name: "WITH exception rejects deprecated license if FailDeprecatedLicenses is true", |
| 119 | inputLicenses: []string{deprecatedLicense + " WITH Bison-exception-2.2"}, |
| 120 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true}, |
| 121 | allValid: false, |
| 122 | invalidLicenses: []string{ |
| 123 | deprecatedLicense + " WITH Bison-exception-2.2", |
| 124 | }, |
| 125 | }, |
| 126 | { |
| 127 | name: "WITH exception allows deprecated license if FailDeprecatedLicenses is false", |
| 128 | inputLicenses: []string{deprecatedLicense + " WITH Bison-exception-2.2"}, |
| 129 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: false}, |
| 130 | allValid: true, |
| 131 | invalidLicenses: []string{}, |
| 132 | }, |
| 133 | } |
| 134 | |
| 135 | for _, test := range tests { |
| 136 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 137 | valid, invalidLicenses := ValidateLicensesWithOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesWithOptions().(test.inputLicenses, test.options) |
| 138 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.invalidLicenses, invalidLicenses) |
| 139 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.allValid, valid) |
| 140 | }) |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | func TestValidateLicensesWithOptions_AllOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestValidateLicensesWithOptions_AllOptions().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 145 | documentRef := "DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2" |
| 146 | licenseRef := "LicenseRef-MIT-Style-1" |
| 147 | deprecated := "eCos-2.0" |
| 148 | expression := "MIT AND Apache-2.0" |
| 149 | licenseWithException := "GPL-2.0-or-later WITH Bison-exception-2.2" |
| 150 | |
| 151 | tests := []struct { |
| 152 | name string |
| 153 | licenses []string |
| 154 | options ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions# |
| 155 | valid bool |
| 156 | invalidLicenses []string |
| 157 | }{ |
| 158 | { |
| 159 | name: "Defaults allow deprecated, refs, and expressions", |
| 160 | licenses: []string{" MIT ", deprecated, licenseRef, documentRef, expression, licenseWithException}, |
| 161 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{}, |
| 162 | valid: true, |
| 163 | invalidLicenses: []string{}, |
| 164 | }, |
| 165 | { |
| 166 | name: "FailDeprecatedLicenses rejects deprecated IDs", |
| 167 | licenses: []string{deprecated, "Apache-2.0"}, |
| 168 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true}, |
| 169 | valid: false, |
| 170 | invalidLicenses: []string{deprecated}, |
| 171 | }, |
| 172 | { |
| 173 | name: "FailComplexExpressions rejects conjunction expressions", |
| 174 | licenses: []string{expression, licenseWithException}, |
| 175 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 176 | valid: false, |
| 177 | invalidLicenses: []string{expression}, |
| 178 | }, |
| 179 | { |
| 180 | name: "FailComplexExpressions does not duplicate invalid entries", |
| 181 | licenses: []string{"MIT AND APCHE-2.0"}, |
| 182 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 183 | valid: false, |
| 184 | invalidLicenses: []string{"MIT AND APCHE-2.0"}, |
| 185 | }, |
| 186 | { |
| 187 | name: "FailAllLicenseRefs rejects LicenseRef but allows DocumentRef", |
| 188 | licenses: []string{licenseRef, documentRef}, |
| 189 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailAllLicenseRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllLicenseRefs.: true}, |
| 190 | valid: false, |
| 191 | invalidLicenses: []string{licenseRef}, |
| 192 | }, |
| 193 | { |
| 194 | name: "FailAllDocumentRefs rejects DocumentRef but allows LicenseRef", |
| 195 | licenses: []string{documentRef, licenseRef}, |
| 196 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailAllDocumentRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllDocumentRefs.: true}, |
| 197 | valid: false, |
| 198 | invalidLicenses: []string{documentRef}, |
| 199 | }, |
| 200 | { |
| 201 | name: "FailAllLicenseRefs and FailAllDocumentRefs rejects any non-active atomic ref", |
| 202 | licenses: []string{licenseRef, documentRef, "CustomRef-foo"}, |
| 203 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailAllLicenseRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllLicenseRefs.: true, FailAllDocumentRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllDocumentRefs.: true}, |
| 204 | valid: false, |
| 205 | invalidLicenses: []string{licenseRef, documentRef, "CustomRef-foo"}, |
| 206 | }, |
| 207 | { |
| 208 | name: "All flags together", |
| 209 | licenses: []string{deprecated, licenseRef, documentRef, expression, licenseWithException, "Apache-2.0"}, |
| 210 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{ |
| 211 | FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true, |
| 212 | FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true, |
| 213 | FailAllLicenseRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllLicenseRefs.: true, |
| 214 | FailAllDocumentRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllDocumentRefs.: true, |
| 215 | }, |
| 216 | valid: false, |
| 217 | invalidLicenses: []string{deprecated, licenseRef, documentRef, expression}, |
| 218 | }, |
| 219 | } |
| 220 | |
| 221 | for _, test := range tests { |
| 222 | test := test |
| 223 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 224 | valid, invalidLicenses := ValidateLicensesWithOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesWithOptions().(test.licenses, test.options) |
| 225 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.valid, valid) |
| 226 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.invalidLicenses, invalidLicenses) |
| 227 | }) |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | func TestValidateAndNormalizeLicensesWithOptions_FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestValidateAndNormalizeLicensesWithOptions_FailComplexExpressions().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 232 | tests := []struct { |
| 233 | name string |
| 234 | inputLicenses []string |
| 235 | options ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions# |
| 236 | invalidLicenses []string |
| 237 | normalizedLicenses []string |
| 238 | }{ |
| 239 | { |
| 240 | name: "Expressions rejected", |
| 241 | inputLicenses: []string{"MIT AND Apache-2.0"}, |
| 242 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 243 | invalidLicenses: []string{ |
| 244 | "MIT AND Apache-2.0", |
| 245 | }, |
| 246 | normalizedLicenses: []string{}, |
| 247 | }, |
| 248 | { |
| 249 | name: "Mixed list rejects only expressions", |
| 250 | inputLicenses: []string{"mit", "apache-2.0", "LGPL-2.1-only OR MIT"}, |
| 251 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 252 | invalidLicenses: []string{ |
| 253 | "LGPL-2.1-only OR MIT", |
| 254 | }, |
| 255 | normalizedLicenses: []string{"MIT", "Apache-2.0"}, |
| 256 | }, |
| 257 | { |
| 258 | name: "WITH exception is not treated as complex expression", |
| 259 | inputLicenses: []string{"gpl-2.0-or-later WITH Bison-exception-2.2"}, |
| 260 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 261 | invalidLicenses: []string{}, |
| 262 | normalizedLicenses: []string{"GPL-2.0-or-later WITH Bison-exception-2.2"}, |
| 263 | }, |
| 264 | } |
| 265 | |
| 266 | for _, test := range tests { |
| 267 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 268 | normalizedLicenses, invalidLicenses := ValidateAndNormalizeLicensesWithOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateAndNormalizeLicensesWithOptions().(test.inputLicenses, test.options) |
| 269 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.invalidLicenses, invalidLicenses, "invalid licenses should match expected") |
| 270 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.normalizedLicenses, normalizedLicenses, "normalized licenses should match expected") |
| 271 | }) |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | func TestValidateAndNormalizeLicensesWithOptions_FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestValidateAndNormalizeLicensesWithOptions_FailDeprecatedLicenses().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 276 | // eCos-2.0 is a known deprecated SPDX license ID (see TestDeprecatedLicense). |
| 277 | deprecatedLicense := "eCos-2.0" |
| 278 | |
| 279 | tests := []struct { |
| 280 | name string |
| 281 | inputLicenses []string |
| 282 | options ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions# |
| 283 | invalidLicenses []string |
| 284 | normalizedLicenses []string |
| 285 | }{ |
| 286 | { |
| 287 | name: "Deprecated license rejected", |
| 288 | inputLicenses: []string{deprecatedLicense}, |
| 289 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true}, |
| 290 | invalidLicenses: []string{ |
| 291 | deprecatedLicense, |
| 292 | }, |
| 293 | normalizedLicenses: []string{}, |
| 294 | }, |
| 295 | { |
| 296 | name: "Mixed list rejects only deprecated licenses", |
| 297 | inputLicenses: []string{"MIT", "Apache-2.0", deprecatedLicense}, |
| 298 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true}, |
| 299 | invalidLicenses: []string{ |
| 300 | deprecatedLicense, |
| 301 | }, |
| 302 | normalizedLicenses: []string{"MIT", "Apache-2.0"}, |
| 303 | }, |
| 304 | { |
| 305 | name: "WITH exception rejects deprecated license if FailDeprecatedLicenses is true", |
| 306 | inputLicenses: []string{deprecatedLicense + " WITH Bison-exception-2.2"}, |
| 307 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true}, |
| 308 | invalidLicenses: []string{ |
| 309 | deprecatedLicense + " WITH Bison-exception-2.2", |
| 310 | }, |
| 311 | normalizedLicenses: []string{}, |
| 312 | }, |
| 313 | { |
| 314 | name: "WITH exception allows deprecated license if FailDeprecatedLicenses is false", |
| 315 | inputLicenses: []string{deprecatedLicense + " WITH Bison-exception-2.2"}, |
| 316 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: false}, |
| 317 | invalidLicenses: []string{}, |
| 318 | normalizedLicenses: []string{deprecatedLicense + " WITH Bison-exception-2.2"}, |
| 319 | }, |
| 320 | } |
| 321 | |
| 322 | for _, test := range tests { |
| 323 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 324 | normalizedLicenses, invalidLicenses := ValidateAndNormalizeLicensesWithOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateAndNormalizeLicensesWithOptions().(test.inputLicenses, test.options) |
| 325 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.invalidLicenses, invalidLicenses, "invalid licenses should match expected") |
| 326 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.normalizedLicenses, normalizedLicenses, "normalized licenses should match expected") |
| 327 | }) |
| 328 | } |
| 329 | } |
| 330 | |
| 331 | func TestValidateAndNormalizeLicensesWithOptions_AllOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestValidateAndNormalizeLicensesWithOptions_AllOptions().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 332 | documentRef := "DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2" |
| 333 | licenseRef := "LicenseRef-MIT-Style-1" |
| 334 | deprecated := "eCos-2.0" |
| 335 | expression := "MIT AND Apache-2.0" |
| 336 | licenseWithException := "GPL-2.0-or-later WITH Bison-exception-2.2" |
| 337 | |
| 338 | tests := []struct { |
| 339 | name string |
| 340 | inputLicenses []string |
| 341 | options ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions# |
| 342 | invalidLicenses []string |
| 343 | normalizedLicenses []string |
| 344 | }{ |
| 345 | { |
| 346 | name: "Dedups", |
| 347 | inputLicenses: []string{" MIT ", "MIT", "mit"}, |
| 348 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{}, |
| 349 | invalidLicenses: []string{}, |
| 350 | normalizedLicenses: []string{"MIT"}, |
| 351 | }, |
| 352 | { |
| 353 | name: "Defaults allow deprecated, refs, and expressions", |
| 354 | inputLicenses: []string{" MIT ", deprecated, "licenseref-mine-MyLicense", licenseRef, documentRef, expression, licenseWithException}, |
| 355 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{}, |
| 356 | invalidLicenses: []string{"licenseref-mine-MyLicense"}, |
| 357 | normalizedLicenses: []string{"MIT", deprecated, licenseRef, documentRef, expression, licenseWithException}, |
| 358 | }, |
| 359 | { |
| 360 | name: "FailDeprecatedLicenses rejects deprecated IDs", |
| 361 | inputLicenses: []string{deprecated, "Apache-2.0"}, |
| 362 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true}, |
| 363 | invalidLicenses: []string{deprecated}, |
| 364 | normalizedLicenses: []string{"Apache-2.0"}, |
| 365 | }, |
| 366 | { |
| 367 | name: "FailComplexExpressions rejects conjunction expressions", |
| 368 | inputLicenses: []string{expression, licenseWithException}, |
| 369 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 370 | invalidLicenses: []string{expression}, |
| 371 | normalizedLicenses: []string{licenseWithException}, |
| 372 | }, |
| 373 | { |
| 374 | name: "FailComplexExpressions does not duplicate invalid entries", |
| 375 | inputLicenses: []string{"MIT AND APCHE-2.0"}, |
| 376 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true}, |
| 377 | invalidLicenses: []string{"MIT AND APCHE-2.0"}, |
| 378 | normalizedLicenses: []string{}, |
| 379 | }, |
| 380 | { |
| 381 | name: "FailAllLicenseRefs rejects LicenseRef but allows DocumentRef", |
| 382 | inputLicenses: []string{licenseRef, documentRef}, |
| 383 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailAllLicenseRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllLicenseRefs.: true}, |
| 384 | invalidLicenses: []string{licenseRef}, |
| 385 | normalizedLicenses: []string{documentRef}, |
| 386 | }, |
| 387 | { |
| 388 | name: "FailAllDocumentRefs rejects DocumentRef but allows LicenseRef", |
| 389 | inputLicenses: []string{documentRef, licenseRef}, |
| 390 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailAllDocumentRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllDocumentRefs.: true}, |
| 391 | invalidLicenses: []string{documentRef}, |
| 392 | normalizedLicenses: []string{licenseRef}, |
| 393 | }, |
| 394 | { |
| 395 | name: "FailAllLicenseRefs and FailAllDocumentRefs rejects any non-active atomic ref", |
| 396 | inputLicenses: []string{licenseRef, documentRef, "CustomRef-foo"}, |
| 397 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{FailAllLicenseRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllLicenseRefs.: true, FailAllDocumentRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllDocumentRefs.: true}, |
| 398 | invalidLicenses: []string{licenseRef, documentRef, "CustomRef-foo"}, |
| 399 | normalizedLicenses: []string{}, |
| 400 | }, |
| 401 | { |
| 402 | name: "All flags together", |
| 403 | inputLicenses: []string{deprecated, licenseRef, documentRef, expression, licenseWithException, "Apache-2.0"}, |
| 404 | options: ValidateLicensesOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#{ |
| 405 | FailComplexExpressionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailComplexExpressions.: true, |
| 406 | FailDeprecatedLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailDeprecatedLicenses.: true, |
| 407 | FailAllLicenseRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllLicenseRefs.: true, |
| 408 | FailAllDocumentRefsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicensesOptions#FailAllDocumentRefs.: true, |
| 409 | }, |
| 410 | invalidLicenses: []string{deprecated, licenseRef, documentRef, expression}, |
| 411 | normalizedLicenses: []string{licenseWithException, "Apache-2.0"}, |
| 412 | }, |
| 413 | } |
| 414 | |
| 415 | for _, test := range tests { |
| 416 | test := test |
| 417 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 418 | normalizedLicenses, invalidLicenses := ValidateAndNormalizeLicensesWithOptionsscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateAndNormalizeLicensesWithOptions().(test.inputLicenses, test.options) |
| 419 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.invalidLicenses, invalidLicenses, "invalid licenses should match expected") |
| 420 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualValuesscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualValues().(t, test.normalizedLicenses, normalizedLicenses, "normalized licenses should match expected") |
| 421 | }) |
| 422 | } |
| 423 | } |
| 424 | |
| 425 | // TestSatisfiesSingle lets you quickly test a single call to Satisfies with a specific license expression and allowed list of licenses. |
| 426 | // To test a different expression, change the expression, allowed licenses, and expected result in the function body. |
| 427 | // TO RUN: go test ./expression -run TestSatisfiesSingle |
| 428 | func TestSatisfiesSinglescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestSatisfiesSingle().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 429 | // Update these to test a different expression. |
| 430 | expression := "BSD-3-Clause AND GPL-2.0" |
| 431 | allowedList := []string{"BSD-3-Clause", "GPL-2.0"} |
| 432 | expectedResult := true |
| 433 | |
| 434 | // Run the test. |
| 435 | actualResult, err := Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().(expression, allowedList) |
| 436 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.NoErrorscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/NoError().(t, err) |
| 437 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, expectedResult, actualResult) |
| 438 | } |
| 439 | |
| 440 | func TestSatisfies_FastPathValidationscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestSatisfies_FastPathValidation().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 441 | tests := []struct { |
| 442 | name string |
| 443 | repoExpression string |
| 444 | allowedList []string |
| 445 | satisfied bool |
| 446 | expectErr bool |
| 447 | expectedErr string |
| 448 | }{ |
| 449 | { |
| 450 | name: "MIT trims whitespace", |
| 451 | repoExpression: " MIT \t", |
| 452 | allowedList: []string{"MIT"}, |
| 453 | satisfied: true, |
| 454 | }, |
| 455 | { |
| 456 | name: "Atomic deprecated license matches allowed list", |
| 457 | repoExpression: " eCos-2.0 ", |
| 458 | allowedList: []string{"ECOS-2.0"}, |
| 459 | satisfied: true, |
| 460 | }, |
| 461 | { |
| 462 | name: "Atomic deprecated license not in allowed list", |
| 463 | repoExpression: "eCos-2.0", |
| 464 | allowedList: []string{"MIT"}, |
| 465 | satisfied: false, |
| 466 | }, |
| 467 | { |
| 468 | name: "Single license WITH exception exact match", |
| 469 | repoExpression: "GPL-2.0-or-later WITH Bison-exception-2.2", |
| 470 | allowedList: []string{"GPL-2.0-or-later WITH Bison-exception-2.2"}, |
| 471 | satisfied: true, |
| 472 | }, |
| 473 | { |
| 474 | name: "Single license WITH exception not in allowed list", |
| 475 | repoExpression: "GPL-2.0-or-later WITH Bison-exception-2.2", |
| 476 | allowedList: []string{"MIT"}, |
| 477 | satisfied: false, |
| 478 | }, |
| 479 | { |
| 480 | name: "Single license WITH exception matches allow list ignoring case", |
| 481 | repoExpression: "gpl-2.0-or-later with bison-exception-2.2", |
| 482 | allowedList: []string{"GPL-2.0-or-later WITH Bison-exception-2.2"}, |
| 483 | satisfied: true, |
| 484 | }, |
| 485 | { |
| 486 | name: "Single license WITH invalid exception returns error", |
| 487 | repoExpression: "GPL-2.0-or-later WITH NOT-A-REAL-EXCEPTION", |
| 488 | allowedList: []string{"GPL-2.0-or-later WITH NOT-A-REAL-EXCEPTION"}, |
| 489 | expectErr: true, |
| 490 | expectedErr: "unknown license 'NOT-A-REAL-EXCEPTION' at offset 22", |
| 491 | }, |
| 492 | { |
| 493 | name: "Single license WITH invalid license part returns error", |
| 494 | repoExpression: "NOT-A-REAL-LICENSE WITH Bison-exception-2.2", |
| 495 | allowedList: []string{"NOT-A-REAL-LICENSE WITH Bison-exception-2.2"}, |
| 496 | expectErr: true, |
| 497 | expectedErr: "unknown license 'NOT-A-REAL-LICENSE' at offset 0", |
| 498 | }, |
| 499 | } |
| 500 | |
| 501 | for _, test := range tests { |
| 502 | test := test |
| 503 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 504 | actualResult, err := Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().(test.repoExpression, test.allowedList) |
| 505 | if test.expectErr { |
| 506 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.EqualErrorscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/EqualError().(t, err, test.expectedErr) |
| 507 | return |
| 508 | } |
| 509 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.NoErrorscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/NoError().(t, err) |
| 510 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.satisfied, actualResult) |
| 511 | }) |
| 512 | } |
| 513 | } |
| 514 | |
| 515 | func TestSatisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestSatisfies().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 516 | tests := []struct { |
| 517 | name string |
| 518 | repoExpression string |
| 519 | allowedList []string |
| 520 | satisfied bool |
| 521 | err error |
| 522 | }{ |
| 523 | // TODO: Test error conditions (e.g. GPL is an invalid license, Apachie + has invalid + operator) |
| 524 | // regression tests from spdx-satisfies.js - comments for satisfies function |
| 525 | {"MIT satisfies [MIT]", "MIT", []string{"MIT"}, true, nil}, |
| 526 | {"miT satisfies [MIT]", "miT", []string{"MIT"}, true, nil}, |
| 527 | {"MIT satisfies [mit]", "MIT", []string{"mit"}, true, nil}, |
| 528 | {"! MIT satisfies [Apache-2.0]", "MIT", []string{"Apache-2.0"}, false, nil}, |
| 529 | {"err - <empty expression> satisfies MIT", "", []string{"MIT"}, false, |
| 530 | errorsscip-go gomod github.com/golang/go/src go1.24 errors/.Newscip-go gomod github.com/golang/go/src go1.24 errors/New().("parse error - cannot parse empty string")}, |
| 531 | {"err - MIT satisfies <empty allow list>", "MIT", []string{}, false, |
| 532 | errorsscip-go gomod github.com/golang/go/src go1.24 errors/.Newscip-go gomod github.com/golang/go/src go1.24 errors/New().("allowedList requires at least one element, but is empty")}, |
| 533 | {"err - invalid license", "NON-EXISTENT-LICENSE", []string{"MIT", "Apache-2.0"}, false, |
| 534 | errorsscip-go gomod github.com/golang/go/src go1.24 errors/.Newscip-go gomod github.com/golang/go/src go1.24 errors/New().("unknown license 'NON-EXISTENT-LICENSE' at offset 0")}, |
| 535 | {"err - invalid license in allowed list", "Apache-1.0", []string{"NON-EXISTENT-LICENSE", "Apache-2.0"}, false, |
| 536 | errorsscip-go gomod github.com/golang/go/src go1.24 errors/.Newscip-go gomod github.com/golang/go/src go1.24 errors/New().("unknown license 'NON-EXISTENT-LICENSE' at offset 0")}, |
| 537 | |
| 538 | {"MIT satisfies [MIT, Apache-2.0]", "MIT", []string{"MIT", "Apache-2.0"}, true, nil}, |
| 539 | {"MIT OR Apache-2.0 satisfies [MIT]", "MIT OR Apache-2.0", []string{"MIT"}, true, nil}, |
| 540 | {"! GPL-2.0 satisfies [MIT, Apache-2.0]", "GPL-2.0", []string{"MIT", "Apache-2.0"}, false, nil}, |
| 541 | {"! MIT OR Apache-2.0 satisfies [GPL-2.0]", "MIT OR Apache-2.0", []string{"GPL-2.0"}, false, nil}, |
| 542 | |
| 543 | {"Apache-2.0 AND MIT satisfies [MIT, APACHE-2.0]", "Apache-2.0 AND MIT", []string{"MIT", "APACHE-2.0"}, true, nil}, |
| 544 | {"apache-2.0 AND mit satisfies [MIT, APACHE-2.0]", "apache-2.0 AND mit", []string{"MIT", "APACHE-2.0"}, true, nil}, |
| 545 | {"Apache-2.0 AND MIT satisfies [MIT, Apache-2.0]", "Apache-2.0 AND MIT", []string{"MIT", "Apache-2.0"}, true, nil}, |
| 546 | {"MIT AND Apache-2.0 satisfies [MIT, Apache-2.0]", "MIT AND Apache-2.0", []string{"MIT", "Apache-2.0"}, true, nil}, |
| 547 | {"! MIT AND Apache-2.0 satisfies [MIT]", "MIT AND Apache-2.0", []string{"MIT"}, false, nil}, |
| 548 | {"! GPL-2.0 satisfies [MIT, Apache-2.0]", "GPL-2.0", []string{"MIT", "Apache-2.0"}, false, nil}, |
| 549 | |
| 550 | {"MIT AND Apache-2.0 satisfies [MIT, Apache-1.0, Apache-2.0]", "MIT AND Apache-2.0", []string{"MIT", "Apache-1.0", "Apache-2.0"}, true, nil}, |
| 551 | |
| 552 | {"Apache-1.0+ satisfies [Apache-2.0]", "Apache-1.0+", []string{"Apache-2.0"}, true, nil}, |
| 553 | {"Apache-1.0+ satisfies [Apache-2.0+]", "Apache-1.0+", []string{"Apache-2.0+"}, true, nil}, // TODO: Fails here but passes js |
| 554 | {"! Apache-1.0 satisfies [Apache-2.0+]", "Apache-1.0", []string{"Apache-2.0+"}, false, nil}, |
| 555 | {"Apache-2.0 satisfies [Apache-2.0+]", "Apache-2.0", []string{"Apache-2.0+"}, true, nil}, |
| 556 | {"! Apache-3.0 satisfies [Apache-2.0+]", "Apache-3.0", []string{"Apache-2.0+"}, false, errorsscip-go gomod github.com/golang/go/src go1.24 errors/.Newscip-go gomod github.com/golang/go/src go1.24 errors/New().("unknown license 'Apache-3.0' at offset 0")}, |
| 557 | |
| 558 | {"! Apache-1.0 satisfies [Apache-2.0-or-later]", "Apache-1.0", []string{"Apache-2.0-or-later"}, false, nil}, |
| 559 | {"Apache-2.0 satisfies [Apache-2.0-or-later]", "Apache-2.0", []string{"Apache-2.0-or-later"}, true, nil}, |
| 560 | {"! Apache-3.0 satisfies [Apache-2.0-or-later]", "Apache-3.0", []string{"Apache-2.0-or-later"}, false, errorsscip-go gomod github.com/golang/go/src go1.24 errors/.Newscip-go gomod github.com/golang/go/src go1.24 errors/New().("unknown license 'Apache-3.0' at offset 0")}, |
| 561 | |
| 562 | {"! Apache-1.0 satisfies [Apache-2.0-only]", "Apache-1.0", []string{"Apache-2.0-only"}, false, nil}, |
| 563 | {"Apache-2.0 satisfies [Apache-2.0-only]", "Apache-2.0", []string{"Apache-2.0-only"}, true, nil}, |
| 564 | {"! Apache-3.0 satisfies [Apache-2.0-only]", "Apache-3.0", []string{"Apache-2.0-only"}, false, errorsscip-go gomod github.com/golang/go/src go1.24 errors/.Newscip-go gomod github.com/golang/go/src go1.24 errors/New().("unknown license 'Apache-3.0' at offset 0")}, |
| 565 | |
| 566 | // regression tests from spdx-satisfies.js - assert statements in README |
| 567 | {"MIT satisfies [MIT]", "MIT", []string{"MIT"}, true, nil}, |
| 568 | |
| 569 | {"MIT satisfies [ISC, MIT]", "MIT", []string{"ISC", "MIT"}, true, nil}, |
| 570 | {"Zlib satisfies [ISC, MIT, Zlib]", "Zlib", []string{"ISC", "MIT", "Zlib"}, true, nil}, |
| 571 | {"! GPL-3.0 satisfies [ISC, MIT]", "GPL-3.0", []string{"ISC", "MIT"}, false, nil}, |
| 572 | {"GPL-2.0 satisfies [GPL-2.0+]", "GPL-2.0", []string{"GPL-2.0+"}, true, nil}, // TODO: Fails here but passes js |
| 573 | {"GPL-2.0 satisfies [GPL-2.0-or-later]", "GPL-2.0", []string{"GPL-2.0-or-later"}, true, nil}, // TODO: Fails here and js |
| 574 | {"GPL-3.0 satisfies [GPL-2.0+]", "GPL-3.0", []string{"GPL-2.0+"}, true, nil}, |
| 575 | {"GPL-1.0-or-later satisfies [GPL-2.0-or-later]", "GPL-1.0-or-later", []string{"GPL-2.0-or-later"}, true, nil}, |
| 576 | {"GPL-1.0+ satisfies [GPL-2.0+]", "GPL-1.0+", []string{"GPL-2.0+"}, true, nil}, |
| 577 | {"! GPL-1.0 satisfies [GPL-2.0+]", "GPL-1.0", []string{"GPL-2.0+"}, false, nil}, |
| 578 | {"GPL-2.0-only satisfies [GPL-2.0-only]", "GPL-2.0-only", []string{"GPL-2.0-only"}, true, nil}, |
| 579 | {"GPL-2.0 satisfies [GPL-2.0-only]", "GPL-2.0", []string{"GPL-2.0-only"}, true, nil}, |
| 580 | {"GPL-2.0 AND GPL-2.0-only satisfies [GPL-2.0-only]", "GPL-2.0 AND GPL-2.0-only", []string{"GPL-2.0-only"}, true, nil}, |
| 581 | {"GPL-3.0-only satisfies [GPL-2.0+]", "GPL-3.0-only", []string{"GPL-2.0+"}, true, nil}, |
| 582 | |
| 583 | {"! GPL-2.0 satisfies [GPL-2.0+ WITH Bison-exception-2.2]", |
| 584 | "GPL-2.0", []string{"GPL-2.0+ WITH Bison-exception-2.2"}, false, nil}, |
| 585 | {"GPL-3.0 WITH Bison-exception-2.2 satisfies [GPL-2.0+ WITH Bison-exception-2.2]", |
| 586 | "GPL-3.0 WITH Bison-exception-2.2", []string{"GPL-2.0+ WITH Bison-exception-2.2"}, true, nil}, |
| 587 | |
| 588 | {"(MIT OR GPL-2.0) satisfies [ISC, MIT]", "(MIT OR GPL-2.0)", []string{"ISC", "MIT"}, true, nil}, |
| 589 | {"(MIT AND GPL-2.0) satisfies [MIT, GPL-2.0]", "(MIT AND GPL-2.0)", []string{"MIT", "GPL-2.0"}, true, nil}, |
| 590 | {"MIT AND GPL-2.0 AND ISC satisfies [MIT, GPL-2.0, ISC]", |
| 591 | "MIT AND GPL-2.0 AND ISC", []string{"MIT", "GPL-2.0", "ISC"}, true, nil}, |
| 592 | {"MIT AND GPL-2.0 AND ISC satisfies [ISC, GPL-2.0, MIT]", |
| 593 | "MIT AND GPL-2.0 AND ISC", []string{"ISC", "GPL-2.0", "MIT"}, true, nil}, |
| 594 | {"(MIT OR GPL-2.0) AND ISC satisfies [MIT, ISC]", |
| 595 | "(MIT OR GPL-2.0) AND ISC", []string{"MIT", "ISC"}, true, nil}, |
| 596 | {"MIT AND ISC satisfies [MIT, GPL-2.0, ISC]", |
| 597 | "MIT AND ISC", []string{"MIT", "GPL-2.0", "ISC"}, true, nil}, |
| 598 | {"(MIT OR Apache-2.0) AND (ISC OR GPL-2.0) satisfies [Apache-2.0, ISC]", |
| 599 | "(MIT OR Apache-2.0) AND (ISC OR GPL-2.0)", []string{"Apache-2.0", "ISC"}, true, nil}, |
| 600 | {"(MIT AND GPL-2.0) satisfies [MIT, GPL-2.0]", |
| 601 | "(MIT AND GPL-2.0)", []string{"MIT", "GPL-2.0"}, true, nil}, |
| 602 | {"(MIT AND GPL-2.0) satisfies [GPL-2.0, MIT]", |
| 603 | "(MIT AND GPL-2.0)", []string{"GPL-2.0", "MIT"}, true, nil}, |
| 604 | {"MIT satisfies [GPL-2.0, MIT, MIT, ISC]", |
| 605 | "MIT", []string{"GPL-2.0", "MIT", "MIT", "ISC"}, true, nil}, |
| 606 | {"MIT AND ICU satisfies [MIT, GPL-2.0, ISC, Apache-2.0, ICU]", |
| 607 | "MIT AND ICU", []string{"MIT", "GPL-2.0", "ISC", "Apache-2.0", "ICU"}, true, nil}, // TODO: This says true and the js version returns true, but it shouldn't. |
| 608 | {"! (MIT AND GPL-2.0) satisfies [ISC, GPL-2.0]", |
| 609 | "(MIT AND GPL-2.0)", []string{"ISC", "GPL-2.0"}, false, nil}, |
| 610 | {"! MIT AND (GPL-2.0 OR ISC) satisfies [MIT]", |
| 611 | "MIT AND (GPL-2.0 OR ISC)", []string{"MIT"}, false, nil}, |
| 612 | {"! (MIT OR Apache-2.0) AND (ISC OR GPL-2.0) satisfies [MIT]", |
| 613 | "(MIT OR Apache-2.0) AND (ISC OR GPL-2.0)", []string{"MIT"}, false, nil}, |
| 614 | {"licenseRef is expression", |
| 615 | "LicenseRef-X-BSD-3-Clause-Golang", []string{"MIT", "Apache-2.0", "LicenseRef-X-BSD-3-Clause-Golang"}, true, nil}, |
| 616 | {"licenseRef in expression", |
| 617 | "MIT AND LicenseRef-X-BSD-3-Clause-Golang", []string{"MIT", "Apache-2.0", "LicenseRef-X-BSD-3-Clause-Golang"}, true, nil}, |
| 618 | {"licenseRef not in expression", |
| 619 | "MIT AND Apache-2.0", []string{"MIT", "Apache-2.0", "LicenseRef-X-BSD-3-Clause-Golang"}, true, nil}, |
| 620 | {"licenseRef not allowed", |
| 621 | "MIT AND LicenseRef-X-BSD-3-Clause-Golang", []string{"MIT", "Apache-2.0"}, false, nil}, |
| 622 | {"licenseRef allowed, but OTHER is not allowed", |
| 623 | "(BSD-3-Clause AND OTHER) OR (BSD-3-Clause AND LicenseRef-X-BSD-3-Clause-Golang)", |
| 624 | []string{"MIT", "Apache-2.0", "LicenseRef-X-BSD-3-Clause-Golang"}, false, |
| 625 | errorsscip-go gomod github.com/golang/go/src go1.24 errors/.Newscip-go gomod github.com/golang/go/src go1.24 errors/New().("unknown license 'OTHER' at offset 18")}, |
| 626 | {"licenseRef with documentRef is expression", |
| 627 | "DocumentRef-spdx-tool-1.2:LicenseRef-X-BSD-3-Clause-Golang", |
| 628 | []string{"MIT", "Apache-2.0", "DocumentRef-spdx-tool-1.2:LicenseRef-X-BSD-3-Clause-Golang"}, true, nil}, |
| 629 | {"licenseRef with documentRef in expression", |
| 630 | "MIT AND DocumentRef-spdx-tool-1.2:LicenseRef-X-BSD-3-Clause-Golang", |
| 631 | []string{"MIT", "Apache-2.0", "DocumentRef-spdx-tool-1.2:LicenseRef-X-BSD-3-Clause-Golang"}, true, nil}, |
| 632 | {"licenseRef with documentRef not in expression", |
| 633 | "MIT AND Apache-2.0", |
| 634 | []string{"MIT", "Apache-2.0", "DocumentRef-spdx-tool-1.2:LicenseRef-X-BSD-3-Clause-Golang"}, true, nil}, |
| 635 | {"licenseRef with documentRef not allowed", |
| 636 | "MIT AND DocumentRef-spdx-tool-1.2:LicenseRef-X-BSD-3-Clause-Golang", |
| 637 | []string{"MIT", "Apache-2.0"}, false, nil}, |
| 638 | {"licenseRef allowed, but documentRef not allowed", |
| 639 | "MIT AND DocumentRef-spdx-tool-1.2:LicenseRef-X-BSD-3-Clause-Golang", |
| 640 | []string{"MIT", "Apache-2.0", "LicenseRef-X-BSD-3-Clause-Golang"}, false, nil}, |
| 641 | {"licenseRef alone not allowed, but with documentRef allowed", |
| 642 | "MIT AND LicenseRef-X-BSD-3-Clause-Golang", |
| 643 | []string{"MIT", "Apache-2.0", "DocumentRef-spdx-tool-1.2:LicenseRef-X-BSD-3-Clause-Golang"}, false, nil}, |
| 644 | } |
| 645 | |
| 646 | for _, test := range tests { |
| 647 | test := test |
| 648 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 649 | satisfied, err := Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().(test.repoExpression, test.allowedList) |
| 650 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.err, err) |
| 651 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.satisfied, satisfied) |
| 652 | }) |
| 653 | } |
| 654 | } |
| 655 | |
| 656 | func TestExpandscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestExpand().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 657 | // TODO: Add tests for licenses that include plus and/or exception. |
| 658 | // TODO: Add tests for license ref and document ref. |
| 659 | tests := []struct { |
| 660 | name string |
| 661 | node *nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 662 | result [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 663 | }{ |
| 664 | {singleLicensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/singleLicense().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., singleLicensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/singleLicense().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., singleLicensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/singleLicense().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 665 | {orExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 666 | {orAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 667 | {orOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 668 | {andOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 669 | {orAndOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndOrExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orAndOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndOrExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orAndOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndOrExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 670 | {orOPAndCPOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPOrExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orOPAndCPOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPOrExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orOPAndCPOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPOrExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 671 | {orOrOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOrOrExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orOrOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOrOrExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orOrOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOrOrExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 672 | {andOrAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrAndExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andOrAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrAndExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andOrAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrAndExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 673 | {oPAndCPOrOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPAndCPOrOPAndCPExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., oPAndCPOrOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPAndCPOrOPAndCPExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., oPAndCPOrOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPAndCPOrOPAndCPExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 674 | {andExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 675 | {andOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 676 | {oPOrCPAndOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPOrCPAndOPOrCPExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., oPOrCPAndOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPOrCPAndOPOrCPExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., oPOrCPAndOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPOrCPAndOPOrCPExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 677 | {andOPOrCPAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPAndExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andOPOrCPAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPAndExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andOPOrCPAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPAndExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 678 | {andAndAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andAndAndExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andAndAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andAndAndExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andAndAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andAndAndExpression().().sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.}, |
| 679 | } |
| 680 | |
| 681 | for _, test := range tests { |
| 682 | test := test |
| 683 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 684 | expandResult := test.node.expandscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#expand().(true) |
| 685 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.result, expandResult) |
| 686 | }) |
| 687 | } |
| 688 | } |
| 689 | |
| 690 | func TestExpandOrscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestExpandOr().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 691 | tests := []struct { |
| 692 | name string |
| 693 | node *nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 694 | expanded [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 695 | }{ |
| 696 | {orExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 697 | {orAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 698 | {orOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 699 | {andOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 700 | {orAndOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndOrExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orAndOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndOrExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orAndOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndOrExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 701 | {orOPAndCPOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPOrExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orOPAndCPOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPOrExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orOPAndCPOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPOrExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 702 | {orOrOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOrOrExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., orOrOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOrOrExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., orOrOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOrOrExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 703 | {andOrAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrAndExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andOrAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrAndExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andOrAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrAndExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 704 | {oPAndCPOrOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPAndCPOrOPAndCPExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., oPAndCPOrOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPAndCPOrOPAndCPExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., oPAndCPOrOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPAndCPOrOPAndCPExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 705 | |
| 706 | // TODO: Uncomment kitchen sink test when license plus, exception, license ref, and document ref are supported. |
| 707 | // {"kitchen sink", |
| 708 | // // " (MIT AND Apache-1.0+) OR DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2 OR (GPL-2.0 WITH Bison-exception-2.2)", |
| 709 | // &node{ |
| 710 | // role: expressionNode, |
| 711 | // exp: &expressionNodePartial{ |
| 712 | // left: &node{ |
| 713 | // role: expressionNode, |
| 714 | // exp: &expressionNodePartial{ |
| 715 | // left: &node{ |
| 716 | // role: licenseNode, |
| 717 | // exp: nil, |
| 718 | // lic: &licenseNodePartial{ |
| 719 | // license: "MIT", |
| 720 | // hasPlus: false, |
| 721 | // hasException: false, |
| 722 | // exception: "", |
| 723 | // }, |
| 724 | // ref: nil, |
| 725 | // }, |
| 726 | // conjunction: "and", |
| 727 | // right: &node{ |
| 728 | // role: licenseNode, |
| 729 | // exp: nil, |
| 730 | // lic: &licenseNodePartial{ |
| 731 | // license: "Apache-1.0", |
| 732 | // hasPlus: true, |
| 733 | // hasException: false, |
| 734 | // exception: "", |
| 735 | // }, |
| 736 | // ref: nil, |
| 737 | // }, |
| 738 | // }, |
| 739 | // lic: nil, |
| 740 | // ref: nil, |
| 741 | // }, |
| 742 | // conjunction: "or", |
| 743 | // right: &node{ |
| 744 | // role: expressionNode, |
| 745 | // exp: &expressionNodePartial{ |
| 746 | // left: &node{ |
| 747 | // role: licenseRefNode, |
| 748 | // exp: nil, |
| 749 | // lic: nil, |
| 750 | // ref: &referenceNodePartial{ |
| 751 | // hasDocumentRef: true, |
| 752 | // documentRef: "spdx-tool-1.2", |
| 753 | // licenseRef: "MIT-Style-2", |
| 754 | // }, |
| 755 | // }, |
| 756 | // conjunction: "or", |
| 757 | // right: &node{ |
| 758 | // role: licenseNode, |
| 759 | // exp: nil, |
| 760 | // lic: &licenseNodePartial{ |
| 761 | // license: "GPL-2.0", |
| 762 | // hasPlus: false, |
| 763 | // hasException: true, |
| 764 | // exception: "Bison-exception-2.2", |
| 765 | // }, |
| 766 | // ref: nil, |
| 767 | // }, |
| 768 | // }, |
| 769 | // lic: nil, |
| 770 | // ref: nil, |
| 771 | // }, |
| 772 | // }, |
| 773 | // lic: nil, |
| 774 | // ref: nil, |
| 775 | // }, |
| 776 | // // [][]string{{"MIT", "Apache-1.0+"}, {"DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2"}, {"GPL-2.0 with Bison-exception-2.2"}}}, |
| 777 | // [][]*node{ |
| 778 | // { |
| 779 | // { |
| 780 | // role: licenseNode, |
| 781 | // exp: nil, |
| 782 | // lic: &licenseNodePartial{ |
| 783 | // license: "MIT", hasPlus: false, |
| 784 | // hasException: false, exception: ""}, |
| 785 | // ref: nil, |
| 786 | // }, |
| 787 | // { |
| 788 | // role: licenseNode, |
| 789 | // exp: nil, |
| 790 | // lic: &licenseNodePartial{ |
| 791 | // license: "Apache-1.0", hasPlus: true, |
| 792 | // hasException: false, exception: ""}, |
| 793 | // ref: nil, |
| 794 | // }, |
| 795 | // }, |
| 796 | // { |
| 797 | // { |
| 798 | // role: licenseRefNode, |
| 799 | // exp: nil, |
| 800 | // lic: nil, |
| 801 | // ref: &referenceNodePartial{ |
| 802 | // hasDocumentRef: true, |
| 803 | // documentRef: "spdx-tool-1.2", |
| 804 | // licenseRef: "MIT-Style-2", |
| 805 | // }, |
| 806 | // }, |
| 807 | // { |
| 808 | // role: licenseNode, |
| 809 | // exp: nil, |
| 810 | // lic: &licenseNodePartial{ |
| 811 | // license: "GPL-2.0", |
| 812 | // hasPlus: false, |
| 813 | // hasException: true, |
| 814 | // exception: "Bison-exception-2.2", |
| 815 | // }, |
| 816 | // ref: nil, |
| 817 | // }, |
| 818 | // }, |
| 819 | // }, |
| 820 | // }, |
| 821 | } |
| 822 | |
| 823 | for _, test := range tests { |
| 824 | test := test |
| 825 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 826 | expanded := test.node.expandOrscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#expandOr().() |
| 827 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.expanded, expanded) |
| 828 | }) |
| 829 | } |
| 830 | } |
| 831 | |
| 832 | func TestExpandAndscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestExpandAnd().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 833 | tests := []struct { |
| 834 | name string |
| 835 | node *nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 836 | expanded [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 837 | }{ |
| 838 | {andExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 839 | {andOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 840 | {oPOrCPAndOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPOrCPAndOPOrCPExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., oPOrCPAndOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPOrCPAndOPOrCPExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., oPOrCPAndOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPOrCPAndOPOrCPExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 841 | {andOPOrCPAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPAndExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andOPOrCPAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPAndExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andOPOrCPAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPAndExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 842 | {andAndAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andAndAndExpression().().namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name., andAndAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andAndAndExpression().().nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node., andAndAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andAndAndExpression().().expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.}, |
| 843 | } |
| 844 | |
| 845 | for _, test := range tests { |
| 846 | test := test |
| 847 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.name, func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 848 | expandAndResult := test.node.expandAndscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#expandAnd().() |
| 849 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Equal().(t, test.expanded, expandAndResult) |
| 850 | }) |
| 851 | } |
| 852 | } |
| 853 | |
| 854 | type testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# struct { |
| 855 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name. string |
| 856 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression. string |
| 857 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node. *nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 858 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded. [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 859 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted. [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node# |
| 860 | } |
| 861 | |
| 862 | func singleLicensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/singleLicense().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 863 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 864 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "Single License", |
| 865 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT", |
| 866 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 867 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 868 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 869 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 870 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 871 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 872 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 873 | }, |
| 874 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 875 | { |
| 876 | { |
| 877 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 878 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 879 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 880 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 881 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 882 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 883 | }, |
| 884 | }, |
| 885 | }, |
| 886 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 887 | { |
| 888 | { |
| 889 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 890 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 891 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 892 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 893 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 894 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 895 | }, |
| 896 | }, |
| 897 | }, |
| 898 | } |
| 899 | } |
| 900 | func orExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 901 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 902 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "OR Expression", |
| 903 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT OR Apache-2.0", |
| 904 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 905 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 906 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 907 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 908 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 909 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 910 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 911 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 912 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 913 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 914 | }, |
| 915 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 916 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 917 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 918 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 919 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 920 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 921 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 922 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 923 | }, |
| 924 | }, |
| 925 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 926 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 927 | }, |
| 928 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 929 | { |
| 930 | { |
| 931 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 932 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 933 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 934 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 935 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 936 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 937 | }, |
| 938 | }, |
| 939 | { |
| 940 | { |
| 941 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 942 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 943 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 944 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 945 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 946 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 947 | }, |
| 948 | }, |
| 949 | }, |
| 950 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 951 | { |
| 952 | { |
| 953 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 954 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 955 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 956 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 957 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 958 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 959 | }, |
| 960 | }, |
| 961 | { |
| 962 | { |
| 963 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 964 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 965 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 966 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 967 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 968 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 969 | }, |
| 970 | }, |
| 971 | }, |
| 972 | } |
| 973 | } |
| 974 | |
| 975 | func orAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 976 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 977 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "OR-AND Expression", |
| 978 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT OR Apache-2.0 AND GPL-2.0", |
| 979 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 980 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 981 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 982 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 983 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 984 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 985 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 986 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 987 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 988 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 989 | }, |
| 990 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 991 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 992 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 993 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 994 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 995 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 996 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 997 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 998 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 999 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1000 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1001 | }, |
| 1002 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1003 | }, |
| 1004 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1005 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1006 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1007 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1008 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1009 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 1010 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1011 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1012 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1013 | }, |
| 1014 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1015 | }, |
| 1016 | }, |
| 1017 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1018 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1019 | }, |
| 1020 | }, |
| 1021 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1022 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1023 | }, |
| 1024 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1025 | { |
| 1026 | { |
| 1027 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1028 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1029 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1030 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1031 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1032 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1033 | }, |
| 1034 | }, |
| 1035 | { |
| 1036 | { |
| 1037 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1038 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1039 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1040 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1041 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1042 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1043 | }, |
| 1044 | { |
| 1045 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1046 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1047 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1048 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1049 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1050 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1051 | }, |
| 1052 | }, |
| 1053 | }, |
| 1054 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1055 | { |
| 1056 | { |
| 1057 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1058 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1059 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1060 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1061 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1062 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1063 | }, |
| 1064 | { |
| 1065 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1066 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1067 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1068 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1069 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1070 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1071 | }, |
| 1072 | }, |
| 1073 | { |
| 1074 | { |
| 1075 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1076 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1077 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1078 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1079 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1080 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1081 | }, |
| 1082 | }, |
| 1083 | }, |
| 1084 | } |
| 1085 | } |
| 1086 | |
| 1087 | func orOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 1088 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 1089 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "OR(AND) Expression", |
| 1090 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT OR (Apache-2.0 AND GPL-2.0)", |
| 1091 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1092 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1093 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1094 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1095 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1096 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1097 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1098 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1099 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1100 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1101 | }, |
| 1102 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1103 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1104 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1105 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1106 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1107 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1108 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1109 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 1110 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1111 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1112 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1113 | }, |
| 1114 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1115 | }, |
| 1116 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1117 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1118 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1119 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1120 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1121 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 1122 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1123 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1124 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1125 | }, |
| 1126 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1127 | }, |
| 1128 | }, |
| 1129 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1130 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1131 | }, |
| 1132 | }, |
| 1133 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1134 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1135 | }, |
| 1136 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1137 | { |
| 1138 | { |
| 1139 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1140 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1141 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1142 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1143 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1144 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1145 | }, |
| 1146 | }, |
| 1147 | { |
| 1148 | { |
| 1149 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1150 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1151 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1152 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1153 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1154 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1155 | }, |
| 1156 | { |
| 1157 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1158 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1159 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1160 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1161 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1162 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1163 | }, |
| 1164 | }, |
| 1165 | }, |
| 1166 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1167 | { |
| 1168 | { |
| 1169 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1170 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1171 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1172 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1173 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1174 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1175 | }, |
| 1176 | { |
| 1177 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1178 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1179 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1180 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1181 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1182 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1183 | }, |
| 1184 | }, |
| 1185 | { |
| 1186 | { |
| 1187 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1188 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1189 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1190 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1191 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1192 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1193 | }, |
| 1194 | }, |
| 1195 | }, |
| 1196 | } |
| 1197 | } |
| 1198 | |
| 1199 | func andOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 1200 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 1201 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "AND-OR Expression", |
| 1202 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT AND Apache-2.0 OR GPL-2.0", |
| 1203 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1204 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1205 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1206 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1207 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1208 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1209 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1210 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1211 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1212 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 1213 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1214 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1215 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1216 | }, |
| 1217 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1218 | }, |
| 1219 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1220 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1221 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1222 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1223 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1224 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 1225 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1226 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1227 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1228 | }, |
| 1229 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1230 | }, |
| 1231 | }, |
| 1232 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1233 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1234 | }, |
| 1235 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1236 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1237 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1238 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1239 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1240 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1241 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1242 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1243 | }, |
| 1244 | }, |
| 1245 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1246 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1247 | }, |
| 1248 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1249 | { |
| 1250 | { |
| 1251 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1252 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1253 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1254 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1255 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1256 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1257 | }, |
| 1258 | { |
| 1259 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1260 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1261 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1262 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1263 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1264 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1265 | }, |
| 1266 | }, |
| 1267 | { |
| 1268 | { |
| 1269 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1270 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1271 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1272 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1273 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1274 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1275 | }, |
| 1276 | }, |
| 1277 | }, |
| 1278 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1279 | { |
| 1280 | { |
| 1281 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1282 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1283 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1284 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1285 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1286 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1287 | }, |
| 1288 | { |
| 1289 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1290 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1291 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1292 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1293 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1294 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1295 | }, |
| 1296 | }, |
| 1297 | { |
| 1298 | { |
| 1299 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1300 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1301 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1302 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1303 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1304 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1305 | }, |
| 1306 | }, |
| 1307 | }, |
| 1308 | } |
| 1309 | } |
| 1310 | |
| 1311 | func orAndOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orAndOrExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 1312 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 1313 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "OR-AND-OR Expression", |
| 1314 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT OR ISC AND Apache-2.0 OR GPL-2.0", |
| 1315 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1316 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1317 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1318 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1319 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1320 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1321 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1322 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 1323 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1324 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1325 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1326 | }, |
| 1327 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1328 | }, |
| 1329 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1330 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1331 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1332 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1333 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1334 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1335 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1336 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1337 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1338 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1339 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", |
| 1340 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1341 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1342 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1343 | }, |
| 1344 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1345 | }, |
| 1346 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1347 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1348 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1349 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1350 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1351 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 1352 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1353 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1354 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1355 | }, |
| 1356 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1357 | }, |
| 1358 | }, |
| 1359 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1360 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1361 | }, |
| 1362 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1363 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1364 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1365 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1366 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1367 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 1368 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1369 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1370 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1371 | }, |
| 1372 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1373 | }, |
| 1374 | }, |
| 1375 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1376 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1377 | }, |
| 1378 | }, |
| 1379 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1380 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1381 | }, |
| 1382 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1383 | { |
| 1384 | { |
| 1385 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1386 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1387 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1388 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1389 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1390 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1391 | }, |
| 1392 | }, |
| 1393 | { |
| 1394 | { |
| 1395 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1396 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1397 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1398 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1399 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1400 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1401 | }, |
| 1402 | { |
| 1403 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1404 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1405 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1406 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1407 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1408 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1409 | }, |
| 1410 | }, |
| 1411 | { |
| 1412 | { |
| 1413 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1414 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1415 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1416 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1417 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1418 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1419 | }, |
| 1420 | }, |
| 1421 | }, |
| 1422 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1423 | { |
| 1424 | { |
| 1425 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1426 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1427 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1428 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1429 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1430 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1431 | }, |
| 1432 | { |
| 1433 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1434 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1435 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1436 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1437 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1438 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1439 | }, |
| 1440 | }, |
| 1441 | { |
| 1442 | { |
| 1443 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1444 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1445 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1446 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1447 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1448 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1449 | }, |
| 1450 | }, |
| 1451 | { |
| 1452 | { |
| 1453 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1454 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1455 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1456 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1457 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1458 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1459 | }, |
| 1460 | }, |
| 1461 | }, |
| 1462 | } |
| 1463 | } |
| 1464 | |
| 1465 | func orOPAndCPOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOPAndCPOrExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 1466 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 1467 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "OR(AND)OR Expression", |
| 1468 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT OR (ISC AND Apache-2.0) OR GPL-2.0", |
| 1469 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1470 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1471 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1472 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1473 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1474 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1475 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1476 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 1477 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1478 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1479 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1480 | }, |
| 1481 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1482 | }, |
| 1483 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1484 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1485 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1486 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1487 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1488 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1489 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1490 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1491 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1492 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1493 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", |
| 1494 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1495 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1496 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1497 | }, |
| 1498 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1499 | }, |
| 1500 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1501 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1502 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1503 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1504 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1505 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 1506 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1507 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1508 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1509 | }, |
| 1510 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1511 | }, |
| 1512 | }, |
| 1513 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1514 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1515 | }, |
| 1516 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1517 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1518 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1519 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1520 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1521 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 1522 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1523 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1524 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1525 | }, |
| 1526 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1527 | }, |
| 1528 | }, |
| 1529 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1530 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1531 | }, |
| 1532 | }, |
| 1533 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1534 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1535 | }, |
| 1536 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1537 | { |
| 1538 | { |
| 1539 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1540 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1541 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1542 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1543 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1544 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1545 | }, |
| 1546 | }, |
| 1547 | { |
| 1548 | { |
| 1549 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1550 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1551 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1552 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1553 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1554 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1555 | }, |
| 1556 | { |
| 1557 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1558 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1559 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1560 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1561 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1562 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1563 | }, |
| 1564 | }, |
| 1565 | { |
| 1566 | { |
| 1567 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1568 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1569 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1570 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1571 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1572 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1573 | }, |
| 1574 | }, |
| 1575 | }, |
| 1576 | |
| 1577 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1578 | { |
| 1579 | { |
| 1580 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1581 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1582 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1583 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1584 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1585 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1586 | }, |
| 1587 | { |
| 1588 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1589 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1590 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1591 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1592 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1593 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1594 | }, |
| 1595 | }, |
| 1596 | { |
| 1597 | { |
| 1598 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1599 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1600 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1601 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1602 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1603 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1604 | }, |
| 1605 | }, |
| 1606 | { |
| 1607 | { |
| 1608 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1609 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1610 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1611 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1612 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1613 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1614 | }, |
| 1615 | }, |
| 1616 | }, |
| 1617 | } |
| 1618 | } |
| 1619 | |
| 1620 | func orOrOrExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/orOrOrExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 1621 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 1622 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "OR-OR-OR Expression", |
| 1623 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT OR ISC OR Apache-2.0 OR GPL-2.0", |
| 1624 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1625 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1626 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1627 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1628 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1629 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1630 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1631 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 1632 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1633 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1634 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1635 | }, |
| 1636 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1637 | }, |
| 1638 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1639 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1640 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1641 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1642 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1643 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1644 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1645 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", |
| 1646 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1647 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1648 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1649 | }, |
| 1650 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1651 | }, |
| 1652 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1653 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1654 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1655 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1656 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1657 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1658 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1659 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 1660 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1661 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1662 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1663 | }, |
| 1664 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1665 | }, |
| 1666 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1667 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1668 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1669 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1670 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1671 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 1672 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1673 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1674 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1675 | }, |
| 1676 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1677 | }, |
| 1678 | }, |
| 1679 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1680 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1681 | }, |
| 1682 | }, |
| 1683 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1684 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1685 | }, |
| 1686 | }, |
| 1687 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1688 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1689 | }, |
| 1690 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1691 | { |
| 1692 | { |
| 1693 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1694 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1695 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1696 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1697 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1698 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1699 | }, |
| 1700 | }, |
| 1701 | { |
| 1702 | { |
| 1703 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1704 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1705 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1706 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1707 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1708 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1709 | }, |
| 1710 | }, |
| 1711 | { |
| 1712 | { |
| 1713 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1714 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1715 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1716 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1717 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1718 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1719 | }, |
| 1720 | }, |
| 1721 | { |
| 1722 | { |
| 1723 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1724 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1725 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1726 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1727 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1728 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1729 | }, |
| 1730 | }, |
| 1731 | }, |
| 1732 | |
| 1733 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1734 | { |
| 1735 | { |
| 1736 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1737 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1738 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1739 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1740 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1741 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1742 | }, |
| 1743 | }, |
| 1744 | { |
| 1745 | { |
| 1746 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1747 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1748 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1749 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1750 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1751 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1752 | }, |
| 1753 | }, |
| 1754 | { |
| 1755 | { |
| 1756 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1757 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1758 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1759 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1760 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1761 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1762 | }, |
| 1763 | }, |
| 1764 | { |
| 1765 | { |
| 1766 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1767 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1768 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1769 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1770 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1771 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1772 | }, |
| 1773 | }, |
| 1774 | }, |
| 1775 | } |
| 1776 | } |
| 1777 | |
| 1778 | func andOrAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOrAndExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 1779 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 1780 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "AND-OR-AND Expression", |
| 1781 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT AND ISC OR Apache-2.0 AND GPL-2.0", |
| 1782 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1783 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1784 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1785 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1786 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1787 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1788 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1789 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1790 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1791 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 1792 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1793 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1794 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1795 | }, |
| 1796 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1797 | }, |
| 1798 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1799 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1800 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1801 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1802 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1803 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", |
| 1804 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1805 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1806 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1807 | }, |
| 1808 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1809 | }, |
| 1810 | }, |
| 1811 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1812 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1813 | }, |
| 1814 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1815 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1816 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1817 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1818 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1819 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1820 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1821 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 1822 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1823 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1824 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1825 | }, |
| 1826 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1827 | }, |
| 1828 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1829 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1830 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1831 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1832 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1833 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 1834 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1835 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1836 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1837 | }, |
| 1838 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1839 | }, |
| 1840 | }, |
| 1841 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1842 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1843 | }, |
| 1844 | }, |
| 1845 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1846 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1847 | }, |
| 1848 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1849 | { |
| 1850 | { |
| 1851 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1852 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1853 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1854 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1855 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1856 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1857 | }, |
| 1858 | { |
| 1859 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1860 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1861 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1862 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1863 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1864 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1865 | }, |
| 1866 | }, |
| 1867 | { |
| 1868 | { |
| 1869 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1870 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1871 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1872 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1873 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1874 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1875 | }, |
| 1876 | { |
| 1877 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1878 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1879 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1880 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1881 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1882 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1883 | }, |
| 1884 | }, |
| 1885 | }, |
| 1886 | |
| 1887 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1888 | { |
| 1889 | { |
| 1890 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1891 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1892 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1893 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1894 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1895 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1896 | }, |
| 1897 | { |
| 1898 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1899 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1900 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1901 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1902 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1903 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1904 | }, |
| 1905 | }, |
| 1906 | { |
| 1907 | { |
| 1908 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1909 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1910 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1911 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1912 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1913 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1914 | }, |
| 1915 | { |
| 1916 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1917 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1918 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1919 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1920 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 1921 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1922 | }, |
| 1923 | }, |
| 1924 | }, |
| 1925 | } |
| 1926 | } |
| 1927 | |
| 1928 | func oPAndCPOrOPAndCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPAndCPOrOPAndCPExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 1929 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 1930 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "(AND)OR(AND) Expression", |
| 1931 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "(MIT AND ISC) OR (Apache-2.0 AND GPL-2.0)", |
| 1932 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1933 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 1934 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1935 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1936 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1937 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1938 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1939 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1940 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1941 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 1942 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1943 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1944 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1945 | }, |
| 1946 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1947 | }, |
| 1948 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1949 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1950 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1951 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1952 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1953 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", |
| 1954 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1955 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1956 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1957 | }, |
| 1958 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1959 | }, |
| 1960 | }, |
| 1961 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1962 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1963 | }, |
| 1964 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 1965 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1966 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 1967 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1968 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1969 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1970 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1971 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 1972 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1973 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1974 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1975 | }, |
| 1976 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1977 | }, |
| 1978 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 1979 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1980 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 1981 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 1982 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 1983 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 1984 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 1985 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 1986 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 1987 | }, |
| 1988 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1989 | }, |
| 1990 | }, |
| 1991 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1992 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1993 | }, |
| 1994 | }, |
| 1995 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 1996 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 1997 | }, |
| 1998 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 1999 | { |
| 2000 | { |
| 2001 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2002 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2003 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2004 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2005 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2006 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2007 | }, |
| 2008 | { |
| 2009 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2010 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2011 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2012 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2013 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2014 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2015 | }, |
| 2016 | }, |
| 2017 | { |
| 2018 | { |
| 2019 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2020 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2021 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2022 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2023 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2024 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2025 | }, |
| 2026 | { |
| 2027 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2028 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2029 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2030 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2031 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2032 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2033 | }, |
| 2034 | }, |
| 2035 | }, |
| 2036 | |
| 2037 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2038 | { |
| 2039 | { |
| 2040 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2041 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2042 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2043 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2044 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2045 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2046 | }, |
| 2047 | { |
| 2048 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2049 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2050 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2051 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2052 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2053 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2054 | }, |
| 2055 | }, |
| 2056 | { |
| 2057 | { |
| 2058 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2059 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2060 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2061 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2062 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2063 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2064 | }, |
| 2065 | { |
| 2066 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2067 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2068 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2069 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2070 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2071 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2072 | }, |
| 2073 | }, |
| 2074 | }, |
| 2075 | } |
| 2076 | } |
| 2077 | |
| 2078 | func andExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 2079 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 2080 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "AND Expression", |
| 2081 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT AND Apache-2.0", |
| 2082 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2083 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2084 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2085 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2086 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2087 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2088 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2089 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2090 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2091 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2092 | }, |
| 2093 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 2094 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2095 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2096 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2097 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2098 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2099 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2100 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2101 | }, |
| 2102 | }, |
| 2103 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2104 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2105 | }, |
| 2106 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2107 | { |
| 2108 | { |
| 2109 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2110 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2111 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2112 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2113 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2114 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2115 | }, |
| 2116 | { |
| 2117 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2118 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2119 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2120 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2121 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2122 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2123 | }, |
| 2124 | }, |
| 2125 | }, |
| 2126 | |
| 2127 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2128 | { |
| 2129 | { |
| 2130 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2131 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2132 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2133 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2134 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2135 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2136 | }, |
| 2137 | { |
| 2138 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2139 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2140 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2141 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2142 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2143 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2144 | }, |
| 2145 | }, |
| 2146 | }, |
| 2147 | } |
| 2148 | } |
| 2149 | |
| 2150 | func andOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 2151 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 2152 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "AND(OR) Expression", |
| 2153 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT AND (Apache-2.0 OR GPL-2.0)", |
| 2154 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2155 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2156 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2157 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2158 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2159 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2160 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2161 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 2162 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2163 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2164 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2165 | }, |
| 2166 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2167 | }, |
| 2168 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 2169 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2170 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2171 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2172 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2173 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2174 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2175 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 2176 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2177 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2178 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2179 | }, |
| 2180 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2181 | }, |
| 2182 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 2183 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2184 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2185 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2186 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2187 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 2188 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2189 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2190 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2191 | }, |
| 2192 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2193 | }, |
| 2194 | }, |
| 2195 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2196 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2197 | }, |
| 2198 | }, |
| 2199 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2200 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2201 | }, |
| 2202 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2203 | { |
| 2204 | { |
| 2205 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2206 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2207 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2208 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2209 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2210 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2211 | }, |
| 2212 | { |
| 2213 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2214 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2215 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2216 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2217 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2218 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2219 | }, |
| 2220 | }, |
| 2221 | { |
| 2222 | { |
| 2223 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2224 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2225 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2226 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2227 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2228 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2229 | }, |
| 2230 | { |
| 2231 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2232 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2233 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2234 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2235 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2236 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2237 | }, |
| 2238 | }, |
| 2239 | }, |
| 2240 | |
| 2241 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2242 | { |
| 2243 | { |
| 2244 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2245 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2246 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2247 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2248 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2249 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2250 | }, |
| 2251 | { |
| 2252 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2253 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2254 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2255 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2256 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2257 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2258 | }, |
| 2259 | }, |
| 2260 | { |
| 2261 | { |
| 2262 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2263 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2264 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2265 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2266 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2267 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2268 | }, |
| 2269 | { |
| 2270 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2271 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2272 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2273 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2274 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2275 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2276 | }, |
| 2277 | }, |
| 2278 | }, |
| 2279 | } |
| 2280 | } |
| 2281 | |
| 2282 | func oPOrCPAndOPOrCPExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/oPOrCPAndOPOrCPExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 2283 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 2284 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "(OR)AND(OR) Expression", |
| 2285 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "(MIT OR ISC) AND (Apache-2.0 OR GPL-2.0)", |
| 2286 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2287 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2288 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2289 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2290 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2291 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2292 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2293 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2294 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2295 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 2296 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2297 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2298 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2299 | }, |
| 2300 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2301 | }, |
| 2302 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 2303 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2304 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2305 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2306 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2307 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", |
| 2308 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2309 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2310 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2311 | }, |
| 2312 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2313 | }, |
| 2314 | }, |
| 2315 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2316 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2317 | }, |
| 2318 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 2319 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2320 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2321 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2322 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2323 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2324 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2325 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 2326 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2327 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2328 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2329 | }, |
| 2330 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2331 | }, |
| 2332 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 2333 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2334 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2335 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2336 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2337 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 2338 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2339 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2340 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2341 | }, |
| 2342 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2343 | }, |
| 2344 | }, |
| 2345 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2346 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2347 | }, |
| 2348 | }, |
| 2349 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2350 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2351 | }, |
| 2352 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2353 | { |
| 2354 | { |
| 2355 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2356 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2357 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2358 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2359 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2360 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2361 | }, |
| 2362 | { |
| 2363 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2364 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2365 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2366 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2367 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2368 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2369 | }, |
| 2370 | }, |
| 2371 | { |
| 2372 | { |
| 2373 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2374 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2375 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2376 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2377 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2378 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2379 | }, |
| 2380 | { |
| 2381 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2382 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2383 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2384 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2385 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2386 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2387 | }, |
| 2388 | }, |
| 2389 | { |
| 2390 | { |
| 2391 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2392 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2393 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2394 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2395 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2396 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2397 | }, |
| 2398 | { |
| 2399 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2400 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2401 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2402 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2403 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2404 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2405 | }, |
| 2406 | }, |
| 2407 | { |
| 2408 | { |
| 2409 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2410 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2411 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2412 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2413 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2414 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2415 | }, |
| 2416 | { |
| 2417 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2418 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2419 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2420 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2421 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2422 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2423 | }, |
| 2424 | }, |
| 2425 | }, |
| 2426 | |
| 2427 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2428 | { |
| 2429 | { |
| 2430 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2431 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2432 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2433 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2434 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2435 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2436 | }, |
| 2437 | { |
| 2438 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2439 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2440 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2441 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2442 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2443 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2444 | }, |
| 2445 | }, |
| 2446 | { |
| 2447 | { |
| 2448 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2449 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2450 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2451 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2452 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2453 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2454 | }, |
| 2455 | { |
| 2456 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2457 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2458 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2459 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2460 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2461 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2462 | }, |
| 2463 | }, |
| 2464 | { |
| 2465 | { |
| 2466 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2467 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2468 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2469 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2470 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2471 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2472 | }, |
| 2473 | { |
| 2474 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2475 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2476 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2477 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2478 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2479 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2480 | }, |
| 2481 | }, |
| 2482 | { |
| 2483 | { |
| 2484 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2485 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2486 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2487 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2488 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2489 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2490 | }, |
| 2491 | { |
| 2492 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2493 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2494 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2495 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2496 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2497 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2498 | }, |
| 2499 | }, |
| 2500 | }, |
| 2501 | } |
| 2502 | } |
| 2503 | |
| 2504 | func andOPOrCPAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andOPOrCPAndExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 2505 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 2506 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "AND(OR)AND Expression", |
| 2507 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT AND (ISC OR Apache-2.0) AND GPL-2.0", |
| 2508 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2509 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2510 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2511 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2512 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2513 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2514 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2515 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 2516 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2517 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2518 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2519 | }, |
| 2520 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2521 | }, |
| 2522 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 2523 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2524 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2525 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2526 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2527 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2528 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2529 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2530 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2531 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2532 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2533 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", |
| 2534 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2535 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2536 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2537 | }, |
| 2538 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2539 | }, |
| 2540 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "or", |
| 2541 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2542 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2543 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2544 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2545 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 2546 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2547 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2548 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2549 | }, |
| 2550 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2551 | }, |
| 2552 | }, |
| 2553 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2554 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2555 | }, |
| 2556 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 2557 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2558 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2559 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2560 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2561 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 2562 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2563 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2564 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2565 | }, |
| 2566 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2567 | }, |
| 2568 | }, |
| 2569 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2570 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2571 | }, |
| 2572 | }, |
| 2573 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2574 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2575 | }, |
| 2576 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2577 | { |
| 2578 | { |
| 2579 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2580 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2581 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2582 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2583 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2584 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2585 | }, |
| 2586 | { |
| 2587 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2588 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2589 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2590 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2591 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2592 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2593 | }, |
| 2594 | { |
| 2595 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2596 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2597 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2598 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2599 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2600 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2601 | }, |
| 2602 | }, |
| 2603 | { |
| 2604 | { |
| 2605 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2606 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2607 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2608 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2609 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2610 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2611 | }, |
| 2612 | { |
| 2613 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2614 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2615 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2616 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2617 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2618 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2619 | }, |
| 2620 | { |
| 2621 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2622 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2623 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2624 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2625 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2626 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2627 | }, |
| 2628 | }, |
| 2629 | }, |
| 2630 | |
| 2631 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2632 | { |
| 2633 | { |
| 2634 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2635 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2636 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2637 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2638 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2639 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2640 | }, |
| 2641 | { |
| 2642 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2643 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2644 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2645 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2646 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2647 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2648 | }, |
| 2649 | { |
| 2650 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2651 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2652 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2653 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2654 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2655 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2656 | }, |
| 2657 | }, |
| 2658 | { |
| 2659 | { |
| 2660 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2661 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2662 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2663 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2664 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2665 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2666 | }, |
| 2667 | { |
| 2668 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2669 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2670 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2671 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2672 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2673 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2674 | }, |
| 2675 | { |
| 2676 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2677 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2678 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2679 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2680 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2681 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2682 | }, |
| 2683 | }, |
| 2684 | }, |
| 2685 | } |
| 2686 | } |
| 2687 | |
| 2688 | func andAndAndExpressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/andAndAndExpression().() testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData# { |
| 2689 | return testCaseDatascip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#{ |
| 2690 | namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#name.: "AND-AND-AND Expression", |
| 2691 | expressionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expression.: "MIT AND ISC AND Apache-2.0 AND GPL-2.0", |
| 2692 | nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#node.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2693 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2694 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2695 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2696 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2697 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2698 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2699 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", |
| 2700 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2701 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2702 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2703 | }, |
| 2704 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2705 | }, |
| 2706 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 2707 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2708 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2709 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2710 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2711 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2712 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2713 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2714 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", |
| 2715 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2716 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2717 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2718 | }, |
| 2719 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2720 | }, |
| 2721 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 2722 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2723 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: expressionNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNode., |
| 2724 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: &expressionNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#{ |
| 2725 | leftscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#left.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2726 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2727 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2728 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2729 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", |
| 2730 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2731 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2732 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2733 | }, |
| 2734 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2735 | }, |
| 2736 | conjunctionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#conjunction.: "and", |
| 2737 | rightscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/expressionNodePartial#right.: &nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2738 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2739 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2740 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2741 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", |
| 2742 | hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2743 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, |
| 2744 | exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: "", |
| 2745 | }, |
| 2746 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2747 | }, |
| 2748 | }, |
| 2749 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2750 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2751 | }, |
| 2752 | }, |
| 2753 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2754 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2755 | }, |
| 2756 | }, |
| 2757 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: nil, |
| 2758 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2759 | }, |
| 2760 | expandedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#expanded.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2761 | { |
| 2762 | { |
| 2763 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2764 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2765 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2766 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2767 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2768 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2769 | }, |
| 2770 | { |
| 2771 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2772 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2773 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2774 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2775 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2776 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2777 | }, |
| 2778 | { |
| 2779 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2780 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2781 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2782 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2783 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2784 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2785 | }, |
| 2786 | { |
| 2787 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2788 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2789 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2790 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2791 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2792 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2793 | }, |
| 2794 | }, |
| 2795 | }, |
| 2796 | |
| 2797 | sortedscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/testCaseData#sorted.: [][]*nodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#{ |
| 2798 | { |
| 2799 | { |
| 2800 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2801 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2802 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2803 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "Apache-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2804 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2805 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2806 | }, |
| 2807 | { |
| 2808 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2809 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2810 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2811 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "GPL-2.0", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2812 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2813 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2814 | }, |
| 2815 | { |
| 2816 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2817 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2818 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2819 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "ISC", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2820 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2821 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2822 | }, |
| 2823 | { |
| 2824 | rolescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#role.: licenseNodescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNode., |
| 2825 | expscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#exp.: nil, |
| 2826 | licscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#lic.: &licenseNodePartialscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#{ |
| 2827 | licensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#license.: "MIT", hasPlusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasPlus.: false, |
| 2828 | hasExceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#hasException.: false, exceptionscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/licenseNodePartial#exception.: ""}, |
| 2829 | refscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/node#ref.: nil, |
| 2830 | }, |
| 2831 | }, |
| 2832 | }, |
| 2833 | } |
| 2834 | } |
| 2835 | |
| 2836 | func ExampleSatisfies_singleLicensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_singleLicense().() { |
| 2837 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("MIT", []string{"MIT"})) |
| 2838 | // Output: true <nil> |
| 2839 | } |
| 2840 | |
| 2841 | func ExampleSatisfies_orscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_or().() { |
| 2842 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("MIT OR Apache-2.0", []string{"MIT"})) |
| 2843 | // Output: true <nil> |
| 2844 | } |
| 2845 | |
| 2846 | func ExampleSatisfies_orNotFoundscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_orNotFound().() { |
| 2847 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("MIT OR Apache-2.0", []string{"GPL-2.0"})) |
| 2848 | // Output: false <nil> |
| 2849 | } |
| 2850 | |
| 2851 | func ExampleSatisfies_andscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_and().() { |
| 2852 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("Apache-2.0 AND MIT", []string{"MIT", "Apache-2.0"})) |
| 2853 | // Output: true <nil> |
| 2854 | } |
| 2855 | |
| 2856 | func ExampleSatisfies_andNotFoundscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_andNotFound().() { |
| 2857 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("MIT AND Apache-2.0", []string{"MIT"})) |
| 2858 | // Output: false <nil> |
| 2859 | } |
| 2860 | |
| 2861 | func ExampleSatisfies_plusscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_plus().() { |
| 2862 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("Apache-2.0", []string{"Apache-1.0+"})) |
| 2863 | // Output: true <nil> |
| 2864 | } |
| 2865 | |
| 2866 | func ExampleSatisfies_plusNotFoundscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_plusNotFound().() { |
| 2867 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("Apache-1.0", []string{"Apache-2.0+"})) |
| 2868 | // Output: false <nil> |
| 2869 | } |
| 2870 | |
| 2871 | func ExampleSatisfies_orLaterscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_orLater().() { |
| 2872 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("Apache-2.0", []string{"Apache-1.0-or-later"})) |
| 2873 | // Output: true <nil> |
| 2874 | } |
| 2875 | |
| 2876 | func ExampleSatisfies_orLaterNotFoundscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_orLaterNotFound().() { |
| 2877 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("Apache-1.0", []string{"Apache-2.0-or-later"})) |
| 2878 | // Output: false <nil> |
| 2879 | } |
| 2880 | |
| 2881 | func ExampleSatisfies_onlyscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_only().() { |
| 2882 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("Apache-1.0", []string{"Apache-1.0-only"})) |
| 2883 | // Output: true <nil> |
| 2884 | } |
| 2885 | |
| 2886 | func ExampleSatisfies_onlyNotFoundscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_onlyNotFound().() { |
| 2887 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("Apache-2.0", []string{"Apache-1.0-only"})) |
| 2888 | // Output: false <nil> |
| 2889 | } |
| 2890 | |
| 2891 | func ExampleSatisfies_extraAllowedLicensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_extraAllowedLicense().() { |
| 2892 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("MIT AND Apache-2.0", []string{"MIT", "Apache-1.0", "Apache-2.0"})) |
| 2893 | // Output: true <nil> |
| 2894 | } |
| 2895 | |
| 2896 | func ExampleSatisfies_errorUnknownLicensescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleSatisfies_errorUnknownLicense().() { |
| 2897 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(Satisfiesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/Satisfies().("GPL", []string{"GPL"})) |
| 2898 | // Output: false unknown license 'GPL' at offset 0 |
| 2899 | } |
| 2900 | |
| 2901 | func ExampleValidateLicenses_allGoodscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleValidateLicenses_allGood().() { |
| 2902 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(ValidateLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicenses().([]string{"MIT", "Apache-2.0", "GPL-2.0"})) |
| 2903 | // Output: true [] |
| 2904 | } |
| 2905 | |
| 2906 | func ExampleValidateLicenses_oneBadscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleValidateLicenses_oneBad().() { |
| 2907 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(ValidateLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicenses().([]string{"MIT", "Apache-2.0", "GPL"})) |
| 2908 | // Output: false [GPL] |
| 2909 | } |
| 2910 | |
| 2911 | func ExampleValidateLicenses_allBadscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ExampleValidateLicenses_allBad().() { |
| 2912 | fmtscip-go gomod github.com/golang/go/src go1.24 fmt/.Printlnscip-go gomod github.com/golang/go/src go1.24 fmt/Println().(ValidateLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicenses().([]string{"MTI", "Apache--2.0", "GPL"})) |
| 2913 | // Output: false [MTI Apache--2.0 GPL] |
| 2914 | } |
| 2915 | |
| 2916 | // TestValidateLicenses_BenchmarkExamples is a safety check to ensure benchmark improvements are not due |
| 2917 | // to changes in behavior of the ValidateLicenses function. |
| 2918 | func TestValidateLicenses_BenchmarkExamplesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/TestValidateLicenses_BenchmarkExamples().(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 2919 | // This test is used to verify that the test expressions used in the benchmarks return expected results. |
| 2920 | // If any of the test expressions are invalid, then there is likely an issue with the benchmark results and investigation would be needed. |
| 2921 | for _, test := range validateLicensesBenchmarkScenariosscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/validateLicensesBenchmarkScenarios. { |
| 2922 | t.Runscip-go gomod github.com/golang/go/src go1.24 testing/T#Run().(test.namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/validateLicensesBenchmarkScenario#name., func(t *testingscip-go gomod github.com/golang/go/src go1.24 testing/.Tscip-go gomod github.com/golang/go/src go1.24 testing/T#) { |
| 2923 | valid, invalidLicenses := ValidateLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/ValidateLicenses().(test.testLicensesscip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/validateLicensesBenchmarkScenario#testLicenses.) |
| 2924 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Truescip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/True().(t, valid, "Expected licenses to be valid for scenario: %s", test.namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/validateLicensesBenchmarkScenario#name.) |
| 2925 | assertscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/.Emptyscip-go gomod github.com/stretchr/testify v1.8.1 `github.com/stretchr/testify/assert`/Empty().(t, invalidLicenses, "Expected no invalid licenses for scenario: %s", test.namescip-go gomod github.com/github/go-spdx/v2 . `github.com/github/go-spdx/v2/spdxexp`/validateLicensesBenchmarkScenario#name.) |
| 2926 | }) |
| 2927 | } |
| 2928 | } |