Add composable schema test syntax parsing #8011
lint.yaml
on: pull_request
License Check
2m 11s
Lint Go
2m 53s
Lint YAML & Markdown
37s
Annotations
3 errors
Lint YAML & Markdown
Process completed with exit code 1.
|
Lint Go:
pkg/composableschemadsl/dslshape/zz_generated.nodetype_string.go#L1
Please run go run mage.go lint:go.
diff --git a/pkg/composableschemadsl/dslshape/zz_generated.nodetype_string.go b/pkg/composableschemadsl/dslshape/zz_generated.nodetype_string.go
index 125fba8..f165c5b 100644
--- a/pkg/composableschemadsl/dslshape/zz_generated.nodetype_string.go
+++ b/pkg/composableschemadsl/dslshape/zz_generated.nodetype_string.go
@@ -28,11 +28,23 @@ func _() {
_ = x[NodeTypeNilExpression-17]
_ = x[NodeTypeCaveatTypeReference-18]
_ = x[NodeTypeImport-19]
+ _ = x[NodeTypeOpaqueBraceExpression-20]
+ _ = x[NodeTypeTest-21]
+ _ = x[NodeTypeTestRelations-22]
+ _ = x[NodeTypeTestRelation-23]
+ _ = x[NodeTypeTestObject-24]
+ _ = x[NodeTypeTestPermission-25]
+ _ = x[NodeTypeTestNegativePermission-26]
+ _ = x[NodeTypeTestAssertions-27]
+ _ = x[NodeTypeTestAssertion-28]
+ _ = x[NodeTypeTestExpectedRelations-29]
+ _ = x[NodeTypeTestExpectedRelation-30]
+ _ = x[NodeTypeTestExpectedRelationSource-31]
}
-const _NodeType_name = "NodeTypeErrorNodeTypeFileNodeTypeCommentNodeTypeDefinitionNodeTypeCaveatDefinitionNodeTypeCaveatParameterNodeTypeCaveatExpressionNodeTypeRelationNodeTypePermissionNodeTypeTypeReferenceNodeTypeSpecificTypeReferenceNodeTypeCaveatReferenceNodeTypeUnionExpressionNodeTypeIntersectExpressionNodeTypeExclusionExpressionNodeTypeArrowExpressionNodeTypeIdentifierNodeTypeNilExpressionNodeTypeCaveatTypeReferenceNodeTypeImport"
+const _NodeType_name = "NodeTypeErrorNodeTypeFileNodeTypeCommentNodeTypeDefinitionNodeTypeCaveatDefinitionNodeTypeCaveatParameterNodeTypeCaveatExpressionNodeTypeRelationNodeTypePermissionNodeTypeTypeReferenceNodeTypeSpecificTypeReferenceNodeTypeCaveatReferenceNodeTypeUnionExpressionNodeTypeIntersectExpressionNodeTypeExclusionExpressionNodeTypeArrowExpressionNodeTypeIdentifierNodeTypeNilExpressionNodeTypeCaveatTypeReferenceNodeTypeImportNodeTypeOpaqueBraceExpressionNodeTypeTestNodeTypeTestRelationsNodeTypeTestRelationNodeTypeTestObjectNodeTypeTestPermissionNodeTypeTestNegativePermissionNodeTypeTestAssertionsNodeTypeTestAssertionNodeTypeTestExpectedRelationsNodeTypeTestExpectedRelationNodeTypeTestExpectedRelationSource"
-var _NodeType_index = [...]uint16{0, 13, 25, 40, 58, 82, 105, 129, 145, 163, 184, 213, 236, 259, 286, 313, 336, 354, 375, 402, 416}
+var _NodeType_index = [...]uint16{0, 13, 25, 40, 58, 82, 105, 129, 145, 163, 184, 213, 236, 259, 286, 313, 336, 354, 375, 402, 416, 445, 457, 478, 498, 516, 538, 568, 590, 611, 640, 668, 702}
func (i NodeType) String() string {
if i < 0 || i >= NodeType(len(_NodeType_index)-1) {
|
Lint Go
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
diff
|
792 Bytes |
|